• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OpenWonderLabs / node-switchbot
33%
latest: 33%

Build:
Build:
LAST BUILD BRANCH: v3.6.0
DEFAULT BRANCH: latest
Repo Added 06 Feb 2025 04:46AM UTC
Token 5YFytNqWVXBgXAyChhruuDs1haif5NrWf regen
Build 49 Last
Files 14
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v3.6.0
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • beta-3.5.0
  • beta-3.5.1
  • beta-3.6.0
  • bump-noble
  • copilot/fix-299
  • copilot/fix-304
  • fix-logging
  • latest
  • patch-1
  • v3.5.0
  • v3.5.1
  • v3.6.0

27 Aug 2025 06:14PM UTC coverage: 32.625% (+18.3%) from 14.315%
17275073236

push

github

web-flow
v3.6.0 (#298)

## [3.6.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.6.0) (2025-08-27)

### What's Changed
- Housekeeping and update dependencies
- **BREAKING**: Fixed compatibility with `@stoprocent/noble` v2.3.4 and `@stoprocent/bluetooth-hci-socket` v2.2.3
- **Enhancement**: Added comprehensive input validation utilities (`ValidationUtils` class)
- **Enhancement**: Improved error handling with more descriptive error messages
- **Enhancement**: Added command constants to replace magic numbers for better maintainability
- **Enhancement**: Enhanced type safety with proper TypeScript assertions
- **Enhancement**: Improved buffer validation with configurable minimum length
- **Enhancement**: Better resource cleanup in error scenarios with try-catch-finally blocks
- **Enhancement**: Removed deprecated parameter checker in favor of modern validation
- **Fix**: Updated `noble._state` to `noble.state` for compatibility with newer noble versions
- **Fix**: Enhanced NobleTypes interface to properly support newer noble version
- **Code Quality**: Improved JSDoc documentation throughout device classes
- **Code Quality**: Standardized validation across all device classes
- **Docs**: Updated BLE.md and OpenAPI.md for new validation and error handling features
- **Internal**: Refactored device instantiation logic for consistency
- **Internal**: Improved test coverage for validation utilities and error scenarios
- **Chore**: Synced package scripts and documentation with latest development workflow

**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.5.1...v3.6.0

84 of 107 branches covered (78.5%)

Branch coverage included in aggregate %.

262 of 642 new or added lines in 9 files covered. (40.81%)

11 existing lines in 3 files now uncovered.

1037 of 3329 relevant lines covered (31.15%)

0.76 hits per line

Relevant lines Covered
Build:
Build:
3329 RELEVANT LINES 1037 COVERED LINES
0.76 HITS PER LINE
Source Files on latest
  • Tree
  • List 14
  • Changed 10
  • Source Changed 10
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
17275073236 v3.6.0 v3.6.0 (#298) ## [3.6.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.6.0) (2025-08-27) ### What's Changed - Housekeeping and update dependencies - **BREAKING**: Fixed compatibility with `@stoprocent/noble` v2.3.4 and `@stopr... push 27 Aug 2025 06:15PM UTC web-flow github
32.63
17275058090 latest v3.6.0 (#298) ## [3.6.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.6.0) (2025-08-27) ### What's Changed - Housekeeping and update dependencies - **BREAKING**: Fixed compatibility with `@stoprocent/noble` v2.3.4 and `@stopr... push 27 Aug 2025 06:14PM UTC web-flow github
32.63
17275048058 beta-3.6.0 Merge branch 'latest' into beta-3.6.0 push 27 Aug 2025 06:14PM UTC donavanbecker github
32.63
17275048892 beta-3.6.0 Merge 1d615231a into d64cb321f Pull #298 27 Aug 2025 06:14PM UTC web-flow github
32.63
17274805745 beta-3.6.0 v3.6.0 release ## [3.6.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.6.0) (2025-08-27) ### What's Changed - Housekeeping and update dependencies - **BREAKING**: Fixed compatibility with `@stoprocent/noble` v2.3.4 and `@stop... Pull #298 27 Aug 2025 06:03PM UTC donavanbecker github
32.54
17274357267 beta-3.6.0 Update dependencies for beta branch compatibility (#305) Pull #298 27 Aug 2025 05:42PM UTC web-flow github
32.54
17274131461 copilot/fix-304 Merge 90437e52b into 67a89edce Pull #305 27 Aug 2025 05:32PM UTC web-flow github
32.54
17193297413 beta-3.6.0 Add support for SwitchBot Hub3 device (#302) Pull #298 24 Aug 2025 08:16PM UTC web-flow github
32.54
17193284340 beta-3.6.0 Fix logging and MaxListenersExceededWarning stateChange warning (#303) Pull #298 24 Aug 2025 08:15PM UTC web-flow github
32.74
17193071878 fix-logging Merge c971347f2 into b865c4a75 Pull #303 24 Aug 2025 07:51PM UTC web-flow github
32.65
See All Builds (41)

Badge your Repo: node-switchbot

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc