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
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
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
51146535f5
fix(deps): switch to terminal_size
2022-01-07 17:47:56 -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
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
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
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
331d8f5dc4
deps: bump owo-colors
2021-09-22 16:34:21 -07:00
Kat Marchán
612967d381
fix(deps): remove dep on itertools
2021-09-22 16:34:21 -07:00
Kat Marchán
fbf6664ef5
feat(narrated): updated narrated handler
2021-09-22 16:34:21 -07:00
Kat Marchán
53416f25be
deps: bump supports-color to eliminate ci_info
2021-09-22 16:34:21 -07:00
Kat Marchán
8d1170e2de
fix(deps): We do not use ci_info directly anymore
2021-09-22 16:34:21 -07:00
Kat Marchán
d5d67e644e
meta: bump version back down
2021-09-22 16:34:21 -07:00
Kat Marchán
657401ad04
(cargo-release) start next development iteration 3.0.1-alpha.0
2021-09-22 16:34:21 -07:00
Kat Marchán
eeb79249af
(cargo-release) version 3.0.0-beta.0
2021-09-22 16:34:21 -07:00
Kat Marchán
addde7ce8d
(cargo-release) version 3.0.0-beta.0
2021-09-22 16:34:21 -07:00
Kat Marchán
6a2eaf2852
meta: fixing version to appease cargo-release
2021-09-22 16:34:21 -07:00
Kat Marchán
6c6484633e
feat(graphical): simplify graphical header and remove a dep
2021-09-22 16:34:21 -07:00
Kat Marchán
858ac16935
feat(panic): add backtrace support to panic handler and move set_panic_hook into fancy features
2021-09-22 16:34:21 -07:00
Kat Marchán
3046e760a2
(cargo-release) start next development iteration 3.0.1-alpha.0
2021-09-22 16:34:21 -07:00
Kat Marchán
ce83f7df5d
(cargo-release) version 3.0.0-alpha.0
2021-09-22 16:34:21 -07:00
Kat Marchán
68a5b76745
(cargo-release) version 3.0.0-alpha.0
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
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
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
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
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
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
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
Kat Marchán
1e0e3f5910
(cargo-release) version 2.1.0
2021-09-07 17:50:23 -07:00
Kat Marchán
d5bb6f5eab
(cargo-release) start next development iteration 2.0.1-alpha.0
2021-09-04 21:55:32 -07:00
Kat Marchán
b71b583d27
(cargo-release) start next development iteration 2.0.1-alpha.0
2021-09-04 21:55:32 -07:00
Kat Marchán
52c98da590
(cargo-release) version 2.0.0
2021-09-04 21:54:48 -07:00
Kat Marchán
16bd3d21de
(cargo-release) version 2.0.0
2021-09-04 21:54:47 -07:00
Kat Marchán
3f9da04b86
feat(report): anyhow-ify DiagnosticReport ( #35 )
...
This PR overhauls the toplevel/main experience for `miette`. It adds a new `Report` type based on `eyre::Report` and overhauls various types to fit into this model, as well as prepare for some [future changes in Rust](https://github.com/nrc/rfcs/pull/1 ) that will make it possible to integrate `miette` directly with crates like `eyre` instead of having to use this specific `Report`.
As such, this PR is a major breaking change, especially for anyone using `DiagnosticReport` and company.
BREAKING CHANGES:
* `DiagnosticReport` is now just `Report`, and is a different, `eyre::Report`-like type.
* `DiagnosticResult` is now just `Result`.
* `.into_diagnostic()` now just transforms the error into a `Report`.
* `DiagnosticReportPrinter` has been replaced with `ReportHandler`
* `set_printer` has been replaced by `set_hook`
* `code` is now optional.
* `.into_diagnostic()` no longer takes a `code` argument.
* `#[diagnostic]` is now optional when deriving `Diagnostic`.
2021-09-04 21:22:46 -07:00
Kat Marchán
5d5e33d108
(cargo-release) version 1.1.0
2021-08-29 12:49:33 -07:00
Kat Marchán
6a3a6eb280
(cargo-release) version 1.1.0
2021-08-29 12:49:33 -07:00
Kat Marchán
96ca3cc85b
1.0.1
2021-08-22 21:53:44 -07:00
Kat Marchán
5f74da671f
fix(crate): reduce crate size by removing images
2021-08-22 21:51:01 -07:00
Kat Marchán
aa755bfb4d
1.0.0
...
🎉
2021-08-22 19:36:59 -07:00
Kat Marchán
196ef51417
1.0.0-beta.1
2021-08-21 23:32:26 -07:00
Kat Marchán
20bb3db3fa
docs: overhaul readme and make sure everything is documented
...
Fixes: https://github.com/zkat/miette/issues/15
2021-08-21 22:57:16 -07:00
Kat Marchán
729ccd32da
0.13.0
2021-08-21 15:35:40 -07:00
Kat Marchán
5369a9424e
feat(printer): added (and hooked up) an accessible report printer
...
Fixes: https://github.com/zkat/miette/issues/28
2021-08-21 15:32:31 -07:00
Kat Marchán
a65cfc7e05
0.12.0
2021-08-21 00:20:16 -07:00
Kat Marchán
5fbcd53026
feat(printer): lots of small improvements to printer
2021-08-20 23:52:15 -07:00
Kat Marchán
d675334e48
feat(reporter): fancy new reporter with unicode, colors, and multiline ( #23 )
...
Fixes: https://github.com/zkat/miette/issues/3
Fixes: https://github.com/zkat/miette/issues/5
2021-08-20 20:09:23 -07:00
Kat Marchán
3ed97050db
0.11.0
2021-08-18 00:09:33 -07:00
Kat Marchán
29c1403efd
feat(reporter): Overhauled return type/main/DiagnosticReport experience.
...
Fixes: https://github.com/zkat/miette/issues/13
2021-08-17 23:41:03 -07:00
Kat Marchán
4d45884362
0.10.0
2021-08-17 19:36:54 -07:00
Kat Marchán
f79aee63b1
0.9.0
2021-08-17 08:48:48 -07:00
Kat Marchán
ee2e2d1ef2
0.8.1
2021-08-16 22:44:12 -07:00
Kat Marchán
8fdf05b523
0.8.0
2021-08-16 22:25:54 -07:00
Kat Marchán
991a93619b
0.7.0
2021-08-15 18:21:03 -07:00
Kat Marchán
027c3b0a94
0.6.0
2021-08-15 11:54:07 -07:00
Kat Marchán
0e7702700d
feat(derive): added basic derive macro
...
This should be good for most basic use cases. More features will be added over time :)
2021-08-15 11:49:02 -07:00
Kat Marchán
b8c89813b9
0.5.0
2021-08-14 13:35:11 -07:00
Kat Marchán
fd0d2b12b7
0.4.0
2021-08-10 22:52:20 -04:00
Kat Marchán
a04239cf35
0.3.1
2021-08-10 21:06:38 -04:00
Kat Marchán
0c9eeef0d0
0.3.0
2021-08-07 23:08:42 -04:00
Kat Marchán
56986bbd4c
0.2.1
2021-08-05 13:28:54 -07:00
Kat Marchán
40133a368d
0.2.0
2021-08-05 12:41:31 -07:00
Kat Marchán
ab8c9683fd
0.1.0
2021-08-04 21:27:12 -07:00
Kat Marchán
4d58e66639
meta: update crate description to be more useful
2021-08-04 21:27:08 -07:00
Kat Marchán
6b51694733
feat(protocol) overhauled entire protocol to be based on byte offsets ( #1 )
...
Includes other improvements!
BREAKING CHANGE: Yeah this is pretty much a rewrite.
2021-08-04 20:27:12 -07:00
Kat Marchán
a437f44511
feat(reporter): dummy reporter implementation + tests
2021-08-03 00:52:10 -07:00
Kat Marchán
457849721f
initial commit
2021-08-02 19:36:02 -07:00