Skip to content

Commit

Permalink
Merge all Z-Wave JS 12.x changes at once (#1054)
Browse files Browse the repository at this point in the history
* chore: use vendored tsconfig for Node 18 (#1034)

* fix: align @types/node with the minimum supported Node.js version (#1035)

* fix

* Add support for zwave-js 12 changes (#1036)

* Add support for zwave-js 12 changes

* Bump to b1

* Throw exception if caller uses old parameters for firmware updates

* Tweak parameter name

* additional changes

* Pass error message to clients

* Add friendly name of zwave error code enum to response

* add line break

* throw a zwave error so HA can see the message

* bump to b2

* Review comments

* formatting

* Better backup

* Set prototype in every error type

* Fix error constructor and log a warning instead of throwing an error when enableErrorReporting is called

* Bump to v12

* clean up error messaging logic

* resolve ipv4 first

* Resolve ipv4 first in the client as well

---------

Co-authored-by: AlCalzone <dominic.griesel@nabucasa.com>
  • Loading branch information
raman325 and AlCalzone committed Sep 26, 2023
1 parent f410d26 commit c476c74
Show file tree
Hide file tree
Showing 19 changed files with 1,042 additions and 711 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: "npm"
- run: npm ci
- run: npm test
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: "npm"
- run: npm ci
- run: npm test
Expand All @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org/
cache: "npm"
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
Loading

0 comments on commit c476c74

Please sign in to comment.