Skip to content

Release 3.11.6

Latest

Choose a tag to compare

@Luligu Luligu released this 04 Dec 12:09
d8053bb

[3.11.6] - 2026-12-04

Development Breaking changes

  • [test-utils]: Remove getFreePort: use getFreePort from @matterbridge/utils/port.
  • [core]: subscribeCommand listeners no longer fire for the LevelControl and ColorControl commands that matter.js skips because the device is off and the effective ExecuteIfOff is 0. The 'with On/Off' commands and addCommandHandler handlers are unchanged.
  • [core]: subscribeCommand listeners no longer fire for an OnOff onWithRecallGlobalScene discarded because globalSceneControl is true, or an onWithTimedOff discarded by acceptOnlyWhenOn or that only lowers offWaitTime while off. addCommandHandler handlers are unchanged.

Added

  • [dgram]: Add subpath exports for each module, in kebab-case as in @matterbridge/utils (e.g. @matterbridge/dgram/mdns-scanner).
  • [dgram]: Add Coap.request(): a unicast or multicast CoAP request that returns a promise of the responses, with a timeout and an optional AbortSignal.
  • [dgram]: Add COAP_OPTION_URI_QUERY and the query option of Coap.request(); logCoapMessage decodes the Uri-Query options.
  • [dgram]: Dgram.send() accepts an optional callback with the send result; with a callback, a send error goes to the callback instead of the 'error' event.
  • [utils]: Add isPortFree, getFreePort and getFreePortRange (@matterbridge/utils/port) for tcp, udp4, udp6, udp (both families) and tcp+udp ports.
  • [core]: subscribeCommand() listeners receive the executing cluster's typed pending state in attributes.

Changed

  • [core]: Add the Time Synchronization client to camera root nodes as required by TimeSyncWithClientCond.
  • [dgram]: isFirstOnPort uses isPortFree from @matterbridge/utils/port.
  • [core]: The WebRTC media track port and the werift range tests use getFreePort and getFreePortRange from @matterbridge/utils/port.
  • [dgram]: The MdnsScanner, MdnsMonitor, CoapMonitor and MatterbridgeAdvertise tests get their ports from getFreePort('udp') instead of a random port.
  • [dgram]: Add the queryInstance SRV/TXT query test to the MdnsScanner tests, synced from matterbridge-native.
  • [utils]: Align the measurementUtils comments with the Matter 1.6.1 Application Cluster § 2.2.5.1 wording.
  • [core]: Remove the meaningless void markers flagged by oxlint-tsgolint 7.0.2009 (no-meaningless-void-operator); the intentional getter reads are disabled locally.
  • [core]: Bump werift to v.0.29.0.
  • [frontend]: Bump vite to v.8.4.0.
  • [matterbridge]: Bump @types/node to v.26.6.11.
  • [matterbridge]: Bump oxlint-tsgolint to v.7.0.2009.

Fixed

  • [core]: Share one mock remote context in invokeBehaviorCommand() so command listeners see pending attribute updates.
  • [core]: Stabilize the Extractor Hood filter tests by writing a different timestamp and checking local and remote notifications separately.
  • [core]: Work around a matter.js 0.18.1 spec violation that returns CONSTRAINT_ERROR for an invalid Closure Dimension SetTarget.Speed value even when Matter requires the field to be ignored because Speed is unsupported. See Matter.js 0.18.1.
  • [core]: Work around a matter.js 0.18.1 spec violation that returns CONSTRAINT_ERROR when an EVSE SetTargets request exceeds charging-target capacity, where Matter requires RESOURCE_EXHAUSTED. See Matter.js 0.18.1.
  • [dgram]: Fix the flaky MdnsResponder probe test: the random 0-250 ms first probe delay is pinned to 125 ms in the tests.
  • [dgram]: Await the socket close in the MdnsMonitor and CoapMonitor tests, so their Socket closed logs no longer leak after the test files.
  • [core]: Probe the free UDP port of the injected WebRTC media tracks on 0.0.0.0, the address werift binds it on, instead of 127.0.0.1.
  • [dgram]: Multicast without an interface name no longer joins its group on the excluded (VPN, virtual) interfaces.
  • [dgram]: Multicast warns when it joins its group on no interface, listing the skipped excluded interfaces.
  • [dgram]: Exclude the macOS awdl, llw, anpi and bridge1xx (Parallels, Internet Sharing) interfaces from the default interface selection.
  • [dgram]: Multicast and Unicast no longer throw ERR_SOCKET_DGRAM_NOT_RUNNING when stopped from a 'ready' listener.
  • [dgram]: logCoapMessage decodes the Shelly Gen 1 COIOT_OPTION_SERIAL and COIOT_OPTION_VALIDITY options as little-endian, as the devices send them.
  • [dgram]: CoapMonitor with --request sends the multicast requests to both /cit/s and /cit/d, with consecutive message IDs.

Buy me a coffee