matterbridge 3.9.3 → 3.9.4-dev-20260705-b684a91

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 CHANGED
@@ -58,6 +58,27 @@ These classes will run as threads in the next releases:
58
58
  - all plugins in bridge mode;
59
59
  - each plugin in childbridge mode;
60
60
 
61
+ ## [3.9.4] - Dev branch
62
+
63
+ ### Changed
64
+
65
+ - [matterbridge]: Bump `matterbridge` version to v.3.9.4.
66
+ - [matterbridge]: Update dependencies.
67
+ - [matterbridge]: Bump `@types/node` to v.26.1.0.
68
+ - [matterbridge]: Bump `@typescript/native-preview` to v.7.0.0-dev.20260703.1.
69
+ - [matterbridge]: Bump `oxfmt` to v.0.57.0.
70
+ - [matterbridge]: Bump `oxlint` to v.1.72.0.
71
+ - [matterbridge]: Bump `oxlint-tsgolint` to v.0.24.0.
72
+ - [package]: Apply style to all files.
73
+ - [service]: Update service configuration example `systemd/matterbridge.service`.
74
+ - [service]: Update service configuration guides.
75
+ - [matterbridge]: Bump `@matter/main` to v.0.17.4.
76
+
77
+ - [frontend]: Bump `frontend` version to v.3.5.2.
78
+ - [frontend]: Update dependencies.
79
+
80
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
81
+
61
82
  ## [3.9.3] - 2026-07-03
62
83
 
63
84
  ### Warning
@@ -84,8 +84,8 @@ Add the following to this file, **replacing 5 times (!) USER with your user name
84
84
  ```text
85
85
  [Unit]
86
86
  Description=matterbridge
87
- After=network.target
88
- Wants=network.target
87
+ After=network-online.target
88
+ Wants=network-online.target
89
89
  StartLimitIntervalSec=60
90
90
  StartLimitBurst=5
91
91
 
@@ -95,9 +95,13 @@ Environment="NPM_CONFIG_PREFIX=/home/<USER>/.npm-global"
95
95
  Environment="NPM_CONFIG_CACHE=/home/<USER>/.npm-cache"
96
96
  ExecStart=matterbridge --service --nosudo
97
97
  WorkingDirectory=/home/<USER>/Matterbridge
98
- StandardOutput=inherit
99
- StandardError=inherit
98
+ # Logs go to the journal (should be persistent). Read with: journalctl -u matterbridge -n 1000 -f --output cat
99
+ StandardOutput=journal
100
+ StandardError=journal
101
+ SyslogIdentifier=matterbridge
100
102
  Restart=always
103
+ RestartSec=5
104
+ TimeoutStopSec=60
101
105
  User=<USER>
102
106
  Group=<USER>
103
107
 
@@ -127,18 +131,16 @@ One possible fix, add this line to the existing [Service] section:
127
131
  Environment="NODE_OPTIONS=--dns-result-order=ipv4first"
128
132
  ```
129
133
 
130
- If you use the frontend with **-ssl** --frontend 443 and get an error message: "Port 443 requires elevated privileges",
131
- add this:
134
+ If you use the frontend with --ssl --frontend 443 and get an error message: "Port 443 requires elevated privileges",
135
+ add this line to the existing [Service] section:
132
136
 
133
137
  ```text
134
- [Service]
135
138
  AmbientCapabilities=CAP_NET_BIND_SERVICE
136
139
  ```
137
140
 
138
- If you use the **matterbridge-bthome** plugin add this:
141
+ If you use the matterbridge-bthome plugin add this line to the existing [Service] section:
139
142
 
140
143
  ```text
141
- [Service]
142
144
  AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_NET_ADMIN
143
145
  ```
144
146
 
@@ -88,10 +88,10 @@ matterbridge --version
88
88
 
89
89
  The storage position is **not compatible** with the traditional setup (~/Matterbridge ~/.matterbridge ~/.mattercert).
90
90
 
91
- If you are migrating from the traditional service setup, before removing the old diretories, you may want to copy the contents of ~/Matterbridge ~/.matterbridge ~/.mattercert to the new directories /opt/matterbridge/Matterbridge /opt/matterbridge/.matterbridge /opt/matterbridge/.mattercert.
92
- This will save all the plugin configs and the fabrics but you need to remove all plugins and readd them cause the path will be different.
91
+ If you are migrating from the traditional service setup, before removing the old directories, you may want to copy the contents of ~/Matterbridge ~/.matterbridge ~/.mattercert to the new directories /opt/matterbridge/Matterbridge /opt/matterbridge/.matterbridge /opt/matterbridge/.mattercert.
92
+ This will save all the plugin configs and the fabrics, but you need to remove all plugins and add them again because the path will be different.
93
93
 
