miette/CHANGELOG.md

3.4 KiB

0.3.1 (2021-08-11)

This is a tiny release to fix a reporter rendering bug.

Bug Fixes

  • reporter: fix missing newline before help text (9d430b6f)

0.3.0 (2021-08-08)

This version is the result of a lot of experimentation with getting the Diagnostic API right, particularly Diagnostic::snippets(), which is something that should be writable in several different ways. As such, it includes some breaking changes, but they shouldn't be too hard to figure out.

Breaking Changes

  • protocol:
    • improvements to snippets API (3584dc60)
    • help is a single Display ref now. (80e7dabb)

Bug Fixes

0.2.1 (2021-08-05)

I think this is the right thing to do re: From!

Bug Fixes

  • protocol: fix the default From<:T Diagnostic> implementation to cover more cases. (781a51f0)

0.2.0 (2021-08-05)

Starting to get some good feedback on the protocol and APIs, so some improvements were made.

Breaking changes

You might need to add + Send + Sync + 'static to your Box<dyn Diagnostic> usages now, since Diagnostic no longer constrains on any of them.

Additionally, Diagnostic::help(), Diagnostic::code(), and SpanContents have had signature changes that you'll need to adapt to.

  • protocol: protocol improvements after getting feedback (e955321c)
  • protocol: Make use of ? and return types with Diagnostics more ergonomic (50238d75)

0.1.0 (2021-08-05)

I'm really excited to put out this first release of miette! This version defines the current protocol and includes a basic snippet reporter. It's fully documented and ready to be used!

Disclaimer: This library is still under pretty heavy development, and you should only use this if you're interested in using something experimental. Any and all design comments and ideas are welcome over on GitHub

Bug Fixes

  • api: stop re-exporting random things wtf??? (2fb9f93c)
  • protocol: use references for all return values in Diagnostic (c3f41b97)

Features

  • protocol: sketched out a basic protocol (e2387ce2)
  • reporter: dummy reporter implementation + tests (a437f445)
  • span: make span end optional (1cb0ad38)

0.0.0 (2021-08-03)

Don't mind me, just parking this crate name.