Kat Marchán
43efe8599e
docs: update changelog
2021-09-22 16:34:21 -07:00
Kat Marchán
4bb9d12102
feat(handlers): Update graphical handler to use new label protocol ( #66 )
2021-09-22 16:34:21 -07:00
Kat Marchán
49f635fb65
tests: rename printer.rs to graphical.rs
2021-09-22 16:34:21 -07:00
Kat Marchán
0544d7654e
tests: update printer tests so they compile
2021-09-22 16:34:21 -07:00
Kat Marchán
9aa8ff0d31
feat(protocol): Make SourceCode Send+Sync
2021-09-22 16:34:21 -07:00
Kat Marchán
f87b158b22
feat(labels): replace snippet stuff with simpler labels ( #62 )
2021-09-22 16:34:21 -07:00
Kat Marchán
92a3150921
fix(derive): Code is no longer required
2021-09-22 16:34:21 -07:00
Kat Marchán
9841d6fd77
feat(report): add debug report as default, instead of narrated one
2021-09-22 16:34:21 -07:00
Kat Marchán
cd69a8ae92
test: prefix Error: to make things look more accurate
2021-09-22 16:34:21 -07:00
Kat Marchán
c3505fac26
fix(protocol): implement source/cause for Box<dyn Diagnostic>
2021-09-22 16:34:21 -07:00
Kat Marchán
2c43740346
feat(theme): more styling changes
2021-09-22 16:34:21 -07:00
Kat Marchán
c5c0576ec6
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-22 16:34:21 -07:00
Kat Marchán
559113bd1c
tests: add test for wide character support
2021-09-22 16:34:21 -07:00
Kat Marchán
93374173e3
feat(footer): add footer support to graphical and narrated
...
Fixes: https://github.com/zkat/miette/issues/34
2021-09-22 16:34:21 -07:00
Kat Marchán
aeefcab926
meta: test fancy
2021-09-22 16:34:21 -07:00
Kat Marchán
247e8f8b39
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-22 16:34:21 -07:00
Kat Marchán
4c2463f9ae
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-22 16:34:21 -07:00
Kat Marchán
80036781cd
fix(report): miscellaneous, hacky tweaks to graphical rendering
2021-09-22 16:34:21 -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
Kat Marchán
eb07d5bd66
fix(report): fix wrapping for header and add wrapping for footer
2021-09-11 00:57:53 -07:00
Kat Marchán
eaebde92cf
feat(report): make header line as wide as terminal
2021-09-10 17:09:52 -07:00
Kat Marchán
bc72532465
feat(report): take terminal width into account for wrapping text
2021-09-10 12:39:10 -07:00
Kat Marchán
f482dcec6a
feat(report): wrap multiline messages to keep formatting
...
Fixes: https://github.com/zkat/miette/issues/51
2021-09-10 08:16:40 -07:00
Kat Marchán
1ba3f2f5d2
fix(report): get rid of the weird arrow thing. it does not look good
2021-09-10 07:36:09 -07:00
Kat Marchán
ecc705d95d
meta: add FUNDING.yml
2021-09-10 07:07:53 -07:00
Kat Marchán
50713a125c
(cargo-release) start next development iteration 2.1.3-alpha.0
2021-09-09 20:40:10 -07:00
Kat Marchán
ea8561bd03
(cargo-release) start next development iteration 2.1.3-alpha.0
2021-09-09 20:40:10 -07:00
Kat Marchán
30ac82cfe4
(cargo-release) version 2.1.2
2021-09-09 20:39:24 -07:00
Kat Marchán
bfaf485e3f
(cargo-release) version 2.1.2
2021-09-09 20:39:23 -07:00
Kat Marchán
d47011b6c4
docs: update changelog
2021-09-09 20:38:46 -07:00
Kat Marchán
e4fdac38ea
fix(context): pass on diagnostic metadata when wrapping with `Report`
2021-09-09 20:27:27 -07:00
Kat Marchán
0ba3358443
(cargo-release) version 2.1.1
2021-09-08 21:05:58 -07:00
Kat Marchán
f4119abc9b
(cargo-release) version 2.1.1
2021-09-08 21:05:57 -07:00
Kat Marchán
9c8059bd1d
docs: update changelog
2021-09-08 21:05:24 -07:00
Kat Marchán
533ff5f348
fix(reporter): improve color situation and style things a little nicer
2021-09-08 20:59:19 -07:00
Kat Marchán
00ebb13ea6
tests: have at least one test with multiple causes
2021-09-08 19:46:04 -07:00
Kat Marchán
6422f82174
fix(report): don't color error message text to draw eyes back to it
2021-09-08 18:29:41 -07:00
Kat Marchán
10255304c4
(cargo-release) start next development iteration 2.1.1-alpha.0
2021-09-07 17:51:49 -07:00
Kat Marchán
c049b04289
(cargo-release) version 2.1.0
2021-09-07 17:50:24 -07:00