Releases: homebridge/HAP-NodeJS
Releases · homebridge/HAP-NodeJS
v0.10.2
Other Changes
- Bump plist from 3.0.4 to 3.0.5 @dependabot [#939]
- Replace https://git.io URLs as the service is being depreciated
Bug Fixes
v0.10.1
Changes
- Properly type
once
by @ericanderson in #929 - Corrected message for MaxValue<numericLowerBound (#937) by @thoukydides in #938
New Contributors
- @ericanderson made their first contribution in #929
- @thoukydides made their first contribution in #938
Full Changelog: v0.10.0...v0.10.1
v0.10.0
Featured Changes
- HomeKit Secure Video @Supereg [#920]
- New advertiser: Avahi/D-Bus API @adriancable [#918]
- Automatically use Avahi/DBus advertiser if available on platform @Supereg [#922]
- Use bonjour advertiser as default again, warn when Avahi is used on an unsupported platform. @Supereg [#927]
- Setup ESLint support @Supereg [#924]
Bug Fixes
v0.9.8
v0.9.7
v0.9.6
Changes
This release upgrades various dependencies with bug fixes and security fixes.
This includes the dns-packet
security vulnerability referenced under CVE-2021-23386. Only users who use the bonjour
mdns advertiser are impacted by this vulnerability.
v0.9.5
Changes
This version introduces new services and characteristics coming with iOS 15.
AccessCode
andNFCAccess
services and corresponding characteristics.- Services related to the support of Siri enabled HomeKit devices:
- The following services were newly added:
Assistant
,SiriEndpoint
- The following services received new optional characteristics:
Siri
andSmartSpeaker
- The following services were newly added:
- Other new services:
AccessoryMetrics
andAssetUpdate
v0.9.4 (2021-03-16)
Bug Fixes
- Fixed a characteristic warning emitted by the
SelectedRTPStreamConfiguration
characteristic of aCameraController
. TLV8
andDATA
characteristic won't emit a characteristic warning anymore whennull
is supplied as a value.
v0.9.3 (2021-03-09)
Bug Fixes
- #890 - Fix regression in the
validateClientSuppliedValue
method (renamed fromvalidClientSuppliedValue
) so it now transforms values to their corresponding types as expected (eg. transformsfalse
to0
for aUINT8
data type).- Background: Requests made via Siri sometimes have unexpected values for the data type, eg. Siri sends the request with
true
while the Home app sends the same request with1
- for aUINT8
data type. This change normalises the value before it is sent to the characteristic setter method.
- Background: Requests made via Siri sometimes have unexpected values for the data type, eg. Siri sends the request with
- #890 - When a
number
type is thrown or returned as a callback error in a characteristic setter or getter, HAP-NodeJS will now verify it's a valid hap status number, if not it will transform it intoHAPStatus.SERVICE_COMMUNICATION_FAILURE
.
Other Changes
- #890 - Check for non-finite numbers such as
Infinity
andNaN
in client/user input validation methods andCharacteristic.setProps()
. - #890 - Added the
DEBUG_MESSAGE
level toCharacteristicWarningType
. - #890 - Warnings about invalid write responses from a
SET
handler are now debug level characteristic warnings.
v0.9.2 (2020-02-23)
Bug Fixes
- #884 - Characteristic user input validator will now endeavour to always correct the provided value rather than throwing an error.
- A warning will still be shown for invalid values.
- #884 -
Characteristic.setProps
will now validate theminValue
andmaxValue
do not exceed the minimum or maximum value allowed by the number format, and automatically correct them if required.- A warning will be displayed if invalid values are provided.
- #884 - The
Current Temperature
characteristic now has a default minimum value of-273.15
(absolute zero) instead of0
. - #833 - All
MulticastOptions
properties are now correctly marked as optional.