1# Change Log
2All notable changes to this project will be documented in this file.
3
4
5## 2.2.0
6* Add support for deriving traits on `repr(packed)` types ([#84]).
7* Fix bug with `Debug` bounds ([#83]).
8* Migrate documentation to `mdbook` and fix issues found in examples ([#83]).
9
10## 2.1.3
11* Fix Clippy warning ([#81]).
12
13## 2.1.2
14* Fix bug when used in combination with other attributes ([#79]).
15
16## 2.1.1
17* Improve error reporting. ([#70])
18* Fix a Clippy warning in generated code. ([#71]).
19
20## 2.1.0
21* `feature_allow_slow_enum` is not required anymore on `enum` with `PartialEq`. ([#64])
22* `PartialEq` generates more efficient code for C-like `enum`. ([#65])
23* Fix issue with deriving `Hash` on generic `enums` #68. ([#68])
24
25## 2.0.2
26* Fix a bug with `format_with` on `Debug` derives with generic types with trait bounds.
27
28## 2.0.1
29* Fix a hygiene bug with `Debug`. ([#60])
30
31## 2.0.0
32This release should be compatible with version 1.*, but now requires rustc version 1.34 or later.
33* Update `syn`, `quote`, and `proc-macro2` dependencies. ([#59])
34
35## 1.0.4
36This is the last version to support rustc versions 1.15 to 1.33.
37
38* Implement `PartialOrd` and `Ord` deriving.
39
40## 1.0.3
41* Do not require `syn`'s `full` feature anymore. ([#38], [#45])
42* Fix an issue with using `#[derivative(Debug(format_with = "…"))]` on non-generic types. ([#40])
43* Fix some warnings in the library with recent versions of `rustc`.
44* Fix some `clippy::pedantic` warnings in generated code. ([#46])
45
46## 1.0.2
47* Add `use_core` feature to make `Derivative` usable in `core` crates.
48
49## 1.0.1
50* Updated `syn` to `0.15`. ([#25])
51* Updated `quote` to `0.6`. ([#25])
52
53## 1.0.0
54* Make stable.
55
56## 0.3.1
57* Fix a warning in `derivative(Debug)`.
58* Remove all `feature`s, this makes the crate usable on `beta`.
59
60[#25]: https://github.com/mcarton/rust-derivative/issues/25
61[#38]: https://github.com/mcarton/rust-derivative/pull/38
62[#40]: https://github.com/mcarton/rust-derivative/pull/40
63[#45]: https://github.com/mcarton/rust-derivative/pull/45
64[#46]: https://github.com/mcarton/rust-derivative/pull/46
65[#59]: https://github.com/mcarton/rust-derivative/pull/59
66[#60]: https://github.com/mcarton/rust-derivative/pull/60
67[#61]: https://github.com/mcarton/rust-derivative/pull/61
68[#64]: https://github.com/mcarton/rust-derivative/pull/64
69[#65]: https://github.com/mcarton/rust-derivative/pull/65
70[#68]: https://github.com/mcarton/rust-derivative/pull/68
71[#70]: https://github.com/mcarton/rust-derivative/pull/70
72[#71]: https://github.com/mcarton/rust-derivative/pull/71
73[#79]: https://github.com/mcarton/rust-derivative/pull/79
74[#81]: https://github.com/mcarton/rust-derivative/pull/81
75[#83]: https://github.com/mcarton/rust-derivative/pull/83
76[#84]: https://github.com/mcarton/rust-derivative/pull/84