1# Changelog
2All notable changes to this project will be documented in this file.
3
4The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5and 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.5] - 2024-06-20
12
13# Changed
14 - Don't name the output of the const block to work around `non_local_definitions` error (#47)
15 - Reference the `core` crate correctly to avoid clashes with modules named `core` (#45)
16 - Explicitly list MSRV in Cargo.toml (#51)
17 - Bump edition to 2021 (#51)
18
19# [0.2.4] - 2022-05-02
20
21## Added
22- Updated `syn` dependency to 2.0
23- Support for empty enums
24- Implicitly require fmt::Display on all type parameters unless overridden
25
26## Changed
27- Bumped MSRV to 1.56
28
29# [0.2.3] - 2021-07-16
30## Added
31- Added `#[displaydoc("..")]` attribute for overriding a doc comment
32
33# [0.2.2] - 2021-07-01
34## Added
35- Added prefix feature to use the doc comment from an enum and prepend it
36  before the error message from each variant.
37
38# [0.2.1] - 2021-03-26
39## Added
40- Added opt in support for ignoring extra doc attributes
41
42# [0.2.0] - 2021-03-16
43## Changed
44
45- (BREAKING) disallow multiple `doc` attributes in display impl
46  [https://github.com/yaahc/displaydoc/pull/22]. Allowing and ignoring extra
47  doc attributes made it too easy to accidentally create a broken display
48  implementation with missing context without realizing it, this change turns
49  that into a hard error and directs users towards block comments if multiple
50  lines are needed.
51
52<!-- next-url -->
53[Unreleased]: https://github.com/yaahc/displaydoc/compare/v0.2.4...HEAD
54[0.2.4]: https://github.com/yaahc/displaydoc/compare/v0.2.3...v0.2.4
55[0.2.3]: https://github.com/yaahc/displaydoc/compare/v0.2.2...v0.2.3
56[0.2.2]: https://github.com/yaahc/displaydoc/compare/v0.2.1...v0.2.2
57[0.2.1]: https://github.com/yaahc/displaydoc/compare/v0.2.0...v0.2.1
58[0.2.0]: https://github.com/yaahc/displaydoc/releases/tag/v0.2.0
59