Skip to content

Commit

Permalink
Merge pull request #72 from Luligu/dev
Browse files Browse the repository at this point in the history
Release 1.3.8
  • Loading branch information
Luligu authored Jul 1, 2024
2 parents 19c4ec1 + 8d402e5 commit 5a32dbb
Show file tree
Hide file tree
Showing 6 changed files with 2,251 additions and 81 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-buildx-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
--platform linux/amd64,linux/arm64,linux/arm/v7 \
-f docker/Dockerfile.main \
-t luligu/matterbridge:latest \
-t luligu/matterbridge:1.3.7 \
-t luligu/matterbridge:1.3.8 \
--push .
docker manifest inspect luligu/matterbridge:latest
timeout-minutes: 60
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ 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 and sponsoring it.

## [1.3.8] - 2024-07-01

### Fixed
- [matterbridge]: Fixed crash in childbridge mode

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

## [1.3.7] - 2024-06-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@
"typescript": "^5.5.2",
"typescript-eslint": "^7.14.1"
}
}
}
25 changes: 1 addition & 24 deletions src/matterbridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2703,7 +2703,7 @@ export class Matterbridge extends EventEmitter {
configured: plugin.configured,
paired: plugin.paired,
connected: plugin.connected,
fabricInfo: plugin.fabricInfo,
// fabricInfo: plugin.fabricInfo,
registeredDevices: plugin.registeredDevices,
addedDevices: plugin.addedDevices,
qrPairingCode: plugin.qrPairingCode,
Expand All @@ -2715,29 +2715,6 @@ export class Matterbridge extends EventEmitter {
return baseRegisteredPlugins;
}

/**
* Retrieves an array of base registered devices from the registered plugins.
* @returns {BaseRegisteredPlugin[]} An array of base registered devices.
*/
private getBaseRegisteredDevices(): BaseRegisteredPlugin[] {
const baseRegisteredPlugins: BaseRegisteredPlugin[] = this.registeredPlugins.map((plugin) => ({
path: plugin.path,
type: plugin.type,
name: plugin.name,
version: plugin.version,
description: plugin.description,
author: plugin.author,
enabled: plugin.enabled,
loaded: plugin.loaded,
started: plugin.started,
paired: plugin.paired,
connected: plugin.connected,
fabricInfo: plugin.fabricInfo,
registeredDevices: plugin.registeredDevices,
}));
return baseRegisteredPlugins;
}

/**
* Spawns a child process with the given command and arguments.
* @param command - The command to execute.
Expand Down
Loading

0 comments on commit 5a32dbb

Please sign in to comment.