Skip to content

Releases: JuulLabs/kable

0.12.0

Choose a tag to compare

@github-actions github-actions released this 18 Jan 22:02
99d7170

🚀 Changes

  • Optimize observation handling (#193)
    • Should fix intermittent GattRequestRejectedExceptions on connection loss
    • Peripheral.state is now exposed as a StateFlow (was previously a Flow)

🐛 Bug Fixes

Apple

🧰 Maintenance

  • Update dependency com.juul.tuulbox:logging to v5.1.0 (#244)
  • Update dependency com.benasher44:uuid to v0.4.0 (#245)

0.11.0

Choose a tag to compare

@github-actions github-actions released this 12 Jan 23:23
13f5d4c

🚀 Changes

Built against Kotlin 1.6.10.

Android

  • Add manufacturer data scan filters (#191, #235), special thanks to @mtrewartha for the contribution

Apple

  • Check scanning state before stopping (#240), thanks to @ln-12 for reporting the issue

🧰 Maintenance

  • Update dependency org.jetbrains.kotlin-wrappers:kotlin-extensions to v1.0.1-pre.290-kotlin-1.6.10 (#227, #231, #234)
  • Replace usages of deprecated jsObject with jso (#241)
  • Update org.jetbrains.kotlinx to v1.6.0 (#229)
  • Update JamesIves/github-pages-deploy-action action to v4.2.2 (#221, #236, #242)
  • Update plugin dokka to v1.6.10 (#217, #232)
  • Update dependency gradle to v7.3.3 (#211, #228)
  • Update plugin kotlinter to v3.8.0 (#218, #224)
  • Update dependency com.juul.tuulbox:logging to v5 (#225)
  • Categorize release drafts (#223)
  • Update dependency co.touchlab:stately-isolate to v1.2.1 (#214, #222)
  • Update plugin android-library to v7 (#220)
  • Update dependency org.jetbrains.kotlinx:atomicfu-jvm to v0.17.0 (#215)
  • Update plugin kotlin-multiplatform to v1.6.10 (#213)
  • Update plugin maven-publish to v0.18.0 (#219)

0.10.4

Choose a tag to compare

@github-actions github-actions released this 13 Dec 19:03
98d4545

🐛 Bug Fixes

Android

  • Keep BLE threads alive until Peripheral is disposed (#197)

JavaScript

  • Handle UUID aliases during service discovery (#207)

Common

  • Bump Kotlin to 1.6.0 and use hierarchical project structure (#63)

0.10.3

Choose a tag to compare

@github-actions github-actions released this 02 Nov 21:03
4015f19

🐛 Bug Fixes

Android

  • Improve Advertising Robustness (#187)
  • Throw GattRequestRejectedException when characteristic notification fails (#180)

JavaScript

  • Fix connection state stall (#186)
  • Move entire service discovery inside I/O lock (#181)

Common

  • Fix KDoc for exception thrown while searching services (#182)

0.10.2

Choose a tag to compare

@github-actions github-actions released this 13 Oct 21:18
e49e87d

🐛 Bug Fixes

Android

  • Improve discoverServices threading (#172)

JavaScript

  • Prevent cancellation of notification processing (#174)
  • Fix bug with observe onSubscription parameter not being called (#171)

0.10.1

Choose a tag to compare

@github-actions github-actions released this 01 Oct 18:51
5d6e00e

Common

  • Have connect throw CancellationException when scope is cancelled (#163)

Android

  • Make connection failures more robust (#166)

0.10.0

Choose a tag to compare

@github-actions github-actions released this 10 Sep 06:23
6b4ca38

🏗️ New Features

0.9.2

Choose a tag to compare

@github-actions github-actions released this 30 Aug 04:51
5da13db

See 0.9.0 release notes for details on the new connection state behavior.

🐛 Bug Fixes

  • Fix characteristic observations on Apple and JavaScript targets (#155)
Platform Peripheral.observe status
Android ✅  Works
Apple ✅  Works
JavaScript ✅  Works

0.9.1

Choose a tag to compare

@github-actions github-actions released this 29 Aug 01:13
00047d9

🐛 Bug Fixes

  • Android observe should suspend until Connecting.Observes OR Connected (#154)
Platform Peripheral.observe status
Android ✅  Works
Apple ⚠️  Broken
JavaScript ⚠️  Broken

0.9.0 (Do Not Use)

Choose a tag to compare

@github-actions github-actions released this 28 Aug 18:55
82e2581

⚠️ observe bug

0.9.0 introduced a bug in observations on all platforms, preventing them from being created except during the Connecting.Observes state. This bug is fixed on Android in 0.9.1, and all platforms in 0.9.2.

Platform Peripheral.observe status
Android ⚠️  Broken
Apple ⚠️  Broken
JavaScript ⚠️  Broken

Changes

  • Add Connecting sub-states; delay Connected state until ready (#153), thanks to @francismariano for reporting the issue

Peripheral connection states have been updated, the Connecting State is now split into the following sub-states:

  • Connecting.Bluetooth
  • Connecting.Sevices
  • Connecting.Observes

See State.kt for additional info on these states. Note that Connected is now emitted after Peripheral has gone through these 3 steps. (Connecting.Services is the timeline-equivalent of pre-0.9.0's Connected).