Thanks to visit codestin.com
Credit goes to github.com

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 17387588396

Details

  • 430 of 1264 (34.02%) changed or added relevant lines in 17 files are covered.
  • 409 unchanged lines in 12 files lost coverage.
  • Overall coverage increased (+12.2%) to 39.599%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/index.ts 0 3 0.0%
src/platformAccessory.ts 40 43 93.02%
src/ipcService.ts 12 16 75.0%
src/storageService.ts 5 14 35.71%
src/externalPortService.ts 5 19 26.32%
src/api.ts 37 59 62.71%
src/cli.ts 0 63 0.0%
src/plugin.ts 10 85 11.76%
src/childBridgeFork.ts 0 113 0.0%
src/pluginManager.ts 75 194 38.66%
Files with Coverage Reduction New Missed Lines %
src/platformAccessory.ts 1 96.26%
src/ipcService.ts 4 73.68%
src/storageService.ts 7 58.14%
src/externalPortService.ts 9 37.78%
src/api.ts 13 65.49%
src/cli.ts 13 0.0%
src/plugin.ts 37 14.94%
src/pluginManager.ts 48 44.55%
src/childBridgeFork.ts 54 0.0%
src/bridgeService.ts 57 29.6%
Totals Coverage Status
Change from base Build 17336010532: 12.2%
Covered Lines: 804
Relevant Lines: 2265

💛 - Coveralls

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