| 1 |
# Changelog |
| 2 |
|
| 3 |
All notable changes to this project will be documented in this file. |
| 4 |
|
| 5 |
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 |
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 |
|
| 8 |
## 0.4.14 (2026-07-30) |
| 9 |
### Added |
| 10 |
- Sizes for `sntrup` ([#231]) |
| 11 |
|
| 12 |
[#231]: https://github.com/RustCrypto/hybrid-array/pull/231 |
| 13 |
|
| 14 |
## 0.4.13 (2026-06-27) |
| 15 |
### Added |
| 16 |
- `ArraySize` for `U521` and `U522` for NIST P-521 ([#228]) |
| 17 |
|
| 18 |
[#228]: https://github.com/RustCrypto/hybrid-array/pull/228 |
| 19 |
|
| 20 |
## 0.4.12 (2026-05-09) |
| 21 |
### Added |
| 22 |
- `ArraySize` impls for Classic McEliece ([#220]) |
| 23 |
|
| 24 |
[#220]: https://github.com/RustCrypto/hybrid-array/pull/220 |
| 25 |
|
| 26 |
## 0.4.11 (2026-04-24) |
| 27 |
### Added |
| 28 |
- HPKE Hybrid KEM sizes ([#218]) |
| 29 |
|
| 30 |
### Removed |
| 31 |
- `Clone` bounds on `Box`/`Vec` conversions ([#209]) |
| 32 |
|
| 33 |
[#209]: https://github.com/RustCrypto/hybrid-array/pull/209 |
| 34 |
[#218]: https://github.com/RustCrypto/hybrid-array/pull/218 |
| 35 |
|
| 36 |
## 0.4.10 (2026-03-31) |
| 37 |
### Added |
| 38 |
- `AsMut<Array<T, U>>` impl for `Array<T, U>` ([#193]) |
| 39 |
- HQC KEM sizes ([#195]) |
| 40 |
|
| 41 |
[#193]: https://github.com/RustCrypto/hybrid-array/pull/193 |
| 42 |
[#195]: https://github.com/RustCrypto/hybrid-array/pull/195 |
| 43 |
|
| 44 |
## 0.4.9 (2026-03-30) |
| 45 |
### Added |
| 46 |
- Functions for casting from core references ([#181]) |
| 47 |
- `Array::cast_from_core`: `const fn` equivalent of `From<[T; N]>` |
| 48 |
- `Array::cast_from_core_mut`: `mut` equivalent of the above |
| 49 |
- `Array::from_ref`: cast `&T` to `&Array<T; U1>` |
| 50 |
- `Array::from_mut`: `mut` equivalent of the above |
| 51 |
|
| 52 |
[#181]: https://github.com/RustCrypto/hybrid-array/pull/181 |
| 53 |
|
| 54 |
## 0.4.8 (2026-03-08) |
| 55 |
### Added |
| 56 |
- `ctutils` support ([#177]) |
| 57 |
|
| 58 |
[#177]: https://github.com/RustCrypto/hybrid-array/pull/177 |
| 59 |
|
| 60 |
## 0.4.7 (2026-02-03) |
| 61 |
### Added |
| 62 |
- `Flatten` and `Unflatten` traits ([#170]) |
| 63 |
- `Array::slice_as_(mut_)array` ([#171]) |
| 64 |
- `SliceExt` ([#172]) |
| 65 |
|
| 66 |
[#170]: https://github.com/RustCrypto/hybrid-array/pull/170 |
| 67 |
[#171]: https://github.com/RustCrypto/hybrid-array/pull/171 |
| 68 |
[#172]: https://github.com/RustCrypto/hybrid-array/pull/172 |
| 69 |
|
| 70 |
## 0.4.6 (2026-01-22) |
| 71 |
### Added |
| 72 |
- Optional dependency on `zerocopy` with impls for `Array` ([#162]) |
| 73 |
- `Debug` bound to `ArraySize` ([#165]) |
| 74 |
|
| 75 |
[#162]: https://github.com/RustCrypto/hybrid-array/pull/162 |
| 76 |
[#165]: https://github.com/RustCrypto/hybrid-array/pull/165 |
| 77 |
|
| 78 |
## 0.4.5 (2025-09-29) |
| 79 |
### Added |
| 80 |
- Impl `arbitrary::Arbitrary` for `Array` ([#153]) |
| 81 |
|
| 82 |
### Changed |
| 83 |
- Switch from `doc_auto_cfg` to `doc_cfg` ([#154]) |
| 84 |
|
| 85 |
[#153]: https://github.com/RustCrypto/hybrid-array/pull/153 |
| 86 |
[#154]: https://github.com/RustCrypto/hybrid-array/pull/154 |
| 87 |
|
| 88 |
## 0.4.4 (2025-09-24) |
| 89 |
### Added |
| 90 |
- Enable the `subtle/const-generics` feature ([#149]) |
| 91 |
|
| 92 |
[#149]: https://github.com/RustCrypto/hybrid-array/pull/149 |
| 93 |
|
| 94 |
## 0.4.3 (2025-09-23) |
| 95 |
### Added |
| 96 |
- `Array::as_(mut_)ptr` ([#147]) |
| 97 |
|
| 98 |
### Changed |
| 99 |
- Remove bounds on `Array::slice_as_flattened(_mut)`; make `const fn` ([#144]) |
| 100 |
- Make `Array::as_(mut_)slice` a `const fn` ([#147]) |
| 101 |
- Make `Array::<Array<T, U>::as_flattened(_mut)` a `const fn` ([#147]) |
| 102 |
|
| 103 |
[#144]: https://github.com/RustCrypto/hybrid-array/pull/144 |
| 104 |
[#147]: https://github.com/RustCrypto/hybrid-array/pull/147 |
| 105 |
|
| 106 |
## 0.4.2 (2025-09-21) [YANKED] |
| 107 |
### Added |
| 108 |
- `Array::slice_as_flattened(_mut)` ([#142]) |
| 109 |
|
| 110 |
[#142]: https://github.com/RustCrypto/hybrid-array/pull/142 |
| 111 |
|
| 112 |
## 0.4.1 (2025-09-10) |
| 113 |
### Changed |
| 114 |
- Make slice conversions `const fn` ([#140]) |
| 115 |
|
| 116 |
[#140]: https://github.com/RustCrypto/hybrid-array/pull/140 |
| 117 |
|
| 118 |
## 0.4.0 (2025-09-01) |
| 119 |
### Added |
| 120 |
- `ArraySize` impls for `U536` and `U568` ([#128]) |
| 121 |
- `AsArrayRef`/`AsArrayMut` traits with impls on `[T; N]` and `Array` ([#135]) |
| 122 |
- `alloc` feature with `Box`/`Vec` conversions to/from `Array` ([#136], [#138]) |
| 123 |
|
| 124 |
### Removed |
| 125 |
- `AsRef`/`AsMut` impls on `[T; N]` ([#133]) |
| 126 |
|
| 127 |
[#128]: https://github.com/RustCrypto/hybrid-array/pull/128 |
| 128 |
[#133]: https://github.com/RustCrypto/hybrid-array/pull/133 |
| 129 |
[#135]: https://github.com/RustCrypto/hybrid-array/pull/135 |
| 130 |
[#136]: https://github.com/RustCrypto/hybrid-array/pull/136 |
| 131 |
[#138]: https://github.com/RustCrypto/hybrid-array/pull/138 |
| 132 |
|
| 133 |
## 0.3.1 (2025-03-30) |
| 134 |
### Added |
| 135 |
- `subtle` feature ([#126]) |
| 136 |
|
| 137 |
[#126]: https://github.com/RustCrypto/hybrid-array/pull/126 |
| 138 |
|
| 139 |
## 0.3.0 (2025-02-21) |
| 140 |
### Changed |
| 141 |
- Bump edition to 2024; MSRV 1.85 ([#116]) |
| 142 |
|
| 143 |
### Removed |
| 144 |
- `U3293` as an unused ML-DSA size ([#117]) |
| 145 |
|
| 146 |
[#116]: https://github.com/RustCrypto/hybrid-array/pull/116 |
| 147 |
[#117]: https://github.com/RustCrypto/hybrid-array/pull/117 |
| 148 |
|
| 149 |
## 0.2.3 (2024-12-07) |
| 150 |
### Added |
| 151 |
- Additional ML-DSA sizes ([#108]) |
| 152 |
|
| 153 |
[#108]: https://github.com/RustCrypto/hybrid-array/pull/108 |
| 154 |
|
| 155 |
## 0.2.2 (2024-11-11) |
| 156 |
### Added |
| 157 |
- FrodoKEM sizes ([#104]) |
| 158 |
|
| 159 |
[#104]: https://github.com/RustCrypto/hybrid-array/pull/104 |
| 160 |
|
| 161 |
## 0.2.1 (2024-10-20) |
| 162 |
### Fixed |
| 163 |
- MSRV badge ([9d47c798](https://github.com/RustCrypto/hybrid-array/commit/9d47c79861057b3a04bb19cb2dfaa1f75cbf9ddd)) |
| 164 |
|
| 165 |
## 0.2.0 (2024-10-19) |
| 166 |
### Added |
| 167 |
- Reference conversion support from core arrays ([utils#904]) |
| 168 |
- Impl `Default` for `Array` ([utils#905]) |
| 169 |
- `Deref`/`DerefMut` impls for `Array` ([utils#908], [utils#913]) |
| 170 |
- Impl `From<Array<T, U>>` for `[T; N]` ([utils#945]) |
| 171 |
- Impl `IntoIterator` for all `ArraySize`s ([utils#956]) |
| 172 |
- Impl `IntoIterator` for references to all `ArraySize`s ([utils#957]) |
| 173 |
- Concat and split methods ([utils#958]) |
| 174 |
- `slice_as_chunks(_mut)` methods ([utils#974]) |
| 175 |
- Impl `Zeroize`/`ZeroizeOnDrop` for `Array` ([utils#984]) |
| 176 |
- `AssocArraySize` trait ([utils#1006], [#40]) |
| 177 |
- `sizes` submodule ([utils#1014], [#68]) |
| 178 |
- `ArrayN` type alias ([utils#1017]) |
| 179 |
- Impl `FromIterator` ([utils#1039]) |
| 180 |
- `Array::try_from_iter` ([#4]) |
| 181 |
- Helper functions for `Array<MaybeUninit<T>, U>` ([#8]) |
| 182 |
- `Send` and `Sync` impls for `Array` ([#15]) |
| 183 |
- `Array::map` ([#61]) |
| 184 |
- Support all array sizes up to `U512` ([#67]) |
| 185 |
- `Array<Array<...>>::as_flattened{_mut}()` ([#86]) |
| 186 |
- `serde` support ([#88]) |
| 187 |
- `bytemuck` support ([#99]) |
| 188 |
|
| 189 |
### Changed |
| 190 |
- Use GATs for `ArraySize` ([utils#893]) |
| 191 |
- Make `ArraySize` an `unsafe trait` ([utils#914]) |
| 192 |
- MSRV 1.81 ([#85]) |
| 193 |
|
| 194 |
### Removed |
| 195 |
- `ByteArray` type alias ([utils#995]) |
| 196 |
- `ArrayOps` trait ([#30]) |
| 197 |
- `std` feature ([#85]) |
| 198 |
|
| 199 |
[utils#893]: https://github.com/RustCrypto/utils/pull/893 |
| 200 |
[utils#904]: https://github.com/RustCrypto/utils/pull/904 |
| 201 |
[utils#905]: https://github.com/RustCrypto/utils/pull/905 |
| 202 |
[utils#908]: https://github.com/RustCrypto/utils/pull/908 |
| 203 |
[utils#913]: https://github.com/RustCrypto/utils/pull/913 |
| 204 |
[utils#914]: https://github.com/RustCrypto/utils/pull/914 |
| 205 |
[utils#945]: https://github.com/RustCrypto/utils/pull/945 |
| 206 |
[utils#956]: https://github.com/RustCrypto/utils/pull/956 |
| 207 |
[utils#957]: https://github.com/RustCrypto/utils/pull/957 |
| 208 |
[utils#958]: https://github.com/RustCrypto/utils/pull/958 |
| 209 |
[utils#974]: https://github.com/RustCrypto/utils/pull/974 |
| 210 |
[utils#984]: https://github.com/RustCrypto/utils/pull/984 |
| 211 |
[utils#995]: https://github.com/RustCrypto/utils/pull/995 |
| 212 |
[utils#1006]: https://github.com/RustCrypto/utils/pull/1006 |
| 213 |
[utils#1014]: https://github.com/RustCrypto/utils/pull/1014 |
| 214 |
[utils#1017]: https://github.com/RustCrypto/utils/pull/1017 |
| 215 |
[utils#1039]: https://github.com/RustCrypto/utils/pull/1039 |
| 216 |
[#4]: https://github.com/RustCrypto/hybrid-array/pull/4 |
| 217 |
[#8]: https://github.com/RustCrypto/hybrid-array/pull/8 |
| 218 |
[#15]: https://github.com/RustCrypto/hybrid-array/pull/15 |
| 219 |
[#30]: https://github.com/RustCrypto/hybrid-array/pull/30 |
| 220 |
[#40]: https://github.com/RustCrypto/hybrid-array/pull/40 |
| 221 |
[#61]: https://github.com/RustCrypto/hybrid-array/pull/61 |
| 222 |
[#67]: https://github.com/RustCrypto/hybrid-array/pull/67 |
| 223 |
[#68]: https://github.com/RustCrypto/hybrid-array/pull/68 |
| 224 |
[#85]: https://github.com/RustCrypto/hybrid-array/pull/85 |
| 225 |
[#86]: https://github.com/RustCrypto/hybrid-array/pull/86 |
| 226 |
[#88]: https://github.com/RustCrypto/hybrid-array/pull/88 |
| 227 |
[#99]: https://github.com/RustCrypto/hybrid-array/pull/99 |
| 228 |
|
| 229 |
## 0.1.0 (2022-05-07) |
| 230 |
- Initial release |