Debian Codegraph @

third_party/rust/zeroize/CHANGELOG.md

raw
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](https://keepachangelog.com/en/1.0.0/),
5 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7 ## 1.8.1 (2024-05-25)
8 ### Changed
9 - Feature-gate AVX-512 support under `simd`; restores MSRV 1.60 ([#1073])
10
11 [#1073]: https://github.com/RustCrypto/utils/pull/1073
12
13 ## 1.8.0 (2024-04-24) [YANKED]
14
15 NOTE: yanked due concerns over the MSRV bump. See [#1067].
16
17 ### Added
18 - Unsafe `zeroize_flat_type` function ([#1045])
19 - `Zeroize` impls for `__m512` types on `x86`/`x86_64` targets ([#1052])
20
21 ### Changed
22 - Bump MSRV to 1.72 ([#1052])
23 - Always enable AArch64 support ([#1064])
24
25 ### Fixed
26 - Nightly warnings ([#1055])
27
28 [#1045]: https://github.com/RustCrypto/utils/pull/1045
29 [#1052]: https://github.com/RustCrypto/utils/pull/1052
30 [#1055]: https://github.com/RustCrypto/utils/pull/1055
31 [#1064]: https://github.com/RustCrypto/utils/pull/1064
32 [#1067]: https://github.com/RustCrypto/utils/pull/1067
33
34 ## 1.7.0 (2023-11-16)
35 ### Changed
36 - Bump MSRV to 1.60 ([#900])
37
38 ## 1.6.1 (2023-11-15) [YANKED]
39
40 NOTE: yanked because [#900] bumped MSRV to 1.60, which vioates our MSRV policy.
41
42 ### Added
43 - Impl `Zeroize` for `MaybeUninit` ([#900])
44
45 ### Removed
46 - Unnecessary `cfg`s on SIMD type impls ([#930])
47
48 [#900]: https://github.com/RustCrypto/utils/pull/900
49 [#930]: https://github.com/RustCrypto/utils/pull/930
50
51 ## 1.6.0 (2023-03-26)
52 ### Added
53 - Impl `Zeroize` for `core::num::Wrapping` ([#818])
54 - Impl `Zeroize` for `str` and `Box<str>` ([#842])
55
56 ### Changed
57 - 2021 edition upgrade; MSRV 1.56 ([#869])
58
59 [#818]: https://github.com/RustCrypto/utils/pull/818
60 [#842]: https://github.com/RustCrypto/utils/pull/842
61 [#869]: https://github.com/RustCrypto/utils/pull/869
62
63 ## 1.5.7 (2022-07-20)
64 ### Added
65 - Optional `serde` support ([#780])
66
67 [#780]: https://github.com/RustCrypto/utils/pull/780
68
69 ## 1.5.6 (2022-06-29)
70 ### Added
71 - `#[inline(always)]` annotations ([#772])
72 - `#[ignore]` attribute on flaky CString test ([#776])
73
74 ### Changed
75 - Factor integration tests into `tests/` ([#771])
76
77 [#771]: https://github.com/RustCrypto/utils/pull/771
78 [#772]: https://github.com/RustCrypto/utils/pull/772
79 [#776]: https://github.com/RustCrypto/utils/pull/776
80
81 ## 1.5.5 (2022-04-30)
82 ### Added
83 - Impl `Zeroize` for std::ffi::CString ([#759])
84 - `AsRef<T>` and `AsMut<T>` impls for `Zeroizing` ([#761])
85
86 [#759]: https://github.com/RustCrypto/utils/pull/759
87 [#761]: https://github.com/RustCrypto/utils/pull/761
88
89 ## 1.5.4 (2022-03-16)
90 ### Added
91 - Nightly-only upport for zeroizing ARM64 SIMD registers ([#749])
92
93 [#749]: https://github.com/RustCrypto/utils/pull/749
94
95 ## 1.5.3 (2022-02-25)
96 ### Fixed
97 - Deriving `ZeroizeOnDrop` on `DerefMut` ([#739])
98
99 [#739]: https://github.com/RustCrypto/utils/pull/739
100
101 ## 1.5.2 (2022-01-31) [YANKED]
102 ### Fixed
103 - Ambiguous method for `AssertZeroizeOnDrop` ([#725])
104
105 [#725]: https://github.com/RustCrypto/utils/pull/725
106
107 ## 1.5.1 (2022-01-27) [YANKED]
108 ### Fixed
109 - Double `mut` on `AssertZeroizeOnDrop` ([#719])
110
111 [#719]: https://github.com/RustCrypto/utils/pull/719
112
113 ## 1.5.0 (2022-01-14) [YANKED]
114 ### Added
115 - `Zeroize` impls for `PhantomData`, `PhantomPinned`, and tuples with 0-10 elements ([#660])
116 - `#[zeroize(bound = "T: MyTrait")]` ([#663])
117 - `ZeroizeOnDrop` trait and custom derive ([#699], [#700], [#703])
118
119 [#660]: https://github.com/RustCrypto/utils/pull/660
120 [#663]: https://github.com/RustCrypto/utils/pull/663
121 [#699]: https://github.com/RustCrypto/utils/pull/699
122 [#700]: https://github.com/RustCrypto/utils/pull/700
123 [#703]: https://github.com/RustCrypto/utils/pull/703
124
125 ## 1.4.3 (2021-11-04)
126 ### Added
127 - Implement `Zeroize` for `NonZeroX`
128
129 ### Changed
130 - Moved to `RustCrypto/utils` repository
131
132 ## 1.4.2 (2021-09-21)
133 ### Added
134 - Derive `Default` on `Zeroizing`
135
136 ## 1.4.1 (2021-07-20)
137 ### Added
138 - Implement Zeroize for `[MaybeUninit<Z>]`
139
140 ## 1.4.0 (2021-07-18)
141 NOTE: This release includes an MSRV bump to Rust 1.51. Please use `zeroize = "1.3.0"`
142 if you would like to support older Rust versions.
143
144 ### Added
145 - Use const generics to impl `Zeroize` for `[Z; N]`; MSRV 1.51
146 - `Zeroizing::clone_from` now zeroizes the destination before cloning
147
148 ## 1.3.0 (2021-04-19)
149 ### Added
150 - impl `Zeroize` for `Box<[Z]>`
151 - Clear residual space within `Option
152
153 ### Changed
154 - Ensure `Option` is `None` when zeroized
155 - Bump MSRV to 1.47
156
157 ## 1.2.0 (2020-12-09)
158 ### Added
159 - `Zeroize` support for x86(_64) SIMD registers
160
161 ### Changed
162 - Simplify `String::zeroize`
163 - MSRV 1.44+
164
165 ## 1.1.1 (2020-09-15)
166 - Add `doc_cfg`
167 - zeroize entire capacity of `String`
168 - zeroize entire capacity of `Vec`
169
170 ## 1.1.0 (2019-12-02)
171 - Add `TryZeroize` trait
172 - Add `From<Z: Zeroize>` impl for `Zeroizing<Z>`
173 - Remove `bytes-preview` feature
174
175 ## 1.0.0 (2019-10-13)
176 - Initial 1.0 release 🎉
177 - zeroize_derive: Remove legacy `no_drop` attribute support
178 - Rename `bytes` feature to `bytes-preview`
179 - Further relax `Zeroize` trait bounds for `Vec`
180 - Derive `Clone`, `Debug`, and `Eq` for `Zeroizing`
181
182 ## 1.0.0-pre (2019-09-30)
183 - Loosen `Vec` trait bounds for `Zeroize`
184
185 ## 0.10.1 (2019-09-03)
186 - (Optionally) Impl `Zeroize` for `Bytes` and `BytesMut`
187
188 ## 0.10.0 (2019-08-19)
189 Barring unforeseen circumstances, this release aims to be the last `0.x`
190 release prior to a `zeroize` 1.0 release.
191
192 - Disable `zeroize_derive` Cargo feature by default
193 - Remove `std` feature in favor of `alloc`; MSRV 1.36+
194 - Deprecate `#[zeroize(no_drop)]` attribute
195 - Use 1.0 `proc-macro2`, `quote`, and `syn` crates
196
197 ## 0.9.3 (2019-07-27)
198 - Improved attribute parser; fixes nightly build
199
200 ## 0.9.2 (2019-06-28)
201 - README.md: add Gitter badges; update image links
202
203 ## 0.9.1 (2019-06-04)
204 - Impl `Zeroize` for `Option<Z: Zeroize>`
205
206 ## 0.9.0 (2019-06-04)
207 **NOTICE**: This release changes the default behavior of `derive(Zeroize)`
208 to no longer derive a `Drop` impl. If you wish to derive `Drop`, you must
209 now explicitly add a `#[zeroize(drop)]` attribute on the type for which you
210 are deriving `Zeroize`.
211
212 - Remove CPU fences
213 - Remove scary language about undefined behavior
214 - Bound blanket array impls on `Zeroize` instead of `DefaultIsZeroes`
215 - Require `zeroize(drop)` or `zeroize(no_drop)` attributes when deriving
216 `Zeroize` .
217 - Support stablized 'alloc' crate
218
219 ## 0.8.0 (2019-05-20)
220 - Impl `Drop` by default when deriving `Zeroize`
221
222 ## 0.7.0 (2019-05-19)
223 - Use synstructure for custom derive
224 - Add explicit array impls for `DefaultIsZeroes`
225 - Remove `nightly` feature
226 - Add `Zeroizing<Z>` to zeroize values on drop
227
228 ## 0.6.0 (2019-03-23)
229 - Add ZeroizeOnDrop marker trait + custom derive
230 - Custom derive support for `Zeroize`
231 - Rename `ZeroizeWithDefault` to `DefaultIsZeroes`
232
233 ## 0.5.2 (2018-12-25)
234 - Add `debug_assert!` to ensure string interiors are zeroized
235
236 ## 0.5.1 (2018-12-24)
237 - Avoid re-exporting the whole prelude
238
239 ## 0.5.0 (2018-12-24)
240 This release is a rewrite which replaces FFI bindings to OS-specific APIs with
241 a pure Rust solution.
242
243 - Use `core::sync::atomic` fences
244 - Test wasm target
245 - Rewrite using `core::ptr::write_volatile`
246
247 ## 0.4.2 (2018-10-12)
248 - Fix ldd scraper for older glibc versions
249
250 ## 0.4.1 (2018-10-12)
251 - Support musl-libc
252
253 ## 0.4.0 (2018-10-12)
254 - Impl `Zeroize` trait on concrete types
255
256 ## 0.3.0 (2018-10-11)
257 - Replace `secure_zero_memory` with `Zeroize`
258
259 ## 0.2.0 (2018-10-11)
260 - Add `Zeroize` trait
261
262 ## 0.1.2 (2018-10-03)
263 - README.md: Fix intrinsic links
264
265 ## 0.1.1 (2018-10-03)
266 - Documentation improvements
267
268 ## 0.1.0 (2018-10-03)
269 - Initial release