Releases: scouten/asciidoc-parser
Releases · scouten/asciidoc-parser
v0.4.0
27 April 2025
Major change
In this release, I replaced the previous "inline content" model with a new Content
model which more accurately matches the manner in which Asciidoc handles content substitutions.
Added
- Change
RawDelimitedBlock
to useContent
for its inner body (#238) - Introduce
Content
model for rendered block content (#236) - Plumb
&mut Parser
through to the block-level parsers (#235) - Add internal
AttributeValue
struct for a single document attribute value (#232) - [breaking] Introduce new
Parser
struct which can configure and initiate parsing (#233) - [breaking] Rename
AttributeValue
toInterpretedValue
(#229) - [breaking] Remove inline content model (#228)
- Add new fn
Span::take_non_empty_lines
(#225)
v0.3.1
v0.3.0
11 April 2025
Added
- Check block anchor name for valid XML name characters (#208)
- Add support for block anchor syntax (#205)
- Add
options
accessor toIsBlock
trait (#198) - Add
options
accessor toAttrlist
(#197) - Add
roles
accessor toIsBlock
trait (#195) - Add
roles
accessor toAttrlist
(#193) - Bump MSRV to 1.81.0 (#194)
- Add method
IsBlock::id()
(#184) - Add new trait function
IsBlock::resolved_style
(#182) - Add new method
IsBlock::declared_style
(#179) - Rename
IsBlock::context
toraw_context
(#178)
Fixed
- Add coverage for positional attributes in spec (#202)
Other
- Fix link to AsciiDoc repo
- Add license info for AsciiDoc language snapshot
v0.2.0
30 November 2024
Added
- Parse attribute lists for blocks (#164)
- Add support for block titles using
.(title)
syntax (#158) - SDD: Delimited blocks (#157)
- Add support for compound delimited blocks (#150)
Fixed
- Add coverage for a missing case of
TInline::Span
- Resolve new Clippy warnings for Rust 1.83 (#161)
- Do not treat triple-hyphen as a delimiter for open block (#156)
Span.trim_remainder
gave incorrect result ifafter
was incomplete subset ofself
(#147)
Updated dependencies
- Update thiserror requirement from 1.0.63 to 2.0.1 (#152)