Skip to content

Commit c5e0690

Browse files
committed
dependency updates
1 parent 783854d commit c5e0690

File tree

235 files changed

+3249
-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.

235 files changed

+3249
-2032
lines changed

.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)