Skip to content

v2.3.1 - #1149

Merged
NorthernMan54 merged 241 commits into
latestfrom
beta-2.3.1
Nov 28, 2026
Merged

v2.3.1#1149
NorthernMan54 merged 241 commits into
latestfrom
beta-2.3.1

Conversation

@NorthernMan54

Copy link
Copy Markdown
Contributor

Summary

A correctness and security release. Pair-setup is hardened (the SRP key now mixes in the setup-code verifier, and fast-srp-hap 2.0.5 hardens the server exponent). Camera, data stream, server, accessory, remote and characteristic handling get a large set of fixes from a full code review, alongside fixes for user-reported issues and dependency updates. ciao, bonjour-hap and fast-srp-hap move to their new stable releases.

API changes

  • Added: HomeKit definitions from Apple's v891 metadata.
  • Added (lock): AccessCodeManagement for the Access Code service, and NFCAccessManagement for the HomeKit half of Apple Home Key.
  • Added: encodeErrorStatus / decodeErrorStatus for the Error Status characteristic, and setOperatingState on the doorbell for too-hot or too-cold reporting.
  • Changed (TypeScript only): stricter types. Characteristic change context, data stream message fields and DataStreamParser.decode() are unknown; HAPStorage.storage().getItem<T>() returns T | undefined; tlv.encode() and uuid.unparse() check their input. JavaScript plugins are not affected.
  • Changed: every const enum is a normal enum. Values are unchanged except DataFormatTags.INTEGER_RANGE_STOP_39, corrected from 46 to 47.
  • Changed: addBridgedAccessory() throws on a duplicate UUID. removeBridgedAccessory() no longer removes listeners the plugin added.
  • Changed: a fractional minStep on an integer characteristic is ignored with a warning.
  • Changed: a data stream sendRequest() / sendResponse() before hello throws HDSConnectionError, and pending requests fail at once when the connection closes.

Other changes

  • Users: pairing files in persist/ are saved readable by their owner only. After running as another user (for example with sudo), chown them back; HAP-NodeJS says so in its error. A corrupt HAP-NodeJS file in persist/ is set aside as .<name>.corrupt-<time> instead of breaking start-up.
  • Cameras: a camera restored from cache gets the motion or occupancy sensor it was configured with, and the delegate gets a STOP after a failed START or RECONFIGURE.
  • Dependencies: @homebridge/ciao 1.4.1, bonjour-hap 3.11.1, fast-srp-hap 2.0.5, plus routine dependency updates.
  • Full detail in CHANGELOG.md.

🤖 Generated with Claude Code

@NorthernMan54
NorthernMan54 enabled auto-merge (rebase) November 27, 2026 22:08
bwp91 and others added 28 commits November 27, 2026 17:09
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rs share the ciao responder

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…for the goodbye on destroy

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…-hap advertiser

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…hing the process

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…none is left behind

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…temd-resolved

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ory is unpublished

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…of throwing

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…owing from a timer

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ent instead of crashing

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…d of crashing

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…se step does not divide evenly

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ring

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ter an earlier save

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ad in one process

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…a failed init

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…uuid

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ue status

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… with a pairing error

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…econd request is answered

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…t short

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
bwp91 and others added 17 commits November 27, 2026 17:09
… plugin on removeController

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… an integer format

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ad, like one saved with sudo

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…checks the advertiser

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…etup ends

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ss Code service

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…e Key

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…he Error Status characteristic

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…o hot or too cold

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…to a commit

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…rogress (#1138)

Workflow-level concurrency with cancel-in-progress cancelled a running publish when another commit landed on the branch (e.g. a bot PR merging). Builds now cancel per branch, and publish runs one at a time per branch without being cancelled, as in homebridge/homebridge-config-ui-x#3128.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: homebridge[bot] <354207881+homebridge[bot]@users.noreply.github.com>
Set the version to 2.3.1, move ciao, bonjour-hap and fast-srp-hap to their
stable releases (1.4.1, 3.11.1, 2.0.5), and date the changelog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coveralls

coveralls commented Nov 27, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 46074953117

Coverage increased (+9.8%) to 88.037%

Details

  • Coverage increased (+9.8%) 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).
  • 930 coverage regressions across 24 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

930 previously-covered lines in 24 files lost coverage.

Top 10 Files by Coverage Loss Lines Losing Coverage Coverage
src/lib/datastream/DataStreamParser.ts 141 65.93%
src/lib/controller/RemoteController.ts 87 81.87%
src/lib/camera/RTPStreamManagement.ts 86 76.32%
src/lib/HAPServer.ts 76 86.81%
src/lib/controller/CameraController.ts 69 63.54%
src/lib/datastream/DataStreamServer.ts 60 87.46%
src/lib/Characteristic.ts 58 91.66%
src/lib/controller/AdaptiveLightingController.ts 53 81.23%
src/lib/Accessory.ts 49 94.84%
src/lib/Advertiser.ts 45 81.54%

Coverage Stats

Coverage Status
Relevant Lines: 9362
Covered Lines: 8192
Line Coverage: 87.5%
Relevant Branches: 1471
Covered Branches: 1345
Branch Coverage: 91.43%
Branches in Coverage %: Yes
Coverage Strength: 2425.12 hits per line

💛 - Coveralls

Comment thread src/lib/Characteristic.ts Dismissed
Comment thread src/lib/Characteristic.ts Dismissed
@NorthernMan54
NorthernMan54 requested a review from bwp91 November 27, 2026 22:40
@NorthernMan54
NorthernMan54 enabled auto-merge (rebase) November 27, 2026 23:18
@hjdhjd
hjdhjd self-requested a review November 27, 2026 23:21
auto-merge was automatically disabled November 27, 2026 23:24

Rebase failed

@NorthernMan54 NorthernMan54 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ok

@NorthernMan54
NorthernMan54 merged commit a3874c2 into latest Nov 28, 2026
36 of 37 checks passed
@NorthernMan54
NorthernMan54 deleted the beta-2.3.1 branch November 28, 2026 00:39

This branch was previously deployed

1 inactive deployment
github-pages — a3874c21 Deployed Nov 28, 2026 by NorthernMan54 via deploy #117
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.

5 participants