Skip to content

Releases: posit-dev/quarto-error-reporting

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 19 Sep 20:56
287d645

What's Changed

  • Bump quarto-source-map to 0.2.0; release 0.3.0 by @cscheid in #6

Full Changelog: v0.2.2...v0.3.0

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 22 Aug 14:04
87f1d38

What's Changed

  • Snap renderer spans to char boundaries; take source-map 0.1.3 floor; cut 0.2.2 by @gordonwoodhull in #5

New Contributors

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 31 Jul 21:55
2f6ed04

What's Changed

  • Add CI release workflow (crates.io Trusted Publishing) by @cscheid in #2
  • Coalesce by resolved file path, not raw FileId; release 0.2.1 by @cscheid in #4

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@cscheid cscheid released this 29 Jun 16:09

Pluggable, feature-gated source-context renderer

Adds annotate-snippets (the rust-lang toolchain's diagnostic style) as an alternative to ariadne, selectable at runtime — no breaking change to the public API.

  • Cargo features: ariadne (default-on, unchanged) and annotate-snippets (opt-in). Both deps are optional.
  • SourceRenderer enum + DiagnosticMessage::to_text_with_renderer(ctx, &opts, Option<SourceRenderer>). to_text / to_text_with_options delegate with None, so existing callers are untouched.
  • Annotate-snippets path renders the native error[CODE]: / --> / ^^^ look.

By-design deltas in the annotate-snippets path: no OSC 8 hyperlinks; detail labels render as Context (no per-DetailKind color / Fixed(249) faded blend); empty padding-details skipped (native folding). The JSON wire shape (rendered) is unchanged — it still uses the default renderer.

Also adds cargo xtask verify (local CI mirror) and excludes internal tooling/docs from the published crate.

Full PR: #1