Skip to content

Conversation

@bwp91
Copy link
Contributor

@bwp91 bwp91 commented Jun 8, 2025

Related PRs:


⚠️ Breaking Changes

  • For Users:

    • Before upgrading, you will want to ensure that the plugin(s) you are using are compatible with this new version of Homebridge. If you are unsure, see the link below or open an issue with the developer of your plugin(s) in question.
  • For Plugin Developers:

    • The new version of Homebridge includes a major version update to HAP-Nodejs. Some old deprecated functions have been removed. See the link below for a list of changes that you may need to make to your plugin(s).
  • Please visit the following link to learn more about the changes and how to prepare:

Added

  • set debug -D setting per child bridge

Changed

  • Address legacy deprecation cleanup (Address legacy deprecation cleanup #3648) (@hjdhjd)
  • general code modernisation:
    • move from commonjs to esm modules
    • use lint rules from @antfu/eslint-config
    • migrate from jest to vitest for testing
    • ⚠️ drop support for node v18

Removed

  • remove deprecated --remove-orphans flag

Homebridge Dependencies

  • hap-nodejs @ v2.0.0-beta

@github-actions github-actions bot added the latest label Jun 8, 2025
@coveralls
Copy link

coveralls commented Jun 8, 2025

Pull Request Test Coverage Report for Build 18886117013

Details

  • 1955 of 3274 (59.71%) changed or added relevant lines in 44 files are covered.
  • 11 unchanged lines in 7 files lost coverage.
  • Overall coverage increased (+30.4%) to 57.837%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/matter/accessoryCache.ts 74 75 98.67%
src/matter/behaviors/BehaviorRegistry.ts 49 50 98.0%
src/user.ts 8 9 88.89%
src/ipcService.ts 9 12 75.0%
src/matter/behaviors/ServiceAreaBehavior.ts 4 7 57.14%
src/platformAccessory.ts 26 29 89.66%
src/matter/storage.ts 164 168 97.62%
src/matter/types.ts 31 37 83.78%
src/matter/behaviors/FanControlBehavior.ts 1 10 10.0%
src/storageService.ts 3 12 25.0%
Files with Coverage Reduction New Missed Lines %
src/bridgeService.ts 1 20.35%
src/childBridgeService.ts 1 8.1%
src/cli.ts 1 0.0%
src/ipcService.ts 1 75.0%
src/plugin.ts 1 0.91%
src/childBridgeFork.ts 3 0.0%
src/server.ts 3 36.75%
Totals Coverage Status
Change from base Build 17336010532: 30.4%
Covered Lines: 2024
Relevant Lines: 3545

💛 - Coveralls

@bwp91 bwp91 force-pushed the beta-2.0.0 branch 3 times, most recently from ec771cb to 7d444d1 Compare October 27, 2025 18:19
@bwp91 bwp91 force-pushed the beta-2.0.0 branch 3 times, most recently from 68923e8 to e556efe Compare October 28, 2025 18:59
@bwp91 bwp91 force-pushed the beta-2.0.0 branch 5 times, most recently from 0210cb1 to e3ccb10 Compare November 4, 2025 02:08
@bwp91 bwp91 force-pushed the beta-2.0.0 branch 3 times, most recently from 0308274 to b21954b Compare November 5, 2025 07:11
@bwp91 bwp91 force-pushed the beta-2.0.0 branch 6 times, most recently from 21a38e9 to 75ebe49 Compare November 9, 2025 18:19
@bwp91 bwp91 force-pushed the beta-2.0.0 branch 4 times, most recently from 174b4ff to 55f55fc Compare November 20, 2025 22:24
@bwp91 bwp91 force-pushed the beta-2.0.0 branch 8 times, most recently from e40ded9 to 6a711fb Compare November 29, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants