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
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