| 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 |
## 0.12.1 (2026-06-11) |
| 8 |
### Fixed |
| 9 |
- Exception safety bug ([#1487]) |
| 10 |
|
| 11 |
[#1487]: https://github.com/RustCrypto/utils/pull/1487 |
| 12 |
|
| 13 |
## 0.12.0 (2026-02-24) |
| 14 |
### Added |
| 15 |
- `BlockSizes` trait implemented for sizes bigger than `U0` and smaller than `U256` ([#1455]) |
| 16 |
|
| 17 |
### Changed |
| 18 |
- Block sizes used by `BlockBuffer` and `ReadBuffer` are now bound by `BlockSizes` ([#1455]) |
| 19 |
|
| 20 |
[#1455]: https://github.com/RustCrypto/utils/pull/1455 |
| 21 |
|
| 22 |
## 0.11.0 (2025-11-07) |
| 23 |
### Added |
| 24 |
- `ReadBuffer` type ([#823]) |
| 25 |
- Optional implementation of the `Zeroize` trait ([#963]) |
| 26 |
- Generic `serialize` and `deserialize` methods ([#1200]) |
| 27 |
- `ReadBuffer::{read_cached, write_block, reset}` methods ([#1201]) |
| 28 |
|
| 29 |
### Changed |
| 30 |
- Block sizes must be bigger than 0 and smaller than 256. |
| 31 |
This is enforced using compile-time monomorphization errors. ([#1115]) |
| 32 |
- Size of `EagerBuffer` is equal to buffer size, while previously it was equal |
| 33 |
to buffer size plus one byte ([#823]) |
| 34 |
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1149]) |
| 35 |
|
| 36 |
### Removed |
| 37 |
- `EagerBuffer::set_data` method. Use the `ReadBuffer` type instead. ([#823]) |
| 38 |
|
| 39 |
[#823]: https://github.com/RustCrypto/utils/pull/823 |
| 40 |
[#963]: https://github.com/RustCrypto/utils/pull/963 |
| 41 |
[#1115]: https://github.com/RustCrypto/utils/pull/1115 |
| 42 |
[#1115]: https://github.com/RustCrypto/utils/pull/1116 |
| 43 |
[#1149]: https://github.com/RustCrypto/utils/pull/1149 |
| 44 |
[#1200]: https://github.com/RustCrypto/utils/pull/1200 |
| 45 |
[#1201]: https://github.com/RustCrypto/utils/pull/1201 |
| 46 |
|
| 47 |
## 0.10.3 (2022-09-04) |
| 48 |
### Added |
| 49 |
- `try_new` method ([#799]) |
| 50 |
|
| 51 |
[#799]: https://github.com/RustCrypto/utils/pull/799 |
| 52 |
|
| 53 |
## 0.10.2 (2021-02-08) |
| 54 |
### Fixed |
| 55 |
- Eliminate unreachable panic in `LazyBuffer::digest_blocks` ([#731]) |
| 56 |
|
| 57 |
[#731]: https://github.com/RustCrypto/utils/pull/731 |
| 58 |
|
| 59 |
## 0.10.1 (2021-02-05) |
| 60 |
### Fixed |
| 61 |
- Use `as_mut_ptr` to get a pointer for mutation in the `set_data` method ([#728]) |
| 62 |
|
| 63 |
[#728]: https://github.com/RustCrypto/utils/pull/728 |
| 64 |
|
| 65 |
## 0.10.0 (2020-12-07) [YANKED] |
| 66 |
### Changed |
| 67 |
- Significant reduction of number of unreachable panics. ([#671]) |
| 68 |
- Added buffer kind type parameter to `BlockBuffer`, respective marker types, and type aliases. ([#671]) |
| 69 |
- Various `BlockBuffer` method changes. ([#671]) |
| 70 |
|
| 71 |
### Removed |
| 72 |
- `pad_with` method and dependency on `block-padding`. ([#671]) |
| 73 |
|
| 74 |
[#671]: https://github.com/RustCrypto/utils/pull/671 |
| 75 |
|
| 76 |
## 0.10.0 (2020-12-08) |
| 77 |
### Changed |
| 78 |
- Rename `input_block(s)` methods to `digest_block(s)`. ([#113]) |
| 79 |
- Upgrade the `block-padding` dependency to v0.3. ([#113]) |
| 80 |
|
| 81 |
### Added |
| 82 |
- `par_xor_data`, `xor_data`, and `set_data` methods. ([#113]) |
| 83 |
|
| 84 |
### Removed |
| 85 |
- The `input_lazy` method. ([#113]) |
| 86 |
|
| 87 |
[#113]: https://github.com/RustCrypto/utils/pull/113 |