From aaef4586861d66958dc4a19cefb38c6a26b09f2a Mon Sep 17 00:00:00 2001 From: Donald Clark Jackson Date: Sat, 14 Nov 2026 11:22:07 -0800 Subject: [PATCH] Release 0.7.3 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VUQ6asqTe3tYwnZR7GW2dn --- CHANGELOG.md | 5 ++++- README.md | 2 +- library.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b5ddcb..dd1ebbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to `cpp-sdk` are recorded here. Format follows [Keep a Chang ## [Unreleased] +## [0.7.3] - 2026-11-14 + ### Fixed - The controller no longer aborts when it runs out of memory. With exceptions enabled, as on the ESP32, a failed `new` of a discovered device's `Device`, `Node` or `Property` threw `std::bad_alloc` and nothing caught it. On an ESP32 without PSRAM, a controller on a broker with a few large devices aborted on every boot. These allocations now use `new (std::nothrow)`. A device the controller cannot allocate is not tracked; one it runs out of memory building from its `$description` is rejected, logged once, and its messages are ignored. `Device::addNodePropertiesFromConfigJson()` now returns `false` on such a failure, and `Device::out_of_memory()` reports it. Tracking only the devices a controller needs is #36; a budget is #37. @@ -106,7 +108,8 @@ All notable changes to `cpp-sdk` are recorded here. Format follows [Keep a Chang - The core's Unity suites, built and run with CMake and CTest. - `library.json`, so a PlatformIO project can add the core with a `lib_deps` git URL. -[Unreleased]: https://github.com/electrification-bus/cpp-sdk/compare/v0.7.2...HEAD +[Unreleased]: https://github.com/electrification-bus/cpp-sdk/compare/v0.7.3...HEAD +[0.7.3]: https://github.com/electrification-bus/cpp-sdk/compare/v0.7.2...v0.7.3 [0.7.2]: https://github.com/electrification-bus/cpp-sdk/compare/v0.7.1...v0.7.2 [0.7.1]: https://github.com/electrification-bus/cpp-sdk/compare/v0.7.0...v0.7.1 [0.7.0]: https://github.com/electrification-bus/cpp-sdk/compare/v0.6.0...v0.7.0 diff --git a/README.md b/README.md index 036df13..e9cec64 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ A portable C++17 core for devices and controllers on the [Electrification Bus](h ## Status -Version 0.7.2, alpha. Known limits: +Version 0.7.3, alpha. Known limits: - The POSIX demo build has no TLS; it connects to plain-TCP brokers only. - The driver contract (`NodeEntity`, `NodeProperty`) is still in esp32-firmware ([why](doc/core.md#still-in-esp32-firmware)). diff --git a/library.json b/library.json index 912a1c2..b695ad3 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "ebus_core", - "version": "0.7.2", + "version": "0.7.3", "description": "Portable eBus / Homie 5 core: the Device, Node and Property model, /set dispatch, the controller, id and payload validation, broker discovery, property links. Depends on the C/C++ standard library and ArduinoJson; a port supplies the MQTT transport, log and clock. See doc/core.md.", "keywords": "homie, mqtt, ebus, iot", "repository": {