Skip to content

Commit

Permalink
chore: release v6.0.0-beta.2
Browse files Browse the repository at this point in the history
### Breaking changes · [Migration guide](https://zwave-js.github.io/node-zwave-js/#/getting-started/migrating-to-v6)
* Logging can now be configured through driver options. However, the environment variables for logging are no longer evaluated lazily, so they now need to be set before requiring `zwave-js`.
* The second (string) parameter of the `"interview failed"` event handler was removed
* The type `ValueMetadataBase` has been renamed to `ValueMetadataAny`. The old type `ValueMetadataAny` was merged into `ValueMetadataBase`.
* The retry strategy for sending commands to nodes has been revised. By default, a message is no longer re-transmitted when the node has acknowledged its receipt, since it is unlikely that the retransmission will change anything. The old behavior can be restored by setting the `attempts.retryAfterTransmitReport` driver option to `true`.
To compensate for the change and give the response enough time to reach the controller, the default for `timeouts.response` has been increased from `1600` to `10000`.
* The driver now distinguishes between stateful and event values. The latter are now exclusively exposed through the `"value notification"` event.
* The deprecated `nodeInterviewAttempts` option was removed
* The options `fs` and `cacheDir` have been renamed to `storage.driver` and `storage.cacheDir`.
* Loggers are now managed on a per-driver basis. This means you can use zwave-js to talk to different controllers and have separate logs for each.
* The `lookupXYZ` methods are no longer exposed by `@zwave-js/config`. Use the `configManager` property of your driver instance instead.

### Config file changes
* The index file was removed from the repo and is now generated on demand
* Several improvements for GE dimmers and switches
* Added missing config parameters to IDLock 150
* Added Innovelli LZW36 and First Alert ZCOMBO-G
* Added Technisat Dimmer and series switch
* Added Lifeline association to Danfoss MT 2649
* Added product id/type to NAS-WR01ZE
* Added Inovelli LZW31 Black Series Dimmer
* Added Aeotec ZW187 Recessed Door Sensor 7
* Added checks for partial parameters
* Added Aeotec ZWA009 aerQ Temperature and Humidity Sensor
* Added Honeywell 39348/ZW4008
* Added Zooz zst10-700 z-wave usb stick
* Added Fibaro Smart Switch FGS-214 and FGS-224
* Added Fortrezz fts05p
* Added an additional product type to Aeotec Range Extender 7
* Added iblinds V3
* Added Zooz ZEN31 RGBW Dimmer
* Change manufacturer Jasco Products to GE/Jasco
* Changed ZDB5100 config to expand on parameter 1
* Renamed config param #11 in Q-Light Puck
* Removed an unsupported parameter from GE 14294
* Root endpoint values are no longer hidden for Philip PAN06, Aeotec ZW095 energy meter
* New versions of `@zwave-js/config` are now automatically released every night if **only** config files were changed since the last release.
You can run `npm update @zwave-js/config` in the `zwave-js` install dir to pull the latest config files. For now, a driver restart is required afterwards.

