Skip to content

Commit fc77ee3

Browse files
committed
dependency updates
1 parent 783854d commit fc77ee3

File tree

238 files changed

+3252
-2032
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

238 files changed

+3252
-2032
lines changed

.github/workflows/beta-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
uses: OpenWonderLabs/.github/.github/workflows/nodejs-build-and-test.yml@latest
1111
with:
1212
enable_coverage: true
13+
node_version: 22
1314
secrets:
1415
token: ${{ secrets.GITHUB_TOKEN }}
1516

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
uses: OpenWonderLabs/.github/.github/workflows/nodejs-build-and-test.yml@latest
1212
with:
1313
enable_coverage: true
14+
node_version: 22
1415
secrets:
1516
token: ${{ secrets.GITHUB_TOKEN }}
1617
lint:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
uses: OpenWonderLabs/.github/.github/workflows/nodejs-build-and-test.yml@latest
1010
with:
1111
enable_coverage: true
12+
node_version: 22
1213
secrets:
1314
token: ${{ secrets.GITHUB_TOKEN }}
1415

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{
2+
}

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)
44

5+
## [3.6.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.6.0) (2025-07-27)
6+
7+
### What's Changed
8+
- Housekeeping and update dependencies
9+
- **BREAKING**: Fixed compatibility with `@stoprocent/noble` v2.3.4 and `@stoprocent/bluetooth-hci-socket` v2.2.3
10+
- **Enhancement**: Added comprehensive input validation utilities (`ValidationUtils` class)
11+
- **Enhancement**: Improved error handling with more descriptive error messages
12+
- **Enhancement**: Added command constants to replace magic numbers for better maintainability
13+
- **Enhancement**: Enhanced type safety with proper TypeScript assertions
14+
- **Enhancement**: Improved buffer validation with configurable minimum length
15+
- **Enhancement**: Better resource cleanup in error scenarios with try-catch-finally blocks
16+
- **Enhancement**: Removed deprecated parameter checker in favor of modern validation
17+
- **Fix**: Updated `noble._state` to `noble.state` for compatibility with newer noble versions
18+
- **Fix**: Enhanced NobleTypes interface to properly support newer noble version
19+
- **Code Quality**: Improved JSDoc documentation throughout device classes
20+
- **Code Quality**: Standardized validation across all device classes
21+
22+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.5.1...v3.6.0
23+
524
## [3.5.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.5.1) (2025-07-25)
625

726
### What's Changed

docs/assets/hierarchy.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/navigation.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)