From 4b166b69f28e70a416a1a04a98f365d2aeb90de8 Mon Sep 17 00:00:00 2001 From: Mark Gillard Date: Mon, 29 Aug 2022 21:28:19 +0300 Subject: [PATCH] v3.2.0 --- CHANGELOG.md | 5 +++-- CMakeLists.txt | 2 +- README.md | 6 +++--- docs/pages/main_page.dox | 6 +++--- include/toml++/impl/path.h | 1 + include/toml++/impl/version.h | 2 +- meson.build | 2 +- toml.hpp | 4 ++-- 8 files changed, 15 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdf116a..5efcb93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,8 @@ template: --> -## Unreleased +## v3.2.0 +[Released](https://github.com/marzer/tomlplusplus/releases/tag/v3.2.0) 2022-08-29 #### Fixes: - fixed `[dotted.table]` source columns sometimes being off by one (#152) (@vaartis) @@ -23,7 +24,7 @@ template: #### Additions: - added value type deduction to `emplace()` methods -- added `toml::path` utility type (#153, #156) (@jonestristand) +- added `toml::path` utility type (#153, #156, #168) (@jonestristand, @kcsaul) - added config option `TOML_CALLCONV` - added missing relational operators for `source_position` diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a2ab37..1c91ef4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.14) project( tomlplusplus - VERSION 3.1.0 + VERSION 3.2.0 DESCRIPTION "Header-only TOML config file parser and serializer for C++17" HOMEPAGE_URL "https://marzer.github.io/tomlplusplus/" LANGUAGES CXX diff --git a/README.md b/README.md index 477a5db..09fb870 100644 --- a/README.md +++ b/README.md @@ -104,13 +104,13 @@ You'll find some more code examples in the `examples` directory, and plenty more 3. `#include ` ### Conan -Add `tomlplusplus/3.1.0` to your conanfile. +Add `tomlplusplus/3.2.0` to your conanfile. ### DDS Add `tomlpp` to your `package.json5`, e.g.: ``` depends: [ - 'tomlpp^3.1.0', + 'tomlpp^3.2.0', ] ``` > ℹ️ _[What is DDS?](https://dds.pizza/)_ @@ -151,7 +151,7 @@ include(FetchContent) FetchContent_Declare( tomlplusplus GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git - GIT_TAG v3.1.0 + GIT_TAG v3.2.0 ) FetchContent_MakeAvailable(tomlplusplus) ``` diff --git a/docs/pages/main_page.dox b/docs/pages/main_page.dox index 6d166a7..4b07d00 100644 --- a/docs/pages/main_page.dox +++ b/docs/pages/main_page.dox @@ -453,7 +453,7 @@ and [emoji sundae] Regular. The API is the same for both. \subsection mainpage-adding-lib-conan Conan -Add `tomlplusplus/3.1.0` to your conanfile. +Add `tomlplusplus/3.2.0` to your conanfile. @@ -461,7 +461,7 @@ Add `tomlplusplus/3.1.0` to your conanfile. Add `tomlpp` to your `package.json5`, e.g.: \json depends: [ - 'tomlpp^3.1.0', + 'tomlpp^3.2.0', ] \endjson @@ -507,7 +507,7 @@ include(FetchContent) FetchContent_Declare( tomlplusplus GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git - GIT_TAG v3.1.0 + GIT_TAG v3.2.0 ) FetchContent_MakeAvailable(tomlplusplus) \endcmake diff --git a/include/toml++/impl/path.h b/include/toml++/impl/path.h index a0e3113..2a40cc7 100644 --- a/include/toml++/impl/path.h +++ b/include/toml++/impl/path.h @@ -20,6 +20,7 @@ TOML_NAMESPACE_START /// \brief Represents a single component of a complete 'TOML-path': either a key or an array index class TOML_EXPORTED_CLASS path_component { + /// \cond struct storage_t { static constexpr size_t size = diff --git a/include/toml++/impl/version.h b/include/toml++/impl/version.h index f6d630c..1157b95 100644 --- a/include/toml++/impl/version.h +++ b/include/toml++/impl/version.h @@ -5,7 +5,7 @@ #pragma once #define TOML_LIB_MAJOR 3 -#define TOML_LIB_MINOR 1 +#define TOML_LIB_MINOR 2 #define TOML_LIB_PATCH 0 #define TOML_LANG_MAJOR 1 diff --git a/meson.build b/meson.build index 3e818e2..4ec3c94 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'tomlplusplus', 'cpp', - version: '3.1.0', + version: '3.2.0', meson_version: '>=0.54.0', license: 'MIT', default_options: [ # https://mesonbuild.com/Builtin-options.html diff --git a/toml.hpp b/toml.hpp index 83ea245..293ea79 100644 --- a/toml.hpp +++ b/toml.hpp @@ -1,6 +1,6 @@ //---------------------------------------------------------------------------------------------------------------------- // -// toml++ v3.1.0 +// toml++ v3.2.0 // https://github.com/marzer/tomlplusplus // SPDX-License-Identifier: MIT // @@ -932,7 +932,7 @@ TOML_ENABLE_WARNINGS; //******** impl/version.h ******************************************************************************************** #define TOML_LIB_MAJOR 3 -#define TOML_LIB_MINOR 1 +#define TOML_LIB_MINOR 2 #define TOML_LIB_PATCH 0 #define TOML_LANG_MAJOR 1