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 ifNotification CC
is not supported. - Added a
sendReport
command to theNotification CC
API, which can be used to send customNotificationCCReport
s.
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 betweenzwave-js
and@zwave-js/config
@zwave-js/serial
: A lightweight wrapper aroundnode-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.