From d2957778997b51a6cf2bc239aa178bfd9d4d4c4d Mon Sep 17 00:00:00 2001 From: Ethiraric Date: Sun, 20 Oct 2024 18:53:32 +0200 Subject: [PATCH] Add changelog entries. --- parser/CHANGELOG.md | 23 +++++++++++++++++++++++ saphyr/CHANGELOG.md | 5 +++++ 2 files changed, 28 insertions(+) diff --git a/parser/CHANGELOG.md b/parser/CHANGELOG.md index d372f97..4ee897d 100644 --- a/parser/CHANGELOG.md +++ b/parser/CHANGELOG.md @@ -4,12 +4,35 @@ **Breaking Changes**: +- 926fdfb: Events now use spans rather than markers, allowing for tracking both + the beginning and the end of scalars. +- 6c57b5b: Add a boolean to `DocumentStart` to know whether the start was + explicit (`---`) or implicit. + **Features**: +- Add an `Input` interface to prepare the ground to future input-specific. + optimizations (such as returning `Cow`'d strings when possible). This also + potentially allows for user-defined optimizations. +- Add `Parser::new_from_iter` to load from an iterator. This automatically + wraps using `BufferedInput`, which implements the new `Input` trait the + `Parser` needs. + **Fixes**: +- 750c992: Add support for nested implicit flow mappings. +- 11cffc6: Fix error with deeply indented block scalars. +- d3b9641: Fix assertion that could erroneously trigger with multibyte + characters. +- 95fe3fe: Fix parse errors when `---` appeared in the middle of plain scalars. +- 3358629: Fix infinite loop with `...` in plain scalars in flow contexts. +- Fix panics on other various erroneous inputs found while fuzzing + **Internal changes**: +- Run all tests with both `Input` backends +- #15: Add fuzzing + ## v0.0.2 This release does not provide much but is needed for the `saphyr` library to diff --git a/saphyr/CHANGELOG.md b/saphyr/CHANGELOG.md index a3ee6bc..c874cd7 100644 --- a/saphyr/CHANGELOG.md +++ b/saphyr/CHANGELOG.md @@ -3,6 +3,7 @@ ## Upcoming **Breaking Changes**: + - Move `load_from_*` methods out of the `YamlLoader`. Now, `YamlLoader` gained a generic parameter. Moving those functions out of it spares having to manually specify the generic in `YamlLoader::::load_from_str`. @@ -39,6 +40,10 @@ This feature is extensible and should allow (later) to add comments. +**Fixes**: + +- 1fc4692: Fix trailing newlines when emitting multiline strings. + ## v0.8.0 **Breaking Changes**: