From fa468d360a56712f3f39a1fba74b97340ebca8a9 Mon Sep 17 00:00:00 2001 From: h2zero Date: Sun, 5 Jan 2025 14:55:32 -0700 Subject: [PATCH] Release 2.0.3 --- CHANGELOG.md | 16 +++++++++++++++- docs/Doxyfile | 2 +- idf_component.yml | 2 +- library.json | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4fa09f..81148ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,24 @@ # Changelog All notable changes to this project will be documented in this file. -## [Unreleased] +## [2.0.3] 2025-01-05 + +## Fixed +- Unused variable warning when log level is below info. +- Build error missing definition of CONFIG_NIMBLE_CPP_FREERTOS_TASK_BLOCK_BIT in platformio. +- Race condition in `NimBLEScan` that can cause a crash due to heap corruption if `NimBLEScan::stop` is called from the `onResult` callback. +- Advertisement data not set if scan response is enabled after the data is set. +- `NimBLECharacteristic`/`NimBLEDescriptor` not able to update their values in the `onRead` callback. +- Too short of a timeout being requested in NimBLE_Server example leading to frequent disconnects. + +## Changed +- `NimBLEHIDDevice` now allows for the same report ID in multiple input/output/feature reports. ## Added - Config for custom log colors pre level. +- Error logs in the case that NIMBLE_CPP_DEBUG_ASSERT is not defined. +- Error logs when setting advertisement data fails. +- Missing documentation in the migration guide about enabling automatic advertising on disconnect, which was disabled by default in 2.x. ## [2.0.2] 2024-12-21 diff --git a/docs/Doxyfile b/docs/Doxyfile index eeb325b..5d08711 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -48,7 +48,7 @@ PROJECT_NAME = esp-nimble-cpp # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 2.0.2 +PROJECT_NUMBER = 2.0.3 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/idf_component.yml b/idf_component.yml index e3416f5..5dac7c9 100644 --- a/idf_component.yml +++ b/idf_component.yml @@ -1,5 +1,5 @@ ## IDF Component Manager Manifest File -version: "2.0.2" +version: "2.0.3" license: "Apache-2.0" description: "C++ wrapper for the NimBLE BLE stack" url: "https://github.com/h2zero/esp-nimble-cpp" diff --git a/library.json b/library.json index e9e6dda..fe7f14f 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "esp-nimble-cpp", - "version": "2.0.2", + "version": "2.0.3", "description": "C++ wrapper for the NimBLE BLE stack", "keywords": [ "BLE",