matterbridge-example-accessory-platform 3.0.4-dev-20261020-ae8eb83 → 3.1.0

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
@@ -29,37 +29,42 @@ If you like this project and find it useful, please consider giving it a star on
29
29
 
30
30
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
31
31
 
32
- ## [3.0.4] - Dev branch
32
+ ## [3.1.0] - 2026-10-23
33
33
 
34
34
  ### Breaking changes
35
35
 
36
- - [matterbridge]: Require matterbridge v.3.10.10 with matter v.1.6.0.
36
+ - [matterbridge]: Require matterbridge v.3.11.0 with matter v.1.6.1.
37
+ - [node]: Drop Node.js 20 support, matching matterbridge v.3.11.0. Supported versions are Node.js 22.13, 24 and 26.
37
38
 
38
39
  ### Added
39
40
 
40
41
  - [devcontainer]: Add [`Dev Container`](.devcontainer/README.md) v.2.2.0 with dual Node and Bun runtime support.
41
42
  - [agents]: Add a [`shared setup`](.agents/README.md) for all agents: OpenAI Codex, Claude Code, GitHub Copilot and Google Gemini / Antigravity.
42
43
  - [agents]: Add [`commit message instructions`](.github/commit-message-instructions.md) v.1.0.0 for the VS Code Copilot "Generate Commit Message" button (Conventional Commits).
44
+ - [agents]: Add the Copilot `Matterbridge` custom agent (`.github/agents/matterbridge.agent.md`) that works without subagents.
43
45
 
44
46
  ### Changed
45
47
 
48
+ - [package]: Run `checkDependencies` and `updateDependencies` with `npx npm-check-updates@latest`.
46
49
  - [package]: Update the `package.json` description to "Matterbridge example accessory plugin".
47
50
  - [test]: Migrate tests from `matterbridge/vitest-utils` to the unified `matterbridge/test-utils`.
48
51
  - [oxc]: Exclude `scripts` directories from lint and format checks.
49
52
  - [styleguide]: Update [`STYLEGUIDE.md`](STYLEGUIDE.md) to v.1.1.0: align it with the lint and format config and add the Commit Messages and Changelog sections.
50
- - [vscode]: Update `.vscode/settings.json` to v.1.0.15: configure commit message instructions, exclude templates from Vitest discovery and refine terminal command approvals.
53
+ - [vscode]: Update `.vscode/settings.json` to v.1.0.16: configure commit message instructions, exclude templates from Vitest discovery and refine terminal command approvals.
54
+ - [vscode]: Add Bundle, Minify, Obfuscate, Pack and Docker install tasks to `.vscode/tasks.json`.
51
55
  - [gitignore]: Update `.gitignore` to v.1.0.5: ignore `tmp/`, `.DS_Store` and Windows `Zone.Identifier` files.
52
56
  - [lint]: Update `.oxlintrc.json` and `.oxfmtrc.json` to v.1.2.0: align shared ignore patterns.
53
57
  - [vitest]: Replace `vite.config.ts` with `vitest.config.ts` v.2.0.9 and update test and coverage exclusions.
54
58
  - [scripts]: Update `scripts/clean.mjs` and `scripts/deep-clean.mjs` to v.2.0.0: log removed paths, add dry-run support and expose importable entry points.
55
59
  - [scripts]: Update release, download, Git status, Git sync, prepublish, pruning, workflow cleanup and version helpers to v.2.0.0 with CLI previews and importable entry points.
60
+ - [scripts]: Update `scripts/deep-clean.mjs` and `scripts/prepublish-clean.mjs` to v.2.1.0: also remove `tmp/` and `bun.lock`.
56
61
  - [package]: Remove unsupported npm flags from `bun link` in `softReset:bun`.
57
- - [agents]: Update `.antigravity/settings.json` to v.1.0.5: allow read-only Git commands.
62
+ - [agents]: Update `.claude/settings.json` to v.1.0.9, `.antigravity/settings.json` to v.1.0.6 and `.codex/rules/default.rules` to v.1.0.7.
58
63
  - [package]: Upgrade package.
59
64
  - [package]: Bump `node-ansi-logger` to v.3.3.1.
60
65
  - [package]: Bump `node-persist-manager` to v.2.1.1.
61
- - [package]: Bump `oxfmt` to v.0.73.0.
62
- - [package]: Bump `oxlint` to v.1.88.0.
66
+ - [package]: Bump `oxfmt` to v.0.74.0.
67
+ - [package]: Bump `oxlint` to v.1.89.0.
63
68
  - [package]: Bump `oxlint-tsgolint` to v.7.0.2004.
64
69
  - [package]: Bump `vitest` to v.5.0.5.
65
70
  - [package]: Bump `@vitest/coverage-v8` to v.5.0.5.
package/dist/module.js CHANGED
@@ -9,8 +9,8 @@ export class ExampleMatterbridgeAccessoryPlatform extends MatterbridgeAccessoryP
9
9
  coverInterval;
10
10
  constructor(matterbridge, log, config) {
11
11
  super(matterbridge, log, config);
12
- if (typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.10.10')) {
13
- throw new Error(`This plugin requires Matterbridge version >= "3.10.10". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend.`);
12
+ if (typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.11.0')) {
13
+ throw new Error(`This plugin requires Matterbridge version >= "3.11.0". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend.`);
14
14
  }
15
15
  this.log.info(`Initializing platform ${this.config.name}...`);
16
16
  }
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "matterbridge-example-accessory-platform",
3
- "version": "3.0.4-dev-20261020-ae8eb83",
3
+ "version": "3.1.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-example-accessory-platform",
9
- "version": "3.0.4-dev-20261020-ae8eb83",
9
+ "version": "3.1.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "node-ansi-logger": "3.3.1",
13
13
  "node-persist-manager": "2.1.1"
14
14
  },
15
15
  "engines": {
16
- "node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0"
16
+ "node": ">=22.13.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0"
17
17
  },
18
18
  "funding": {
19
19
  "type": "buymeacoffee",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge-example-accessory-platform",
3
- "version": "3.0.4-dev-20261020-ae8eb83",
3
+ "version": "3.1.0",
4
4
  "description": "Matterbridge example accessory plugin",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
@@ -53,7 +53,7 @@
53
53
  "gladysassistant"
54
54
  ],
55
55
  "engines": {
56
- "node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0"
56
+ "node": ">=22.13.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0"
57
57
  },
58
58
  "files": [
59
59
  "bin",