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