Skip to content

Commit 6087513

Browse files
authored
Release 3.0.0
## [3.0.0] - 2025-11-08 ### Added - [tvoc]: Added voc_index to the converter. Thanks Funca (#129). - [cover]: Added check for reverse_direction === 'back' and reverse_direction === true (#121 and #131). - [test]: Improved test coverage to 85%. ### Changed - [package]: Updated dependencies. - [package]: Bumped platform to v.3.0.0. - [package]: Bumped entity to v.3.3.0. - [package]: Bumped zigbee to v.3.0.0. - [package]: Bumped package to automator v.2.0.11. - [jest]: Bumped jestHelpers to v.1.0.11. - [package]: Require matterbridge v.3.3.0. - [package]: Added default config. - [package]: Added typed ZigbeePlatformConfig. - [platform]: Updated to new signature PlatformMatterbridge. - [workflows]: Improved speed on Node CI. - [workflows]: Use shallow clones and --no-fund --no-audit for faster builds. - [devcontainer]: Added the plugin name to the container. - [devcontainer]: Improved performance of first build with shallow clone. ### Fixed - [platform]: Fixed specific zbminir2 device case for all devices. Thanks subst4nc3 (#126). <a href="https://www.buymeacoffee.com/luligugithub"> <img src="bmc-button.svg" alt="Buy me a coffee" width="80"> </a>
1 parent 69d089b commit 6087513

22 files changed

+2923
-1620
lines changed

.github/workflows/build-matterbridge-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: npm run lint
6262

6363
- name: Test the plugin
64-
run: npm run test
64+
run: npm run test -- --forceExit
6565

6666
- name: Build the plugin
6767
run: npm run build

.github/workflows/codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
registry-url: 'https://registry.npmjs.org'
2929

3030
- name: Clone matterbridge repo
31-
run: git clone https://github.com/Luligu/matterbridge.git ../matterbridge
31+
run: git clone --depth 1 --single-branch --no-tags https://github.com/Luligu/matterbridge.git ../matterbridge
3232

3333
- name: Install matterbridge dependencies
3434
working-directory: ../matterbridge
@@ -49,7 +49,7 @@ jobs:
4949
run: npm link matterbridge
5050

5151
- name: Run tests
52-
run: npm run test:coverage
52+
run: npm run test:coverage -- --forceExit
5353

5454
- name: Upload results to Codecov
5555
uses: codecov/codecov-action@v5

.github/workflows/publish-matterbridge-plugin-dev-daily-from-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: npm cache clean --force
2929

3030
- name: Clone matterbridge repo branch dev
31-
run: git clone -b dev https://github.com/Luligu/matterbridge.git ../matterbridge
31+
run: git clone --depth 1 --single-branch --no-tags -b dev https://github.com/Luligu/matterbridge.git ../matterbridge
3232

3333
- name: Install matterbridge dependencies
3434
working-directory: ../matterbridge
@@ -49,7 +49,7 @@ jobs:
4949
npm run lint
5050
npm run buildProduction
5151
npm install -g .
52-
npm run test
52+
npm run test -- --forceExit
5353
npm pkg delete devDependencies scripts types
5454
npx shx rm -rf ./node_modules
5555
npm install --omit=dev

.github/workflows/publish-matterbridge-plugin-dev-daily-from-main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: npm cache clean --force
2929

3030
- name: Clone matterbridge repo branch dev
31-
run: git clone -b dev https://github.com/Luligu/matterbridge.git ../matterbridge
31+
run: git clone --depth 1 --single-branch --no-tags -b dev https://github.com/Luligu/matterbridge.git ../matterbridge
3232

3333
- name: Install matterbridge dependencies
3434
working-directory: ../matterbridge
@@ -49,7 +49,7 @@ jobs:
4949
npm run lint
5050
npm run buildProduction
5151
npm install -g .
52-
npm run test
52+
npm run test -- --forceExit
5353
npm pkg delete devDependencies scripts types
5454
npx shx rm -rf ./node_modules
5555
npm install --omit=dev

.github/workflows/publish-matterbridge-plugin.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: npm -v
2929

3030
- name: Clone matterbridge repo
31-
run: git clone https://github.com/Luligu/matterbridge.git ../matterbridge
31+
run: git clone --depth 1 --single-branch --no-tags https://github.com/Luligu/matterbridge.git ../matterbridge
3232

