Releases: homebridge/HAP-NodeJS
Releases · homebridge/HAP-NodeJS
v0.7.7
v0.7.6
v0.7.5
Notable Changes
- Added Service and Characteristic definitions introduced with iOS 14, iPadOS 14, macOS 11, ... (e7e6d9f)
- The following services are new:
AccessoryRuntimeInformation
:- Required Characteristics:
Ping
- Optional Characteristics:
ActivityInterval
,SleepInterval
- Required Characteristics:
Diagnostics
:- Required Characteristics:
SupportedDiagnosticsSnapshot
- Required Characteristics:
WiFiTransport
:- Required Characteristics:
CurrentTransport
,WiFiCapabilities
- Optional Characteristics:
WiFiConfigurationControl
- Required Characteristics:
- The following service definitions were changed:
Lightbulb
: added the characteristicsCharacteristicValueTransitionControl
andSupportedCharacteristicValueTransitionConfiguration
(both seemed to be used for the "Ambient Lightning" feature)Doorbell
: added the optional characteristicOperatingStateResponse
WiFiRouter
: theNetworkAccessViolationControl
characteristic is now required
- The following characteristic definitions were changed:
InputDeviceType
:maxValue
changed from 5 to 6 introducing a yet unknown input device type with value 6 (specifying input device types for televisions)
- The following characteristics got added though it is not yet known to which services they should be added:
VideoAnalysisActive
TransmitPower
TransmitPowerMaximum
SignalToNoiseRation
ReceivedSignalStrengthIndication
ReceiverSensitivity
MacTransmissionMaximum
MacTransmissionCounters
EventRetransmissionMaximum
EventTransmissionCounters
DataStreamHAPTransport
DataStreamHAPTransportInterrupt
CCAEnergyDetectThreshold
CCASignalDetectThreshold
- The following services are new:
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
v0.7.3
v0.7.2
v0.7.1
v0.7.0
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 theAccessControl
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 doingHKDF
. 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 thanmaxValue
(#690)
Other
- Added
CONTRIBUTING.md
andSECURITY.d
and restructured theREADME.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.