Skip to content

Releases: netguru/BlueSwift

1.1.6

27 Oct 13:56
dacfbd8
Compare
Choose a tag to compare

[1.1.6] - 2023-10-27

Fixed

  • Fix Swift 5.9 (Xcode 15) build error caused by Data(bytes:count:) initializer.

1.1.5

24 Jan 20:43
Compare
Choose a tag to compare

Fix issue with releasing library in official cocoapods repo

v1.1.4

20 Jan 13:27
e6f5e5e
Compare
Choose a tag to compare

Changed

  • Synchronize access to array storing peripherals to increase thread safety.

v1.1.3 (Cancel unexpected peripheral connection)

03 Nov 14:13
4cba7e9
Compare
Choose a tag to compare

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)

09 Sep 13:25
ba7caaf
Compare
Choose a tag to compare

Added

  • added settable centralManagerStateUpdateHandler public property to BluetoothConnection to monitor updates to Central Manager state.

v1.1.1 (Delay Bluetooth authorization popup)

14 Apr 12:38
79edf91
Compare
Choose a tag to compare

[1.1.1] - 2022-04-14

Added

  • bluetoothAuthorizationStatus public property was added to BluetoothConnection to determine current Bluetooth authorization status.
  • requestBluetoothAuthorization() public method was added to BluetoothConnection 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

13 Apr 09:29
061838a
Compare
Choose a tag to compare

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

11 Apr 08:53
3d8e5d5
Compare
Choose a tag to compare

What's Changed

  • Add Swift Package Manager support by @alex-taffe in #41
  • Add handler for peripheral connection cancelled: added public peripheralConnectionCancelledHandler(_:) settable property to BluetoothConnection class. It is called when disconnecting a peripheral using disconnect(_:) is completed.
    By @filip-zielinski in #42
  • refactored some .filter(_:).first to first(where:) for optimisation, by @filip-zielinski in #42

New Contributors

Full Changelog: 1.0.5...1.0.6

1.0.3

05 Mar 14:46
Compare
Choose a tag to compare

This release solves two minor issues:

  • build issues with Main.storyboard in sample project.
  • ability to write without response.

1.0.2

06 Nov 14:52
Compare
Choose a tag to compare

Small cosmetic improvements.