| 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 |
## Added |
| 12 |
|
| 13 |
## Changed |
| 14 |
|
| 15 |
# [0.2.7] - 2026-07-28 |
| 16 |
|
| 17 |
## Added |
| 18 |
- Updated `syn` dependency to 3.0 |
| 19 |
|
| 20 |
## Changed |
| 21 |
- Bumped MSRV to 1.71 |
| 22 |
|
| 23 |
# [0.2.6] - 2026-05-27 |
| 24 |
|
| 25 |
## Added |
| 26 |
- Support for multi-line doc comments (#57, #62) |
| 27 |
|
| 28 |
## Changed |
| 29 |
- Use `BTreeMap` for determinism in generated code (#52) |
| 30 |
- Add `#[allow(unused_assignments)]` to generated code (#56) |
| 31 |
- Exclude development scripts from published package (#60) |
| 32 |
- Bump `pretty_assertions` dependency to 1.4.0 (#53) |
| 33 |
|
| 34 |
# [0.2.5] - 2024-06-20 |
| 35 |
|
| 36 |
# Changed |
| 37 |
- Don't name the output of the const block to work around `non_local_definitions` error (#47) |
| 38 |
- Reference the `core` crate correctly to avoid clashes with modules named `core` (#45) |
| 39 |
- Explicitly list MSRV in Cargo.toml (#51) |
| 40 |
- Bump edition to 2021 (#51) |
| 41 |
|
| 42 |
# [0.2.4] - 2022-05-02 |
| 43 |
|
| 44 |
## Added |
| 45 |
- Updated `syn` dependency to 2.0 |
| 46 |
- Support for empty enums |
| 47 |
- Implicitly require fmt::Display on all type parameters unless overridden |
| 48 |
|
| 49 |
## Changed |
| 50 |
- Bumped MSRV to 1.56 |
| 51 |
|
| 52 |
# [0.2.3] - 2021-07-16 |
| 53 |
## Added |
| 54 |
- Added `#[displaydoc("..")]` attribute for overriding a doc comment |
| 55 |
|
| 56 |
# [0.2.2] - 2021-07-01 |
| 57 |
## Added |
| 58 |
- Added prefix feature to use the doc comment from an enum and prepend it |
| 59 |
before the error message from each variant. |
| 60 |
|
| 61 |
# [0.2.1] - 2021-03-26 |
| 62 |
## Added |
| 63 |
- Added opt in support for ignoring extra doc attributes |
| 64 |
|
| 65 |
# [0.2.0] - 2021-03-16 |
| 66 |
## Changed |
| 67 |
|
| 68 |
- (BREAKING) disallow multiple `doc` attributes in display impl |
| 69 |
[https://github.com/yaahc/displaydoc/pull/22]. Allowing and ignoring extra |
| 70 |
doc attributes made it too easy to accidentally create a broken display |
| 71 |
implementation with missing context without realizing it, this change turns |
| 72 |
that into a hard error and directs users towards block comments if multiple |
| 73 |
lines are needed. |
| 74 |
|
| 75 |
<!-- next-url --> |
| 76 |
[Unreleased]: https://github.com/yaahc/displaydoc/compare/v0.2.7...HEAD |
| 77 |
[0.2.7]: https://github.com/yaahc/displaydoc/compare/v0.2.6...v0.2.7 |
| 78 |
[0.2.6]: https://github.com/yaahc/displaydoc/compare/v0.2.5...v0.2.6 |
| 79 |
[0.2.5]: https://github.com/yaahc/displaydoc/compare/v0.2.4...v0.2.5 |
| 80 |
[0.2.4]: https://github.com/yaahc/displaydoc/compare/v0.2.3...v0.2.4 |
| 81 |
[0.2.3]: https://github.com/yaahc/displaydoc/compare/v0.2.2...v0.2.3 |
| 82 |
[0.2.2]: https://github.com/yaahc/displaydoc/compare/v0.2.1...v0.2.2 |
| 83 |
[0.2.1]: https://github.com/yaahc/displaydoc/compare/v0.2.0...v0.2.1 |
| 84 |
[0.2.0]: https://github.com/yaahc/displaydoc/releases/tag/v0.2.0 |