| 1 |
# Change Log |
| 2 |
|
| 3 |
All user visible changes to this project will be documented in this file. |
| 4 |
This project adheres to [Semantic Versioning](http://semver.org/), as described |
| 5 |
for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md) |
| 6 |
|
| 7 |
## Unreleased |
| 8 |
|
| 9 |
- None. |
| 10 |
|
| 11 |
### Breaking changes |
| 12 |
|
| 13 |
- None. |
| 14 |
|
| 15 |
## 1.2.0 - 2023-03-18 |
| 16 |
|
| 17 |
- Support destructuring function arguments |
| 18 |
|
| 19 |
## 1.1.3 - 2023-03-18 |
| 20 |
|
| 21 |
- Update to syn 2.0 |
| 22 |
|
| 23 |
## 1.1.2 - 2021-09-02 |
| 24 |
|
| 25 |
- Fix using `pub impl` with `#[async_trait]`. |
| 26 |
|
| 27 |
## 1.1.1 - 2021-06-12 |
| 28 |
|
| 29 |
- Fix name collision for extensions on `&T` and `&mut T`. The generated traits |
| 30 |
now get different names. |
| 31 |
|
| 32 |
## 1.1.0 - 2021-06-12 |
| 33 |
|
| 34 |
- Support setting visibility of the generated trait directly on the `impl` |
| 35 |
block. For example: `pub impl i32 { ... }`. |
| 36 |
- Add `#[ext_sized]` for adding `Sized` supertrait. |
| 37 |
|
| 38 |
## 1.0.1 - 2021-02-14 |
| 39 |
|
| 40 |
- Update maintenance status. |
| 41 |
|
| 42 |
## 1.0.0 - 2021-01-30 |
| 43 |
|
| 44 |
- Support extensions on bare functions types (things like `fn(i32) -> bool`). |
| 45 |
- Support extensions on trait objects (things like `dyn Send + Sync`). |
| 46 |
|
| 47 |
## 0.3.0 - 2020-08-31 |
| 48 |
|
| 49 |
- Add async-trait compatibility. |
| 50 |
|
| 51 |
### Breaking changes |
| 52 |
|
| 53 |
- Other attributes put on the `impl` would previously only be included on the generated trait. They're now included on both the trait and the implementation. |
| 54 |
|
| 55 |
## 0.2.1 - 2020-08-29 |
| 56 |
|
| 57 |
- Fix documentation link in Cargo.toml. |
| 58 |
- Use more correct repository URL in Cargo.toml. |
| 59 |
|
| 60 |
## 0.2.0 - 2020-08-29 |
| 61 |
|
| 62 |
- Handle unnamed extensions on the same generic type with different type parameters. For example `Option<i32>` and `Option<String>`. Previously we would generate the same name of both hidden traits which wouldn't compile. |
| 63 |
- Support associated constants in extension impls. |
| 64 |
|
| 65 |
### Breaking changes |
| 66 |
|
| 67 |
- Generated traits are no longer sealed and the `sealed` argument previously supported by `#[ext]` has been removed. Making the traits sealed lead to lots of complexity that we didn't think brought much value. |
| 68 |
|
| 69 |
## 0.1.1 - 2020-02-22 |
| 70 |
|
| 71 |
- Add support for specifying supertraits of the generated trait [#4](https://github.com/davidpdrsn/extend/pull/4). |
| 72 |
|
| 73 |
## 0.1.0 |
| 74 |
|
| 75 |
- Support adding extensions to the ["never type"](https://doc.rust-lang.org/std/primitive.never.html). |
| 76 |
|
| 77 |
### Breaking changes |
| 78 |
|
| 79 |
- Simplify names of traits generates for complex types. |
| 80 |
|
| 81 |
## 0.0.2 |
| 82 |
|
| 83 |
- Move "trybuild" to dev-dependency. |
| 84 |
|
| 85 |
## 0.0.1 |
| 86 |
|
| 87 |
Initial release. |