Skip to content

chore(deps): update nordic.ble to v2.0.0-alpha13#4534

Merged
jamesarich merged 2 commits into
mainfrom
renovate/nordic.ble
Feb 11, 2026
Merged

chore(deps): update nordic.ble to v2.0.0-alpha13#4534
jamesarich merged 2 commits into
mainfrom
renovate/nordic.ble

Conversation

@renovate

@renovate renovate Bot commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
no.nordicsemi.kotlin.ble:core-mock 2.0.0-alpha122.0.0-alpha13 age adoption passing confidence
no.nordicsemi.kotlin.ble:client-android-mock 2.0.0-alpha122.0.0-alpha13 age adoption passing confidence
no.nordicsemi.kotlin.ble:client-android 2.0.0-alpha122.0.0-alpha13 age adoption passing confidence

Release Notes

NordicSemiconductor/Kotlin-BLE-Library (no.nordicsemi.kotlin.ble:core-mock)

v2.0.0-alpha13

Compare Source

Breaking changes

This version creates AndroidEvironment interface and 2 implementations:

  • NativeAndroidEnvironment
  • MockAndroidEnvironmet

The common base interface allows to build common components for any implementations.

For Jetpack Compose applications, there's a new module no.nordicsemi.kotlin.ble:environment-compose, which allows to provide the implementation using LocalEnvironmentOwner:

val environment = MockAndroidEnvironment.Api31(
   isBluetoothConnectPermissionGranted = false,
   isBluetoothScanPermissionGranted = false,
)
CompositionLocalProvider(values = LocalEnvironmentOwner provides environment) {
    // [...]
    Content(
       environment = LocalEnvironmentOwner.current,
    )
}

Also, module client-mock renamed to client-core-mock. But as this module was not user-facing, this should not be an issue.

What's Changed

Full Changelog: nordicsemi/Kotlin-BLE-Library@2.0.0-alpha12...2.0.0-alpha13


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates 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 added the dependencies Dependency update label Feb 11, 2026
@codecov

codecov Bot commented Feb 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 60.00000% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 14.43%. Comparing base (f5eb338) to head (d5fafd5).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...meshtastic/feature/firmware/ota/BleOtaTransport.kt 64.00% 4 Missing and 5 partials ⚠️
...sville/mesh/repository/radio/NordicBleInterface.kt 66.66% 0 Missing and 4 partials ⚠️
...e/mesh/repository/bluetooth/BluetoothRepository.kt 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4534      +/-   ##
==========================================
- Coverage   14.46%   14.43%   -0.03%     
==========================================
  Files         424      424              
  Lines       14522    14517       -5     
  Branches     2410     2409       -1     
==========================================
- Hits         2100     2095       -5     
- Misses      12118    12119       +1     
+ Partials      304      303       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Updates the Nordic BLE Library to version 2, which introduces several breaking changes. This refactoring aligns the codebase with the new API, primarily by replacing `java.util.UUID` with `kotlin.uuid.Uuid` across the BLE implementation and tests.

Key changes include:
- Migrating all BLE service and characteristic identifiers from `java.util.UUID` to the now-standard `kotlin.uuid.Uuid`.
- Removing the `toKotlinUuid()` extension function, as it is no longer necessary.
- Updating dependency injection for `CentralManager` to use the new `NativeAndroidEnvironment`.
- Adjusting test mocks and implementations to comply with the updated library APIs.
- Adding the `-Xskip-prerelease-check` compiler flag to support the new Kotlin UUID experimental feature.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@renovate

renovate Bot commented Feb 11, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@jamesarich jamesarich added this pull request to the merge queue Feb 11, 2026
Merged via the queue into main with commit 55b1785 Feb 11, 2026
8 checks passed
@jamesarich jamesarich deleted the renovate/nordic.ble branch February 11, 2026 17:25
jamesarich added a commit that referenced this pull request Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant