Skip to content

v4.4.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@ebaauw ebaauw released this 11 Aug 15:45
v4.4.2
2000a3e

Enhancements:

  • CharactertisticDelegate: Add addValue() method to set HomeKit characteristic value, as if input by user.
  • OptionParser: Add tests;
  • OptionParser: Add key parameter to to...() static methods;
  • OptionParser: Add more functionality:
    • toIntString()
    • toNumber()
    • toNumberString()
    • toAsyncFunction()
    • toClass()
    • toInstance();
  • Update developer documentation (work in progress)

Bug fixes:

  • JsonFormatter: Handle obejct keys and array elements with value undefined (by not showing the key or element).

Technical:

  • Platform: Don't put homebridge-lib version in key for global namespace. Need separate version for heartbeat, UPnP listener compatibility.
  • JsonFormatter: Store options in options object instead of in this (which fails to OptionParser.toObject()` test).
  • Remove TypeParser; basic functionality now included in OptionParser.
  • Implement hap, json, and upnp commands as exported modules, so plugins might install them.
  • Update Javascript layout to standard v13.1.0.

Bump dependencies:

  • NodeJS v10.16.1 LTS