Skip to content

0.4.0

Latest
Compare
Choose a tag to compare
@emorydunn emorydunn released this 08 Jan 23:11
· 40 commits to main since this release
0.4.0

Added

  • The new globalSetting and environmentKey macros
  • Support for dialDown and dialUp events (dialPress is now deprecated)
  • DisableAutomaticStates in the Action protocol
  • setTriggerDescription event for SD+
  • sortName to provide a custom sort key for actions
  • PluginSoftware conforms to ExpressibleByStringLiteral
  • @State for action-specific state
  • New sortName property on Action to allow sorting actions

Changed

  • Use OSLog for nicer logs
  • Example plugin uses a relative path to the plugin
  • Use PlatformMinimumVersion for manifest
  • Plugin monitors WebSocket errors and exits after too many
  • Deprecated dialPress, event is send to dialUp
  • Renamed PluginOS.mac(minimumVersion:) & PluginOS.win(minimumVersion:) to PluginOS.macOS(_:) & PluginOS.windows(_:)
  • Renamed PluginDelegate to Plugin
  • Renamed StreamDeckPlugin to PluginCommunication
  • The plugin communication and registration now happens before initializing your Plugin, meaning it's safe to call events from the init()
  • The plugin validates action UUIDs
  • Sort manifest keys for stable JSON
  • Fixes to let counter example compile by @RomanBaiocco in #19

New Contributors

Full Changelog: 0.3.0...0.4.0