Skip to content

1.0.0 - 2022-03-17

Latest
Compare
Choose a tag to compare
@jefferyto jefferyto released this 17 Mar 15:08
· 5 commits to main since this release
1.0.0
4d1a119
  • BACKWARD-INCOMPATIBLE: Changed switch name from switch to mode:
    • GL.iNet GL-AR150
    • GL.iNet GL-AR300M
    • GL.iNet GL-AR750
    • GL.iNet GL-AR750S
    • GL.iNet GL-MT300A
    • GL.iNet GL-MT300N v1
    • GL.iNet GL-MT300N v2
  • BACKWARD-INCOMPATIBLE: Changed position names from "left" and "right" to "clear" and "dot", respectively:
    • GL.iNet GL-AR750
    • GL.iNet GL-AR750S
  • Added support for loading switch data from /etc/slide-switch/switch-data.json; if this file exists, it will be checked for switch data before the default data file
  • Added support for keys array in switch data, in place of labels and codes arrays; if present, GPIO labels and key codes will be read from device tree information in /proc/device-tree (each element in the keys array should be a node-name under the keys node)
  • Require user to be root for commands/actions that trigger button events or have other side effects
  • Added logging to standard error
  • Added command-line option to select logging to standard error (default), syslog, all (both standard error and syslog) or none
  • Added command-line option to select logging verbosity
  • Added command-line help message
  • Removed compatibility with older (model-only) board names
  • init command:
    • Initialize switch states only, without triggering button pressed events
  • update command:
    • Require init command to be called beforehand
    • Accept multiple switch name and/or button arguments
    • Added command-line option to perform a forced update (trigger button pressed events for all switches)
  • switch command:
    • Separate switch names with newlines instead of spaces, i.e. print one switch name per line
  • position command:
    • Require exactly one switch name argument
  • clean command:
    • Avoid removing files or directories placed in slide-switch's working directories by other processes
  • Restored support for Buffalo WZR-HP-AG300H (requires upcoming OpenWrt 22.0X release)
  • Added support for Buffalo WZR-600DHP (requires upcoming OpenWrt 22.0X release)