Skip to content

v2.0.0-beta #3816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: latest
Choose a base branch
from
Draft

v2.0.0-beta #3816

wants to merge 4 commits into from

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

Pull Request Test Coverage Report for Build 15520151886

Details

  • 416 of 1264 (32.91%) changed or added relevant lines in 17 files are covered.
  • 441 unchanged lines in 12 files lost coverage.
  • Overall coverage increased (+9.2%) to 37.57%

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 9 85 10.59%
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.19%
src/ipcService.ts 4 73.68%
src/storageService.ts 7 58.14%
src/externalPortService.ts 9 36.36%
src/api.ts 13 65.18%
src/cli.ts 13 0.0%
src/pluginManager.ts 48 44.28%
src/plugin.ts 49 6.54%
src/childBridgeFork.ts 54 0.0%
src/bridgeService.ts 57 28.61%
Totals Coverage Status
Change from base Build 15506056870: 9.2%
Covered Lines: 757
Relevant Lines: 2264

💛 - 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.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy