saphyr-serde/parser/CHANGELOG.md

53 lines
1.6 KiB
Markdown
Raw Normal View History

# Changelog
## Upcoming
**Breaking Changes**:
2024-10-20 16:53:32 +00:00
- 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**:
2024-10-20 16:53:32 +00:00
- 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.
2024-06-13 20:18:27 +00:00
**Fixes**:
2024-10-20 16:53:32 +00:00
- 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
2024-06-13 20:18:27 +00:00
**Internal changes**:
2024-10-20 16:53:32 +00:00
- Run all tests with both `Input` backends
- #15: Add fuzzing
2024-06-13 20:18:27 +00:00
## v0.0.2
2024-06-13 20:18:27 +00:00
This release does not provide much but is needed for the `saphyr` library to
depend on the new features.
2024-06-13 20:18:27 +00:00
**Breaking Changes**:
**Features**:
2024-06-13 20:18:27 +00:00
- Add `Marker::default()`
- Rework string handling in `ScanError`
2024-06-13 20:18:27 +00:00
**Fixes**:
- [yaml-rust2 #21](https://github.com/Ethiraric/yaml-rust2/issues/21#issuecomment-2053513507)
Fix parser failing when a comment immediately follows a tag.
2024-06-13 20:18:27 +00:00
**Internal changes**:
- Various readability improvements and code cleanups