Update dependency homebridge to v2#2
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
716606f to
4ac38e5
Compare
4ac38e5 to
32f4a09
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.11.4→2.1.0Release Notes
homebridge/homebridge (homebridge)
v2.1.0Compare Source
Changes
externalsOnlymodeHomebridge Dependencies
@homebridge/hap-nodejs@v2.1.7Matter Dependencies
@matter/main@v0.17.1v2.0.2Compare Source
Changes
Homebridge Dependencies
@homebridge/hap-nodejs@v2.1.6v2.0.1Compare Source
Changes
CLAUDE.mdto repohapflag on child bridge metadataHomebridge Dependencies
@homebridge/hap-nodejs@v2.1.5v2.0.0Compare Source
For Users:
For Plugin Developers:
hap-nodejsto@homebridge/hap-nodejsand bumped from0.14.xto2.x. Plugins importing directly fromhap-nodejsmust update both the package name and adjust to the v2 API. The recommended path is to import HAP types fromhomebridge(which re-exports them) rather than depending on@homebridge/hap-nodejsdirectly."type": "module"). Plugins authored as CommonJS that loadhomebridgeviarequire()will not work; useimportsyntax. Plugins must publish ESM (or dual ESM/CJS) builds.lib/→dist/. Plugins doing dirty-imports likehomebridge/lib/apimust switch to the public exports (import { API } from 'homebridge').bin/homebridge→bin/homebridge.js. The bin entry now includes the.jsextension (ESM requires it). The npm-managedhomebridgeshim is unaffected; only hardcoded paths to the script need updating.withPrefix,setDebugEnabled,setTimestampEnabled,forceColorexports fromhomebridge. UseLogger.withPrefix(...),Logger.setDebugEnabled(...), etc. on theLoggerclass.PlatformAccessory.reachable,PlatformAccessory.updateReachability,PlatformAccessory.getServiceByUUIDAndSubType,PlatformAccessory.configureCameraSource. UsegetServiceByIdand standard HAP camera registration patterns.API.publishCameraAccessories. UseAPI.publishExternalAccessories(this is what the deprecated method delegated to internally).HomebridgeConfig.mdnsfield is no longer forwarded to child bridges and is ignored. Usebridge.advertiserinstead.Please visit the following link to learn more about the changes and how to prepare:
Added
-Dsetting per child bridgeWaterValvedevice (#3909) (@donavanbecker)GenericSwitchtoapi.matter.deviceTypes(#3923) (@donavanbecker)Changed
commonjstoesmmodules@antfu/eslint-configjesttovitestfor testingv18and20Removed
--remove-orphansflagHomebridge Dependencies
@homebridge/hap-nodejs@v2.1.4Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.