@matter/nodejs
Advanced tools
Changelog
0.11.2 (2024-11-02)
@matter/node
@project-chip/matter.js
Changelog
0.11.1 (2024-10-31)
Changelog
0.11.0 (2024-10-29)
IMPORTANT: As of 0.10.0 the @project-chip/matter.js module has grown quite large. This release includes major refactoring that moves functional areas into independent NPM packages under the "@matter" org. We have added exports to maintain backwards compatibility but these are not exhaustive. In some cases you may need to update imports to reference new code locations.
Cross-module changes
package.json
"imports" field. This is an internal change that simplifies imports but should not affect consumers@matter/general:
@project-chip/matter.js
. It now lives in @matter/general
ObserverGroup
class simplifies binding management for multiple observables@matter/main:
@matter/model:
@project-chip/matter.js/model
now resides in @matter/model
@matter/node:
@project-chip/matter.js
now reside in @matter/node
. The Node API includes node management, behavior definitions and endpoint definitions@matter/node/behaviors
or individually (e.g. @matter/node/behaviors/on-off
)@matter/node/endpoints
and @matter/node/devices
respectively. You may also import these via index or individually@matter/nodejs:
@project-chip/matter-node.js
remains as a compatibility import.@matter/nodejs-ble
@project-chip/matter-node-ble.js
remains as a compatibility import.@matter/nodejs-shell:
@matter/protocol:
@project-chip/matter.js
now resides in @matter/protocol
. This includes network communication, fabric management and cluster invocation, read/write, events, etc.DeviceCommissioner
, DeviceAdvertiser
, NodeFinder
and Subscription
now perform functions that previously were in the (deprecated) MatterDevice class@matter/types:
@project-chip/matter.js
now reside in @matter/types
. This includes most TLV structures, cluster definitions, and various support types@project-chip/matter.js
. You can import via @project-chip/types/clusters
or individually (e.g. @project-chip/types/clusters/window-covering
)@matter/examples:
@matter/cli-tool:
@matter/create
npm init @matter help
anywhere you have Node.js installedMatter-Core functionality:
matter.js clusters:
matter.js Controller API: