Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Latest commit

 

History

History
361 lines (174 loc) · 17.9 KB

CHANGELOG.md

File metadata and controls

361 lines (174 loc) · 17.9 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.0 (2023-01-02)

Features

  • add discoverServices method (0239f3d)

Bug Fixes

  • refactor Android logging (321a823)
  • refactor iOS logging (e215836)
  • logging now respects loggingBehavior from Capacitor config
  • validate service UUIDs in requestDevice and requestLEScan calls (ad10fe8)

2.0.1 (2022-10-09)

Bug Fixes

  • android: handle immediate enable/disable problems (a48082d)

2.0.0 (2022-08-07)

2.0.0-0 (2022-07-29)

⚠ BREAKING CHANGES

  • update plugin to Capacitor 4

Features

  • update plugin to Capacitor 4 (88f038a)

1.8.3 (2022-07-17)

Bug Fixes

  • allow reading and writing empty values (749bb46)
  • fix conversion of empty hex string (28f4f69)

1.8.2 (2022-05-01)

Bug Fixes

  • android: close bluetooth gatt in case of connection timeout (961d8a2)

1.8.1 (2022-04-15)

Bug Fixes

  • android: fix crash stopScanning with BLE adapter off #317 (#318) (07dbd45)

1.8.0 (2022-02-27)

Features

1.7.0 (2022-01-22)

Features

Bug Fixes

  • inline source code in esm map files of plugin (8ffb1ff)

1.6.1 (2022-01-02)

Bug Fixes

  • fix numberToUUID for values with leading zeroes (#261) (b335dcc)

1.6.0 (2021-11-14)

Features

  • all: add methods to read/write descriptors (#236) (ea9dae3)
  • all: make connect timeout configurable (#242) (2364c39)
  • android: implement openAppSettings for android (#241) (29abb16)

Bug Fixes

  • ios: fix conversion of CBUUID of length 8 (c02e3f7)

1.5.0 (2021-10-02)

Features

  • android: add enable and disable methods (53f1b3d)
  • android: add new methods isLocationEnabled, openLocationSettings and openBluetoothSettings (4c1cc60)
  • ios: add openAppSettings method (f57fac7)

1.4.0 (2021-09-24)

Features

Bug Fixes

  • android: make core-ktx version configurable and set default to 1.6.0 (#199) (f1357d9)

1.3.1 (2021-09-22)

Bug Fixes

  • ios: fix service being nullable in new CBCharacteristic (xcode 13) (#197) (469c6eb), closes #196 #196

1.3.0 (2021-08-27)

Features

  • android, ios: add readRssi method to read RSSI value of a connected device (4b3fc05)

Bug Fixes

  • ios: fix callback key in case of optional CBUUID (d8b54ac)

1.2.0 (2021-08-21)

Features

  • all: add getDevices and getConnectedDevices (768745c)

Bug Fixes

  • fix type of ScanResult (0b1ccfe)
  • properly remove event listeners when stopping notifications (145ec13)
  • web: fix availability check (965ff3d)

1.1.3 (2021-08-05)

Bug Fixes

  • allow uppercase UUIDs and validate format (14f654e)

1.1.2 (2021-07-03)

Bug Fixes

  • android: set transport for GATT connections to remote dual-mode devices to BLE, closes #138 (a321aab)
  • web: use writeValueWithResponse instead of deprecated writeValue (85f1afe)

1.1.1 (2021-06-11)

Bug Fixes

  • reject write call when value contains invalid data (24e0c7a)

1.1.0 (2021-06-05)

Features

  • add setDisplayStrings method (f3f7e96)
  • add isEnabled and deprecate getEnabled (e47017b)

Bug Fixes

  • android: handle ConcurrentModificationException in notifyListeners (12925e0)

1.0.0 (2021-05-23)

  • release for Capacitor 3.0

Bug Fixes

  • android: explicitly set looper for handlers (4ebe4fe)
  • android: use AlertDialog from android.app instead of androidx.appcompat.app (9c4bbeb)

1.0.0-4 (2021-04-10)

Features

  • android: add createBond and isBonded (40e8d3f)

Bug Fixes

  • android: do not crash when using startNotifications on characteristic that does not support notifications (fd4c7f8)
  • android: do not reject disconnect call when already disconnected (63808ef)
  • ios: do not reject disconnect call when already disconnected (f488140)

0.6.0 (2021-04-10)

Features

  • android: add createBond and isBonded (c9e8688)

Bug Fixes

  • android: do not crash when using startNotifications on characteristic that does not support notifications (44bc318)
  • android: do not reject disconnect call when already disconnected (82c3e6e)
  • ios: do not reject disconnect call when already disconnected (e6873e6)

1.0.0-3 (2021-03-21)

Bug Fixes

  • deps: fix throat dependency (e60a17d)

0.5.1 (2021-03-21)

Bug Fixes

  • deps: fix throat dependency (833761d)

1.0.0-2 (2021-03-20)

Features

Bug Fixes

  • do not connect after connection timeout (#80) (5b9e021)
  • android: close bluetoothGatt on every disconnection (a0aaeef)
  • android: wait for onDescriptorWrite when setting notifications (06d05bc)

0.5.0 (2021-03-20)

Features

Bug Fixes

  • do not connect after connection timeout (#80) (5d5cb42)
  • android: close bluetoothGatt on every disconnection (b290a06)
  • android: wait for onDescriptorWrite when setting notifications (9ee5592)

1.0.0-1 (2021-03-14)

Features

  • add localName to scanResult (56627e3)

Bug Fixes

  • ios: reject initialize call when Bluetooth permission is denied (58232f5)

0.4.0 (2021-03-14)

Features

  • add localName to scanResult (483ee0e)

Bug Fixes

  • android: always add txPower to scanResult (7943cc8)
  • ios: reject initialize call when Bluetooth permission is denied (b5bb292)

1.0.0-0 (2021-03-07)

Features

Bug Fixes

  • android: always add txPower to scanResult (7943cc8)

0.3.0 (2021-02-27)

Features

0.2.0 (2021-02-13)

Features

  • add optional onDisconnect callback to connect method (1eefe64)
  • implement getEnabled and enabled notifications (319098f)
    • initialize will no longer reject when BLE is disabled, use getEnabled to check whether BLE is enabled or not

Bug Fixes

  • ios: fix allowDuplicates in requestLEScan (b17b69a)
  • web: avoid duplicate events (9a0edbf)

0.1.2 (2021-01-23)

Bug Fixes

  • definitions: fix typo in definitions (#26) (1cd93f6)
  • web: use getPlatform instead of platform (dac82e4)

0.1.1 (2021-01-09)

  • use commonjs output as main entry point (#14)

0.1.0 (2020-12-28)

  • add requestLEScan
  • add stopLEScan
  • add Android scan mode
  • add namePrefix filter
  • fix getting some events twice
  • fix invalid deviceId on Android
  • fix device initialization on iOS

0.0.3 (2020-12-14)

  • fix dependencies

0.0.2 (2020-12-14)

  • update readme and add code of conduct and contributing

0.0.1 (2020-12-14)

  • initial release