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.rxbluetoothkotlin
tocom.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_FREQUENTLY
for 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
DeviceDisconnected
with the status-1
, starting from now theBluetoothIsTurnedOff
exception is fired instead connectRxGatt
andconnectTypeGatt
have a new parameterconnectGattWrapper
. Replace the default implementation to decide, by yourself, whichconnectGatt
method from the system API you want to use,autoConnect
param doesn’t longer existscallbackConstructor
param name was replaced byrxCallbackBuilder
rxGattConstructor
param name was replaced byrxGattBuilder
GattDeviceDisconnected
was removed because this throwable wasn’t thrown anywhereRxBluetoothGatt.Callback
is now an interface instead of an abstract classRxBluetoothGatt.Callback
doesn’t longer implementsBluetoothGattCallback
RxBluetoothGatt.Callback
has 2 new membersource: BluetoothGattCallback
andonReliableWriteCompleted
(not used at this time) and 2 new methodslivingConnection()
anddisconnection()
- The parameter
checkIfAlreadyWritten
was removed from the methodwrite(descriptor, value)
Misc
- Full documentation was moved from the implementations to the interfaces
RxBluetoothGatt
andRxBluetoothGatt.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
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
Fix
- Set prefetch to 1 into the queue's concatMap
Chore
- Updated RxJava 2 deps