Miette Versions Save

Fancy extension for std::error::Error with pretty, detailed diagnostic printing.

v5.4.1

1 year ago

Bug Fixes

  • graphical: Fix panic with zero-width span at end of line (#204) (b8810ee3)

v5.4.0

1 year ago

Features

  • version: declare minimum supported rust version at 1.56.0 (#209) (ac02a124)
  • report: Report::new_boxed (0660d2f4)
  • error: impl AsRef<dyn StdError> for Report (1a27033d)

Bug Fixes

  • wrapper: complete forwarding Diagnostic implementations (3fc5c04c)

v5.3.1

1 year ago

Bug Fixes

  • miri: Resolve Miri's concerns around unsafe code (#197) (5f3429b0)
  • graphical: Align highlights correctly with wide unicode characters and tabs (#202) (196c09ce)

v5.3.0

1 year ago

Bug Fixes

  • utils: Fix off-by-one error in SourceOffset::from_location (#190) (c3e6c983)

Features

  • graphical: Allow miette users to opt-out of the rendering of the cause chain (#192) (b9ea5871)

v5.2.0

1 year ago

Features

  • json: causes support (#188) (c95f58c8)

Bug Fixes

  • docs: readme was getting cut off during generation (e286c705)

v5.1.1

1 year ago

Bug Fixes

  • deps: bump minimum supports-color version (#182) (ccf1b8ad)
  • graphical: handle an empty source (#183) (12dc4007)

v5.1.0

1 year ago

Features

  • protocol: Implement SourceCode for Arc (and similar types) (#181) (85da6a84)

v5.0.0

1 year ago

Breaking Changes

  • theme: restructure automatic color selection (#177) (1816b06a)
    • The default theme now prefers ANSI colors, even if RGB is supported
    • MietteHandlerOpts::ansi_colors is removed
    • MietteHandlerOpts::rgb_color now takes an enum that controls the color format used when color support is enabled, and has no effect otherwise.

Bug Fixes

  • json: Don't escape single-quotes, that's not valid json (#180) (b193d3c0)

v4.7.1

2 years ago

Bug Fixes

  • tests: add Display impl to diagnostic_source example (0a4cf4ad)

v4.7.0

2 years ago

Features

  • diagnostic_source: add protocol method for Diagnostic-aware source chaining (#165) (bc449c84)

Documentation

  • IntoDiagnostic: Warn of potential data loss (#161) (2451ad6a)