v3.0.0
It's here! Have fun!
It's a pretty significant change, so if you were using miette
's snippet
support previously, you'll need to update your code.
Bug Fixes
- report: miscellaneous, hacky tweaks to graphical rendering (80036781)
- protocol: implement source/cause for Box (c3505fac)
- derive: Code is no longer required (92a31509)
- graphical: stop rendering red vbars before the last item (e2e4027f)
- graphical: fix coalescing adjacent things when they cross boundaries (18e0ed77)
- context: get labels/snippets working when using .context() (41cb710a)
- api: put panic handler properly behind a flag (55ca8e0b)
- deps: We do not use ci_info directly anymore (8d1170e2)
- graphical: Fix off-by-one span_applies calculation (#70) (a6902042)
- theme: remove code styling (ce0dea54)
- graphical: render URLs even without a code (77c5899b)
- deps: remove dep on itertools (612967d3)
Features
- report: make a single big MietteHandler that can switch modes (4c2463f9)
- BREAKING CHANGE: linkification option method on GraphicalReportHandler has been changed to .with_links(bool)
- deps: move fancy reporter (and its deps) to a feature (247e8f8b)
- BREAKING CHANGE: The default fancy reporter is no longer available unless you enable the "fancy" feature. This also means you will not be pulling in a bunch of deps if you are using miette for a library
- footer: add footer support to graphical and narrated (93374173)
- theme: rename some theme items for clarity (c5c0576e)
- BREAKING CHANGE: These were part of the public API, so if you were using theming, this might have broken for you
- theme: more styling changes (2c437403)
- report: add debug report as default, instead of narrated one (9841d6fd)
- labels: replace snippet stuff with simpler labels (#62) (f87b158b)
- protocol: Make SourceCode Send+Sync (9aa8ff0d)
- handlers: Update graphical handler to use new label protocol (#66) (4bb9d121)
- report: nicer, non-overlapping same-line highlights (1a0f359e)
- panic: Add basic panic handler and installation function (c6daee7b)
- panic: add backtrace support to panic handler and move set_panic_hook into fancy features (858ac169)
- graphical: simplify graphical header and remove a dep (6c648463)
- related: Add related diagnostics (#68) (8e11baab)
- graphical: compact graphical display a bit (db637a36)
- graphical: compact even more (72c0bb9e)
- graphical: add theming customization for linums (717f8e3d)
- handler: context lines config support (b33084bd)
- narrated: updated narrated handler (fbf6664e)
- narrated: global footer and related diagnostics support (3213fa61)