Skip to content

v2.1.8#1121

Merged
bwp91 merged 7 commits into
latestfrom
beta-2.1.8
Jul 11, 2026
Merged

v2.1.8#1121
bwp91 merged 7 commits into
latestfrom
beta-2.1.8

Conversation

@bwp91

@bwp91 bwp91 commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Changes

  • test: work around Node free-socket data guard in HAP HTTP client
  • chore: dependency updates
  • chore: update actions/checkout to v7
  • chore: added deprecate-past-pre-releases workflow
  • chore: update hap characteristics and services
  • docs: regenerate docs for v2.1.8

Homebridge Dependencies

  • @homebridge/ciao @ v1.3.10
  • @homebridge/dbus-native @ v0.7.7
  • bonjour-hap @ v3.10.4

bwp91 added 7 commits July 8, 2026 09:04
Node 22.23/24.17/26.3 (CVE-2026-48931 fix) installs a guard on idle
keep-alive agent sockets that destroys them on any unsolicited read.
The test client reuses that idle socket to receive server-pushed
EVENT/1.0 notifications, so the guard was killing the socket and
failing the HAPServer and eventedhttp suites. Restore the socket's
default onread to neutralise the guard, and type the internal socket
access instead of casting through any.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@bwp91
bwp91 merged commit 570eb69 into latest Jul 11, 2026
23 checks passed
@bwp91
bwp91 deleted the beta-2.1.8 branch July 11, 2026 12:37
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 29149750061

Coverage increased (+0.07%) to 66.161%

Details

  • Coverage increased (+0.07%) from the base build.
  • Patch coverage: Could not be determined — this PR's diff is too large for GitHub to return (406 error at GitHub).
  • 95 coverage regressions across 2 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

95 previously-covered lines in 2 files lost coverage.

File Lines Losing Coverage Coverage
src/lib/Characteristic.ts 80 85.62%
src/test-utils/HAPHTTPClient.ts 15 84.58%

Coverage Stats

Coverage Status
Relevant Lines: 9493
Covered Lines: 6598
Line Coverage: 69.5%
Relevant Branches: 3368
Covered Branches: 1911
Branch Coverage: 56.74%
Branches in Coverage %: Yes
Coverage Strength: 222.05 hits per line

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