Skip to content

Commit

Permalink
v3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marzer committed Aug 29, 2022
1 parent be0fbd5 commit 4b166b6
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 13 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ You'll find some more code examples in the `examples` directory, and plenty more
3. `#include <toml++/toml.h>`
### 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',
]
```
> ℹ&#xFE0F; _[What is DDS?](https://dds.pizza/)_
Expand Down Expand Up @@ -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)
```
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/main_page.dox
Original file line number Diff line number Diff line change
Expand Up @@ -453,15 +453,15 @@ 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.



\subsection mainpage-adding-lib-dds DDS
Add `tomlpp` to your `package.json5`, e.g.:
\json
depends: [
'tomlpp^3.1.0',
'tomlpp^3.2.0',
]
\endjson

Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions include/toml++/impl/path.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion include/toml++/impl/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions toml.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//----------------------------------------------------------------------------------------------------------------------
//
// toml++ v3.1.0
// toml++ v3.2.0
// https://github.com/marzer/tomlplusplus
// SPDX-License-Identifier: MIT
//
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4b166b6

Please sign in to comment.