Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
Loading