aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/ryml/changelog/0.2.3.md
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/ryml/changelog/0.2.3.md')
-rw-r--r--thirdparty/ryml/changelog/0.2.3.md285
1 files changed, 0 insertions, 285 deletions
diff --git a/thirdparty/ryml/changelog/0.2.3.md b/thirdparty/ryml/changelog/0.2.3.md
deleted file mode 100644
index 268ebd3ec..000000000
--- a/thirdparty/ryml/changelog/0.2.3.md
+++ /dev/null
@@ -1,285 +0,0 @@
-This release is focused on bug fixes and compliance with the [YAML test suite](https://github.com/yaml/yaml-test-suite).
-
-### New features
-- Add support for CPU architectures aarch64, ppc64le, s390x.
-- Update c4core to [0.1.7](https://github.com/biojppm/c4core/releases/tag/v0.1.7)
-- `Tree` and `NodeRef`: add document getter `doc()` and `docref()`
- ```c++
- Tree tree = parse(R"(---
- doc0
- ---
- doc1
- )");
- NodeRef stream = t.rootref();
- assert(stream.is_stream());
- // tree.doc(i): get the index of the i-th doc node.
- // Equivalent to tree.child(tree.root_id(), i)
- assert(tree.doc(0) == 1u);
- assert(tree.doc(1) == 2u);
- // tree.docref(i), same as above, return NodeRef
- assert(tree.docref(0).val() == "doc0");
- assert(tree.docref(1).val() == "doc1");
- // stream.doc(i), same as above, given NodeRef
- assert(stream.doc(0).val() == "doc0");
- assert(stream.doc(1).val() == "doc1");
- ```
-
-### Fixes
-
-- Fix compilation with `C4CORE_NO_FAST_FLOAT` ([PR #163](https://github.com/biojppm/rapidyaml/pull/163))
-
-#### Flow maps
-
-- Fix parse of multiline plain scalars inside flow maps ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- # test case UT92
- # all parsed as "matches %": 20
- - { matches
- % : 20 }
- - { matches
- %: 20 }
- - { matches
- %:
- 20 }
- ```
-
-
-#### Tags
-
-- Fix parsing of tags followed by comments in sequences ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- # test case 735Y
- - !!map # Block collection
- foo : bar
- ```
-
-#### Quoted scalars
-- Fix filtering of tab characters in quoted scalars ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- ---
- # test case 5GBF
- "Empty line
- <TAB>
- as a line feed"
- # now correctly parsed as "Empty line\nas a line feed"
- ---
- # test case PRH3
- ' 1st non-empty
-
- <SPC>2nd non-empty<SPC>
- <TAB>3rd non-empty '
- # now correctly parsed as " 1st non-empty\n2nd non-empty 3rd non-empty "
- ```
-- Fix filtering of backslash characters in double-quoted scalars ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- # test cases NP9H, Q8AD
- "folded<SPC>
- to a space,<TAB>
- <SPC>
- to a line feed, or <TAB>\
- \ <TAB>non-content"
- # now correctly parsed as "folded to a space,\nto a line feed, or \t \tnon-content"
- ```
-- Ensure filtering of multiline quoted scalars ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- # all scalars now correctly parsed as "quoted string",
- # both for double and single quotes
- ---
- "quoted
- string"
- --- "quoted
- string"
- ---
- - "quoted
- string"
- ---
- - "quoted
- string"
- ---
- "quoted
- string": "quoted
- string"
- ---
- "quoted
- string": "quoted
- string"
- ```
-
-
-#### Block scalars
-- Ensure no newlines are added when emitting block scalars ([PR #161](https://github.com/biojppm/rapidyaml/pull/161))
-- Fix parsing of block spec with both chomping and indentation: chomping may come before or after the indentation ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- # the block scalar specs below now have the same effect.
- # test cases: D83L, P2AD
- - |2-
- explicit indent and chomp
- - |-2
- chomp and explicit indent
- ```
-- Fix [inference of block indentation](https://yaml.org/spec/1.2.2/#8111-block-indentation-indicator) with leading blank lines ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- # test cases: 4QFQ, 7T8X
- - >
-
-
- # child1
- # parsed as "\n\n child1"
- --- # test case DWX9
- |
-
-
- literal
-
-
- text
-
- # Comment
- # parsed as "\n\nliteral\n \n\ntext\n"
- ```
-- Fix parsing of same-indentation block scalars ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- # test case W4TN
- # all docs have the same value: "%!PS-Adobe-2.0"
- --- |
- %!PS-Adobe-2.0
- ...
- --- >
- %!PS-Adobe-2.0
- ...
- --- |
- %!PS-Adobe-2.0
- ...
- --- >
- %!PS-Adobe-2.0
- ...
- --- |
- %!PS-Adobe-2.0
- --- >
- %!PS-Adobe-2.0
- --- |
- %!PS-Adobe-2.0
- --- >
- %!PS-Adobe-2.0
- ```
-- Folded block scalars: fix folding of newlines at the border of indented parts ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- # test case 6VJK
- # now correctly parsed as "Sammy Sosa completed another fine season with great stats.\n\n 63 Home Runs\n 0.288 Batting Average\n\nWhat a year!\n"
- >
- Sammy Sosa completed another
- fine season with great stats.
-
- 63 Home Runs
- 0.288 Batting Average
-
- What a year!
- ---
- # test case MJS9
- # now correctly parsed as "foo \n\n \t bar\n\nbaz\n"
- >
- foo<SPC>
- <SPC>
- <SPC><TAB><SPC>bar
-
- baz
- ```
-- Folded block scalars: fix folding of newlines when the indented part is at the begining of the scalar ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- # test case F6MC
- a: >2
- more indented
- regular
- # parsed as a: " more indented\nregular\n"
- b: >2
-
-
- more indented
- regular
- # parsed as b: "\n\n more indented\nregular\n"
- ```
-
-#### Plain scalars
-- Fix parsing of whitespace within plain scalars ([PR #161](https://github.com/biojppm/rapidyaml/pull/161)):
- ```yaml
- ---
- # test case NB6Z
- key:
- value
- with
-
- tabs
- tabs
-
- foo
-
- bar
- baz
-
- # is now correctly parsed as "value with\ntabs tabs\nfoo\nbar baz"
- ---
- # test case 9YRD, EX5H (trailing whitespace)
- a
- b
- c
- d
-
- e
- # is now correctly parsed as "a b c d\ne"
- ```
-- Fix parsing of unindented plain scalars at the root level scope ([PR #161](https://github.com/biojppm/rapidyaml/pull/161))
- ```yaml
- --- # this parsed
- Bare
- scalar
- is indented
- # was correctly parsed as "Bare scalar is indented"
- --- # but this failed to parse successfully:
- Bare
- scalar
- is not indented
- # is now correctly parsed as "Bare scalar is not indented"
- --- # test case NB6Z
- value
- with
-
- tabs
- tabs
-
- foo
-
- bar
- baz
-
- # now correctly parsed as "value with\ntabs tabs\nfoo\nbar baz"
- ---
- --- # test cases EXG3, 82AN
- ---word1
- word2
- # now correctly parsed as "---word1 word2"
- ```
-- Fix parsing of comments within plain scalars
- ```yaml
- # test case 7TMG
- --- # now correctly parsed as "word1"
- word1
- # comment
- --- # now correctly parsed as [word1, word2]
- [ word1
- # comment
- , word2]
- ```
-
-#### Python API
-- Add missing node predicates in SWIG API definition ([PR #166](https://github.com/biojppm/rapidyaml/pull/166)):
- - `is_anchor_or_ref()`
- - `is_key_quoted()`
- - `is_val_quoted()`
- - `is_quoted()`
-
-
-### Thanks
-
---- @mbs-c
---- @simu
---- @QuellaZhang