github zwave-js/node-zwave-js v4.0.1
Release v4.0.1

latest releases: v12.6.0, v12.5.6, v12.5.5...
3 years ago

Breaking changes

See "Changes under the hood". I don't expect anything to break, but to be safe, I'll declare this as a major version.

Bugfixes

  • It is now assumed that the Basic CC API is always supported

Features

  • Mandatory supported CCs that are defined in the device class config are now respected. This should improve support for legacy devices that don't include all CCs in the NIF.
  • Added support for Sound Switch CC
  • Added support for Alarm Sensor CC. This CC will only be interviewed if Notification CC is not supported.
  • Added a sendReport command to the Notification CC API, which can be used to send custom NotificationCCReports.

Changes under the hood

  • Moved the definition of legacy Z-Wave device classes to a config file.

  • This project has been converted to a monorepo and split into the following packages:

    • zwave-js: As before, this is the main entry point for consumers
    • @zwave-js/config: The configuration files and methods to access them
    • @zwave-js/core: The core modules, which are shared between zwave-js and @zwave-js/config
    • @zwave-js/serial: A lightweight wrapper around node-serialport with a built-in parser for received serial API messages
    • @zwave-js/shared: Utility methods that are shared between all other packages

    It is likely that other packages will be added in the future.

Don't miss a new node-zwave-js release

NewReleases is sending notifications on new releases.