diff --git a/CHANGELOG.md b/CHANGELOG.md index 16f65c4..6ff0b6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,11 @@ All notable changes to `cpp-sdk` are recorded here. Format follows [Keep a Chang ## [Unreleased] +## [0.7.0] - 2026-10-10 + ### Changed -- `Property::setValue(float)` publishes the shortest decimal that reads back as the same float, laid out like python-sdk's float text: `21.4`, `40.0`, `1e-05`, `1e16` instead of `21.400000`. The formatters are `homie_format_float()` and `homie_format_double()` in `ebus/homie/homie_datatype.h`. +- `Property::setValue(float)` publishes the shortest decimal that reads back as the same float, laid out like python-sdk's float text: `21.4`, `40.0`, `1e-05`, `1e16` instead of `21.400000`. The formatters are `homie_format_float()` and `homie_format_double()` in `ebus/homie/homie_datatype.h`. ([#23](https://github.com/electrification-bus/cpp-sdk/pull/23)) ## [0.6.0] - 2026-10-10 @@ -84,7 +86,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.6.0...HEAD +[Unreleased]: https://github.com/electrification-bus/cpp-sdk/compare/v0.7.0...HEAD +[0.7.0]: https://github.com/electrification-bus/cpp-sdk/compare/v0.6.0...v0.7.0 [0.6.0]: https://github.com/electrification-bus/cpp-sdk/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/electrification-bus/cpp-sdk/compare/v0.4.1...v0.5.0 [0.4.1]: https://github.com/electrification-bus/cpp-sdk/compare/v0.4.0...v0.4.1 diff --git a/README.md b/README.md index ac6e378..2445319 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,9 @@ A portable C++17 core for devices and controllers on the [Electrification Bus](h ## Status -Version 0.6.0, alpha. Known limits: +Version 0.7.0, alpha. Known limits: - The POSIX demo build has no TLS; it connects to plain-TCP brokers only. -- After a broker loses its retained messages, esp32-sdk's reconnect does not restore `$description`; it does not yet call `Device::forgetDescriptionHash()` ([After a reconnect](doc/core.md#after-a-reconnect)). - The driver contract (`NodeEntity`, `NodeProperty`) is still in esp32-sdk ([why](doc/core.md#still-in-esp32-sdk)). - The code-first API has rough edges found while writing the POSIX demo: registering a settable property needs a live connection, and the controller has no change callback. - esp32-sdk is not public yet; links to it will resolve once it is. diff --git a/library.json b/library.json index ed3e21a..38b8603 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "ebus_core", - "version": "0.6.0", + "version": "0.7.0", "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": {