Skip to content

Commit

Permalink
Merge pull request #52 from Luligu/dev
Browse files Browse the repository at this point in the history
Release 0.11.0
  • Loading branch information
Luligu authored Oct 1, 2024
2 parents 0bd3215 + 258005c commit d00ac77
Show file tree
Hide file tree
Showing 24 changed files with 1,655 additions and 253 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-matterbridge-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ jobs:
run: npm -v

- name: Install matterbridge
run: npm install -g matterbridge
run: npm install -g matterbridge --omit=dev

- name: Install dependencies
run: npm ci

- name: Link matterbridge
run: npm link matterbridge

- name: Lint the project
run: npm run lint

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish-matterbridge-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ jobs:
run: npm -v

- name: Install matterbridge
run: npm install -g matterbridge
run: npm install -g matterbridge --omit=dev

- name: Install dependencies
run: npm ci

- name: Link matterbridge
run: npm link matterbridge

- name: Lint the project
run: npm run lint

Expand Down
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,7 @@ matterbridge-shelly
jest-shelly
TODO.md
yellow-button.png
temp
temp
rock-s0
CODEOWNERS
create-release.js
22 changes: 20 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,27 @@ All notable changes to this project will be documented in this file.

If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-shelly and sponsoring it.

### Breaking Changes
## [0.11.0] - 2024-10-01

- Unless you are using docker (in that case all is already updated when you pull the image), please update Matterbridge to 1.5.5 to work with matterbridge-shelly >= 0.9.5. This is a one time issue due to the update to matter.js 0.10.0.
### Added

- [shelly]: Added component Illuminance.
- [shelly]: Added support for shellywalldisplay with firmware v2.2.1 and added Jest test.

### Changed

- [ShellyMdnsScanner]: Refactor Jest test.
- [package]: Optimized the package for space and speed for rock-s0.
- [package]: Updated dependencies.

### Fixed

- [ShellyMdnsScanner]: Fixed name discovered for shellyplug-s
- [ShellyDevice]: Fixed normalizeId.

<a href="https://www.buymeacoffee.com/luligugithub">
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
</a>

## [0.10.0] - 2024-09-26

Expand Down
16 changes: 1 addition & 15 deletions link-matterbridge-script.js
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
/* eslint-disable no-console */
import { exec } from 'child_process';

const command = process.platform === 'win32' ? 'npm link matterbridge' : 'sudo npm link matterbridge';

exec(command, (error, stdout, stderr) => {
if (error) {
console.error(`exec error: ${error}`);
return;
}
console.log(`stdout: ${stdout}`);
if (stderr) {
console.error(`stderr: ${stderr}`);
}
});
// Nothing to do in production, just a script to link the matterbridge package in development
Loading

0 comments on commit d00ac77

Please sign in to comment.