Skip to content

Releases: scouten/asciidoc-parser

v0.4.0

27 Apr 19:26
4a98cfe
Compare
Choose a tag to compare

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 use Content 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 to InterpretedValue (#229)
  • [breaking] Remove inline content model (#228)
  • Add new fn Span::take_non_empty_lines (#225)

v0.3.1

14 Apr 03:55
338d267
Compare
Choose a tag to compare

14 April 2025

Fixed

  • Document attribute values that continue with + should include a line-end (#221)
  • User-defined attribute names may start with a digit (#220)
  • Enforce document attribute name restrictions (revert most of #215) (#218)
  • Document attribute names are free-form (#215)

v0.3.0

11 Apr 20:31
05f1c23
Compare
Choose a tag to compare

11 April 2025

Added

  • Check block anchor name for valid XML name characters (#208)
  • Add support for block anchor syntax (#205)
  • Add options accessor to IsBlock trait (#198)
  • Add options accessor to Attrlist (#197)
  • Add roles accessor to IsBlock trait (#195)
  • Add roles accessor to Attrlist (#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 to raw_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 Nov 19:23
d127f22
Compare
Choose a tag to compare

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 if after was incomplete subset of self (#147)

Updated dependencies

  • Update thiserror requirement from 1.0.63 to 2.0.1 (#152)

v0.1.1

26 Oct 22:33
35fe950
Compare
Choose a tag to compare

26 October 2024

Fixed

  • Copy/paste error in crate description

v0.1.0

26 Oct 22:28
cb097f2
Compare
Choose a tag to compare

26 October 2024

  • Initial public release of this crate. (Still very much a work-in-progress.)