Skip to content

Commit

Permalink
Merge branch 'main' into interactionprotol11
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 authored Nov 6, 2023
2 parents 4533e98 + 8ef79b7 commit d3db973
Show file tree
Hide file tree
Showing 47 changed files with 1,499 additions and 550 deletions.
7 changes: 0 additions & 7 deletions .github/actions/prepare-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ runs:
with:
node-version: ${{ inputs.node-version }}

- name: patch node gyp on windows to support Visual Studio 2019
if: ${{ inputs.os == 'windows-latest' || inputs.os == 'windows-2019' }}
shell: powershell
run: |
npm install --global node-gyp@latest
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
- name: Install dependencies (Non-Windows)
if: ${{ inputs.os != 'windows-latest' && inputs.os != 'windows-2019' }}
shell: bash
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-test.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
src:
- "package.json"
- "packages/**/package.json"
- ".github/workflows/build-test.js.yml"
- name: Prepare testing environment
uses: ./.github/actions/prepare-env
- run: npm run format-verify
Expand All @@ -38,7 +39,8 @@ jobs:
strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]
os: [ macos-latest, windows-2019 ]
# os: [ macos-latest, windows-2019 ]
os: [ windows-2019 ]
steps:
- uses: actions/checkout@v4
if: ${{ needs.check-and-lint.outputs.package-changes == 'true' }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
strategy:
matrix:
node-version: [ 16.x, 18.x, 20.x ]
os: [ macos-latest, windows-2019 ]
# os: [ macos-latest, windows-2019 ]
os: [ windows-2019 ]
steps:
- uses: actions/checkout@v4
- name: Build on ${{ matrix.os }}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The main work (all changes without a GitHub username in brackets in the below li
* Feature: Added generation method for random passcodes to PaseClient
* Feature: Generalized Discovery logic and allow discoveries via different methods (BLE+IP) in parallel
* Feature: Added functionality to clear session contexts including data in sub-contexts or not
* Feature: Enhance discovery methods to allow continuous discovery for operational devices
* Feature: Upgrade Interaction protocol revision to 11 (Matter 1.2) and adjust event error handling in DataReports
* matter.js API:
* Breaking: Rename resetStorage() on CommissioningServer to factoryReset() and add logic to restart the device if currently running
Expand All @@ -34,11 +35,17 @@ The main work (all changes without a GitHub username in brackets in the below li
* Introducing class PairedNode with the High level API for a paired Node
* Restructured CommissioningController to handle multiple nodes and offer new high level API
* Changed name of the unique storage id for servers or controllers added to MatterServer to "uniqueStorageKey"
* Adjusted subscription callbacks to also provide the nodeId of the affected device reporting the changes to allow callbacks to be used generically when connecting to all nodes
* Introduces a node state information callback to inform about the connection status but also when the node structure changed (for bridges) or such.
* Breaking: option "mdnsAnnounceInterface" was deprecated and replaced by "mdnsInterface" and now used to limit announcements and scanning to a specific interface
* Feature: Enhanced CommissioningServer API and CommissioningController for improved practical usage
* Feature: Makes Port for CommissioningServer optional and add automatic port handling in MatterServer
* Feature: Allows removal of Controller or Server instances from Matter server, optionally with deleting the storage
* Enhance: Makes passcode and discriminator for CommissioningServer optional and randomly generate them if not provided
* matter-node-shell.js
* Feature: Completely refactored and enhances shell to support commissioning, identify and many more new commands. See Readme, try it
* matter-node.js-examples
* Breaking: Rename parameter -announceinterface to -netinterface and use for announcements and scanning

## 0.6.0 (2023-10-08)
* Matter-Core functionality:
Expand Down
8 changes: 4 additions & 4 deletions chip-testing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-chip/matter.js-chip-testing",
"version": "0.6.1-alpha.0-20231102-e09231e",
"version": "0.6.1-alpha.0-20231106-8322fa6",
"description": "Testing of matter.js with CHIP tool",
"private": true,
"license": "Apache-2.0",
Expand All @@ -20,8 +20,8 @@
"test-chip": "matter-test --force-exit"
},
"dependencies": {
"@project-chip/matter-node.js": "0.6.1-alpha.0-20231102-e09231e",
"@project-chip/matter.js": "0.6.1-alpha.0-20231102-e09231e",
"@project-chip/matter.js-tools": "0.6.1-alpha.0-20231102-e09231e"
"@project-chip/matter-node.js": "0.6.1-alpha.0-20231106-8322fa6",
"@project-chip/matter.js": "0.6.1-alpha.0-20231106-8322fa6",
"@project-chip/matter.js-tools": "0.6.1-alpha.0-20231106-8322fa6"
}
}
8 changes: 4 additions & 4 deletions codegen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-chip/matter.js-codegen",
"version": "0.6.1-alpha.0-20231102-e09231e",
"version": "0.6.1-alpha.0-20231106-8322fa6",
"description": "Matter.js tooling",
"private": true,
"type": "module",
Expand All @@ -27,11 +27,11 @@
},
"homepage": "https://github.com/project-chip/matter.js#readme",
"dependencies": {
"@project-chip/matter.js": "0.6.1-alpha.0-20231102-e09231e",
"@project-chip/matter.js-intermediate-models": "0.6.1-alpha.0-20231102-e09231e"
"@project-chip/matter.js": "0.6.1-alpha.0-20231106-8322fa6",
"@project-chip/matter.js-intermediate-models": "0.6.1-alpha.0-20231106-8322fa6"
},
"devDependencies": {
"@project-chip/matter.js-tools": "0.6.1-alpha.0-20231102-e09231e",
"@project-chip/matter.js-tools": "0.6.1-alpha.0-20231106-8322fa6",
"@types/jsdom": "^21.1.4",
"jsdom": "^22.1.0",
"typescript": "^5.2.2",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.1-alpha.0-20231102-e09231e",
"version": "0.6.1-alpha.0-20231106-8322fa6",
"command": {
"run": {
"stream": true
Expand Down
6 changes: 3 additions & 3 deletions models/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-chip/matter.js-intermediate-models",
"version": "0.6.1-alpha.0-20231102-e09231e",
"version": "0.6.1-alpha.0-20231106-8322fa6",
"description": "Matter.js intermediate models",
"private": true,
"type": "module",
Expand All @@ -22,7 +22,7 @@
},
"homepage": "https://github.com/project-chip/matter.js#readme",
"devDependencies": {
"@project-chip/matter.js": "0.6.1-alpha.0-20231102-e09231e",
"@project-chip/matter.js-tools": "0.6.1-alpha.0-20231102-e09231e"
"@project-chip/matter.js": "0.6.1-alpha.0-20231106-8322fa6",
"@project-chip/matter.js-tools": "0.6.1-alpha.0-20231106-8322fa6"
}
}
Loading

0 comments on commit d3db973

Please sign in to comment.