Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.85 KB

File metadata and controls

30 lines (25 loc) · 1.85 KB

Changelog

All notable changes to this project are documented in this file.

The format follows Keep a Changelog and the project adheres to Semantic Versioning.

  • CI now pins PIOArduino Core to v6.1.19 and installs the ESP32 platform via pio pkg install, restoring PlatformIO compatibility with the current platform-espressif32 package.
  • Added teardown contract support with deinit(), isInitialized(), and destructor-driven cleanup.
  • Added lifecycle tests covering pre-init deinit(), repeated deinit(), and init -> deinit -> init.
  • Updated README and examples to use explicit deinit().
  • Removed ready() in favor of isInitialized() (no compatibility alias).
  • Added setDefault() and the no-argument getOr() overload for stored defaults.
  • Added ESPStoreCodec helpers for IPAddress and ESPDate DateTime (epoch + ISO-8601).
  • Added examples for codec usage, runtime overrides, and clearing/reseeding stores.
  • Added LocalDateTime codec example using { epochSeconds, offsetMinutes }.
  • Added ESPStoreCodec::decodeLocalDateTime helper.
  • Added ESPStoreCodec::encodeLocalDateTime helper.
  • Added init(db, collection, key) overloads so multiple ESPStore instances can share one collection safely with unique keys.
  • Changed clear() to remove only the current store key instead of dropping the entire collection.
  • Fixed ArduinoJson v7 explicit-constructor warning in get() by avoiding brace aggregate initialization of StoreResponse.

1.0.0 - 2026-02-05

Added

  • Initial release of ESPStore, a single-document key/value store built on ESPJsonDB.
  • get, set, and getOr helpers for configuration-style storage.
  • Examples for quick start usage and default-value retrieval.