Skip to content

Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta11 - #513

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/blek
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/blek

Conversation

@renovate

@renovate renovate Bot commented Nov 21, 2025 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
no.nordicsemi.kotlin.ble:client-android 2.0.0-alpha12 → 2.0.0-beta11 age confidence

Release Notes

nordicsemi/Kotlin-BLE-Library (no.nordicsemi.kotlin.ble:client-android)

v2.0.0-beta11

Compare Source

What's Changed

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-beta10...2.0.0-beta11

v2.0.0-beta10

Compare Source

What's Changed

  • [Feature] Make OperationMutex per peripheral by @​philips77 in #​463
    • This PR finally makes the mutexes per-peripheral, isntead on a global one.
    • The change allows each device to complete its operations independently, without waiting for a slower device.
  • [Bugfix] Reading initial encryption fixed by @​philips77 in #​458
    • Initially, after connecting, the Encryption is NotEncrypted instead of Unknown.
  • [Bugfix] Don't ignore an outer withTimeout while preparing the connection by @​ldulcic in #​459
  • [Bugfix] Keep the order of notifications in the mock by @​philips77 in #​462
  • [Bugfix] Close the peripheral when the connection fails while it is prepared by @​philips77 in #​464

Other

  • Update dependency no.nordicsemi.gradle:version-catalog-min-sdk-21 3.3.1 to v3.3.1-1 by @​renovate[bot] in #​457

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-beta09...2.0.0-beta10

v2.0.0-beta09

Compare Source

Fixes

  • [Bugfix] Peripheral.encryptionState stayed Unknown after a quick reconnect by @​philips77 in #​455
    • On Android 16 QPR2 (API 36.1) and newer, the state was updated only by system broadcasts, which are sent when the encryption changes. If the device reconnected while the previous link was still up (a few seconds after gatt.close()), the link was already encrypted, no broadcast was sent, and the state stayed Unknown, or kept the value of the previous connection. The state is now read with BluetoothDevice.getEncryptionStatus() when the device connects. The broadcasts still report later changes.
  • [Bugfix] String convertible fixed for OperationStatus by @​philips77 in #​456
    • OperationStatus.ConnectionTimeout (0x93) is now printed as Connection Timeout and not as a generic Application Error.
    • Status codes are printed as 0x93 and not as 00000093.

