Change log

Unreleased

1.2.0 – 2022-10-24

Be thread-safe where possible.

Changed

  • Use a mutex where possible to provide thread-safety on non-ESP32 platforms.

1.1.2 – 2022-10-23

Provide thread-safe status.

Added

  • Indicate whether this version of the library is thread-safe or not (UUID_COMMON_THREAD_SAFE and uuid::thread_safe).

1.1.1 – 2022-08-03

Use native 64-bit uptime on the ESP32.

Changed

  • Use ESP32 function to get the uptime as a 64-bit value.

1.1.0 – 2019-09-15

Printable to string functions.

Added

  • Functions to output a Printable to a std::string.

Changed

  • Put each function in a separate file to improve linker behaviour.

1.0.2 – 2019-08-16

Fix example.

Fixed

  • Example now prints the time part of the uptime instead of ignoring it.

1.0.1 – 2019-08-15

Update example and add tests.

Added

  • Test builds of the example.

  • Unit tests of the uptime overflow handling.

Changed

  • Exclude the test directory from exports of the library source code.

Fixed

  • Remove use of Serial.printf() from the example (which does not exist in the standard Arduino library).

1.0.0 – 2019-08-11

First stable release.

Added

  • Function void uuid::loop() that should be called regularly.

  • Function uint64_t uuid::get_uptime_ms() to get the current uptime as a 64-bit milliseconds value.

  • Function std::string uuid::read_flash_string(const __FlashStringHelper *flash_str) to convert flash strings to std::string.

  • Type uuid::flash_string_vector for a std::vector of flash strings.