Releases: netguru/BlueSwift
Releases · netguru/BlueSwift
1.1.6
1.1.5
v1.1.4
Changed
- Synchronize access to array storing peripherals to increase thread safety.
v1.1.3 (Cancel unexpected peripheral connection)
Changed
- Peripheral which was connected, but it was not on the list of peripherals that should be connected, is disconnected. This change allows to discover this peripheral again.
v1.1.2 (Central Manager state update handler)
Added
- added settable
centralManagerStateUpdateHandler
public property toBluetoothConnection
to monitor updates to Central Manager state.
v1.1.1 (Delay Bluetooth authorization popup)
[1.1.1] - 2022-04-14
Added
bluetoothAuthorizationStatus
public property was added toBluetoothConnection
to determine current Bluetooth authorization status.requestBluetoothAuthorization()
public method was added toBluetoothConnection
to requests User for authorization to use Bluetooth.BluetoothAuthorizationStatus
enum describing Bluetooth authorization status
Changed
ConnectionService
:centralManager
(CBCentralManager
) is instantiated lazily to postpone showing Bluetooth authorization popup until it is needed.
Enable Swift library evolution
This release enables Swift library evolution (BUILD_LIBRARY_FOR_DISTRIBUTION = YES
) to allow creating XCFrameworks using BlueSwift. See "Library Evolution in Swift" official swift blogpost.
This change:
- allows modules built with different compiler versions to be used together in one app.
- allows developers of binary frameworks to make additive changes to the API of their framework while remaining binary compatible with previous versions.
1.0.6
What's Changed
- Add Swift Package Manager support by @alex-taffe in #41
- Add handler for peripheral connection cancelled: added public
peripheralConnectionCancelledHandler(_:)
settable property toBluetoothConnection
class. It is called when disconnecting a peripheral usingdisconnect(_:)
is completed.
By @filip-zielinski in #42 - refactored some
.filter(_:).first
tofirst(where:)
for optimisation, by @filip-zielinski in #42
New Contributors
- @alex-taffe made their first contribution in #41
- @filip-zielinski made their first contribution in #42
Full Changelog: 1.0.5...1.0.6