Changes

  • [Android 16.1] On a new link that is not encrypted yet, encryptionState is now NotEncrypted right after connecting (it was Unknown) and changes when the system reports the encryption.
  • [Kotlin] The library uses explicit backing fields for its state flows (Peripheral.state, bondState, encryptionState, events, and others). There are no changes to the public API. (#​454)
  • Peripheral.state is now backed by an explicit backing field, and Peripheral._state and Peripheral._services (protected, @hide) were removed. Subclasses of Peripheral outside this repository should use updateState { } and hasDiscoveredServices.
Release process
  • The release is now a GitHub Action with five visible stages (check, test, docs, tag, publish), and it has a dry run option. See RELEASING.md. (#​452, #​453)
Known limitations
  • CentralManager.monitor() and range() are not implemented yet in the native and mock implementations.
  • A long running unfiltered scan may be downgraded by Android to opportunistic mode, without any callback.

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-beta08...2.0.0-beta09

v2.0.0-beta08

Compare Source

Breaking Changes

  • [Breaking] BondState is now a sealed class with the reason, moved to the no.nordicsemi.kotlin.ble.client.android package by @​philips77 in #​441
    It was an enum (NONE, BONDING, BONDED) in the core module. Now it is BondState.None(reason), BondState.Bonding and BondState.Bonded. Use is BondState.None, BondState.Bonding and BondState.Bonded in when and comparisons. The reason of a failed bonding is in BondState.None.reason, and in BondingFailedException.reason.
  • [Breaking] Mock: the PeripheralSpecEventHandler callbacks receive the peripheral by @​philips77 in #​442
    Add the peripheral: MockPeripheral parameter as the first parameter to the callbacks you override. The MockPeripheral lets the handler simulate the behaviour of the peripheral, e.g. peripheral.simulateDisconnection().
  • [Breaking] Mock: PeripheralSpec.phy is now a PhyInUse? (TX and RX PHYs) by @​philips77 in #​396
  • [Breaking] Mock: allowForRetrieval() of the builder returns Unit by @​philips77 in #​446

Behaviour changes

  • ConnectionOptions.AutoConnect to a device that is not bonded connects directly first (for up to 10 seconds), as such a device may use a Resolvable Private Address, which can not be used with auto connect. See #​438.
  • Writing with a write type that the characteristic does not declare (e.g. a Write Command to a characteristic that has only the Write property) fails with WriteNotPermitted without sending anything, in native and mock. See #​409.
  • Mock: bonding is rejected by default. Return BondResult.Accept from onBondRequest() to allow it. A failed bonding is reported with a reason, and the mock phone terminates the link 3 seconds later. A peripheral that hangs up itself can be simulated with peripheral.simulateDisconnection().
  • Mock: a peripheral without any services reports RemoteServices.Failed(EmptyResult), like a phone (#​408), attribute handles start at 1 (#​419), mock advertisements have a random delay like real devices (#​386), and the events of a client are delivered only to that client (#​415). Tests that relied on the previous behaviour may need to be updated.
  • A bonding that failed is reported as BondState.None(AuthenticationFailed) on phones that report it as Removed. The reason reported by the system is logged. A link terminated by the phone after a failed or removed bond is reported as TerminateLocalHost, and such a peripheral is not reconnected, even when it was connected using AutoConnect. See #​441.

Features

Improvements

  • [Improvement] Keep the newest scan results when the collector falls behind by @​ldulcic in #​382
  • [Improvement] Allow injecting a clock for mock scan result timestamps by @​ldulcic in #​385
  • [Improvement] Add the random advertising delay of real devices to the mock by @​ldulcic in #​386
  • [Improvement] Keep TX and RX PHYs of a mock peripheral separate and add the active PHY by @​philips77 in #​396
  • [Improvement] Deliver the events of a single client of a mock peripheral only to it by @​philips77 in #​415
  • [Improvement] Make mock connection and PHY updates take 6 connection intervals by @​philips77 in #​422
  • [Improvement] Do not block the connection of a mock peripheral by @​philips77 in #​425
  • [Improvement] The mock phone terminates the link after a failed bonding by @​philips77 in #​434
  • [Improvement] The mock silently ignores auto connect to an unbonded RPA before Android 13 by @​philips77 in #​436
  • [Improvement] Connect directly first when auto connecting to a device that is not bonded by @​philips77 in #​438
  • [Improvement] Request the MTU only when the system does not do it itself by @​philips77 in #​439
  • [Improvement] Do not use the hidden getInstanceId of descriptors by @​philips77 in #​440
  • [Improvement] Pass the peripheral to the event handler callbacks by @​philips77 in #​442
  • [Improvement] allowForRetrieval() of the mock builder returns Unit by @​philips77 in #​446

Bugs fixed

Sample app

Documentation

Tests and CI

Other

Known limitations

  • CentralManager.monitor() and range() are not implemented in the native (Android) implementation yet.

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-beta07...2.0.0-beta08

v2.0.0-beta07

Compare Source

Breaking Changes

  • [Breaking] Current PHY available only as StateFlow by @​philips77 in #​372
    The readPhy() method was removed from public API. Use phy.value instead.

What's Changed

Other

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-beta06...2.0.0-beta07

v2.0.0-beta06

Compare Source

Breaking changes

Bugs fixed

Improvements

Documentation

Other

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-beta05...2.0.0-beta06

v2.0.0-beta05

Compare Source

What's Changed

  • [Improvement] Error code mapper improvements by @​philips77 in #​340
  • [Feature] Support for more Android versions by @​philips77 in #​342
    • This is actually a big PR with multiple changes. Please see the issue for details.
  • [Feature] Throw SecurityException when trying to access restricted attribute by @​philips77 in #​343
  • [Bugfix] Fixed service discovery deadlock by @​philips77 in #​344

Other

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-beta04...2.0.0-beta05

v2.0.0-beta04

Compare Source

What's Changed

Other

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-beta03...2.0.0-beta04

v2.0.0-beta03

Compare Source

What's Changed

Other

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-beta02...2.0.0-beta03

v2.0.0-beta02

Compare Source

What's Changed

Other

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-beta01...2.0.0-beta02

v2.0.0-beta01

Compare Source

What's Changed

Profiles
Service Changed
Logging
Other bugs fixed
Sample app
Other
Dependencies

New Contributors

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-alpha19...2.0.0-beta01

v2.0.0-alpha19

Compare Source

What's Changed

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-alpha18...2.0.0-alpha19

v2.0.0-alpha18

Compare Source

What's Changed

Other

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-alpha17...2.0.0-alpha18

v2.0.0-alpha17

Compare Source

Breaking

Improvements

Dependencies

Documentation

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-alpha16...2.0.0-alpha17

v2.0.0-alpha16

Compare Source

Breaking changes

This version contains breaking changes added in #​264. See the PR for migration.
Also, #​272 added new exceptions thrown from characteristic.write(...) methods (InvalidAttributeException). Before the same error was returned as OperationFailedException with Unknown reason.

What's Changed

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha11 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha12 Nov 29, 2025
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha12 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha12 - autoclosed Feb 11, 2026
@renovate renovate Bot closed this Feb 11, 2026
@renovate
renovate Bot deleted the renovate/blek branch February 11, 2026 11:33
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha12 - autoclosed fix(deps): update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha13 Feb 11, 2026
@renovate renovate Bot reopened this Feb 11, 2026
@renovate
renovate Bot force-pushed the renovate/blek branch 2 times, most recently from fd1d2ae to 6582d5b Compare February 13, 2026 14:06
@renovate renovate Bot changed the title fix(deps): update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha13 fix(deps): update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha14 Feb 13, 2026
@renovate renovate Bot changed the title fix(deps): update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha14 fix(deps): update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha15 Feb 18, 2026
@renovate
renovate Bot force-pushed the renovate/blek branch from 195c1d3 to 187ccd3 Compare March 4, 2026 17:07
@renovate renovate Bot changed the title fix(deps): update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha15 fix(deps): update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha16 Mar 4, 2026
@renovate
renovate Bot force-pushed the renovate/blek branch from 187ccd3 to 4cb406a Compare March 20, 2026 01:41
@renovate renovate Bot changed the title fix(deps): update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha16 fix(deps): update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha17 Mar 20, 2026
@CLAassistant

CLAassistant commented Apr 21, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@renovate
renovate Bot force-pushed the renovate/blek branch from 4cb406a to 94ec443 Compare April 23, 2026 09:14
@renovate renovate Bot changed the title fix(deps): update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha17 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha19 Apr 23, 2026
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-alpha19 Update blek to v2.0.0-alpha19 Jun 2, 2026
@renovate
renovate Bot force-pushed the renovate/blek branch from 94ec443 to d7e04e3 Compare June 19, 2026 16:08
@renovate renovate Bot changed the title Update blek to v2.0.0-alpha19 Update blek to v2.0.0-beta01 Jun 19, 2026
@renovate renovate Bot changed the title Update blek to v2.0.0-beta01 Update blek Jun 22, 2026
@renovate renovate Bot changed the title Update blek Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta01 Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/blek branch from d7e04e3 to 882fd11 Compare June 25, 2026 16:10
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta01 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta02 Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/blek branch from 882fd11 to 6bcf932 Compare July 2, 2026 17:34
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta02 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta03 Jul 2, 2026
@renovate
renovate Bot force-pushed the renovate/blek branch from 6bcf932 to 2fab4da Compare July 22, 2026 12:51
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta03 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta04 Jul 22, 2026
@renovate
renovate Bot force-pushed the renovate/blek branch from 2fab4da to aea61b8 Compare August 7, 2026 16:40
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta04 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta05 Aug 7, 2026
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta05 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta07 Oct 17, 2026
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta07 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta08 Oct 26, 2026
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta08 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta09 Oct 28, 2026
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta09 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta10 Nov 6, 2026
@renovate renovate Bot changed the title Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta10 Update dependency no.nordicsemi.kotlin.ble:client-android to v2.0.0-beta11 Nov 13, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant