Releases: JuulLabs/kable
0.10.0
🏗️ New Features
- Enable usage of Android
ScanSettings, special thanks to @mtrewartha for the contribution (#159)- See Scanning: Android section of
READMEfor more details
- See Scanning: Android section of
- Add ability to set logging identifier (#160)
0.9.2
0.9.1
0.9.0 (Do Not Use)
⚠️ 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 | |
| Apple | |
| JavaScript |
Changes
- Add
Connectingsub-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.BluetoothConnecting.SevicesConnecting.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).
0.8.0
0.7.2
0.7.1
0.7.0
- Remove dependency on
native-mtversion of Coroutines (#134, #140) - Replace usages of deprecated
sendBlockingwithtrySendBlocking(#138)
🏗️ New Features
🐛 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
- Route observation re-wiring exceptions through
observeFlows (#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
0.5.1
🐛 Bug Fixes
- Prevent concurrent I/O operations on JavaScript (#98)
- Ignore
NotReadyExceptionwhen stopping observations on Apple (#101) — thanks to @francismariano for reporting the issue