Debian Codegraph @

CHANGELOG.md

raw
1 # Changelog
2
3 All notable changes to this project will be documented in this file.
4
5 This project adheres to [Semantic Versioning](https://semver.org).
6
7 Releases may yanked if there is a security bug, a soundness bug, or a regression.
8
9 <!--
10 Note: In this file, do not use the hard wrap in the middle of a sentence for compatibility with GitHub comment style markdown rendering.
11 -->
12
13 ## [Unreleased]
14
15 ## [1.0.3] - 2026-03-03
16
17 - Enable [release immutability](https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/immutable-releases).
18
19 ## [1.0.2] - 2024-05-30
20
21 - Fix error with arbitrary self types. ([#42](https://github.com/taiki-e/easy-ext/pull/42), thanks @mbazero)
22
23 ## [1.0.1] - 2022-09-29
24
25 - Fix "patterns aren't allowed in functions without bodies" error when patterns are used in arguments.
26
27 ## [1.0.0] - 2021-08-24
28
29 - Remove deprecated old impl-level visibility syntax (`#[ext(pub)]`). ([#38](https://github.com/taiki-e/easy-ext/pull/38))
30
31 Use `pub impl` syntax instead:
32
33 ```diff
34 - #[ext(pub)]
35 - impl Type {
36 + #[ext]
37 + pub impl Type {
38 fn method(&self) {}
39 }
40 ```
41
42 ## [0.2.9] - 2021-07-03
43
44 - Fix bug in parsing of where clause. ([#37](https://github.com/taiki-e/easy-ext/pull/37))
45
46 ## [0.2.8] - 2021-06-23
47
48 **Note:** This release has been yanked because of regression which fixed in 0.2.9.
49
50 - Support specifying visibility directly on `impl`. ([#31](https://github.com/taiki-e/easy-ext/pull/31))
51
52 ```rust
53 #[ext(Ext)]
54 pub impl Type {
55 fn method(&self) {}
56 }
57 ```
58
59 ```text
60 pub impl Type {
61 ^^^
62 ```
63
64 The old impl-level visibility syntax (`#[ext(pub)]`) will still be supported, but it is deprecated and will be removed in the next major version.
65
66 Migration:
67
68 ```diff
69 - #[ext(pub)]
70 - impl Type {
71 + #[ext]
72 + pub impl Type {
73 fn method(&self) {}
74 }
75 ```
76
77 - Improve compile time by removing all dependencies. ([#35](https://github.com/taiki-e/easy-ext/pull/35))
78
79 - Support type parameter defaults. ([#32](https://github.com/taiki-e/easy-ext/pull/32))
80
81 ## [0.2.7] - 2021-03-25
82
83 - Support associated types. ([#26](https://github.com/taiki-e/easy-ext/pull/26))
84
85 ## [0.2.6] - 2021-01-19
86
87 - Support specifying visibility at impl-level. ([#25](https://github.com/taiki-e/easy-ext/pull/25))
88
89 ## [0.2.5] - 2021-01-05
90
91 - Exclude unneeded files from crates.io.
92
93 ## [0.2.4] - 2020-12-29
94
95 - Documentation improvements.
96
97 ## [0.2.3] - 2020-08-24
98
99 - [Documentation (`#[doc]` attributes) is now generated only for trait definitions.](https://github.com/taiki-e/easy-ext/pull/23) Previously it generated for both trait definition and trait implementation. See [#20](https://github.com/taiki-e/easy-ext/issues/20) for more details.
100
101 ## [0.2.2] - 2020-07-22
102
103 - Fix `unused_attributes` lint in generated code. ([#22](https://github.com/taiki-e/easy-ext/pull/22))
104
105 - Diagnostic improvements.
106
107 ## [0.2.1] - 2020-07-11
108
109 - Documentation improvements.
110
111 ## [0.2.0] - 2020-04-22
112
113 - [`#[ext]` no longer adds type parameter, which is equivalent to `Self`, to the trait's generics.](https://github.com/taiki-e/easy-ext/pull/15) See [#11](https://github.com/taiki-e/easy-ext/issues/11) for more details.
114
115 ## [0.1.8] - 2020-04-20
116
117 - Documentation improvements.
118
119 ## [0.1.7] - 2020-04-20
120
121 - Supported unnamed extension trait. ([#9](https://github.com/taiki-e/easy-ext/pull/9))
122
123 ## [0.1.6] - 2019-10-12
124
125 - Improved error messages related to visibility. ([#5](https://github.com/taiki-e/easy-ext/pull/5))
126
127 ## [0.1.5] - 2019-08-15
128
129 - Updated `syn` and `quote` to 1.0.
130
131 ## [0.1.4] - 2019-03-10
132
133 - Updated minimum `syn` version to 0.15.29.
134
135 ## [0.1.3] - 2019-02-21
136
137 - Removed `inline` attributes on trait method side. It can avoid `clippy::inline_fn_without_body` lint by this.
138
139 ## [0.1.2] - 2019-02-21
140
141 - Used `#[allow(patterns_in_fns_without_body)]` to generated extension trait.
142
143 - Fixed some bugs related to generics.
144
145 ## [0.1.1] - 2019-02-21
146
147 **Note:** This release has been yanked.
148
149 - Fixed an error related to generics.
150
151 ## [0.1.0] - 2019-02-20
152
153 **Note:** This release has been yanked.
154
155 Initial release
156
157 [Unreleased]: https://github.com/taiki-e/easy-ext/compare/v1.0.3...HEAD
158 [1.0.3]: https://github.com/taiki-e/easy-ext/compare/v1.0.2...v1.0.3
159 [1.0.2]: https://github.com/taiki-e/easy-ext/compare/v1.0.1...v1.0.2
160 [1.0.1]: https://github.com/taiki-e/easy-ext/compare/v1.0.0...v1.0.1
161 [1.0.0]: https://github.com/taiki-e/easy-ext/compare/v0.2.9...v1.0.0
162 [0.2.9]: https://github.com/taiki-e/easy-ext/compare/v0.2.8...v0.2.9
163 [0.2.8]: https://github.com/taiki-e/easy-ext/compare/v0.2.7...v0.2.8
164 [0.2.7]: https://github.com/taiki-e/easy-ext/compare/v0.2.6...v0.2.7
165 [0.2.6]: https://github.com/taiki-e/easy-ext/compare/v0.2.5...v0.2.6
166 [0.2.5]: https://github.com/taiki-e/easy-ext/compare/v0.2.4...v0.2.5
167 [0.2.4]: https://github.com/taiki-e/easy-ext/compare/v0.2.3...v0.2.4
168 [0.2.3]: https://github.com/taiki-e/easy-ext/compare/v0.2.2...v0.2.3
169 [0.2.2]: https://github.com/taiki-e/easy-ext/compare/v0.2.1...v0.2.2
170 [0.2.1]: https://github.com/taiki-e/easy-ext/compare/v0.2.0...v0.2.1
171 [0.2.0]: https://github.com/taiki-e/easy-ext/compare/v0.1.8...v0.2.0
172 [0.1.8]: https://github.com/taiki-e/easy-ext/compare/v0.1.7...v0.1.8
173 [0.1.7]: https://github.com/taiki-e/easy-ext/compare/v0.1.6...v0.1.7
174 [0.1.6]: https://github.com/taiki-e/easy-ext/compare/v0.1.5...v0.1.6
175 [0.1.5]: https://github.com/taiki-e/easy-ext/compare/v0.1.4...v0.1.5
176 [0.1.4]: https://github.com/taiki-e/easy-ext/compare/v0.1.3...v0.1.4
177 [0.1.3]: https://github.com/taiki-e/easy-ext/compare/v0.1.2...v0.1.3
178 [0.1.2]: https://github.com/taiki-e/easy-ext/compare/v0.1.1...v0.1.2
179 [0.1.1]: https://github.com/taiki-e/easy-ext/compare/v0.1.0...v0.1.1
180 [0.1.0]: https://github.com/taiki-e/easy-ext/releases/tag/v0.1.0