Skip to content

Latest commit

 

History

History
527 lines (251 loc) · 26.4 KB

CHANGELOG.md

File metadata and controls

527 lines (251 loc) · 26.4 KB

Changelog

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

6.0.2 (2024-11-03)

Features

  • improve byte to hex string conversion optimizations (#701) (e064587)

6.0.1 (2024-07-22)

Bug Fixes

6.0.0 (2024-05-04)

⚠ BREAKING CHANGES

  • update plugin to Capacitor 6

Features

  • update plugin to Capacitor 6 (619d342)

6.0.0-0 (2024-02-11)

⚠ BREAKING CHANGES

  • update plugin to Capacitor 6

Features

  • update plugin to Capacitor 6 (0475e85)

Bug Fixes

  • fix addListener return types (fc94069)

3.1.4 (2024-04-06)

Bug Fixes

  • ios: make callback map thread-safe to fix high write and notify rates #630 (#642) (da9b782)
  • respect byte offset and length of data view in write call (#641) (0f01960)

3.1.3 (2024-04-06)

Bug Fixes

  • android: set custom callback handler to address callbacks execution order #635 (#637) (c1af071)

3.1.2 (2024-02-18)

Bug Fixes

  • android: pin kotlin jvmTarget version (#622) (8597092)

3.1.1 (2023-11-05)

Bug Fixes

  • android: handle requestEnable result (#595) (f9cf627)

3.1.0 (2023-11-02)

Features

Bug Fixes

  • ios: fix multiple instances of same device object during ble scan (#589) (b5219ad)

3.0.2 (2023-10-03)

Bug Fixes

  • android: added timeout on Device#createBond (#573) (48f664f)
  • android: use new methods from API level 33 (9798e0f)
  • android: use new writeCharacteristic method for API Level >= 33 (#562) (cb74440)

3.0.1 (2023-08-14)

Bug Fixes

3.0.0 (2023-05-07)

Features

  • update plugin to Capacitor 5 final (210f9aa)

Bug Fixes

  • android: bump sourceCompatibility and targetCompatibility from java 11 to 17 (#533) (228c231)

3.0.0-1 (2023-04-15)

3.0.0-0 (2023-04-15)

⚠ BREAKING CHANGES

  • remove deprecated getEnabled, use isEnabled instead
  • update plugin to Capacitor 5

Features

  • update plugin to Capacitor 5 (16822ac)

Bug Fixes

  • remove deprecated getEnabled, use isEnabled instead (8773995)
  • validate deviceIds argument of getDevices (8cedd65)

2.2.3 (2023-04-15)

Bug Fixes

  • android: fix disconnecting when connect was called multiple times (#523) (3a8595b)

2.2.2 (2023-04-15)

Bug Fixes

2.2.1 (2023-04-08)

Bug Fixes

  • ios: fix conversion of descriptor value (1881b9d)
  • ios: fix getDevices and getConnectedDevices to not stop existing notifications (565ce8c)
  • web: filter getDevices result according to deviceIds parameter (652f33f)

2.2.0 (2023-04-02)

Features

  • android, ios: add getMtu (6740561)
  • android: add requestConnectionPriority (9e4a08e)

Bug Fixes

  • android: fix requestDevice and requestLEScan when BLE adaptor is off in some Android devices (d1739f5)
  • validate services argument in getConnectedDevices function (98f663d)

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