Commit Graph

88 Commits

Author SHA1 Message Date
Kat Marchán 0c164dd695
(cargo-release) start next development iteration 5.2.1-alpha.0 2022-08-01 09:49:53 -07:00
Kat Marchán 2765a52d7f
(cargo-release) version 5.2.0 2022-08-01 09:48:55 -07:00
Kat Marchán 0c76591193
(cargo-release) start next development iteration 5.1.2-alpha.0 2022-07-08 19:44:43 -07:00
Kat Marchán 9f04a79606
(cargo-release) version 5.1.1 2022-07-08 19:43:52 -07:00
Kat Marchán 5fbce68515
(cargo-release) start next development iteration 5.1.1-alpha.0 2022-06-25 11:00:54 -07:00
Kat Marchán 7409b08544
(cargo-release) version 5.1.0 2022-06-25 11:00:09 -07:00
Kat Marchán c011beb065
(cargo-release) start next development iteration 5.0.1-alpha.0 2022-06-24 08:38:18 -07:00
Kat Marchán d4fd910a4a
(cargo-release) version 5.0.0 2022-06-24 08:37:21 -07:00
Kat Marchán e9b5bf71ff
(cargo-release) start next development iteration 4.7.2-alpha.0 2022-05-14 21:36:17 -07:00
Kat Marchán 63bebfa6c7
(cargo-release) version 4.7.1 2022-05-14 21:35:37 -07:00
Marcel Müller f783a0e2ae
Allow using smartpointers with source_diagnostic (#169)
* Add more tests for diagnostic_source

* Use Borrow::borrow instead of AsRef

AsRef is not reflexive, meaning that it is not implemented as &T for all
T. Borrow is though, so we use that to make sure that we always get a
reference that is correct, even in the presence of smart pointers.
2022-05-13 08:19:05 -07:00
Kat Marchán e251638adb
(cargo-release) start next development iteration 4.7.1-alpha.0 2022-05-05 08:59:47 -07:00
Kat Marchán ba7b58cb40
(cargo-release) version 4.7.0 2022-05-05 08:59:04 -07:00
Matthias Beyer bc449c8426
feat(diagnostic_source): add protocol method for Diagnostic-aware source chaining (#165)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-05-05 08:32:37 -07:00
Kat Marchán 22de435406
(cargo-release) start next development iteration 4.6.1-alpha.0 2022-04-22 19:34:19 -07:00
Kat Marchán f338860584
(cargo-release) version 4.6.0 2022-04-22 19:33:38 -07:00
Kat Marchán bffb18ab11
(cargo-release) start next development iteration 4.5.1-alpha.0 2022-04-17 22:54:19 -07:00
Kat Marchán 5b457ed4fe
(cargo-release) version 4.5.0 2022-04-17 22:53:38 -07:00
Kat Marchán 9da62cd05d feat(label): use macro magic instead of optional flag for optional labels 2022-04-17 22:43:01 -07:00
Kat Marchán ea55f458fa feat(help): allow non-option values in #[help] fields 2022-04-17 22:43:01 -07:00
Kat Marchán 23ee3642d1
feat(labels): allow optional labels in derive macro (#153)
Fixes: https://github.com/zkat/miette/issues/110
2022-04-17 19:41:10 -07:00
Kat Marchán 45093c2f58
feat(help): update macro to allow optional help text (#152)
Fixes: https://github.com/zkat/miette/issues/148
2022-04-17 18:19:28 -07:00
Kat Marchán 86cdf4796f
(cargo-release) start next development iteration 4.4.1-alpha.0 2022-04-12 11:42:36 -07:00
Kat Marchán 0103f2c4f9
(cargo-release) version 4.4.0 2022-04-12 11:41:51 -07:00
Kat Marchán a0b972f876
fix(docsrs): use proper module names for docsrs URLs
Fixes: https://github.com/zkat/miette/issues/147
2022-04-03 13:27:55 -07:00
Kat Marchán 83ed029de2
(cargo-release) start next development iteration 4.3.1-alpha.0 2022-03-27 15:39:35 -07:00
Kat Marchán 235df4bc75
(cargo-release) version 4.3.0 2022-03-27 15:38:47 -07:00
Kat Marchán 2adf0a3f22
(cargo-release) version 4.2.1 2022-02-25 08:50:16 -08:00
Moritz Mœller 5d23c0d61d
fix(docs): Docs overhaul (#124)
* Fixed/formatted all intradoc links. Various other small doc fixes/typography/etc.

* Clarified semantic similarity with anyhow/eyre types/macros.

* Removed unused MietteError::SetPrinterFailure.

* README now generaed from lib.rs via `cargo readme`.

* More doc fixes, made ErrorHook type public.

* Indentation (docs).
2022-02-25 08:39:18 -08:00
Kat Marchán fa5b5fee54
fix(clippy): 1.59.0 clippy fix 2022-02-24 21:07:10 -08:00
Kat Marchán 495a45c036
(cargo-release) version 4.2.0 2022-02-21 19:15:47 -08:00
Paul Colomiets 75d4505e7d
feat(derive): allow `Report` in `related` (#121)
Fixes: #119
2022-02-21 19:12:37 -08:00
Kat Marchán 44223bf986
(cargo-release) version 4.1.0 2022-02-20 16:31:43 -08:00
Paul Colomiets 6eb3d2d8a6
fix(derive): absolute path references to Diagnostic (#118) 2022-02-19 17:01:18 -08:00
Kat Marchán 01618289c9
(cargo-release) version 4.0.1 2022-02-17 22:28:53 -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 647a6789d8
(cargo-release) version 4.0.0 2022-02-17 22:13:11 -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
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 bfaef933dd
(cargo-release) version 3.3.0 2022-01-07 18:07:56 -08: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 20aa544279
(cargo-release) version 3.2.0 2021-10-05 21:09:20 -07:00
Kat Marchán 98ae09a0bb
(cargo-release) version 3.1.0 2021-10-01 12:10:21 -07:00
Kat Marchán f0e4071a99
(cargo-release) version 3.0.1 2021-09-26 13:03:44 -07:00
Kat Marchán eb816ee98a
(cargo-release) version 3.0.0 2021-09-22 16:38:50 -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 8e11baab7b feat(related): Add related diagnostics (#68)
Fixes: https://github.com/zkat/miette/issues/47
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 92a3150921 fix(derive): Code is no longer required 2021-09-22 16:34:21 -07:00