matterbridge 3.3.0-dev-20251001-9518e1d → 3.3.0-dev-20251002-3d6964a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -10
- package/dist/matterbridge.js +2 -0
- package/frontend/build/assets/index.js +7 -7
- package/frontend/build/index.html +22 -24
- package/frontend/index.html +13 -15
- package/frontend/package-lock.json +7827 -7710
- package/frontend/package.json +81 -75
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,7 +10,7 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
10
10
|
|
|
11
11
|
## Project evolution
|
|
12
12
|
|
|
13
|
-
The project will evolve to multi
|
|
13
|
+
The project will evolve to a multi-threaded architecture (the CLI will become the thread manager) with these initial threads:
|
|
14
14
|
|
|
15
15
|
- matterbridge;
|
|
16
16
|
- frontend;
|
|
@@ -21,18 +21,18 @@ Advantages:
|
|
|
21
21
|
|
|
22
22
|
- real concurrency outside the Node.js main loop;
|
|
23
23
|
- isolation between threads;
|
|
24
|
-
-
|
|
24
|
+
- individual plugin isolation in childbridge mode;
|
|
25
25
|
|
|
26
26
|
## [3.3.0] - Not released
|
|
27
27
|
|
|
28
28
|
### Development Breaking Changes
|
|
29
29
|
|
|
30
30
|
- [platform]: Now, internal use only properties are private readonly and internal use only methods are private.
|
|
31
|
-
- [platform]: The signature of the matterbridge param in the platform constructor has changed from Matterbridge to `PlatformMatterbridge`
|
|
31
|
+
- [platform]: The signature of the matterbridge param in the platform constructor has changed from Matterbridge to `PlatformMatterbridge` which has only the appropriate readonly properties from matterbridge.
|
|
32
32
|
|
|
33
|
-
This change,
|
|
33
|
+
This change, necessary to achieve plugin isolation, will require all plugins to be adapted in two steps.
|
|
34
34
|
|
|
35
|
-
1. `After` matterbridge `3.3.0`
|
|
35
|
+
1. `After` matterbridge `3.3.0` is published as latest:
|
|
36
36
|
|
|
37
37
|
- update the plugin platform constructor with the new signature:
|
|
38
38
|
|
|
@@ -50,11 +50,11 @@ This change, necassary to obtain the plugin isolation, will require to adapt all
|
|
|
50
50
|
}
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
- check that you
|
|
53
|
+
- check that you are not using any matterbridge calls directly (this should not be the case).
|
|
54
54
|
|
|
55
|
-
In this phase (matterbridge 3.3.x) all plugins will continue to build and run even without updates.
|
|
55
|
+
In this phase (matterbridge `3.3.x`) all plugins will continue to build and run even without updates.
|
|
56
56
|
|
|
57
|
-
2. `After` matterbridge `3.4.0`
|
|
57
|
+
2. `After` matterbridge `3.4.0` is published as latest, the new signature `PlatformMatterbridge` with the plugin isolation will be effective.
|
|
58
58
|
|
|
59
59
|
```typescript
|
|
60
60
|
export type PlatformMatterbridge = {
|
|
@@ -76,18 +76,20 @@ export type PlatformMatterbridge = {
|
|
|
76
76
|
};
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
In this phase (matterbridge 3.4.x) all plugins will not build and will not run without updates.
|
|
79
|
+
In this phase (matterbridge `3.4.x`) all plugins will not build and will not run without updates.
|
|
80
80
|
|
|
81
81
|
### Added
|
|
82
82
|
|
|
83
83
|
- [frontend]: Bumped `frontend` version to 3.2.0.
|
|
84
|
-
- [frontend]: General improvements and small bug fixes.
|
|
85
84
|
- [frontend]: Added SystemInfo to Settings.
|
|
86
85
|
- [frontend]: Added RvcRunMode to IconView.
|
|
86
|
+
- [frontend]: Added prettier, eslint-config-prettier and eslint-plugin-prettier.
|
|
87
|
+
- [matterbridge]: Added SmokeCoAlarm to state update.
|
|
87
88
|
|
|
88
89
|
### Changed
|
|
89
90
|
|
|
90
91
|
- [package]: Updated dependencies.
|
|
92
|
+
- [frontend]: General improvements and small bug fixes.
|
|
91
93
|
|
|
92
94
|
### Fixed
|
|
93
95
|
|
package/dist/matterbridge.js
CHANGED
|
@@ -1759,6 +1759,8 @@ export class Matterbridge extends EventEmitter {
|
|
|
1759
1759
|
{ cluster: 'RelativeHumidityMeasurement', attribute: 'measuredValue' },
|
|
1760
1760
|
{ cluster: 'PressureMeasurement', attribute: 'measuredValue' },
|
|
1761
1761
|
{ cluster: 'FlowMeasurement', attribute: 'measuredValue' },
|
|
1762
|
+
{ cluster: 'SmokeCoAlarm', attribute: 'smokeState' },
|
|
1763
|
+
{ cluster: 'SmokeCoAlarm', attribute: 'coState' },
|
|
1762
1764
|
];
|
|
1763
1765
|
for (const sub of subscriptions) {
|
|
1764
1766
|
if (device.hasAttributeServer(sub.cluster, sub.attribute)) {
|