Kat Marchán
0f8e44654b
(cargo-release) start next development iteration 4.0.1-alpha.0
2022-02-17 22:14:03 -08:00
Kat Marchán
8845ee0c7b
(cargo-release) start next development iteration 4.0.1-alpha.0
2022-02-17 22:14:03 -08:00
Kat Marchán
d62b679fce
(cargo-release) version 4.0.0
2022-02-17 22:13:11 -08:00
Kat Marchán
647a6789d8
(cargo-release) version 4.0.0
2022-02-17 22:13:11 -08:00
Kat Marchán
7542954cad
docs: update changelog
2022-02-17 22:11:32 -08:00
Kyle Brown
5b8b5478b6
feat(derive): Make derive macro `diagnostic` attribute more flexible. ( #115 )
...
Fixes : #114
* Improved defaulting
* Added correct combining logic
Added variable number of diagnostic attributes
* Error handling, testing, and docs improvements
Co-authored-by: Kyle Brown <kyleb@liquidrocketry.com>
2022-02-17 22:04:03 -08:00
Paul Colomiets
2649fd27c4
feat(Report): adds `.context()` method to the `Report` ( #109 )
...
Techically there was a hidden undocumented `context` method. But it was
just copied from the `eyre` and there is no evidence that it was used by
any user in miette (the method was an alias for `.handler()`).
Fixes #108
2022-01-17 17:16:08 -08:00
Paul Colomiets
f158f4e370
fix(handlers): Fix label position ( #107 )
...
Fixes #106
While fixing the bug I've also extended the handler to print not just
where label starts but also where label ends.
Also implements #97 , but for narratabble handler only.
This adds dependency on `unicode-width`, but it was already in the
dependency chain (`textwidth` depends on it). Although, previously it
was only for `"fancy"` feature, now it always required since narratable
handler is supported without `"fancy"`.
2022-01-17 11:07:29 -08:00
Kat Marchán
9dcce5f1bd
fix(colors): treat no-color mode as no-color instead of narratable ( #94 )
...
Fixes: https://github.com/zkat/miette/issues/93
BREAKING CHANGE: NO_COLOR no longer triggers the narrated handler. Use
NO_GRAPHICS instead.
2022-01-08 09:11:19 -08:00
Kat Marchán
ecf0502758
(cargo-release) start next development iteration 3.3.1-alpha.0
2022-01-07 18:08:54 -08:00
Kat Marchán
aecc81d9d4
(cargo-release) start next development iteration 3.3.1-alpha.0
2022-01-07 18:08:54 -08:00
Kat Marchán
3886928660
(cargo-release) version 3.3.0
2022-01-07 18:07:57 -08:00
Kat Marchán
bfaef933dd
(cargo-release) version 3.3.0
2022-01-07 18:07:56 -08:00
Kat Marchán
0445a4b69c
docs: update changelog
2022-01-07 18:06:10 -08:00
Kat Marchán
51146535f5
fix(deps): switch to terminal_size
2022-01-07 17:47:56 -08:00
Paul Colomiets
c205d2e71b
docs: fix mentions of eyre and DiagnosticError ( #100 )
...
Note: `DiagnosticError` is a private type, `Report` returned from
`into_diagnostic()` instead.
2022-01-07 17:35:48 -08:00
Paul Colomiets
645ef6a1b6
fix(json): proper escapes for JSON strings ( #101 )
...
Includes two fixes:
1. Things like `\n` are not doubly-escaped any more
2. The backslash `\` itself in the source is escaped
2022-01-07 17:35:24 -08:00
Paul Colomiets
52e5ec8064
fix(chain): correct `Chain` structure exported ( #102 )
...
This fixes all current complier and clippy warnings.
2022-01-07 17:34:39 -08:00
dvermd
53b246829a
feat(handlers): Add JSON handler ( #90 )
2021-11-15 08:49:22 -08:00
Kat Marchán
fe77d8c754
feat(deps): Bump owo-colors to 3.0.0
2021-10-12 08:48:40 -07:00
Kat Marchán
e5908c6dbf
(cargo-release) start next development iteration 3.2.1-alpha.0
2021-10-05 21:10:00 -07:00
Kat Marchán
9afc94a28e
(cargo-release) start next development iteration 3.2.1-alpha.0
2021-10-05 21:10:00 -07:00
Kat Marchán
21f9ce06e7
(cargo-release) version 3.2.0
2021-10-05 21:09:20 -07:00
Kat Marchán
20aa544279
(cargo-release) version 3.2.0
2021-10-05 21:09:20 -07:00
Kat Marchán
d379b6a429
docs: update changelog
2021-10-05 21:08:26 -07:00
Kirill Vasiltsov
1f70140c2e
feat(tabs): Add replace tabs with spaces option ( #82 )
...
Fixes: https://github.com/zkat/miette/issues/73
2021-10-05 21:05:57 -07:00
Antoine Muller
cb5a919deb
fix(read_span): prevent multilines MietteSpanContents from skipping lines ( #81 )
...
Fixes: https://github.com/zkat/miette/issues/76
2021-10-05 21:05:50 -07:00
Kat Marchán
6fc4fb0b77
docs: add CONTRIBUTING.md and CODE_OF_CONDUCT.md
...
Fixes: https://github.com/zkat/miette/issues/80
2021-10-01 19:06:53 -07:00
Kat Marchán
04bd14f38d
(cargo-release) start next development iteration 3.1.1-alpha.0
2021-10-01 12:12:24 -07:00
Kat Marchán
d0b0f33744
(cargo-release) version 3.1.0
2021-10-01 12:12:06 -07:00
Kat Marchán
98ae09a0bb
(cargo-release) version 3.1.0
2021-10-01 12:10:21 -07:00
Kat Marchán
aa32add30b
docs: update changelog
2021-10-01 12:09:39 -07:00
Coenen Benjamin
ebdee4f455
docs: fix set_reporter to set_hook ( #79 )
...
* docs: fix set_reporter to set_hook
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
* docs: rename MietteHandlerOptions to MietteHandlerOpts
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2021-10-01 12:08:28 -07:00
Coenen Benjamin
0169fe20e7
feat(SourceSpan): add impl From<Range> ( #78 )
...
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
2021-10-01 12:02:39 -07:00
Kat Marchán
50e82199e6
docs: oops wrong name
2021-09-26 13:11:45 -07:00
Kat Marchán
5741e8b20c
(cargo-release) start next development iteration 3.0.2-alpha.0
2021-09-26 13:06:08 -07:00
Kat Marchán
05bdb818b8
(cargo-release) version 3.0.1
2021-09-26 13:05:47 -07:00
Kat Marchán
f0e4071a99
(cargo-release) version 3.0.1
2021-09-26 13:03:44 -07:00
Kat Marchán
46ec74b085
docs: update changelog
2021-09-26 13:02:25 -07:00
Kat Marchán
bb25edf019
docs: fix doctests
2021-09-26 13:00:39 -07:00
Kat Marchán
c337e2759f
docs: add docs for #[related]
2021-09-26 12:55:30 -07:00
Kat Marchán
47e4d4d05c
docs: add docs for handler options
2021-09-26 12:45:18 -07:00
Kat Marchán
e52996bdf4
docs: make docs.rs document all features
2021-09-26 12:37:40 -07:00
Kat Marchán
7dab8aad92
(cargo-release) start next development iteration 3.0.1-alpha.0
2021-09-22 16:39:59 -07:00
Kat Marchán
72de1ad757
(cargo-release) version 3.0.0
2021-09-22 16:38:51 -07:00
Kat Marchán
eb816ee98a
(cargo-release) version 3.0.0
2021-09-22 16:38:50 -07:00
Kat Marchán
f6a9bed6b1
docs: update changelog
2021-09-22 16:38:19 -07:00
Kat Marchán
f92c75f176
docs: update readme with info about fancy feature
2021-09-22 16:36:41 -07:00
Kat Marchán
468843aa5c
docs: update readme a bit more
2021-09-22 16:34:21 -07:00
Kat Marchán
2bbac6c2a7
docs: update readme with latest screenshots
2021-09-22 16:34:21 -07:00