diff --git a/CMakeLists.txt b/CMakeLists.txt index 06961b71..d80b3952 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ project(ryml LANGUAGES CXX) include(./compat.cmake) -c4_project(VERSION 0.7.1 STANDALONE +c4_project(VERSION 0.7.2 STANDALONE AUTHOR "Joao Paulo Magalhaes ") diff --git a/changelog/0.7.2.md b/changelog/0.7.2.md new file mode 100644 index 00000000..714999d7 --- /dev/null +++ b/changelog/0.7.2.md @@ -0,0 +1,8 @@ +## Fixes + +- Fix [#464](https://github.com/biojppm/rapidyaml/issues/464): test failures with g++14 -O2 in ppc64le ([PR#467](https://github.com/biojppm/rapidyaml/pull/467)) + + +## Thanks + +- @musicinmybrain diff --git a/changelog/current.md b/changelog/current.md index 714999d7..e69de29b 100644 --- a/changelog/current.md +++ b/changelog/current.md @@ -1,8 +0,0 @@ -## Fixes - -- Fix [#464](https://github.com/biojppm/rapidyaml/issues/464): test failures with g++14 -O2 in ppc64le ([PR#467](https://github.com/biojppm/rapidyaml/pull/467)) - - -## Thanks - -- @musicinmybrain diff --git a/doc/Doxyfile b/doc/Doxyfile index 45caccd0..7e87cea9 100644 --- a/doc/Doxyfile +++ b/doc/Doxyfile @@ -48,7 +48,7 @@ PROJECT_NAME = rapidyaml # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 0.7.1 +PROJECT_NUMBER = 0.7.2 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/doc/conf.py b/doc/conf.py index c3b3f6cc..f79ceb89 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -10,7 +10,7 @@ project = 'rapidyaml' copyright = '2018-2024 Joao Paulo Magalhaes ' author = 'Joao Paulo Magalhaes ' -release = '0.7.1' +release = '0.7.2' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/doc/doxy_main.md b/doc/doxy_main.md index d27992cb..c3558dca 100644 --- a/doc/doxy_main.md +++ b/doc/doxy_main.md @@ -1,6 +1,6 @@ # rapidyaml -* Begin by looking at the [project's README](https://github.com/biojppm/rapidyaml/blob/v0.7.1/README.md) +* Begin by looking at the [project's README](https://github.com/biojppm/rapidyaml/blob/v0.7.2/README.md) * [Documentation page](https://rapidyaml.readthedocs.org) * Next, skim the docs for the @ref doc_quickstart sample. * Good! Now the main ryml topics: diff --git a/doc/sphinx_is_it_rapid.rst b/doc/sphinx_is_it_rapid.rst index eb1d38f4..dd8867f8 100644 --- a/doc/sphinx_is_it_rapid.rst +++ b/doc/sphinx_is_it_rapid.rst @@ -25,11 +25,11 @@ faster. nicely as claimed here, we would definitely like to see it! Please open an issue, or submit a pull request adding the file to `bm/cases - `__, or + `__, or just send us the files. `Here’s a parsing benchmark -`__. Using +`__. Using different approaches within ryml (in-situ/read-only vs. with/without reuse), a YAML / JSON buffer is repeatedly parsed, and compared against other libraries. @@ -40,7 +40,7 @@ Comparison with yaml-cpp The first result set is for Windows, and is using a `appveyor.yml config file -`__. A +`__. A comparison of these results is summarized on the table below: =========================== ===== ======= ========== @@ -52,11 +52,11 @@ appveyor / vs2017 / Debug 6.4 0.0844 76x / 1.3% The next set of results is taken in Linux, comparing g++ 8.2 and clang++ 7.0.1 in parsing a YAML buffer from a `travis.yml config file -`__ +`__ or a JSON buffer from a `compile_commands.json file -`__. You +`__. You can `see the full results here -`__. Summarizing: +`__. Summarizing: ========================== ===== ======= ======== Read rates (MB/s) ryml yamlcpp compared @@ -89,9 +89,9 @@ So how does ryml compare against other JSON readers? Well, it may not be the fastest, but it's definitely ahead of the pack! The benchmark is the `same as above -`__, +`__, and it is reading the `compile_commands.json -`__, +`__, The ``_arena`` suffix notes parsing a read-only buffer (so buffer copies are performed), while the ``_inplace`` suffix means that the source buffer can be parsed in place. The ``_reuse`` means the data @@ -131,7 +131,7 @@ Performance emitting -------------------- `Emitting benchmarks -`__ +`__ also show similar speedups from the existing libraries, also anecdotally reported by some users `(eg, here’s a user reporting 25x speedup from yaml-cpp) diff --git a/doc/sphinx_quicklinks.rst b/doc/sphinx_quicklinks.rst index 2ce66ea3..1ca69aba 100644 --- a/doc/sphinx_quicklinks.rst +++ b/doc/sphinx_quicklinks.rst @@ -15,11 +15,11 @@ Quick links * `Kanban board `_ -* Latest release: `0.7.1 `_ +* Latest release: `0.7.2 `_ - * `Release page [0.7.1] `_ + * `Release page [0.7.2] `_ - * `README [0.7.1] `_ + * `README [0.7.2] `_ * Since latest release (master branch): diff --git a/doc/sphinx_try_quickstart.rst b/doc/sphinx_try_quickstart.rst index 89051b1c..3c2e9da0 100644 --- a/doc/sphinx_try_quickstart.rst +++ b/doc/sphinx_try_quickstart.rst @@ -11,7 +11,7 @@ include(FetchContent) FetchContent_Declare(ryml GIT_REPOSITORY https://github.com/biojppm/rapidyaml.git - GIT_TAG v0.7.1 + GIT_TAG v0.7.2 GIT_SHALLOW FALSE # ensure submodules are checked out ) FetchContent_MakeAvailable(ryml) diff --git a/doc/sphinx_using.rst b/doc/sphinx_using.rst index c29e236e..1b8d0cd4 100644 --- a/doc/sphinx_using.rst +++ b/doc/sphinx_using.rst @@ -7,7 +7,7 @@ Quickstart build samples These samples show different ways of getting ryml into your application. All the samples use `the same quickstart executable -source `__, but are built in different ways, +source `__, but are built in different ways, showing several alternatives to integrate ryml into your project. We also encourage you to refer to the `quickstart docs `__, which extensively cover @@ -29,19 +29,19 @@ more about each sample: +-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ | Sample name | ryml is part of build? | cmake file | commands | +=================================================================================================+==================================+==============================================================================================================+=============================================================================================================+ -| `singleheader `_ | | **yes** | `CMakeLists.txt `_ | `run.sh `_ | +| `singleheader `_ | | **yes** | `CMakeLists.txt `_ | `run.sh `_ | | | | ryml brought as a single | | | | | | header, not as a library | | | +-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ -| `singleheaderlib `_ | | **yes** | `CMakeLists.txt `_ | | `run_shared.sh `_ | -| | | ryml brought as library | | | `run_static.sh `_ | +| `singleheaderlib `_ | | **yes** | `CMakeLists.txt `_ | | `run_shared.sh `_ | +| | | ryml brought as library | | | `run_static.sh `_ | | | | but from the single header | | | +-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ -| `add_subdirectory `_ | **yes** | `CMakeLists.txt `_ | `run.sh `_ | +| `add_subdirectory `_ | **yes** | `CMakeLists.txt `_ | `run.sh `_ | +-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ -| `fetch_content `_ | **yes** | `CMakeLists.txt `_ | `run.sh `_ | +| `fetch_content `_ | **yes** | `CMakeLists.txt `_ | `run.sh `_ | +-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ -| `find_package `_ | | **no** | `CMakeLists.txt `_ | `run.sh `_ | +| `find_package `_ | | **no** | `CMakeLists.txt `_ | `run.sh `_ | | | | needs prior install or package | | | +-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+ @@ -51,7 +51,7 @@ As a single-header ryml is provided chiefly as a cmake library project, but it can also be used as a single header file, and there is a `tool to amalgamate -`__ +`__ the code into a single header file. The amalgamated header file is provided with each release, but you can also generate a customized file suiting your particular needs (or commit): @@ -185,7 +185,7 @@ that c4core is a submodule of the current repo. However, it is still possible to use a c4core version different from the one in the repo (of course, only if there are no incompatibilities between the versions). You can find out how to achieve this by looking at the -`custom_c4core sample `__. +`custom_c4core sample `__. CMake build settings for ryml diff --git a/samples/quickstart.cpp b/samples/quickstart.cpp index 18cb18c6..06724aca 100644 --- a/samples/quickstart.cpp +++ b/samples/quickstart.cpp @@ -166,7 +166,7 @@ namespace sample { * include(FetchContent) * FetchContent_Declare(ryml * GIT_REPOSITORY https://github.com/biojppm/rapidyaml.git - * GIT_TAG v0.7.1 + * GIT_TAG v0.7.2 * GIT_SHALLOW FALSE # ensure submodules are checked out * ) * FetchContent_MakeAvailable(ryml) diff --git a/src/c4/yml/version.hpp b/src/c4/yml/version.hpp index 97434f5f..adbeb89d 100644 --- a/src/c4/yml/version.hpp +++ b/src/c4/yml/version.hpp @@ -3,10 +3,10 @@ /** @file version.hpp */ -#define RYML_VERSION "0.7.1" +#define RYML_VERSION "0.7.2" #define RYML_VERSION_MAJOR 0 #define RYML_VERSION_MINOR 7 -#define RYML_VERSION_PATCH 1 +#define RYML_VERSION_PATCH 2 #include #include diff --git a/tbump.toml b/tbump.toml index 03574181..055be7eb 100644 --- a/tbump.toml +++ b/tbump.toml @@ -5,7 +5,7 @@ github_url = "https://github.com/biojppm/rapidyaml/" [version] -current = "0.7.1" +current = "0.7.2" # Example of a semver regexp. # Make sure this matches current_version before diff --git a/test/test_install/CMakeLists.txt b/test/test_install/CMakeLists.txt index 62e554eb..83eefed9 100644 --- a/test/test_install/CMakeLists.txt +++ b/test/test_install/CMakeLists.txt @@ -4,7 +4,7 @@ project(ryml HOMEPAGE_URL "https://github.com/biojppm/rapidyaml" LANGUAGES CXX) include(../../ext/c4core/cmake/c4Project.cmake) -c4_project(VERSION 0.7.1 +c4_project(VERSION 0.7.2 AUTHOR "Joao Paulo Magalhaes ") diff --git a/test/test_singleheader/CMakeLists.txt b/test/test_singleheader/CMakeLists.txt index d43fdd74..5ad30ba3 100644 --- a/test/test_singleheader/CMakeLists.txt +++ b/test/test_singleheader/CMakeLists.txt @@ -4,7 +4,7 @@ project(ryml HOMEPAGE_URL "https://github.com/biojppm/rapidyaml" LANGUAGES CXX) include(../../ext/c4core/cmake/c4Project.cmake) -c4_project(VERSION 0.7.1 +c4_project(VERSION 0.7.2 AUTHOR "Joao Paulo Magalhaes ") # amalgamate ryml to get the single header