Skip to content

Releases: ayebear/config-file

ConfigFile v0.5.2

01 May 16:37
Compare
Choose a tag to compare

It is now safe to call begin() and end() on a cfg::Option with an empty array.
This fixes a bug with range based for loops (or for loops with iterators), where it would crash because of a null pointer dereference, if the array in the cfg::Option object was empty.

ConfigFile v0.5.1

13 Apr 00:53
Compare
Choose a tag to compare

Can now set "flags" to enable autosave, or showing error/warning messages.
These flags can be set in the constructor (in place of the old bool for enabling warnings).
Note that this new version should be backwards compatible, but it is recommended to change your constructors to pass in actual flags instead of "true".
Made other improvements, which can be seen in the commit history.

ConfigFile v0.5.0

01 Apr 15:28
Compare
Choose a tag to compare

Initial version with basic array support.
Improved array support and string escape codes are planned for the next version.