Skip to content

Releases: OpenWonderLabs/node-switchbot

v3.6.0

27 Aug 18:14
118390d

Choose a tag to compare

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: v3.5.1...v3.6.0

v3.6.0-beta.12

27 Aug 18:15

Choose a tag to compare

v3.6.0-beta.12 Pre-release
Pre-release
**Beta Release**

Version: v3.6.0-beta.12
How To Test Beta Releases

v3.6.0-beta.11

27 Aug 18:05

Choose a tag to compare

v3.6.0-beta.11 Pre-release
Pre-release
**Beta Release**

Version: v3.6.0-beta.11
How To Test Beta Releases

v3.6.0-beta.10

27 Aug 17:44
3fbf316

Choose a tag to compare

v3.6.0-beta.10 Pre-release
Pre-release
**Beta Release**

Version: v3.6.0-beta.10
How To Test Beta Releases

v3.6.0-beta.9

24 Aug 20:18
67a89ed

Choose a tag to compare

v3.6.0-beta.9 Pre-release
Pre-release
**Beta Release**

Version: v3.6.0-beta.9
How To Test Beta Releases

v3.5.1

25 Jul 14:36
d3d9ad6

Choose a tag to compare

What's Changed

  • Support current Meter Pro CO2 with firmware 1.6 #293, Thanks @wweich

Full Changelog: v3.5.0...v3.5.1

v3.5.0

05 Mar 05:24

Choose a tag to compare

No New Releases During Lent

What's Changed

  • Fix the return value of SwitchBotOpenAPI.getDeviceStatus() method #290, Thanks @kemuridama
  • Fix circular dependencies
  • Housekeeping and update dependencies

Full Changelog: v3.4.0...v3.5.0

v3.4.9

24 Jan 16:54

Choose a tag to compare

What's Changed

  • Add BLE comands for Relay Switch 1 && Relay Switch 1 PM, not yet functional
  • Housekeeping and update dependencies

Full Changelog: v3.4.8...v3.4.9

v3.4.8

24 Jan 16:43

Choose a tag to compare

What's Changed

  • Add exports for Relay Switch 1 && Relay Switch 1 PM
  • Housekeeping and update dependencies

Full Changelog: v3.4.7...v3.4.8

v3.4.7

24 Jan 06:22

Choose a tag to compare

What's Changed

  • Add Types for Relay Switch 1 && Relay Switch 1 PM
  • Housekeeping and update dependencies

Full Changelog: v3.4.6...v3.4.7