### Features
* Added basic support for 700-series controllers
* Added a compatibility option to disable the `Basic CC` mapping
* Added a compatibility option to treat `Basic CC::Set` commands as events instead of `Report`s
* Added a compatibility option `skipConfigurationInfoQuery` to work around a firmware issue in `Heat-It Z-TRM2fx`
* A driver option was added to enable logging to the console, even if it is not a TTY
* A driver option was added to control the filesystem access throttling
* Improved the `label` for `Level low` property in `BatteryCC`
* Unimplemented CCs may now be sent
* The version of `zwave-js` is now exported as `libVersion` from the main entry point
* Implemented `Battery CC V3`
* Added support for `Hail CC`
* ValueIDs that use a `Duration` instance as the value now have the metadata type `"duration"`
* Added a workaround for devices that return an invalid response when finding the first configuration param
* Added a `hexColor` property to the `Color Switch CC`
* Added the properties `ready` and `allNodesReady` to the driver to read the status after the corresponding events were emitted
* The node neighbor lists now get updated when a node is removed
* The `refreshValues` method is now exposed on node instances, which allows polling all actuator and sensor values of a node. **Note:** Please read the warnings in the [documentation](https://zwave-js.github.io/node-zwave-js/#/api/node?id=refreshvalues)!

### Bugfixes
* Fixed an off-by-one error in the `Binary Sensor Supported Report` bitmask.
**Note:** If your devices are affected by this bug, re-interview them to remove corrupted values.
* Expire nonces for `keepS0NonceUntilNext` devices until **after** the next nonce was received by the device
* The interview is no longer aborted when a device does not respond to the Wakeup Capability query
* Fixed a crash that could happen when compressing the value DB with an existing backup file.
* Fixed a wrong value ID for `Multilevel Switch CC` `targetValue`
* The driver no longer assumes that a sleeping node falls asleep after a certain time
* The name and location of a node is no longer deleted when the node gets re-interviewed and **does not** support `Node Naming And Location CC`
* The `propertyKeyName` of `Meter CC` values now contains the Meter type name
* `Configuration CC`: empty Name and Info are now accepted as valid commands
* `stopInclusion`/`stopExclusion` now always return a `boolean`
* Successful pings now correctly change the node status
* Messages from previous interview attempts are now dropped when an interview is restarted

### Changes under the hood
* Test releases for PRs can now be created with a command
* PRs titles are now enforced to comply with conventional commits
* Config json files are now automatically formatted in VSCode and linted
* While editing device config files, supporting IDEs can now use a JSON schema to help you
* We've added @zwave-js-bot to help us manage the repo and to help you contribute

---

[Older changelog entries](CHANGELOG_v5.md)
  • Loading branch information
AlCalzone committed Jan 17, 2021
1 parent 25d355a commit 17abb06
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Placeholder for next release:
## __WORK IN PROGRESS__
-->
## __WORK IN PROGRESS__ · "This is the way"
## 6.0.0-beta.2 (2021-01-17) · "This is the way"
### Breaking changes · [Migration guide](https://zwave-js.github.io/node-zwave-js/#/getting-started/migrating-to-v6)
* Logging can now be configured through driver options. However, the environment variables for logging are no longer evaluated lazily, so they now need to be set before requiring `zwave-js`.
* The second (string) parameter of the `"interview failed"` event handler was removed
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages/*"
],
"useWorkspaces": true,
"version": "6.0.0-beta.1",
"version": "6.0.0-beta.2",
"command": {
"run": {
"stream": true
Expand Down
6 changes: 3 additions & 3 deletions packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zwave-js/config",
"version": "6.0.0-beta.1",
"version": "6.0.0-beta.2",
"description": "zwave-js: configuration files",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -32,8 +32,8 @@
"node": ">=10.0.0"
},
"dependencies": {
"@zwave-js/core": "^6.0.0-beta.1",
"@zwave-js/shared": "^6.0.0-beta.0",
"@zwave-js/core": "^6.0.0-beta.2",
"@zwave-js/shared": "^6.0.0-beta.2",
"alcalzone-shared": "^3.0.2",
"ansi-colors": "^4.1.1",
"fs-extra": "^9.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zwave-js/core",
"version": "6.0.0-beta.1",
"version": "6.0.0-beta.2",
"description": "zwave-js: core components",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@alcalzone/jsonl-db": "^1.2.3",
"@zwave-js/shared": "^6.0.0-beta.0",
"@zwave-js/shared": "^6.0.0-beta.2",
"alcalzone-shared": "^3.0.2",
"ansi-colors": "^4.1.1",
"moment": "^2.29.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/serial/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zwave-js/serial",
"version": "6.0.0-beta.1",
"version": "6.0.0-beta.2",
"description": "zwave-js: Serialport driver",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -31,7 +31,7 @@
"node": ">=10.0.0"
},
"dependencies": {
"@zwave-js/core": "^6.0.0-beta.1",
"@zwave-js/core": "^6.0.0-beta.2",
"alcalzone-shared": "^3.0.2",
"serialport": "^9.0.1",
"winston": "^3.3.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zwave-js/shared",
"version": "6.0.0-beta.0",
"version": "6.0.0-beta.2",
"description": "zwave-js: shared utilities",
"publishConfig": {
"access": "public"
Expand Down
10 changes: 5 additions & 5 deletions packages/zwave-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zwave-js",
"version": "6.0.0-beta.1",
"version": "6.0.0-beta.2",
"description": "Z-Wave driver written entirely in JavaScript/TypeScript",
"keywords": [],
"main": "index.js",
Expand Down Expand Up @@ -63,10 +63,10 @@
"@alcalzone/jsonl-db": "^1.2.3",
"@sentry/integrations": "^5.24.2",
"@sentry/node": "^5.24.2",
"@zwave-js/config": "^6.0.0-beta.1",
"@zwave-js/core": "^6.0.0-beta.1",
"@zwave-js/serial": "^6.0.0-beta.1",
"@zwave-js/shared": "^6.0.0-beta.0",
"@zwave-js/config": "^6.0.0-beta.2",
"@zwave-js/core": "^6.0.0-beta.2",
"@zwave-js/serial": "^6.0.0-beta.2",
"@zwave-js/shared": "^6.0.0-beta.2",
"alcalzone-shared": "^3.0.2",
"ansi-colors": "^4.1.1",
"fs-extra": "^9.0.1",
Expand Down

0 comments on commit 17abb06

Please sign in to comment.