3333
- name: Install matterbridge dependencies
3434
working-directory: ../matterbridge
@@ -52,7 +52,7 @@ jobs:
5252
run: npm run lint
5353

5454
- name: Test the plugin
55-
run: npm run test
55+
run: npm run test -- --forceExit
5656

5757
- name: Build the plugin
5858
run: npm run build

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ eslint.config.*
2929
install-matterbridge-dev.sh
3030
install-matterbridge-main.sh
3131
jest.config.*
32+
jestHelpers.*
3233
nodemon.json
3334
prettier.config.*
3435
TODO.md

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,39 @@ If you like this project and find it useful, please consider giving it a star on
88
<img src="bmc-button.svg" alt="Buy me a coffee" width="120">
99
</a>
1010

11+
## [3.0.0] - 2025-11-08
12+
13+
### Added
14+
15+
- [tvoc]: Added voc_index to the converter. Thanks Funca (https://github.com/Luligu/matterbridge-zigbee2mqtt/issues/129).
16+
- [cover]: Added check for reverse_direction === 'back' and reverse_direction === true (https://github.com/Luligu/matterbridge-zigbee2mqtt/issues/121 and https://github.com/Luligu/matterbridge-zigbee2mqtt/issues/131).
17+
- [test]: Improved test coverage to 85%.
18+
19+
### Changed
20+
21+
- [package]: Updated dependencies.
22+
- [package]: Bumped platform to v.3.0.0.
23+
- [package]: Bumped entity to v.3.3.0.
24+
- [package]: Bumped zigbee to v.3.0.0.
25+
- [package]: Bumped package to automator v.2.0.11.
26+
- [jest]: Bumped jestHelpers to v.1.0.11.
27+
- [package]: Require matterbridge v.3.3.0.
28+
- [package]: Added default config.
29+
- [package]: Added typed ZigbeePlatformConfig.
30+
- [platform]: Updated to new signature PlatformMatterbridge.
31+
- [workflows]: Improved speed on Node CI.
32+
- [workflows]: Use shallow clones and --no-fund --no-audit for faster builds.
33+
- [devcontainer]: Added the plugin name to the container.
34+
- [devcontainer]: Improved performance of first build with shallow clone.
35+
36+
### Fixed
37+
38+
- [platform]: Fixed specific zbminir2 device case for all devices. Thanks subst4nc3 (https://github.com/Luligu/matterbridge-zigbee2mqtt/issues/126).
39+
40+
<a href="https://www.buymeacoffee.com/luligugithub">
41+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
42+
</a>
43+
1144
## [2.8.1] - 2025-10-02
1245

1346
### Automations and scenes

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ matterbridge
125125

126126
# Config file
127127

128+
All configurations can (and should) be done with the frontend.
129+
128130
If needed you can configure the mqtt host, port, topic, username and password.
129131

130132
If the whiteList is defined only the devices included are exposed to Matter.
@@ -153,15 +155,16 @@ These are the default vules:
153155
{
154156
"name": "matterbridge-zigbee2mqtt",
155157
"type": "DynamicPlatform",
158+
"version": "3.0.0",
156159
"host": "mqtt://localhost",
157160
"port": 1883,
158161
"protocolVersion": 5,
159162
"topic": "zigbee2mqtt",
160163
"username": "",
161164
"password": "",
162-
"ca": undefined,
163-
"cert": undefined,
164-
"key": undefined,
165+
"ca": "",
166+
"cert": "",
167+
"key": "",
165168
"rejectUnauthorized": true,
166169
"whiteList": [],
167170
"blackList": [],
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "matterbridge-zigbee2mqtt",
3+
"type": "DynamicPlatform",
4+
"version": "3.0.0",
5+
"host": "mqtt://localhost",
6+
"port": 1883,
7+
"protocolVersion": 5,
8+
"username": "",
9+
"password": "",
10+
"ca": "",
11+
"rejectUnauthorized": true,
12+
"cert": "",
13+
"key": "",
14+
"topic": "zigbee2mqtt",
15+
"zigbeeFrontend": "http://localhost:8080",
16+
"whiteList": [],
17+
"blackList": [],
18+
"switchList": [],
19+
"lightList": [],
20+
"outletList": [],
21+
"featureBlackList": [],
22+
"deviceFeatureBlackList": {},
23+
"scenesType": "outlet",
24+
"scenesPrefix": true,
25+
"postfix": "",
26+
"debug": false,
27+
"unregisterOnShutdown": false
28+
}

0 commit comments

Comments
 (0)