Breaking changes · Migration guide
- Dropped support for Node.js 12 (#4824, #4491)
- Moved
Driver.interviewNode
method to theZWaveNode
class (#4823) - Added support to provide an API key for the firmware update service, soon mandatory (#4816)
- Removed several deprecated things and reworked
beginExclusion
to use an options object instead (#4699) - CC implementations were moved into their own package (#4668)
- CC code can now be used mostly without a driver instance (#4651)
- Implement discoverable and transparently-typed CC value definitions instead of
getXYZValueId
methods (#4704) Supervision CC
is now used automatically when supported and for more CCs than justMultilevel Switch CC
(#4761)- Updated the argument type of the
"node found"
event to indicate that it is not an operational node (#4825)
Features
- Implement Z-Wave Protocol CC, for internal use (#4691)
- Implemented mock controller and mock nodes to vastly improve how integration tests are written (#4697)
- Add values to
Basic CC
andMultilevel Switch CC
to restore previous non-zero level (#4732)
Bugfixes
- Swap order of
destroy()
call andDriver_Failed
error after restoring NVM (#4661) - Do not request ACK when sending node to sleep (#4826)
- Correctly interpret powerlevel values as signed in
GetPowerlevelResponse
(#4827) - Add missing
reflect-metadata
dependency to some packages that were meant to be used standalone (#4846)
Config file changes
- Corrected manufacturer and device labels for Heatit devices (#4838)