| 1 |
# Changelog |
| 2 |
All notable changes to this project will be documented in this file. |
| 3 |
|
| 4 |
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 5 |
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 6 |
|
| 7 |
<!-- next-header --> |
| 8 |
|
| 9 |
## [Unreleased] - ReleaseDate |
| 10 |
|
| 11 |
# [0.2.4] - 2022-05-02 |
| 12 |
|
| 13 |
## Added |
| 14 |
- Updated `syn` dependency to 2.0 |
| 15 |
- Support for empty enums |
| 16 |
- Implicitly require fmt::Display on all type parameters unless overridden |
| 17 |
|
| 18 |
## Changed |
| 19 |
- Bumped MSRV to 1.56 |
| 20 |
|
| 21 |
# [0.2.3] - 2021-07-16 |
| 22 |
## Added |
| 23 |
- Added `#[displaydoc("..")]` attribute for overriding a doc comment |
| 24 |
|
| 25 |
# [0.2.2] - 2021-07-01 |
| 26 |
## Added |
| 27 |
- Added prefix feature to use the doc comment from an enum and prepend it |
| 28 |
before the error message from each variant. |
| 29 |
|
| 30 |
# [0.2.1] - 2021-03-26 |
| 31 |
## Added |
| 32 |
- Added opt in support for ignoring extra doc attributes |
| 33 |
|
| 34 |
# [0.2.0] - 2021-03-16 |
| 35 |
## Changed |
| 36 |
|
| 37 |
- (BREAKING) disallow multiple `doc` attributes in display impl |
| 38 |
[https://github.com/yaahc/displaydoc/pull/22]. Allowing and ignoring extra |
| 39 |
doc attributes made it too easy to accidentally create a broken display |
| 40 |
implementation with missing context without realizing it, this change turns |
| 41 |
that into a hard error and directs users towards block comments if multiple |
| 42 |
lines are needed. |
| 43 |
|
| 44 |
<!-- next-url --> |
| 45 |
[Unreleased]: https://github.com/yaahc/displaydoc/compare/v0.2.4...HEAD |
| 46 |
[0.2.4]: https://github.com/yaahc/displaydoc/compare/v0.2.3...v0.2.4 |
| 47 |
[0.2.3]: https://github.com/yaahc/displaydoc/compare/v0.2.2...v0.2.3 |
| 48 |
[0.2.2]: https://github.com/yaahc/displaydoc/compare/v0.2.1...v0.2.2 |
| 49 |
[0.2.1]: https://github.com/yaahc/displaydoc/compare/v0.2.0...v0.2.1 |
| 50 |
[0.2.0]: https://github.com/yaahc/displaydoc/releases/tag/v0.2.0 |