Releases: VincentMasselis/RxBluetoothKotlin
Releases · VincentMasselis/RxBluetoothKotlin
3.2.1
3.2.0
Feat
- Support Android 12 permissions system
3.1.0
🚨 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 ownmasselis.com, so the package name RxBluetothKotlin were renamed fromcom.vincentmasselis.rxbluetoothkotlintocom.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
Features
- RxJava3 migration
1.3.1
Fix
- Fixed the silent exception
SCAN_FAILED_SCANNING_TOO_FREQUENTLYfor SDK 27 devices (Oreo MR1)
1.3.0
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
DeviceDisconnectedwith the status-1, starting from now theBluetoothIsTurnedOffexception is fired instead connectRxGattandconnectTypeGatthave a new parameterconnectGattWrapper. Replace the default implementation to decide, by yourself, whichconnectGattmethod from the system API you want to use,autoConnectparam doesn’t longer existscallbackConstructorparam name was replaced byrxCallbackBuilderrxGattConstructorparam name was replaced byrxGattBuilderGattDeviceDisconnectedwas removed because this throwable wasn’t thrown anywhereRxBluetoothGatt.Callbackis now an interface instead of an abstract classRxBluetoothGatt.Callbackdoesn’t longer implementsBluetoothGattCallbackRxBluetoothGatt.Callbackhas 2 new membersource: BluetoothGattCallbackandonReliableWriteCompleted(not used at this time) and 2 new methodslivingConnection()anddisconnection()- The parameter
checkIfAlreadyWrittenwas removed from the methodwrite(descriptor, value)
Misc
- Full documentation was moved from the implementations to the interfaces
RxBluetoothGattandRxBluetoothGatt.Callback - API 29 code reflection compatibility
1.2.2
Fix
- Android 10 compatibility
1.2.1
Fix
- Fixed Enqueueing bugs
1.2.0
Breakings changes
disconnectis 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
Fix
- Set prefetch to 1 into the queue's concatMap
Chore
- Updated RxJava 2 deps