Skip to content

Releases: zkat/miette

v4.6.0

05 May 16:00
82ffeef
Compare
Choose a tag to compare

Features

  • spans: add From shorthand for zero-length SourceSpans (1e1d6152)
  • related: print related prefixes according to severity (#158) (084ed138)

Bug Fixes

  • graphical: fix issue with duplicate labels when span len is 0 (#159) (1a36fa7e)

v4.5.0

18 Apr 05:55
dadd31f
Compare
Choose a tag to compare

Features

  • spans: make SourceSpan implement Copy (#151) (5e54b29a)
  • help: update macro to allow optional help text (#152) (45093c2f)
  • labels: allow optional labels in derive macro (#153) (23ee3642)
  • help: allow non-option values in #[help] fields (ea55f458)
  • label: use macro magic instead of optional flag for optional labels (9da62cd0)

Bug Fixes

  • theme: set correct field in MietteHandlerOpts::ansi_colors (#150) (97197601)

v4.4.0

18 Apr 05:55
6a0d477
Compare
Choose a tag to compare

Features

  • report: Add conversion from Report to Box (#149) (b4a9d4cd)

Bug Fixes

  • docsrs: use proper module names for docsrs URLs (a0b972f8)
  • clippy: misc clippy fixes (b98b0982)
  • fmt: cargo fmt (37cda4a3)

v4.3.0

18 Apr 05:55
50a3cb1
Compare
Choose a tag to compare

Features

  • reporter: Allow GraphicalReportHandler to disable url display (#137) (b6a6cc9e)

Bug Fixes

  • colors: handler_opts.color(false) should disable color (#133) (209275d4)
  • handler: Apply MietteHandlerOpts::graphical_theme (#138) (70e84f9a)

Documentation

Miscellaneous Tasks

v4.2.1

18 Apr 05:56
b3de535
Compare
Choose a tag to compare

Bug Fixes

v4.2.0

18 Apr 05:56
d7c11f6
Compare
Choose a tag to compare

Features

v4.1.0

18 Apr 05:57
f1a86d4
Compare
Choose a tag to compare

.with_source_code() is here!!

Features

  • report: add with_source_code (50519264)
  • handlers: propagate source code to related errors (3a17fcea)

Bug Fixes

  • derive: absolute path references to Diagnostic (#118) (6eb3d2d8)

v4.0.1

18 Apr 05:57
a723443
Compare
Choose a tag to compare

Bug Fixes

  • graphical: boolean was messing up graphical display (5c085b39)

v4.0.0

18 Apr 05:57
d62b679
Compare
Choose a tag to compare

Breaking Changes

  • colors: treat no-color mode as no-color instead of narratable (#94) (9dcce5f1)
    • BREAKING CHANGE: NO_COLOR no longer triggers the narrated handler. Use
      NO_GRAPHICS instead.
  • derive: Make derive macro diagnostic attribute more flexible. (#115) (5b8b5478)
    • BREAKING CHANGE: diagnostic attribute duplication will now error.

Features

  • Report: adds .context() method to the Report (#109) (2649fd27)

Bug Fixes

v3.3.0

18 Apr 05:58
3886928
Compare
Choose a tag to compare

Features

Bug Fixes