Kat Marchán
2a848db1de
(cargo-release) version 3.0.0-beta.0
2021-09-21 22:35:12 -07:00
Kat Marchán
b564afd6ef
(cargo-release) version 3.0.0-beta.0
2021-09-21 22:35:12 -07:00
Kat Marchán
2b2f9f1dc8
fix(api): put panic handler properly behind a flag
2021-09-21 22:34:42 -07:00
Kat Marchán
5331c88fb8
meta: fixing version to appease cargo-release
2021-09-21 22:30:41 -07:00
Kat Marchán
15249fe93b
docs: update changelog
2021-09-21 22:28:59 -07:00
Kat Marchán
712e75fd8c
feat(graphical): compact even more
2021-09-21 22:27:43 -07:00
Kat Marchán
e02965787b
fix(context): get labels/snippets working when using .context()
2021-09-21 21:59:57 -07:00
Kat Marchán
9d07dc5a1c
feat(graphical): compact graphical display a bit
2021-09-21 21:01:12 -07:00
Kat Marchán
25e434a2ce
feat(related): Add related diagnostics ( #68 )
...
Fixes: https://github.com/zkat/miette/issues/47
2021-09-21 18:34:33 -07:00
Kat Marchán
491ce7c0ce
fix(graphical): fix coalescing adjacent things when they cross boundaries
2021-09-21 17:50:42 -07:00
Kat Marchán
9f36a4c253
feat(graphical): simplify graphical header and remove a dep
2021-09-21 13:15:05 -07:00
Kat Marchán
dc2635e151
fix(graphical): stop rendering red vbars before the last item
2021-09-21 12:51:20 -07:00
Kat Marchán
183ecb9b78
feat(panic): add backtrace support to panic handler and move set_panic_hook into fancy features
2021-09-21 12:27:43 -07:00
Kat Marchán
11a708a224
feat(panic): Add basic panic handler and installation function
...
Fixes: https://github.com/zkat/miette/issues/22
2021-09-21 01:06:52 -07:00
Kat Marchán
89ba24843a
tests: more testing
2021-09-20 22:26:26 -07:00
Kat Marchán
a2548eddeb
misc: remove stale comment
2021-09-20 22:26:08 -07:00
Kat Marchán
338c885a30
feat(report): nicer, non-overlapping same-line highlights
2021-09-20 21:04:18 -07:00
Kat Marchán
084e1cdca9
(cargo-release) start next development iteration 3.0.1-alpha.0
2021-09-20 14:34:15 -07:00
Kat Marchán
e209c999e9
(cargo-release) version 3.0.0-alpha.0
2021-09-20 14:32:47 -07:00
Kat Marchán
56cd8df6a1
(cargo-release) version 3.0.0-alpha.0
2021-09-20 14:32:47 -07:00
Kat Marchán
37a3270edb
docs: update changelog
2021-09-20 14:32:24 -07:00
Kat Marchán
6cd44a86c6
feat(handlers): Update graphical handler to use new label protocol ( #66 )
2021-09-20 14:27:25 -07:00
Kat Marchán
645990cd99
tests: rename printer.rs to graphical.rs
2021-09-19 18:59:17 -07:00
Kat Marchán
53b3a790e8
tests: update printer tests so they compile
2021-09-19 18:58:43 -07:00
Kat Marchán
eb485658cc
feat(protocol): Make SourceCode Send+Sync
2021-09-19 18:57:51 -07:00
Kat Marchán
0ef2853f27
feat(labels): replace snippet stuff with simpler labels ( #62 )
2021-09-19 18:41:21 -07:00
Kat Marchán
8a0f71e6d1
fix(derive): Code is no longer required
2021-09-17 11:33:39 -07:00
Kat Marchán
eb1b7222fc
feat(report): add debug report as default, instead of narrated one
2021-09-17 10:29:00 -07:00
Kat Marchán
d2e3595757
test: prefix Error: to make things look more accurate
2021-09-16 20:50:16 -07:00
Kat Marchán
3e8a27e263
fix(protocol): implement source/cause for Box<dyn Diagnostic>
2021-09-16 19:08:12 -07:00
Kat Marchán
9901030eb1
feat(theme): more styling changes
2021-09-16 19:04:56 -07:00
Kat Marchán
12a9235bec
feat(theme): rename some theme items for clarity
...
BREAKING CHANGE: These were part of the public API, so if you were using theming, this might have broken for you
2021-09-16 19:04:33 -07:00
Kat Marchán
4244acacca
tests: add test for wide character support
2021-09-16 14:30:44 -07:00
Kat Marchán
412436cd68
feat(footer): add footer support to graphical and narrated
...
Fixes: https://github.com/zkat/miette/issues/34
2021-09-16 14:19:04 -07:00
Kat Marchán
6f225ca186
meta: test fancy
2021-09-16 13:25:08 -07:00
Kat Marchán
bc495e6ed4
feat(deps): move fancy reporter (and its deps) to a feature
...
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
Fixes: https://github.com/zkat/miette/issues/25
2021-09-16 13:21:41 -07:00
Kat Marchán
3d74a500c3
feat(report): make a single big MietteHandler that can switch modes
...
BREAKING CHANGE: linkification option method on GraphicalReportHandler has been changed to .with_links(bool)
2021-09-13 19:16:49 -07:00
Kat Marchán
8029f9c6c3
fix(report): miscellaneous, hacky tweaks to graphical rendering
2021-09-13 19:16:39 -07:00
Kat Marchán
f5ecdddf15
(cargo-release) start next development iteration 2.2.1-alpha.0
2021-09-13 19:01:23 -07:00
Kat Marchán
7468b68567
(cargo-release) start next development iteration 2.2.1-alpha.0
2021-09-13 19:01:23 -07:00
Kat Marchán
c00226ffdb
(cargo-release) version 2.2.0
2021-09-13 19:00:44 -07:00
Kat Marchán
19a194a6dd
(cargo-release) version 2.2.0
2021-09-13 19:00:44 -07:00
Kat Marchán
b23281d54b
meta: update changelog
2021-09-13 19:00:03 -07:00
Kat Marchán
10ed13f336
meta: fixed cliff grabbing irrelevant commits
2021-09-13 18:47:24 -07:00
Kat Marchán
d945cd2524
meta: filter out misc commits
2021-09-13 18:36:08 -07:00
Kat Marchán
588f7f3148
meta: fix tag_pattern for git-cliff
2021-09-13 18:35:37 -07:00
Kat Marchán
673b435892
tests: remove compile_tests
2021-09-13 18:33:13 -07:00
Kat Marchán
643e769a80
tests: update tests after shortening header because of Error:
2021-09-13 17:49:38 -07:00
Cormac Relf
2fa5551c81
feat(derive): Add `#[diagnostic(forward(field_name), code(...))]` ( #41 )
2021-09-13 15:39:04 -07:00
Robin Appelman
d994add912
fix(report): Fix end of previous line wrongly being included in highlight ( #52 )
2021-09-13 09:57:54 -07:00