Skip to content

Commit

Permalink
Update TOML version for v1.0.0 release 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
marzer committed Jan 13, 2021
1 parent 3db1e4e commit 5a9166b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Releases](https://img.shields.io/github/v/release/marzer/tomlplusplus?style=flat-square)](https://github.com/marzer/tomlplusplus/releases)
[![C++17](docs/badge-C++17.svg)][cpp_compilers]
[![C++20](docs/badge-C++20.svg)][cpp_compilers]
[![TOML](docs/badge-TOML.svg)][v1.0.0-rc.3]
[![TOML](docs/badge-TOML.svg)][v1.0.0]
[![MIT license](docs/badge-license-MIT.svg)](./LICENSE)
[![CircleCI](https://img.shields.io/circleci/build/github/marzer/tomlplusplus?label=circle%20ci&logo=circleci&logoColor=white&style=flat-square)](https://circleci.com/gh/marzer/tomlplusplus)
[![Mentioned in Awesome C++](docs/badge-awesome.svg)](https://github.com/fffaraz/awesome-cpp)
Expand All @@ -19,7 +19,7 @@
# Library features

- Header-only
- Supports the latest [TOML] release ([v1.0.0-rc.3]), plus optional support for some [unreleased TOML language features]
- Supports the latest [TOML] release ([v1.0.0]), plus optional support for some [unreleased TOML language features]
- C++17 (plus some C++20 features where available, e.g. experimental support for char8_t strings)
- Proper UTF-8 handling (incl. BOM)
- Works with or without exceptions
Expand Down Expand Up @@ -165,7 +165,7 @@ defines `TOML_LANG_MAJOR`, `TOML_LANG_MINOR` and `TOML_LANG_PATCH`.
> ℹ _`#define TOML_UNRELEASED_FEATURES 1` to enable these features (see [Configuration](#Configuration))._
### 🔹 **TOML v1.0.0-rc.3:**
### 🔹 **TOML v1.0.0:**
All features supported, including:
- [#356]: Allow leading zeros in the exponent part of a float
- [#567]: Control characters are not permitted in comments
Expand Down Expand Up @@ -230,7 +230,7 @@ though you're welcome to reach out via other means. In order of likely response
[TOML]: https://toml.io/
[TOML master]: https://github.com/toml-lang/toml/blob/master/README.md
[TOML issues list]: https://github.com/toml-lang/toml/issues
[v1.0.0-rc.3]: https://toml.io/en/v1.0.0-rc.3
[v1.0.0]: https://toml.io/en/v1.0.0
[CONTRIBUTING]: ./CONTRIBUTING.md
[LICENSE]: ./LICENSE
[Flexible and Economical UTF-8 Decoder]: http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
Expand Down
2 changes: 1 addition & 1 deletion docs/badge-TOML.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions docs/main_page.dox
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//////////////////////////////////////////////////////////////////////
///
/// \section mainpage-features Features
/// - Supports the latest [TOML](https://toml.io/) release ([v1.0.0-rc.3](https://toml.io/en/v1.0.0-rc.3)), plus
/// - Supports the latest [TOML](https://toml.io/) release ([v1.0.0](https://toml.io/en/v1.0.0)), plus
/// optional support for some unreleased TOML features
/// - Supports serializing to JSON
/// - Proper UTF-8 handling (incl. BOM)
Expand Down Expand Up @@ -316,7 +316,7 @@
/// auto tbl = toml::table{{
/// { "lib", "toml++" },
/// { "cpp", toml::array{ 17, 20, "and beyond" } },
/// { "toml", toml::array{ "1.0.0-rc.3", "and beyond" } },
/// { "toml", toml::array{ "1.0.0", "and beyond" } },
/// { "repo", "https://github.com/marzer/tomlplusplus/" },
/// { "author", toml::table{{
/// { "name", "Mark Gillard" },
Expand All @@ -343,7 +343,7 @@
/// cpp = [ 17, 20, 'and beyond' ]
/// lib = 'toml++'
/// repo = 'https://github.com/marzer/tomlplusplus/'
/// toml = [ '1.0.0-rc.3', 'and beyond' ]
/// toml = [ '1.0.0', 'and beyond' ]
///
/// [author]
/// github = 'https://github.com/marzer'
Expand All @@ -366,7 +366,7 @@
/// "lib" : "toml++",
/// "repo" : "https://github.com/marzer/tomlplusplus/",
/// "toml" : [
/// "1.0.0-rc.3",
/// "1.0.0",
/// "and beyond"
/// ]
/// }
Expand Down
4 changes: 2 additions & 2 deletions python/generate_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@
'https://en.cppreference.com/w/cpp/compiler_support'
),
(
'TOML v1.0.0-rc.3',
'TOML v1.0.0',
'badge-TOML.svg',
'https://toml.io/en/v1.0.0-rc.3'
'https://toml.io/en/v1.0.0'
),
(None, None, None), # <br>
(
Expand Down
1 change: 1 addition & 0 deletions python/generate_single_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def main():
preamble.append('''
// TOML Language Specifications:
// latest: https://github.com/toml-lang/toml/blob/master/README.md
// v1.0.0: https://toml.io/en/v1.0.0
// v1.0.0-rc.3: https://toml.io/en/v1.0.0-rc.3
// v1.0.0-rc.2: https://toml.io/en/v1.0.0-rc.2
// v1.0.0-rc.1: https://toml.io/en/v1.0.0-rc.1
Expand Down
1 change: 1 addition & 0 deletions toml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
//
// TOML Language Specifications:
// latest: https://github.com/toml-lang/toml/blob/master/README.md
// v1.0.0: https://toml.io/en/v1.0.0
// v1.0.0-rc.3: https://toml.io/en/v1.0.0-rc.3
// v1.0.0-rc.2: https://toml.io/en/v1.0.0-rc.2
// v1.0.0-rc.1: https://toml.io/en/v1.0.0-rc.1
Expand Down

0 comments on commit 5a9166b

Please sign in to comment.