Skip to content

Releases: homebridge/HAP-NodeJS

v0.7.6

30 Jun 01:07
830121b
Compare
Choose a tag to compare

Bug Fixes

  • Typo in the SignalToNoiseRatio characteristic name was fixed (previously SignalToNoiseRation)
  • The NetworkAccessViolationControl characteristic is now properly added again to the WiFiRouter service

v0.7.5

22 Jun 23:27
057e09b
Compare
Choose a tag to compare

Notable Changes

Note: All newly added services and characteristics should be considered unstable API and may change with future beta releases of Apples new os releases.

v0.7.4

16 Jun 17:55
3d1a073
Compare
Choose a tag to compare

Bug Fixes

  • The Microphone and Speaker services are now properly referenced to the CameraController (or removed/added when the options changed) when the Accessory is deserialized from disk (#828)
  • Duplicate definition of the Version characteristic was removed (#822)

v0.7.3

08 May 14:15
a9d30b0
Compare
Choose a tag to compare

Bug Fixes

  • A regression introduced in 0.7.0 was fixed, which caused Characteristic.setProps throwing an error when minValue was set equal to maxValue

v0.7.2

07 May 16:51
c2e283e
Compare
Choose a tag to compare

Other

  • The typescript compiler was configured to output a target of ES5 again. Caused compatibilities when subclassing for example the Characteristic class (#821)

v0.7.1

07 May 12:45
9599585
Compare
Choose a tag to compare

Other

  • TypeScript type definition for the Characteristic event handler now allow the use of the string value such as get or set instead of forcing the use of the CharacteristicEventTypes enum.

v0.7.0

03 May 21:10
b14321f
Compare
Choose a tag to compare

Core.ts and BridgeCore.ts got deprecated in this release and are schedule to be remove by the end of 2020. Have a look at the wiki which explains this further and provides some help to create a project using HAP-NodeJS as a library.

New API

  • AccessControlManagement was introduced to easily handle the AccessControl service

Improvements

  • Moved to nodes crypto library (supported by the underlying openssl library) for chacha20-poly1305 encryption and decryption. This gives a 10x performance boost when doing crypto. Requires a node version of >= 10.17.0
  • Moved to the futoin-hkdf library for doing HKDF. Its more efficient buffer handling gives a performance boost of about 30-40%
  • To prevent brute force attacks, HAP-NodeJS will now move into an UNPAIRABLE state after 100 unsuccessful pair attempts rejecting any further attempts to pair. A restart will reset this to accept pairings again. We might improve on this in the future, that it will require some "reset" method, to clear the state.
  • HAP enforces a strict limit of a maximum of 100 services per accessory and a maximum of 100 characteristics per service. HAP-NodeJS enforces this limits now to prevent accessory showing "No response" in the Home App (#814)
  • All Debuggers are now prefixed with the library name HAP-NodeJS: to be conform with the conventions made by the debug library (#126)
  • Mitigated a Denial of Service when setting minValue higher than maxValue (#690)

Other

  • Added CONTRIBUTING.md and SECURITY.d and restructured the README.md a bit.
  • Removed legacy code related for the old Relay server
  • The wiki was rewritten (and still is) with the ongoing beta of this release.

v0.6.3

18 Apr 07:33
250fa41
Compare
Choose a tag to compare

Note: All enum types where move to const enum types to improve how homebridge plugins can import those. You may need to recompile your Typescript code if you apply this update.