Skip to content

Releases: VincentMasselis/RxBluetoothKotlin

3.2.1

18 Nov 13:09
Compare
Choose a tag to compare

Fix

  • LOCATION permissions no longer declare the property maxSdkVersion="30". We've removed this because it introduce regressions for apps which uses location for something else than Bluetooth

3.2.0

09 Nov 15:08
5d7f930
Compare
Choose a tag to compare

Feat

  • Support Android 12 permissions system

3.1.0

09 Nov 09:50
Compare
Choose a tag to compare

🚨 BREAKING CHANGES 🚨

  • This release is the first one to be pushed on mavenCentral(), according to the Maven Central policies, I must update my package package to match with the host domain I own. Unfortunately I only own masselis.com, so the package name RxBluetothKotlin were renamed from com.vincentmasselis.rxbluetoothkotlin to com.masselis.rxbluetoothkotlin, as consequence, you have to renamed EVERY import from rxbluetoothkotlin to the new package name.
  • This release also enabled the kotlin's mode "script api", which causes some on internal classes and methods to be no longer flagged as public. If your code rely on this classes or methods, it will not compile anymore.

3.0.0

05 Jan 16:16
Compare
Choose a tag to compare

Features

  • RxJava3 migration

1.3.1

20 Mar 14:31
Compare
Choose a tag to compare

Fix

  • Fixed the silent exception SCAN_FAILED_SCANNING_TOO_FREQUENTLY for SDK 27 devices (Oreo MR1)

1.3.0

30 Oct 14:13
0b4c8c8
Compare
Choose a tag to compare

This new version 1.3.0 introduce a big refactor of the way to handle disconnection and how they are handled by RxBluetoothGatt and RxBluetoothGatt.Callback. This change speeds up the runtime and make the source code far more readable. For theses reasons some of methods are no longer working as they used to.

Breaking changes !

  • Removed DeviceDisconnected with the status -1, starting from now the BluetoothIsTurnedOff exception is fired instead
  • connectRxGatt and connectTypeGatt have a new parameter connectGattWrapper. Replace the default implementation to decide, by yourself, which connectGatt method from the system API you want to use, autoConnect param doesn’t longer exists
  • callbackConstructor param name was replaced by rxCallbackBuilder
  • rxGattConstructor param name was replaced by rxGattBuilder
  • GattDeviceDisconnected was removed because this throwable wasn’t thrown anywhere
  • RxBluetoothGatt.Callback is now an interface instead of an abstract class
  • RxBluetoothGatt.Callback doesn’t longer implements BluetoothGattCallback
  • RxBluetoothGatt.Callback has 2 new member source: BluetoothGattCallback and onReliableWriteCompleted (not used at this time) and 2 new methods livingConnection() and disconnection()
  • The parameter checkIfAlreadyWritten was removed from the method write(descriptor, value)

Misc

  • Full documentation was moved from the implementations to the interfaces RxBluetoothGatt and RxBluetoothGatt.Callback
  • API 29 code reflection compatibility

1.2.2

22 Oct 10:26
Compare
Choose a tag to compare

Fix

  • Android 10 compatibility

1.2.1

29 Aug 14:31
Compare
Choose a tag to compare

Fix

  • Fixed Enqueueing bugs

1.2.0

23 Aug 17:21
Compare
Choose a tag to compare

Breakings changes

  • disconnect is now a part of the RxBluetoohGatt interface

Chore

  • Refactored the way to save and detects disconnections to fix some of queueing bugs and dead chains

1.1.9

23 Aug 17:18
Compare
Choose a tag to compare

Fix

  • Set prefetch to 1 into the queue's concatMap

Chore

  • Updated RxJava 2 deps