Skip to content

Releases: JuulLabs/kable

0.7.0

12 Jul 22:01
3d6ca41
Compare
Choose a tag to compare
  • Remove dependency on native-mt version of Coroutines (#134, #140)
  • Replace usages of deprecated sendBlocking with trySendBlocking (#138)

🏗️ New Features

  • JavaScript IR Support (#126), special thanks to @KVelasco for contributing and testing

🐛 Bug Fixes

  • Handle peripheral initiated MTU changes (#135), thanks to @mediaController for reporting the issue
  • Handle bluetooth adapter state changes (#133, #137), special thanks to @cedrickcooke for contributing and @wrsx for reporting/testing

Note: -native-mt Coroutines is no longer configured as a transitive dependency. If you are using Kable on Native (e.g. Apple) targets, please update your Gradle configuration accordingly; refer to updated example configuration in README for guidance.

0.6.0

25 Jun 05:54
c58d57a
Compare
Choose a tag to compare
  • Route observation re-wiring exceptions through observe Flows (#120)
  • Bump dependency versions (#100)
    • Kotlin 1.5.10
    • Coroutines 1.5.0

🏗️ New Features

  • Add support for service filtering during scanning (#117), special thanks to @burnhamd for the contribution
  • Support requesting connection priority on Android (#125), thanks to @mtrewartha for testing
  • Support constructing Peripherals using builder lambda (#108)

🐛 Bug Fixes

  • Only write indicate or notify to CCCD on Android (#121), thanks to @nspeeD for reporting and debugging
  • Propagate early characteristic changes (#110), thanks to @Devinete for reporting and debugging

0.5.1

25 May 19:19
57edad1
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Prevent concurrent I/O operations on JavaScript (#98)
  • Ignore NotReadyException when stopping observations on Apple (#101) — thanks to @francismariano for reporting the issue

0.5.0

28 Apr 16:31
151e54d
Compare
Choose a tag to compare

🏗️ New Features

  • Allow for configuration of transport and PHY on Android (#90), thanks to @degill for raising the issue

🐛 Bug Fixes

  • Throw GattStatusException for unsuccessful read operations (#91), thanks to @solvek for reporting the issue and @francismariano for confirming the fix

0.4.1

24 Mar 20:25
1c2f41b
Compare
Choose a tag to compare
  • Simplify platform specific instructions (#72), thanks to @Computr0n for contributing

🏗️ New Features

  • Expose bond state on Advertisement (Android only) (#65, #76), thanks to @francismariano for reporting
  • Configure observation based on characteristic properties (#54, #74), thanks to @DoruAdryan for reporting/assisting

🐛 Bug Fixes

  • Fix expected response type for requestMtu (#82, #83), thanks to @doudasek for reporting issue and verifying fix

0.4.0 was skipped due to publication issues.

0.3.0

26 Feb 22:39
c469772
Compare
Choose a tag to compare

🏗️ New features

  • Add iOS targets via sourceset symlinks (#64), special thanks to @francismariano for assisting/testing

🐛 Bug fixes

  • Suppress Scanner advertisement delivery failures (#68)

0.2.0

20 Jan 00:59
34e34c5
Compare
Choose a tag to compare

🏗️ New features

  • Simplify/optimize characteristic and descriptor lookups (#56)
    • Services are now cached on macOS platform (#14)
    • When attempting to use non-existent characteristic/descriptor, exception now shows UUID that was not found (#38)
  • Add ability to configure writing to config descriptor for observations (#49), thanks to @kostya29-strikersoft and @axelinternet
  • Expanded BLE Advertisement Properties (#41)
    • Ability to read service data, manufacturer data, TX power and UUIDs of advertisements

🐛 Bug fixes

  • Fix BluetoothLeException to have message and cause (#55)
  • Fix propagation of ConnectionLostException on connect (#46), thanks to @kostya29-strikersoft
  • Fix writing characteristic WithoutResponse (#37)

0.1.0

14 Dec 21:24
814c4f7
Compare
Choose a tag to compare

Initial release focusing on creating a simple and easy to use API; targeting the following platforms:

  • Android
  • JavaScript
  • MacOS