Releases: NordicSemiconductor/Android-DFU-Library
Releases · NordicSemiconductor/Android-DFU-Library
2.11.0
TL;DR
- App: Kotlin 2.3.10
- Doc: Dokka 2.2-Beta
- Lib: Bugfix #511
- Android Gradle Plugin 9.0
What's Changed
- fix: connecting and disconnecting state issue by @juliansteenbakker in #511
Other
- Dependencies updated by @philips77 in #516
- Update actions/checkout action to v6 by @renovate[bot] in #512
- chore(deps): update gradle to v9.3.1 by @renovate[bot] in #510
- Documentation regenerated by @philips77 in #517
Compatibility
The library is still compatible with Android 4.3:
android {
namespace = "no.nordicsemi.android.dfu"
defaultConfig {
minSdk = 18
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}The nRF DFU app has minSdk = 21.
Full Changelog: 2.10.1...2.11.0
2.10.1
What's Changed
- Common Nordic lib updated by @philips77 in #505
- Update dependency no.nordicsemi.android.gradle:version-catalog to v2.10-4 by @renovate[bot] in #492
- Nordic dependencies updated by @philips77 in #508
- Scanner bug fix causing a crash when some advertising packet was scanned
Full Changelog: 2.10.0...2.10.1
2.10.0
What's Changed
- Adding delay before service discovery on Service Change indication by @philips77 in #503
- Add Expo library to README by @Jetbo in #494
Dependencies updated
- Update Gradle to v9.1 by @renovate[bot] in #495
- Update actions/setup-java action to v5 by @renovate[bot] in #497
- Update actions/checkout action to v5 by @renovate[bot] in #496
- Dependencies updated by @philips77 in #502
New Contributors
Full Changelog: 2.9.0...2.10.0
2.9.0
TL;DR
- Apart from #448 there are no changes in the library source code.
- API documentation was generated using Dokka 2.0.0 and is available here: https://nordicsemiconductor.github.io/Android-DFU-Library/html/index.html
- Kotlin version migrated to 2.1.0
Bug fix
- Nordic Gradle Plugin 2.6.1 upgraded Dagger to 2.54 which should have this bug fixed - now the app could be able to compile on Windows.
What's Changed
- Reference Capacitor implementation in README by @robsonos in #486
- Migration to Kotlin 2.1 and Dokka 2 by @philips77 in #487
- Fixed warnings in string resources by @philips77 in #488
New Contributors
Full Changelog: 2.8.0...2.9.0
2.8.0
What's Changed in the DFU Library
- No changes to the DFU library, only nRF DFU sample app.
What's Changed in nRF DFU app
- Dependencies updated by @philips77 in #474
- Update dependency gradle to v8.11.1 by @renovate in #476
- Edeg to edge support by @philips77 in #479
Other
New Contributors
Full Changelog: 2.7.0...2.8.0
2.7.0
What's Changed
- Migration to
targetSdk35 by @philips77 in #462 - Adding error codes by @philips77 in #463
- Bug fix: Reverting
minSdkto 18 by @philips77 in #464 - Bug fix: fixed waiting for Service Changed indication on bonded devices by @philips77 in #465
- DFU speed improved on bonded devices by @philips77 in #466
- Prioritizing DFU speed in settings by @philips77 in #467
- Specifying foreground service type in the code by @philips77 in #468
- Various improvements by @philips77 in #469
- One more hint by @philips77 in #470
- Adding a 500 ms delay before disconnecting by @philips77 in #471
TL;DR
- In case of disconnection, the reported error will have the
statusnumber received inonConnectionStateChange, instead of alwaysERROR_DEVICE_DISCONNECTED. - Hint were added to LogCat logs for some common errors.
- Foreground service gets automatic type
CONNECTED DEVICE, no need to set it in the Manifest. - In the app Prepare Object Delay was changed from 400 to 0 ms.
- Library requests HIGH connection priority (connection interval 15 ms) just before upload.
Full Changelog: 2.6.0...2.7.0
2.6.0
DFU Library
- Fixed scanning with screen off by @philips77 in #455
App
- Bug fix: clearing state causes issues with "Don't keep activities" enabled by @philips77 in #456
- Migration to Nordic Common 2.1 by @philips77 in #457
Other
- Images in Readme updated by @philips77 in #458
Full Changelog: 2.5.0...2.6.0
2.5.0
What's Changed
- Use positional format specifier for uploading resource by @Silverdark in #435
- Updating dependencies by @philips77 in #443
New Contributors
- @Silverdark made their first contribution in #435
Full Changelog: 2.4.2...2.5.0
2.4.2
What's Changed
- Version catalog updated to 1.10.4 by @philips77 in #427
- Version catalog upgraded to 1.11.3 by @philips77 in #430
- Foreground service behavior fixed by @philips77 in #431
Full Changelog: 2.4.1...2.4.2
2.4.1
What's Changed
- [App] Deep links fixed by @philips77 in #425
- [App] Showing progress indicator when downloading the file by @philips77 in #426
No changes in the DFU library itself.
Full Changelog: 2.4.0...2.4.1