github homebridge/homebridge v2.5.1

one hour ago

Summary

Homebridge 2.5.1 is mostly a Matter fix release: 190 fixes, most of them in the Matter bridge (state restore, mode/level/toggle handlers, window coverings, robot vacuums, storage and pairing), plus child bridge stability fixes and a start-up check for damaged accessory caches. It moves to HAP-NodeJS 2.3.1 (ciao 1.4.1, bonjour-hap 3.11.1, fast-srp-hap 2.0.5) and matter.js 0.18.1. Node 22.12+, 24 and 26 are supported, as in 2.5.0.

API changes

  • New homebridge/matter entry for the Matter values; the same values on the main entry are deprecated.
  • More hap-nodejs enums and types exported from homebridge (for example MDNSAdvertiser, HAPConnection).
  • TypeScript plugins can call api.once, api.off and api.removeListener without a cast.
  • Matter: a handler can answer a mode change, vacuum, media or key command with its own status; thermostats report unoccupied setpoint changes; enums of ten more clusters are reachable through api.matter.types.
  • Deprecated (docs only, no behaviour change): api.version, MatterAccessory.getState, the Matter ready event. The bridge hap option is now marked deprecated only in its boolean form.

Other changes

  • Matter: many fixes to state and context restore, handler dispatch (level, toggle, mode, lock, fan, thermostat), window coverings, robot vacuums, storage locks and pairing reports; repeated error wrapping and unused helpers removed.
  • Child bridges: a UI-requested restart is no longer counted as a crash; a refused accessory no longer stops the bridge; bridges stopped by hand are handled at shutdown.
  • Accessory cache: start with a damaged cache file and keep the good backup when restoring.
  • CI: a Validate Start workflow packs, installs and starts the bridge on Node 22 and 26 (#4055); upstream Homebridge dependencies refresh daily on alpha and beta (#4053).
  • Dependencies: @homebridge/hap-nodejs 2.3.1, @matter/main / @matter/nodejs 0.18.1, plus minor dependency updates.

Thanks to @zerafachris, @stalinCCCP415 and @inakietxeba for their contributions.

Don't miss a new homebridge release

NewReleases is sending notifications on new releases.