Releases: ToruNiina/toml11
Releases · ToruNiina/toml11
version 4.4.0
Added
- Add
toml::find_or_default()(#280) (by Ken Matsui @ken-matsui) - Add
erasetoordered_map(#282) (#283) (by Sunlight @SunPodder) - Add
bool basic_value::accessed() constto detect whether the value has been accessed- enabled only if
TOML11_ENABLE_ACCESS_CHECKis defined
- enabled only if
- Add compare operators to
toml::spec
Fixed
- Use
is_void<T>instead ofis_same<T, void>(#281) (by Ken Matsui @ken-matsui)
Changed
- Improve
toml::parseperformance by 2x - Stop using deprecated Ubuntu 20 image on GitHub Actions
version 4.3.0
Added
- Support
std::optionalas a template argument oftoml::find - Support multiple arguments
toml::visit(visitor, args...)
Fixed
toml::detail::region::last_may be used uninitialized (#267) (#268) (by amatej @kontura)- Fix use with CMake 3.21 and older (#271) (by Severin Leonhardt @SeverinLeonhardt)
- fix: prevent size_t-max length string allocation (#275) (#276) (by @hayt)
- update README.md (#277) (by somebody @oldoldtea) (by lz)
- Make parsing faster for very long line (#278)
- Avoid known problem in MSVC (#279)
- Check if
source_location::file_name()is null before formatting
Changed
- Update hugo-book theme
- Add MSVC 2017 to appveyor build
version 4.2.0
Added
- Support std::optional members for TOML11_DEFINE_CONVERSION_NON_INTRUSIVE (#260) (by Ken Matsui @ken-matsui)
- Make thread_local for color_mode optional (#259) (#261) (by Ken Matsui @ken-matsui)
- add usage with CPM to README
- add explanation about
ordered_mapto README and update doc
Fixed
- Manually cast file size to std::streamsize (#258) (by Pino Toscano @pinotree)
- Typographical error in
table_formatoutput - Format an empty array specified as array-of-table in one line (#262)
- Added a missing include file (#263)
- Fix typos in documentation template syntax (#264) (by Jack W @jackwil1)
- Fix
toml::find_orfor deeply nested tables (#266)
version 4.1.0
Added
- support
std::get<std::u8string> - support
toml::value(std::u8string) - support
string_type = std::u8stringinconfigtype - support
operator<<(std::ostream&, toml::value) - add
bool uppercasetotoml::integer_format - support
template into_toml()(#255) (#256) (by 萧迩珀 @CDK6182CHR)
Fixed
- Fix not checking for
\r\nwhen parsing line comments (#252) (#253) (by Andreas Keller @andreaskeller96)
Changed
- speedup CI tests by multicore build
version 4.0.3
Fixed
- remove default
templateargument from forward declaration intoml_fwd.hpp - enable to call
make_error_infowith multipletoml::values - enable to copy/move
resultwithstd::reference_wrapper - fix document generation error with the latest version of hugo
- fix several tiny errors that causes warning
- fix CMake compatibility warning
Changed
- add
-Werror//WXto build script - set MSVC warning level to
/W4 - add explanation of features to README
version 4.0.2
version 4.0.1
v4.0.1
Fixed
- Resolved naming conflict of
sematic_version::{major, minor}with macros defined in<sys/sysmacro.h>(#246 ) - Fixed the definition of
operator<<indiscard_comments(#248) (#247 ) (by @egorpugin) - Fixed the issue where the first blank line was not output in
format_location - Fixed the issue where error messages pointing to
source_locationreferring to lines containing only newline characters were displayed in two lines - Corrected links in the README
- Corrected the title of the README in
example/unicode
Added
- Configured CI to automatically update
single_include/toml.hppwhen changes are made tomain
version 4.0.0
Major version update!
Added features
- Added
toml::specto control TOML version - Added
toml::parsevariants, e.g. nothrow version, string version, and byte array version - Added formatting information to
toml::value(e.g. inline tables, hex ints, etc). - Changed to saving comments in
toml::valueby default. - Added
single_include/toml.hpp. - Enabled to use as a precompiled library.
- Added reference manual.
Breaking Changes
- Changed branch from
mastertomain. - Changed template arguments of
toml::basic_value. - Removed
toml::stringand explicitly store formatting information of all the values. - Modified arguments of
toml::formatto accommodate formatting information. - Changed default arguments of
toml::parseto taketoml::specfor specifying TOML version information. - Updated the interface of
toml::source_locationto accommodate multiline regions. - Modified arguments of
toml::format_error. - Renamed
toml::format_underlinetotoml::format_location. - Unified control method of
toml::colortotoml::color::enable/disable().
version 3.8.1
Fixed
- stop using
strerror_xvariants intoml::parse(FILE*)overload (#235)
version 3.8.0
Fixed
- Remove needless copy of
std::string(#189) (by @muggenhor) - Report an error when integer overflows (#190)
- Report an error if a table is inserted to array-of-table
- Avoid self-assignment (#192)
- Fix typo in README (#194) (by @spiderman-idog)
- Avoid possible lexer truncation warnings (#196) (by @Jajauma)
- Do not set
CMAKE_CXX_STANDARDin CMakeLists (#202) - Fix function name in error messages (#207) (by @cxw42)
- Fix invalid-utf8 error in literal string (#208) (by @cxw42)
- Enable to reopen implicitly defined table (#211)
- Fix long binary integer (#213)
- Fix for case when vector iterator is raw pointer (#214) (by @VestniK)
- Consider locale while serialization (#218)
- Do not move temporary object (#229)
- Escape control characters in keys (#230) (by @arp242)
- Fix function signature of
strerror_ron macos (#231, #233) (by @Esonhugh) - Limit value recursion depth (#234)
Added
- Add escape sequence of ESC
- Support opting out of the default
[error]prefix (#187) (by @ken-matsui) - Support changing color mode at runtime (#188) (by @ken-matsui)
- Add toml::parse(FILE*) overload (#193) (by @lukash)
- Add installation example with checkinstall and cmake (#225) (by @kfirgollan)
- Add fuzzing test based on ClusterFuzzLite (#232) (by @DavidKorczynski)
Changed
- Simplify unit test build (#200) (by @ctcmkl)
- Update github actions checkout v2 to v3 (#210) (by @offa)
- Update toml-test to v1.3.0
- Add note for C++17 feature in README (#217)
- Require CMake 3.5+ (#223) (by @offa)
- Remove travis ci setup (#224) (by @offa)
- Use secure version of
strerror, instead ofstd(#226)