Skip to content

Commit 3004df5

Browse files
committed
Bump version to 3.0.0-dev
* Remove library.properties from master branch to prevent pio users from pulling unstable code unknowingly.
1 parent 209f2f4 commit 3004df5

4 files changed

Lines changed: 55 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,56 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [2.5.0] 2026-04-01
5+
6+
## Fixed
7+
- `NimBLEClient` connection state tracking.
8+
- Calling disconnect will no longer return false if the HCI response is "Unknown ID".
9+
- Remote descriptors not found when characteristic vector handles out of order.
10+
- `setValue` with char inputs now calculates the data length correctly.
11+
12+
## Added
13+
- `NimBLEServer::sendServiceChangedIndication` Sends the service changed indication to peers so they refresh their database.
14+
- `NimBLEScan` user configuarable scan response timer added to prevent unreported devices on long duration scans.
15+
- `NimBLEClient` Connection retry on connection establishment failure, retry count configurable by app, default 2.
16+
- ANCS Example
17+
- `l2Cap` Disconnect API
18+
19+
## [2.4.0] 2026-03-20
20+
21+
## Fixed
22+
- GATT attribute handles are now assigned from the registration callback so duplicate UUID attributes are identified correctly.
23+
- Dynamic service changes now properly remove characteristics/descriptors and reset the GATT database when advertising starts.
24+
- Missing notification/indication payload data when the value spans multiple mbufs, such as values larger than 255 bytes with small ACL buffers.
25+
- `NimBLEDevice::createServer` will longer crash when called before the stack is initialized.
26+
- Re-pairing after deleting all bonds now works by unpairing each stored bond instead of only deleting NVS data.
27+
- Whitelist bounds checks.
28+
- `NimBLEDevice::getBondedAddress` index bounds validation.
29+
- ESP32 linker error when both central and peripheral roles are disabled.
30+
- Compiler warnings when bonds are disabled.
31+
32+
## Added
33+
- `NimBLEStream`, `NimBLEStreamClient`, and `NimBLEStreamServer` classes and examples.
34+
- `NimBLECppVersion.h` with compile-time version macros.
35+
- `NimBLEDevice::getVersion` runtime version string helper.
36+
- Matching passkey callbacks for both roles: `NimBLEServerCallbacks::onPassKeyEntry` and `NimBLEClientCallbacks::onPassKeyDisplay`.
37+
- Bond migration helpers to convert bond storage between v1 and current formats while preserving existing bonds.
38+
- `NimBLEUUID` constructor overload for `ble_uuid_t*`.
39+
- Optional `index` parameter for `NimBLECharacteristic::getDescriptorByUUID` to access multiple descriptors with the same UUID.
40+
41+
## Changed
42+
- `NimBLEService::start` is deprecated; services are now added when the server starts.
43+
- `NimBLEHIDDevice::startServices()` is deprecated; services are now added when the server starts.
44+
45+
## [2.3.9] 2026-03-08
46+
47+
## Fixed
48+
- Crash when scanning with esp32c6/c5/c2/h2.
49+
- Scan duplicate filter not resetting on scan restart.
50+
51+
## Added
52+
- `NimBLEConnInfo::toString` method to get a string representation of the connection information for logging/debugging purposes.
53+
454
## [2.3.8] 2026-03-02
555

656
## Fixed

docs/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PROJECT_NAME = NimBLE-Arduino
4848
# could be handy for archiving the generated documentation or if some version
4949
# control system is used.
5050

51-
PROJECT_NUMBER = 2.3.8
51+
PROJECT_NUMBER = 3.3.0-dev
5252
# Using the PROJECT_BRIEF tag one can provide an optional one line description
5353
# for a project that appears at the top of each page and should give viewer a
5454
# quick idea about the purpose of the project. Keep the description short.

library.properties

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/NimBLECppVersion.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
#define NIMBLE_CPP_VERSION_H_
2020

2121
/** @brief NimBLE-Arduino library major version number. */
22-
#define NIMBLE_CPP_VERSION_MAJOR 2
22+
#define NIMBLE_CPP_VERSION_MAJOR 3
2323

2424
/** @brief NimBLE-Arduino library minor version number. */
25-
#define NIMBLE_CPP_VERSION_MINOR 3
25+
#define NIMBLE_CPP_VERSION_MINOR 0
2626

2727
/** @brief NimBLE-Arduino library patch version number. */
28-
#define NIMBLE_CPP_VERSION_PATCH 9
28+
#define NIMBLE_CPP_VERSION_PATCH 0
2929

3030
/**
3131
* @brief Macro to create a version number for comparison.
@@ -58,7 +58,7 @@
5858
* @details Include the leading '-' when defined, for example: "-beta.1"
5959
*/
6060
#ifndef NIMBLE_CPP_VERSION_PRERELEASE
61-
# define NIMBLE_CPP_VERSION_PRERELEASE ""
61+
# define NIMBLE_CPP_VERSION_PRERELEASE "-dev"
6262
#endif
6363

6464
/**

0 commit comments

Comments
 (0)