All notable changes to @homebridge/hap-nodejs will be documented in this file. This project tries to adhere to Semantic Versioning.
- fix: defer
ControllerStorageconstruction until UUID is set - chore: route HKSV diagnostics through
HAP-NodeJS:HKSVnamespace - chore: dependency updates
@homebridge/ciao@v1.3.8@homebridge/dbus-native@v0.7.5bonjour-hap@v3.10.2
- fix: drop
ConfiguredNameHIG warning - chore: dependency updates
@homebridge/ciao@v1.3.8@homebridge/dbus-native@v0.7.5bonjour-hap@v3.10.2
- chore: dependency updates
- docs: regenerate typedoc docs
@homebridge/ciao@v1.3.8@homebridge/dbus-native@v0.7.5bonjour-hap@v3.10.2
- fix: int32 range check in
DataStreamParser - fix:
readFloat64LEmissing reader index advance - fix: utf-8 tag using char count not byte length
- fix: validate encrypted data length before crypto split
- fix: validate required TLV fields in pairing handlers
- fix: unhandled
Promise.allrejection in RTP proxy setup - fix: missing
SEQUENCE_NUMcheck in pair handlers - fix: prevent M1 resetting in-progress pair setup
- fix: TLV decoder missing length bounds validation
- fix: unsafe non-null assertions in accessory lookups
- fix: validate
aid.iidformat before parsing - fix: unguarded buffer reads in camera stream TLV parsing
- fix: category defaulting to string instead of enum
- fix: missing error argument in pairing debug logs
- fix: use constant-time comparison for pincode checks
- fix:
"undefined"string in characteristic error warnings - fix: O(n²) buffer concat in encrypt/decrypt hot path
- chore: dependency updates, inc.
typescript - docs: regenerate typedoc docs
@homebridge/ciao@v1.3.7@homebridge/dbus-native@v0.7.4bonjour-hap@v3.10.1
- chore: update hap characteristics and services
- dependency updates
- regenerate documentation (
typedoc) files
@homebridge/ciao@v1.3.6@homebridge/dbus-native@v0.7.4bonjour-hap@v3.10.1
- Improvement: HKSV recording stream AbortSignal support and graceful generator termination. (#1111) (@hjdhjd)
- dependency updates + fix code from new lint rules
- regenerate documentation (
typedoc) files
@homebridge/ciao@v1.3.5@homebridge/dbus-native@v0.7.3bonjour-hap@v3.10.0
- update readme badges (use
shields.io) (#1104) - update publish workflows for npm oidc auth (#1105)
- dependency updates
- update hap characteristics and services
- regenerate documentation (
typedoc) files
@homebridge/ciao@v1.3.5@homebridge/dbus-native@v0.7.3bonjour-hap@v3.10.0
- dependency updates
- code style - use
subarrayinstead ofslicefor buffers - fix types around buffers in test files
- update hap characteristics and services
- regenerate documentation (
typedoc) files - docs: remove unnecessary
@grouptags on interface declarations
@homebridge/ciao@v1.3.4@homebridge/dbus-native@v0.7.2bonjour-hap@v3.9.1
- dependency updates
@homebridge/ciao@v1.3.4@homebridge/dbus-native@v0.7.2bonjour-hap@v3.9.1
⚠️ drop support for node v18- the minimum node version required is now
v20
- the minimum node version required is now
⚠️ republish as@homebridge/hap-nodejsfor consistency
- update
commanderfromv13tov14 - Added support for NodeJS 24
- Update @homebridge/ciao to 1.3.3
- update
jesttov30and required migration steps - update
eslinttov9and required migration steps
@homebridge/ciao@v1.3.3@homebridge/dbus-native@v0.7.1bonjour-hap@v3.9.0
- add constants for
SecuritySystemAlarmType(#1086) - update hk plist file from V=880 to V=886 (#1087)
- updated dependencies (#1085)
- fix OOC errors from
validateUserInputon steps - merge branch 'release-0.x' into latest
- fix some bad merge conflicts from previous commit
- updated dependencies, use included types from
dbus-native(#1092)
@homebridge/ciao@v1.3.2@homebridge/dbus-native@v0.7.1bonjour-hap@v3.8.0
No changes since v1.1.1, just a version bump to trigger a new release.
- Update name checking (#1083)
- Update docs
- support node 22 + dependency updates (#1075)
@homebridge/ciao@v1.3.0bonjour-hap@v3.8.0
- Set
Ciaoas the default Advertiser
- Update docs
- Updated dependencies
@homebridge/ciao@v1.3.0bonjour-hap@v3.8.0
- The minimum Node.js version required is now
v18. - Important notice: Because of the cleanup of the Deprecated code, you will need to migrate you code base.
- Remove the long-deprecated init().
- Deprecate Core, BridgedCore, legacy Camera characteristics. (#1058) (@hjdhjd)
- For deprecated
CoreandBridgedCoresee: https://github.com/homebridge/HAP-NodeJS/wiki/Deprecation-of-Core-and-BridgeCore
- For deprecated
- Legacy code deprecation cleanup. (#1059) (@hjdhjd)
- For deprecated
storagePathswitch toHAPStorage.setCustomStoragePath,AudioCodecswitch toAudioStreamingCodec,VideoCodecswitch toH264CodecParameters,StreamAudioParamsswitch toAudioStreamingOptions,StreamVideoParamsswitch toVideoStreamingOptions,cameraSourceswitch toCameraController.
- For deprecated
- Others deprecated code to highlight removed:
useLegacyAdvertiser,AccessoryLoader.
- Fix: Naming for Characteristic.ProgramMode has been corrected from
PROGRAM_SCHEDULED_MANUAL_MODE_toPROGRAM_SCHEDULED_MANUAL_MODE
- Fix: Build Issues (#1041) (@NorthernMan54)
- Fix: Ensure data is only transmitted on open and ready connections. (#1051) (@hjdhjd)
- Fix: Ensure we check names using the full UTF-8 character set. (#1052) (@hjdhjd)
- Fix: ConfiguredName (#1049) (@donavanbecker)
- Fix: Manufacturer looking at checkName but should look at checkValue. (#1053) (@donavanbecker)
- Implement warning messages for invalid characters in names (#1009) (@NorthernMan54)
- Mitigate event emitter "memory leak" warnings when a significant number of camera streaming events occur simultaneously (#1037) (@hjdhjd)
- AdaptiveLightingController fix & improvement (#1038) (@Shaquu)
- Minor fixes to recording logging and one change in logging. (#1040) (@hjdhjd)
- Bridged core and core cleanup (#1048) (@Shaquu)
- Increase snapshot handler warning timeout to 8000ms. (#1055) (@hjdhjd)
- Cleanup and refactor getLocalNetworkInterface and address a potential edge case. (#1056) (@hjdhjd)
- Correct log spacing
- Updated and fixed
typedocconfig file - Updated dependencies
@homebridge/ciao@v1.3.0bonjour-hap@v3.8.0
- dependency updates
- regenerate documentation for new version
- Improvement: HKSV recording stream AbortSignal support and graceful generator termination. (#1111) (@hjdhjd)
- dependency updates
- regenerate documentation for new version
- dependency updates
- update release script for oidc releases
- remove
treatWarningsAsErrorsflag from doc gen - updated dependencies, fix
Buffertypes - add node 24 to node engines in
package.json
@homebridge/ciao@v1.3.4bonjour-hap@v3.9.1
No changes since v0.13.0, just a version bump to trigger a new release.
@homebridge/ciao@v1.3.1bonjour-hap@v3.9.0
Most of these commits have been backported from the v1.x track. None should be breaking changes.
- Mitigate event emitter "memory leak" warnings when a significant number of HomeKit camera streaming events occur simultaneously. (#1037)
- fix type issue and fix ts build issue
- Correct the formatting and presentation of some recording-related debug and error logging. (#1040)
- AdaptiveLightingController fix & improvement (#1038)
- Bridged core and core cleanup (#1048)
- correct log spacing
- fix: Ensure data is only transmitted on open and ready connections. (#1051)
- Increase snapshot handler warning timeout to 8000ms. (#1055)
- Cleanup and refactor
getLocalNetworkInterfaceand address a potential edge case. (#1056) - add constants for
SecuritySystemAlarmType(#1086) - update hk plist file from
V=880toV=886(#1087) - dependency updates, lint and repo maintenance
- fix OOC errors from
validateUserInputon steps - regenerate documentation for new version
@homebridge/ciao@v1.3.1bonjour-hap@v3.9.0
- minor dependency update
- mark compatible with node v22
- fix
initWithServicesreference in typedoc
@homebridge/ciao@v1.3.0bonjour-hap@v3.8.0
- Updated dependencies (
rimrafand@types/node) - Updated dependencies (
simple-plist) - Updated dependencies (
typescript)
@homebridge/ciao@v1.2.0@homebridge/dbus-native@v0.6.0
- Updated dependencies (
axiosandcommander)
- Mitigate event emitter "memory leak" warnings when a significant number of HSV events occur simultaneously (#1029) (@hjdhjd)
- Update Discord Webhooks to trigger only after published to npm
@homebridge/ciao@v1.2.0@homebridge/dbus-native@v0.6.0
- Create
CHANGELOG.mdfile - Fix: typos + add logo to
README.md - Refresh
package-lock.json(no major changes to dep versions) - general repo updates
- add alpha releases
- dependency updates
- Fix: typedoc generation
- update homebridge dependencies
- regenerate docs
@homebridge/ciao@v1.2.0@homebridge/dbus-native@v0.6.0