94
- Copy the old diretories content
94
+ Copy the old directories content
95
95
 
96
96
  ```bash
97
97
  sudo cp -a ~/Matterbridge/. /opt/matterbridge/Matterbridge/
@@ -99,7 +99,7 @@ sudo cp -a ~/.matterbridge/. /opt/matterbridge/.matterbridge/
99
99
  sudo cp -a ~/.mattercert/. /opt/matterbridge/.mattercert/
100
100
  ```
101
101
 
102
- Remove the old diretories
102
+ Remove the old directories
103
103
 
104
104
  ```bash
105
105
  sudo rm -rf ~/Matterbridge ~/.matterbridge ~/.mattercert ~/.npm-global
@@ -118,8 +118,8 @@ Add the following to this file:
118
118
  ```text
119
119
  [Unit]
120
120
  Description=matterbridge
121
- After=network.target
122
- Wants=network.target
121
+ After=network-online.target
122
+ Wants=network-online.target
123
123
  StartLimitIntervalSec=60
124
124
  StartLimitBurst=5
125
125
 
@@ -130,9 +130,13 @@ Environment="NPM_CONFIG_PREFIX=/opt/matterbridge/.npm-global"
130
130
  Environment="NPM_CONFIG_CACHE=/opt/matterbridge/.npm-cache"
131
131
  ExecStart=matterbridge --service --nosudo
132
132
  WorkingDirectory=/opt/matterbridge/Matterbridge
133
- StandardOutput=inherit
134
- StandardError=inherit
133
+ # Logs go to the journal (should be persistent). Read with: journalctl -u matterbridge -n 1000 -f --output cat
134
+ StandardOutput=journal
135
+ StandardError=journal
136
+ SyslogIdentifier=matterbridge
135
137
  Restart=always
138
+ RestartSec=5
139
+ TimeoutStopSec=60
136
140
  User=matterbridge
137
141
  Group=matterbridge
138
142
  NoNewPrivileges=true
@@ -167,18 +171,16 @@ One possible fix, add this line to the existing [Service] section:
167
171
  Environment="NODE_OPTIONS=--dns-result-order=ipv4first"
168
172
  ```
169
173
 
170
- If you use the frontend with **-ssl** -frontend 443 and get an error message: "Port 443 requires elevated privileges",
171
- add this:
174
+ If you use the frontend with --ssl --frontend 443 and get an error message: "Port 443 requires elevated privileges",
175
+ add this line to the existing [Service] section:
172
176
 
173
177
  ```text
174
- [Service]
175
178
  AmbientCapabilities=CAP_NET_BIND_SERVICE
176
179
  ```
177
180
 
178
- If you use the **matterbridge-bthome** plugin add this:
181
+ If you use the matterbridge-bthome plugin add this line to the existing [Service] section:
179
182
 
180
183
  ```text
181
- [Service]
182
184
  AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_NET_ADMIN
183
185
  ```
184
186
 
package/README-SERVICE.md CHANGED
@@ -55,17 +55,17 @@ Create a systemctl configuration file for Matterbridge
55
55
  sudo nano /etc/systemd/system/matterbridge.service
56
56
  ```
57
57
 
58
- Add the following to this file, replacing 3 times (!) USER with your user name (e.g. WorkingDirectory=/home/pi/Matterbridge, User=pi and Group=pi):
58
+ Add the following to this file, **replacing 3 times (!) USER with your user name** (e.g. WorkingDirectory=/home/pi/Matterbridge, User=pi and Group=pi):
59
59
 
60
60
  You may need to adapt the configuration to your setup:
61
61
 
62
- - ExecStart on some linux distribution can also be ExecStart==/usr/bin/matterbridge --service
62
+ - On some Linux distributions, ExecStart can also be ExecStart=/usr/bin/matterbridge --service
63
63
 
64
64
  ```text
65
65
  [Unit]
66
66
  Description=matterbridge
67
67
  After=network-online.target
68
- Wants=network.target
68
+ Wants=network-online.target
69
69
  StartLimitIntervalSec=60
70
70
  StartLimitBurst=5
71
71
 
@@ -73,9 +73,13 @@ StartLimitBurst=5
73
73
  Type=simple
74
74
  ExecStart=matterbridge --service
75
75
  WorkingDirectory=/home/<USER>/Matterbridge
76
- StandardOutput=inherit
77
- StandardError=inherit
76
+ # Logs go to the journal (should be persistent). Read with: journalctl -u matterbridge -n 1000 -f --output cat
77
+ StandardOutput=journal
78
+ StandardError=journal
79
+ SyslogIdentifier=matterbridge
78
80
  Restart=always
81
+ RestartSec=5
82
+ TimeoutStopSec=60
79
83
  User=<USER>
80
84
  Group=<USER>
81
85