Repository navigation
Summary
A correctness and security release. Pair-setup is hardened (the SRP key now mixes in the setup-code verifier, and fast-srp-hap 2.0.5 hardens the server exponent). Camera, data stream, server, accessory, remote and characteristic handling get a large set of fixes from a full code review, alongside fixes for user-reported issues and dependency updates. ciao, bonjour-hap and fast-srp-hap move to their new stable releases.
API changes
- Added: HomeKit definitions from Apple's v891 metadata.
- Added (lock):
AccessCodeManagementfor the Access Code service, andNFCAccessManagementfor the HomeKit half of Apple Home Key. - Added:
encodeErrorStatus/decodeErrorStatusfor the Error Status characteristic, andsetOperatingStateon the doorbell for too-hot or too-cold reporting. - Changed (TypeScript only): stricter types. Characteristic change
context, data stream message fields andDataStreamParser.decode()areunknown;HAPStorage.storage().getItem<T>()returnsT | undefined;tlv.encode()anduuid.unparse()check their input. JavaScript plugins are not affected. - Changed: every
const enumis a normalenum. Values are unchanged exceptDataFormatTags.INTEGER_RANGE_STOP_39, corrected from 46 to 47. - Changed:
addBridgedAccessory()throws on a duplicate UUID.removeBridgedAccessory()no longer removes listeners the plugin added. - Changed: a fractional
minStepon an integer characteristic is ignored with a warning. - Changed: a data stream
sendRequest()/sendResponse()before hello throwsHDSConnectionError, and pending requests fail at once when the connection closes.
Other changes
- Users: pairing files in
persist/are saved readable by their owner only. After running as another user (for example withsudo),chownthem back; HAP-NodeJS says so in its error. A corrupt HAP-NodeJS file inpersist/is set aside as.<name>.corrupt-<time>instead of breaking start-up. - Cameras: a camera restored from cache gets the motion or occupancy sensor it was configured with, and the delegate gets a STOP after a failed START or RECONFIGURE.
- Dependencies:
@homebridge/ciao1.4.1,bonjour-hap3.11.1,fast-srp-hap2.0.5, plus routine dependency updates. - Full detail in CHANGELOG.md.
🤖 Generated with Claude Code