| 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.2.2 (2026-05-19) |
| 9 |
### Added |
| 10 |
- `SetIvState` trait ([#2420]) |
| 11 |
|
| 12 |
[#2420]: https://github.com/RustCrypto/traits/pull/2420 |
| 13 |
|
| 14 |
## 0.2.1 (2026-02-25) |
| 15 |
### Changed |
| 16 |
- `BlockSizeUser::BlockSize` is no longer bounded by `BlockSizes` ([#2309]) |
| 17 |
|
| 18 |
### Removed |
| 19 |
- `BlockSizes` trait ([#2309]) |
| 20 |
|
| 21 |
[#2309]: https://github.com/RustCrypto/traits/pull/2309 |
| 22 |
|
| 23 |
## 0.2.0 (2026-02-04) [YANKED] |
| 24 |
Note: this version was yanked because v0.2.1 introduces breaking changes. |
| 25 |
Users should migrate to v0.2.1 using `cargo update`. |
| 26 |
|
| 27 |
### Added |
| 28 |
- Sealed `BlockSizes` trait implemented for types from `U1` to `U255` ([#1172]) |
| 29 |
- `SerializableState` trait under `hazmat` module ([#1369]) |
| 30 |
- `OutputSize` type alias ([#1533]) |
| 31 |
- `IvState` trait ([#1636]) |
| 32 |
- `core::error::Error` impls for error types ([#1660]) |
| 33 |
- `Generate` trait as a common RNG API ([#2096], [#2145]) |
| 34 |
- `TryKeyInit` trait ([#2097]) |
| 35 |
- Re-export `getrandom` ([#2152]) |
| 36 |
- `KeyExport` trait ([#2213]) |
| 37 |
|
| 38 |
### Changed |
| 39 |
- Replaced `generic-array` with `hybrid-array` ([#1319], [#1976]) |
| 40 |
- `BlockUser::BlockSize` is now bounded by the `BlockSizes` trait |
| 41 |
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1759]) |
| 42 |
- `generate_*` methods on `KeyInit` and `KeyIvInit` traits have been deprecated in favor of the |
| 43 |
new `Generate` trait ([#2162]) |
| 44 |
- Bump `rand_core` to v0.10 ([#2250]) |
| 45 |
- Bump `getrandom` to v0.4 ([#2258]) |
| 46 |
|
| 47 |
### Removed |
| 48 |
- `std` feature ([#1680]) |
| 49 |
|
| 50 |
[#1172]: https://github.com/RustCrypto/traits/pull/1172 |
| 51 |
[#1319]: https://github.com/RustCrypto/traits/pull/1319 |
| 52 |
[#1369]: https://github.com/RustCrypto/traits/pull/1369 |
| 53 |
[#1533]: https://github.com/RustCrypto/traits/pull/1533 |
| 54 |
[#1636]: https://github.com/RustCrypto/traits/pull/1636 |
| 55 |
[#1660]: https://github.com/RustCrypto/traits/pull/1660 |
| 56 |
[#1680]: https://github.com/RustCrypto/traits/pull/1680 |
| 57 |
[#1759]: https://github.com/RustCrypto/traits/pull/1759 |
| 58 |
[#1976]: https://github.com/RustCrypto/traits/pull/1976 |
| 59 |
[#2096]: https://github.com/RustCrypto/traits/pull/2096 |
| 60 |
[#2097]: https://github.com/RustCrypto/traits/pull/2097 |
| 61 |
[#2145]: https://github.com/RustCrypto/traits/pull/2145 |
| 62 |
[#2152]: https://github.com/RustCrypto/traits/pull/2152 |
| 63 |
[#2162]: https://github.com/RustCrypto/traits/pull/2162 |
| 64 |
[#2213]: https://github.com/RustCrypto/traits/pull/2213 |
| 65 |
[#2250]: https://github.com/RustCrypto/traits/pull/2250 |
| 66 |
[#2258]: https://github.com/RustCrypto/traits/pull/2258 |
| 67 |
|
| 68 |
## 0.1.7 (2025-11-12) |
| 69 |
### Changed |
| 70 |
- Pin `generic-array` to v0.14.7 ([#2088]) |
| 71 |
|
| 72 |
[#2088]: https://github.com/RustCrypto/traits/pull/2088 |
| 73 |
|
| 74 |
## 0.1.6 (2022-07-16) |
| 75 |
### Added |
| 76 |
- Move `ParBlocks`/`ParBlocksSizeUser` from `cipher` crate ([#1052]) |
| 77 |
|
| 78 |
[#1052]: https://github.com/RustCrypto/traits/pull/1052 |
| 79 |
|
| 80 |
## 0.1.5 (2022-07-09) |
| 81 |
### Fixed |
| 82 |
- Support on-label MSRV ([#1049]) |
| 83 |
|
| 84 |
[#1049]: https://github.com/RustCrypto/traits/pull/1049 |
| 85 |
|
| 86 |
## 0.1.4 (2022-07-02) |
| 87 |
### Added |
| 88 |
- `getrandom` feature ([#1034]) |
| 89 |
|
| 90 |
[#1034]: https://github.com/RustCrypto/traits/pull/1034 |
| 91 |
|
| 92 |
## 0.1.3 (2022-02-16) |
| 93 |
### Fixed |
| 94 |
- Minimal versions build ([#940]) |
| 95 |
|
| 96 |
[#940]: https://github.com/RustCrypto/traits/pull/940 |
| 97 |
|
| 98 |
## 0.1.2 (2022-02-10) |
| 99 |
### Added |
| 100 |
- Re-export `generic-array` and `typenum`. Enable `more_lengths` feature on |
| 101 |
`generic-array`. Add `key_size`, `iv_size`, `block_size`, and `output_size` |
| 102 |
helper methods. ([#849]) |
| 103 |
|
| 104 |
[#849]: https://github.com/RustCrypto/traits/pull/849 |
| 105 |
|
| 106 |
## 0.1.1 (2021-12-14) |
| 107 |
### Added |
| 108 |
- `rand_core` re-export and proper exposure of key/IV generation methods on docs.rs ([#847]) |
| 109 |
|
| 110 |
[#847]: https://github.com/RustCrypto/traits/pull/847 |
| 111 |
|
| 112 |
## 0.1.0 (2021-12-07) |
| 113 |
- Initial release |