|
1 | 1 | # Changelog |
2 | 2 | All notable changes to this project will be documented in this file. |
3 | 3 |
|
| 4 | +## [2.4.0] 2026-03-20 |
| 5 | + |
| 6 | +## Fixed |
| 7 | +- GATT attribute handles are now assigned from the registration callback so duplicate UUID attributes are identified correctly. |
| 8 | +- Dynamic service changes now properly remove characteristics/descriptors and reset the GATT database when advertising starts. |
| 9 | +- Missing notification/indication payload data when the value spans multiple mbufs, such as values larger than 255 bytes with small ACL buffers. |
| 10 | +- `NimBLEDevice::createServer` will longer crash when called before the stack is initialized. |
| 11 | +- Re-pairing after deleting all bonds now works by unpairing each stored bond instead of only deleting NVS data. |
| 12 | +- Whitelist bounds checks. |
| 13 | +- `NimBLEDevice::getBondedAddress` index bounds validation. |
| 14 | +- Compiler warnings when bonds are disabled. |
| 15 | +- kconfig warnings, redefined macros. |
| 16 | + |
| 17 | +## Added |
| 18 | +- `NimBLEStream`, `NimBLEStreamClient`, and `NimBLEStreamServer` classes and examples. |
| 19 | +- `NimBLECppVersion.h` with compile-time version macros. |
| 20 | +- `NimBLEDevice::getVersion` runtime version string helper. |
| 21 | +- Matching passkey callbacks for both roles: `NimBLEServerCallbacks::onPassKeyEntry` and `NimBLEClientCallbacks::onPassKeyDisplay`. |
| 22 | +- Bond migration helpers to convert bond storage between v1 and current formats while preserving existing bonds. |
| 23 | +- `NimBLEUUID` constructor overload for `ble_uuid_t*`. |
| 24 | +- Optional `index` parameter for `NimBLECharacteristic::getDescriptorByUUID` to access multiple descriptors with the same UUID. |
| 25 | +- `NimBLEConnInfo::toString` method to get a string representation of the connection info. |
| 26 | + |
| 27 | +## Changed |
| 28 | +- `NimBLEService::start` is deprecated; services are now added when the server starts. |
| 29 | +- `NimBLEHIDDevice::startServices()` is deprecated; services are now added when the server starts. |
| 30 | + |
4 | 31 | ## [2.3.4] 2025-12-27 |
5 | 32 |
|
6 | 33 | ## Fixed |
|
0 commit comments