Skip to content

Releases: ProxySQL/cpp-dotenv

Release list

v1.1.0

Choose a tag to compare

@renecannao renecannao released this 07 Jul 11:40

v1.1.0

This release adds support for detecting whether a .env file was successfully loaded.

Changes

  • Added public member bool loaded on the dotenv class.
  • loaded is set to false at the start of load_dotenv().
  • loaded is set to true after a file is successfully parsed and loaded.
  • This allows downstream projects (such as ProxySQL TAP test harness) to reliably check if environment variables from a .env file were applied.

Notes

  • No behavioral changes for normal usage of load_dotenv().
  • Builds cleanly with C++17 compilers (GCC, Clang, MSVC).
  • Tested on Linux and macOS.

This is a clean release intended to be vendored by projects that need the loaded detection feature without carrying custom patches.