| 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](http://keepachangelog.com/en/1.0.0/) |
| 5 | and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). |
| 6 | |
| 7 | |
| 8 | ## [Unreleased] |
| 9 | |
| 10 | [Unreleased]: https://github.com/althonos/blanket/compare/v0.4.0...HEAD |
| 11 | |
| 12 | |
| 13 | ## [v0.4.0]: https://github.com/althonos/blanket/compare/v0.3.0...v0.4.0 |
| 14 | |
| 15 | ### Added |
| 16 | - Support for associated functions in traits ([#12](https://github.com/althonos/blanket/issues/12)). |
| 17 | - Support for `async` methods ([#11](https://github.com/althonos/blanket/issues/11)). |
| 18 | - Partial support for deriving trait for `Cow`. |
| 19 | |
| 20 | ### Changed |
| 21 | - Refactored internal code to share deriving code between all supported types. |
| 22 | |
| 23 | |
| 24 | ## [v0.3.0] - 2023-06-19 |
| 25 | |
| 26 | [v0.3.0]: https://github.com/althonos/blanket/compare/v0.2.0...v0.3.0 |
| 27 | |
| 28 | ### Fixed |
| 29 | - `blanket` macro failing to process types with generic arguments and associated types ([#8](https://github.com/althonos/blanket/issues/8), by [@JustinLovinger](https://github.com/JustinLovinger)). |
| 30 | |
| 31 | ### Changed |
| 32 | - Updated `syn` dependency to `v2.0`. |
| 33 | - `#[blanket(default = ...)]` now also accepts a path instead of a string literal. |
| 34 | |
| 35 | |
| 36 | ## [v0.2.0] - 2021-05-06 |
| 37 | |
| 38 | [v0.2.0]: https://github.com/althonos/blanket/compare/v0.1.5...v0.2.0 |
| 39 | |
| 40 | ### Added |
| 41 | - Implementation for `#[blanket(derive(Arc))]` ([#4](https://github.com/althonos/blanket/pull/4), by [@najamelan](https://github.com/najamelan)) |
| 42 | - Support for associated type in derived traits ([#6](https://github.com/althonos/blanket/pull/6), by [@najamelan](https://github.com/najamelan)). |
| 43 | |
| 44 | ### Fixed |
| 45 | - Missing features for the `syn` crate preventing the crate to compile without leaking dev-dependencies ([#5](https://github.com/althonos/blanket/pull/5)). |
| 46 | |
| 47 | |
| 48 | ## [v0.1.5] - 2021-05-31 |
| 49 | |
| 50 | [v0.1.5]: https://github.com/althonos/blanket/compare/v0.1.4...v0.1.5 |
| 51 | |
| 52 | ### Fixed |
| 53 | - Regression in `v0.1.4` causing trait-associated lifetimes to be erased. |
| 54 | |
| 55 | |
| 56 | ## [v0.1.4] - 2021-05-31 - YANKED |
| 57 | |
| 58 | [v0.1.4]: https://github.com/althonos/blanket/compare/v0.1.3...v0.1.4 |
| 59 | |
| 60 | ### Fixed |
| 61 | - Generics being erroneously repeated when deriving a trait with |
| 62 | bounded generic arguments ([#2](https://github.com/althonos/blanket/issues/2)). |
| 63 | |
| 64 | |
| 65 | ## [v0.1.3] - 2020-10-13 |
| 66 | |
| 67 | [v0.1.3]: https://github.com/althonos/blanket/compare/v0.1.2...v0.1.3 |
| 68 | |
| 69 | ### Fixed |
| 70 | |
| 71 | - Handling of where clauses for traits with generic parameters, |
| 72 | by @alexanderlinne ([#1](https://github.com/althonos/blanket/pull/1)). |
| 73 | |
| 74 | |
| 75 | ## [v0.1.2] - 2020-07-22 |
| 76 | |
| 77 | [v0.1.2]: https://github.com/althonos/blanket/compare/v0.1.1...v0.1.2 |
| 78 | |
| 79 | ### Changed |
| 80 | |
| 81 | - `syn` now only compiles with [`full`](https://docs.rs/syn/latest/syn/#optional-features) |
| 82 | feature in release mode. |
| 83 | |
| 84 | ### Removed |
| 85 | - Unused `darling` dependency. |
| 86 | |
| 87 | |
| 88 | ## [v0.1.1] - 2020-07-22 |
| 89 | |
| 90 | [v0.1.1]: https://github.com/althonos/blanket/compare/v0.1.0...v0.1.1 |
| 91 | |
| 92 | ### Added |
| 93 | |
| 94 | - Support for generic arguments in trait definition. |
| 95 | - Implementation of `#[blanket(derive(Rc))]`. |
| 96 | |
| 97 | ### Fixed |
| 98 | - Error messages of `#[blanket(derive(Mut))]` referring `Ref` erroneously. |
| 99 | - Implementation of `fn(self)` methods when deriving for `Box`. |
| 100 | |
| 101 | ### Removed |
| 102 | - Unused `strum` dependency. |
| 103 | |
| 104 | |
| 105 | ## [v0.1.0] - 2020-07-21 |
| 106 | |
| 107 | [v0.1.0]: https://github.com/althonos/blanket/compare/3e6065c9...v0.1.0 |
| 108 | |
| 109 | Initial release. |