Skip to content

Commit 5ccf9a2

Browse files
committed
v0.7.1
1 parent e35b6dc commit 5ccf9a2

File tree

16 files changed

+68
-68
lines changed

16 files changed

+68
-68
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ project(ryml
66
LANGUAGES CXX)
77
include(./compat.cmake)
88

9-
c4_project(VERSION 0.7.0 STANDALONE
9+
c4_project(VERSION 0.7.1 STANDALONE
1010
AUTHOR "Joao Paulo Magalhaes <dev@jpmag.me>")
1111

1212

changelog/0.7.1.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
## New features
2+
3+
- [PR#459](https://github.com/biojppm/rapidyaml/pull/459): Add version functions and macros:
4+
```cpp
5+
#define RYML_VERSION "0.7.1"
6+
#define RYML_VERSION_MAJOR 0
7+
#define RYML_VERSION_MINOR 7
8+
#define RYML_VERSION_PATCH 1
9+
csubstr version();
10+
int version_major();
11+
int version_minor();
12+
int version_patch();
13+
```
14+
15+
## Fixes
16+
17+
- Fix [#455](https://github.com/biojppm/rapidyaml/issues/455): parsing of trailing val-less nested maps when deindented to maps ([PR#460](https://github.com/biojppm/rapidyaml/pull/460))
18+
- Fix filtering of double-quoted keys in block maps ([PR#452](https://github.com/biojppm/rapidyaml/pull/452))
19+
- Fix [#440](https://github.com/biojppm/rapidyaml/issues/440): some tests failing with gcc -O2 (hypothetically due to undefined behavior)
20+
- This was accomplished by refactoring some internal parser functions; see the comments in [#440](https://github.com/biojppm/rapidyaml/issues/440) for further details.
21+
- Also, fix all warnings from `scan-build`.
22+
- Use malloc.h instead of alloca.h on MinGW ([PR#447](https://github.com/biojppm/rapidyaml/pull/447))
23+
- Fix [#442](https://github.com/biojppm/rapidyaml/issues/442) ([PR#443](https://github.com/biojppm/rapidyaml/pull/443)):
24+
- Ensure leading `+` is accepted when deserializing numbers.
25+
- Ensure numbers are not quoted by fixing the heuristics in `scalar_style_query_plain()` and `scalar_style_choose()`.
26+
- Add quickstart sample for overflow detection (only of integral types).
27+
- Parse engine: cleanup unused macros
28+
29+
30+
## Thanks
31+
32+
- @marcalff
33+
- @toge
34+
- @musicinmybrain
35+
- @buty4649

changelog/current.md

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +0,0 @@
1-
## New features
2-
3-
- [PR#459](https://github.com/biojppm/rapidyaml/pull/459): Add version functions and macros:
4-
```cpp
5-
#define RYML_VERSION "0.7.1"
6-
#define RYML_VERSION_MAJOR 0
7-
#define RYML_VERSION_MINOR 7
8-
#define RYML_VERSION_PATCH 1
9-
csubstr version();
10-
int version_major();
11-
int version_minor();
12-
int version_patch();
13-
```
14-
15-
## Fixes
16-
17-
- Fix [#455](https://github.com/biojppm/rapidyaml/issues/455): parsing of trailing val-less nested maps when deindented to maps ([PR#460](https://github.com/biojppm/rapidyaml/pull/460))
18-
- Fix filtering of double-quoted keys in block maps ([PR#452](https://github.com/biojppm/rapidyaml/pull/452))
19-
- Fix [#440](https://github.com/biojppm/rapidyaml/issues/440): some tests failing with gcc -O2 (hypothetically due to undefined behavior)
20-
- This was accomplished by refactoring some internal parser functions; see the comments in [#440](https://github.com/biojppm/rapidyaml/issues/440) for further details.
21-
- Also, fix all warnings from `scan-build`.
22-
- Use malloc.h instead of alloca.h on MinGW ([PR#447](https://github.com/biojppm/rapidyaml/pull/447))
23-
- Fix [#442](https://github.com/biojppm/rapidyaml/issues/442) ([PR#443](https://github.com/biojppm/rapidyaml/pull/443)):
24-
- Ensure leading `+` is accepted when deserializing numbers.
25-
- Ensure numbers are not quoted by fixing the heuristics in `scalar_style_query_plain()` and `scalar_style_choose()`.
26-
- Add quickstart sample for overflow detection (only of integral types).
27-
- Parse engine: cleanup unused macros
28-
29-
30-
## Thanks
31-
32-
- @marcalff
33-
- @toge
34-
- @musicinmybrain
35-
- @buty4649

doc/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PROJECT_NAME = rapidyaml
4848
# could be handy for archiving the generated documentation or if some version
4949
# control system is used.
5050

51-
PROJECT_NUMBER = 0.7.0
51+
PROJECT_NUMBER = 0.7.1
5252

5353
# Using the PROJECT_BRIEF tag one can provide an optional one line description
5454
# for a project that appears at the top of each page and should give viewer a

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
project = 'rapidyaml'
1111
copyright = '2018-2024 Joao Paulo Magalhaes <dev@jpmag.me>'
1212
author = 'Joao Paulo Magalhaes <dev@jpmag.me>'
13-
release = '0.7.0'
13+
release = '0.7.1'
1414

1515
# -- General configuration ---------------------------------------------------
1616
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

doc/doxy_main.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# rapidyaml
22

3-
* Begin by looking at the [project's README](https://github.com/biojppm/rapidyaml/blob/v0.7.0/README.md)
3+
* Begin by looking at the [project's README](https://github.com/biojppm/rapidyaml/blob/v0.7.1/README.md)
44
* [Documentation page](https://rapidyaml.readthedocs.org)
55
* Next, skim the docs for the @ref doc_quickstart sample.
66
* Good! Now the main ryml topics:

doc/sphinx_is_it_rapid.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ faster.
2525
nicely as claimed here, we would definitely like to see it! Please
2626
open an issue, or submit a pull request adding the file to
2727
`bm/cases
28-
<https://github.com/biojppm/rapidyaml/blob/v0.7.0/bm/cases>`__, or
28+
<https://github.com/biojppm/rapidyaml/blob/v0.7.1/bm/cases>`__, or
2929
just send us the files.
3030

3131
`Here’s a parsing benchmark
32-
<https://github.com/biojppm/rapidyaml/blob/v0.7.0/bm/bm_parse.cpp>`__. Using
32+
<https://github.com/biojppm/rapidyaml/blob/v0.7.1/bm/bm_parse.cpp>`__. Using
3333
different approaches within ryml (in-situ/read-only vs. with/without
3434
reuse), a YAML / JSON buffer is repeatedly parsed, and compared
3535
against other libraries.
@@ -40,7 +40,7 @@ Comparison with yaml-cpp
4040

4141
The first result set is for Windows, and is using a `appveyor.yml
4242
config file
43-
<https://github.com/biojppm/rapidyaml/blob/v0.7.0/bm/cases/appveyor.yml>`__. A
43+
<https://github.com/biojppm/rapidyaml/blob/v0.7.1/bm/cases/appveyor.yml>`__. A
4444
comparison of these results is summarized on the table below:
4545

4646
=========================== ===== ======= ==========
@@ -52,11 +52,11 @@ appveyor / vs2017 / Debug 6.4 0.0844 76x / 1.3%
5252

5353
The next set of results is taken in Linux, comparing g++ 8.2 and
5454
clang++ 7.0.1 in parsing a YAML buffer from a `travis.yml config file
55-
<https://github.com/biojppm/rapidyaml/blob/v0.7.0/bm/cases/travis.yml>`__
55+
<https://github.com/biojppm/rapidyaml/blob/v0.7.1/bm/cases/travis.yml>`__
5656
or a JSON buffer from a `compile_commands.json file
57-
<https://github.com/biojppm/rapidyaml/blob/v0.7.0/bm/cases/compile_commands.json>`__. You
57+
<https://github.com/biojppm/rapidyaml/blob/v0.7.1/bm/cases/compile_commands.json>`__. You
5858
can `see the full results here
59-
<https://github.com/biojppm/rapidyaml/blob/v0.7.0/bm/results/parse.linux.i7_6800K.md>`__. Summarizing:
59+
<https://github.com/biojppm/rapidyaml/blob/v0.7.1/bm/results/parse.linux.i7_6800K.md>`__. Summarizing:
6060

6161
========================== ===== ======= ========
6262
Read rates (MB/s) ryml yamlcpp compared
@@ -89,9 +89,9 @@ So how does ryml compare against other JSON readers? Well, it may not
8989
be the fastest, but it's definitely ahead of the pack!
9090

9191
The benchmark is the `same as above
92-
<https://github.com/biojppm/rapidyaml/blob/v0.7.0/bm/bm_parse.cpp>`__,
92+
<https://github.com/biojppm/rapidyaml/blob/v0.7.1/bm/bm_parse.cpp>`__,
9393
and it is reading the `compile_commands.json
94-
<https://github.com/biojppm/rapidyaml/blob/v0.7.0/bm/cases/compile_commands.json>`__,
94+
<https://github.com/biojppm/rapidyaml/blob/v0.7.1/bm/cases/compile_commands.json>`__,
9595
The ``_arena`` suffix notes parsing a read-only buffer (so buffer
9696
copies are performed), while the ``_inplace`` suffix means that the
9797
source buffer can be parsed in place. The ``_reuse`` means the data
@@ -131,7 +131,7 @@ Performance emitting
131131
--------------------
132132

133133
`Emitting benchmarks
134-
<https://github.com/biojppm/rapidyaml/blob/v0.7.0/bm/bm_emit.cpp>`__
134+
<https://github.com/biojppm/rapidyaml/blob/v0.7.1/bm/bm_emit.cpp>`__
135135
also show similar speedups from the existing libraries, also
136136
anecdotally reported by some users `(eg, here’s a user reporting 25x
137137
speedup from yaml-cpp)

doc/sphinx_quicklinks.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ Quick links
1515

1616
* `Kanban board <https://github.com/users/biojppm/projects/1/views/1>`_
1717

18-
* Latest release: `0.7.0 <https://github.com/biojppm/rapidyaml/releases/tag/v0.7.0>`_
18+
* Latest release: `0.7.1 <https://github.com/biojppm/rapidyaml/releases/tag/v0.7.1>`_
1919

20-
* `Release page [0.7.0] <https://github.com/biojppm/rapidyaml/releases/tag/v0.7.0>`_
20+
* `Release page [0.7.1] <https://github.com/biojppm/rapidyaml/releases/tag/v0.7.1>`_
2121

22-
* `README [0.7.0] <https://github.com/biojppm/rapidyaml/blob/v0.7.0/README.md>`_
22+
* `README [0.7.1] <https://github.com/biojppm/rapidyaml/blob/v0.7.1/README.md>`_
2323

2424
* Since latest release (master branch):
2525

doc/sphinx_try_quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
include(FetchContent)
1212
FetchContent_Declare(ryml
1313
GIT_REPOSITORY https://github.com/biojppm/rapidyaml.git
14-
GIT_TAG v0.7.0
14+
GIT_TAG v0.7.1
1515
GIT_SHALLOW FALSE # ensure submodules are checked out
1616
)
1717
FetchContent_MakeAvailable(ryml)

doc/sphinx_using.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Quickstart build samples
77

88
These samples show different ways of getting ryml into your application.
99
All the samples use `the same quickstart executable
10-
source <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/quickstart.cpp>`__, but are built in different ways,
10+
source <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/quickstart.cpp>`__, but are built in different ways,
1111
showing several alternatives to integrate ryml into your project. We
1212
also encourage you to refer to the `quickstart
1313
docs <doxygen/group__doc__quickstart.html>`__, which extensively cover
@@ -29,19 +29,19 @@ more about each sample:
2929
+-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+
3030
| Sample name | ryml is part of build? | cmake file | commands |
3131
+=================================================================================================+==================================+==============================================================================================================+=============================================================================================================+
32-
| `singleheader <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/singleheader>`_ | | **yes** | `CMakeLists.txt <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/singleheader/CMakeLists.txt>`_ | `run.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/singleheader/run.sh>`_ |
32+
| `singleheader <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/singleheader>`_ | | **yes** | `CMakeLists.txt <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/singleheader/CMakeLists.txt>`_ | `run.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/singleheader/run.sh>`_ |
3333
| | | ryml brought as a single | | |
3434
| | | header, not as a library | | |
3535
+-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+
36-
| `singleheaderlib <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/singleheaderlib>`_ | | **yes** | `CMakeLists.txt <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/singleheaderlib/CMakeLists.txt>`_ | | `run_shared.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/singleheaderlib/run_shared.sh>`_ |
37-
| | | ryml brought as library | | | `run_static.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/singleheaderlib/run_static.sh>`_ |
36+
| `singleheaderlib <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/singleheaderlib>`_ | | **yes** | `CMakeLists.txt <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/singleheaderlib/CMakeLists.txt>`_ | | `run_shared.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/singleheaderlib/run_shared.sh>`_ |
37+
| | | ryml brought as library | | | `run_static.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/singleheaderlib/run_static.sh>`_ |
3838
| | | but from the single header | | |
3939
+-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+
40-
| `add_subdirectory <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/add_subdirectory>`_ | **yes** | `CMakeLists.txt <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/add_subdirectory/CMakeLists.txt>`_ | `run.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/add_subdirectory/run.sh>`_ |
40+
| `add_subdirectory <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/add_subdirectory>`_ | **yes** | `CMakeLists.txt <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/add_subdirectory/CMakeLists.txt>`_ | `run.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/add_subdirectory/run.sh>`_ |
4141
+-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+
42-
| `fetch_content <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/fetch_content>`_ | **yes** | `CMakeLists.txt <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/fetch_content/CMakeLists.txt>`_ | `run.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/fetch_content/run.sh>`_ |
42+
| `fetch_content <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/fetch_content>`_ | **yes** | `CMakeLists.txt <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/fetch_content/CMakeLists.txt>`_ | `run.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/fetch_content/run.sh>`_ |
4343
+-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+
44-
| `find_package <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/find_package>`_ | | **no** | `CMakeLists.txt <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/find_package/CMakeLists.txt>`_ | `run.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/find_package/run.sh>`_ |
44+
| `find_package <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/find_package>`_ | | **no** | `CMakeLists.txt <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/find_package/CMakeLists.txt>`_ | `run.sh <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/find_package/run.sh>`_ |
4545
| | | needs prior install or package | | |
4646
+-------------------------------------------------------------------------------------------------+----------------------------------+--------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------+
4747

@@ -51,7 +51,7 @@ As a single-header
5151

5252
ryml is provided chiefly as a cmake library project, but it can also
5353
be used as a single header file, and there is a `tool to amalgamate
54-
<https://github.com/biojppm/rapidyaml/blob/v0.7.0/tools/amalgamate.py>`__
54+
<https://github.com/biojppm/rapidyaml/blob/v0.7.1/tools/amalgamate.py>`__
5555
the code into a single header file. The amalgamated header file is
5656
provided with each release, but you can also generate a customized
5757
file suiting your particular needs (or commit):
@@ -185,7 +185,7 @@ that c4core is a submodule of the current repo. However, it is still
185185
possible to use a c4core version different from the one in the repo (of
186186
course, only if there are no incompatibilities between the versions).
187187
You can find out how to achieve this by looking at the
188-
`custom_c4core sample <https://github.com/biojppm/rapidyaml/blob/v0.7.0/samples/custom_c4core/CMakeLists.txt>`__.
188+
`custom_c4core sample <https://github.com/biojppm/rapidyaml/blob/v0.7.1/samples/custom_c4core/CMakeLists.txt>`__.
189189

190190

191191
CMake build settings for ryml

0 commit comments

Comments
 (0)