Bluejay v0.7.0 Release Notes

Release Date: 2018-12-06 // over 5 years ago
  • ๐Ÿ”– Version 0.7.0 introduces several API-breaking changes and improvements:

    • โž• Add StartMode to better encapsulate CBCentralManager initialization options
    • โž• Add WarningOptions to better encapsulate connect warning options
    • ๐Ÿ›  Fix handling of expected and unexpected disconnections
    • โž• Add disconnect handler to handle auto-reconnect
    • โœ‚ Remove all cancellation callbacks; use existing failure blocks and look for BluejayError.cancelled instead if you need to differentiate between a failure caused by cancellation versus a failure caused by other errors
    • ๐Ÿ‘ Return Bluejay Peripheral instead of CBPeripheral for connect, disconnect, and RSSI observer callbacks; so that you don't have to import CoreBluetooth in many of your files anymore, and you can also get a "better/more suitable" peripheral object to work with
    • ๐Ÿ›  Fix a scan crash caused by not clearing the scan request's global timer
    • โœ‚ Remove set privileges on all public Bluejay instance variables; they are all supposed to be read only from the get go, but a few were settable and that was dangerous