matterbridge 3.4.1-dev-20251130-cfb291e → 3.4.2-dev-20251202-f1cd41e
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 +18 -9
- package/README-SERVICE-OPT.md +1 -0
- package/dist/broadcastServer.js +0 -1
- package/dist/jestutils/jestHelpers.js +5 -0
- package/npm-shrinkwrap.json +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,12 +14,13 @@ The project will evolve to a multi-threaded architecture (the CLI will become th
|
|
|
14
14
|
- frontend;
|
|
15
15
|
- plugins;
|
|
16
16
|
- devices;
|
|
17
|
-
- check updates;
|
|
18
|
-
- npm install;
|
|
19
|
-
- ✅ get global node_modules;
|
|
20
17
|
- all plugins in bridge mode;
|
|
21
18
|
- each plugin in childbridge mode;
|
|
22
19
|
|
|
20
|
+
- check updates;
|
|
21
|
+
- npm install;
|
|
22
|
+
- ✅ get the global node_modules directory;
|
|
23
|
+
|
|
23
24
|
Advantages:
|
|
24
25
|
|
|
25
26
|
- real concurrency outside the Node.js main loop;
|
|
@@ -27,23 +28,31 @@ Advantages:
|
|
|
27
28
|
- individual plugin isolation in childbridge mode;
|
|
28
29
|
- ability to update the plugin in childbridge mode without restarting matterbridge;
|
|
29
30
|
|
|
30
|
-
## [3.4.
|
|
31
|
+
## [3.4.2] - 2025-12-??
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
|
|
35
|
+
- [package]: Updated dependencies.
|
|
36
|
+
|
|
37
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
38
|
+
|
|
39
|
+
## [3.4.1] - 2025-12-01
|
|
31
40
|
|
|
32
41
|
### Added
|
|
33
42
|
|
|
34
43
|
- [matterbridge.io]: Updated website https://matterbridge.io with all guides.
|
|
35
44
|
- [matterbridge]: Added addVirtualEndpoint() to match Matterbridge thread module.
|
|
36
45
|
- [BroadcastServer]: Backport BroadcastServer v.2.0.0 from Matterbridge thread module.
|
|
37
|
-
- [MatterbridgePrefix]: Added worker
|
|
38
|
-
- [PluginManager]: Improved the resolve method to resolve automatically also in the plugin directory Usefull for developing with DevContainer.
|
|
46
|
+
- [MatterbridgePrefix]: Added **worker thread** to get the global node_modules.
|
|
47
|
+
- [PluginManager]: Improved the resolve method to resolve automatically also in the plugin directory. Usefull for developing with DevContainer.
|
|
39
48
|
|
|
40
49
|
### Changed
|
|
41
50
|
|
|
42
51
|
- [package]: Updated dependencies.
|
|
43
52
|
- [frontend]: Updated dependencies.
|
|
44
|
-
- [frontend]: Bumped `frontend` version to 3.3.2.
|
|
45
|
-
- [platform]: Bumped MatterbridgePlatform v.1.
|
|
46
|
-
- [thread]: Bump BroadcastServer to
|
|
53
|
+
- [frontend]: Bumped `frontend` version to v.3.3.2.
|
|
54
|
+
- [platform]: Bumped `MatterbridgePlatform` v.1.6.0.
|
|
55
|
+
- [thread]: Bump `BroadcastServer` to v.2.0.0.
|
|
47
56
|
- [updates]: The update availability check now starts after 5 minutes and each 12 hours. It can also be triggered from the frontend.
|
|
48
57
|
|
|
49
58
|
### Fixed
|
package/README-SERVICE-OPT.md
CHANGED
|
@@ -114,6 +114,7 @@ Wants=network.target
|
|
|
114
114
|
Type=simple
|
|
115
115
|
Environment=NODE_ENV=production
|
|
116
116
|
Environment="NPM_CONFIG_PREFIX=/opt/matterbridge/.npm-global"
|
|
117
|
+
Environment="NPM_CONFIG_CACHE=/opt/matterbridge/.npm-cache"
|
|
117
118
|
ExecStart=matterbridge --service --nosudo
|
|
118
119
|
WorkingDirectory=/opt/matterbridge/Matterbridge
|
|
119
120
|
StandardOutput=inherit
|
package/dist/broadcastServer.js
CHANGED
|
@@ -18,7 +18,6 @@ export class BroadcastServer extends EventEmitter {
|
|
|
18
18
|
this.log = log;
|
|
19
19
|
this.channel = channel;
|
|
20
20
|
this.broadcastChannel = new BroadcastChannel(this.channel);
|
|
21
|
-
this.broadcastChannel.unref();
|
|
22
21
|
this.broadcastChannel.onmessage = this.broadcastMessageHandler.bind(this);
|
|
23
22
|
}
|
|
24
23
|
close() {
|
|
@@ -244,6 +244,9 @@ export async function createMatterbridgeEnvironment(name) {
|
|
|
244
244
|
matterbridge.matterbridgeCertDirectory = path.join('jest', name, '.mattercert');
|
|
245
245
|
matterbridge.log.logLevel = "debug";
|
|
246
246
|
log = new AnsiLogger({ logName: 'Plugin platform', logTimestampFormat: 4, logLevel: "debug" });
|
|
247
|
+
frontend = matterbridge.frontend;
|
|
248
|
+
plugins = matterbridge.plugins;
|
|
249
|
+
devices = matterbridge.devices;
|
|
247
250
|
matterbridge.environment = createTestEnvironment(name);
|
|
248
251
|
expect(matterbridge.environment).toBeDefined();
|
|
249
252
|
expect(matterbridge.environment).toBeInstanceOf(Environment);
|
|
@@ -328,7 +331,9 @@ export async function stopMatterbridgeEnvironment() {
|
|
|
328
331
|
expect(matterbridge.matterStorageManager).not.toBeDefined();
|
|
329
332
|
expect(matterbridge.matterbridgeContext).not.toBeDefined();
|
|
330
333
|
await matterbridge.nodeContext?.close();
|
|
334
|
+
matterbridge.nodeContext = undefined;
|
|
331
335
|
await matterbridge.nodeStorage?.close();
|
|
336
|
+
matterbridge.nodeStorage = undefined;
|
|
332
337
|
await flushAsync();
|
|
333
338
|
}
|
|
334
339
|
export async function destroyMatterbridgeEnvironment(cleanupPause = 10, destroyPause = 250) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.2-dev-20251202-f1cd41e",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge",
|
|
9
|
-
"version": "3.4.
|
|
9
|
+
"version": "3.4.2-dev-20251202-f1cd41e",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@matter/main": "0.15.6",
|
|
@@ -1598,10 +1598,10 @@
|
|
|
1598
1598
|
}
|
|
1599
1599
|
},
|
|
1600
1600
|
"node_modules/path-scurry/node_modules/lru-cache": {
|
|
1601
|
-
"version": "11.2.
|
|
1602
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.
|
|
1603
|
-
"integrity": "sha512-
|
|
1604
|
-
"license": "
|
|
1601
|
+
"version": "11.2.4",
|
|
1602
|
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz",
|
|
1603
|
+
"integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==",
|
|
1604
|
+
"license": "BlueOak-1.0.0",
|
|
1605
1605
|
"engines": {
|
|
1606
1606
|
"node": "20 || >=22"
|
|
1607
1607
|
}
|
package/package.json
CHANGED