| 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.11.0 (2026-03-25) |
| 9 |
### Changed |
| 10 |
- Edition changed to 2024 and MSRV bumped to 1.85 ([#652]) |
| 11 |
- Relax MSRV policy and allow MSRV bumps in patch releases |
| 12 |
- Update to `digest` v0.11 |
| 13 |
- Replace type aliases with newtypes ([#678]) |
| 14 |
- `compress256` and `compress512` are moved to the `block_api` module ([#678]) |
| 15 |
- Implementation of the `SerializableState` trait ([#716]) |
| 16 |
- Configuration flags for backend selection ([#614], [#615], [#686], [#802]) |
| 17 |
|
| 18 |
### Added |
| 19 |
- `alloc` crate feature ([#678]) |
| 20 |
- RISC-V scalar crypto extension support ([#614]) |
| 21 |
|
| 22 |
### Removed |
| 23 |
- `asm`, `asm-aarch64`, `loongarch64_asm`, and `compress` crate features ([#542]) |
| 24 |
- `soft` crate feature ([#615]) |
| 25 |
- `force-soft-compact` crate feature ([#686]) |
| 26 |
- `std` crate feature ([#678]) |
| 27 |
|
| 28 |
[#542]: https://github.com/RustCrypto/hashes/pull/542 |
| 29 |
[#614]: https://github.com/RustCrypto/hashes/pull/614 |
| 30 |
[#615]: https://github.com/RustCrypto/hashes/pull/615 |
| 31 |
[#652]: https://github.com/RustCrypto/hashes/pull/652 |
| 32 |
[#678]: https://github.com/RustCrypto/hashes/pull/678 |
| 33 |
[#686]: https://github.com/RustCrypto/hashes/pull/686 |
| 34 |
[#716]: https://github.com/RustCrypto/hashes/pull/716 |
| 35 |
[#802]: https://github.com/RustCrypto/hashes/pull/802 |
| 36 |
|
| 37 |
## 0.10.9 (2025-04-30) |
| 38 |
### Added |
| 39 |
- `force-soft-compact` crate feature to enable compact software backend (backport of [#686]) [#687] |
| 40 |
|
| 41 |
[#687]: https://github.com/RustCrypto/hashes/pull/687 |
| 42 |
|
| 43 |
## 0.10.8 (2023-09-26) |
| 44 |
### Added |
| 45 |
- `asm!`-based backend for LoongArch64 targets gated behind `loongarch64_asm` feature [#507] |
| 46 |
|
| 47 |
[#507]: https://github.com/RustCrypto/hashes/pull/507 |
| 48 |
|
| 49 |
## 0.10.7 (2023-06-15) |
| 50 |
### Added |
| 51 |
- AArch64 Neon-based backend ([#490]) |
| 52 |
|
| 53 |
[#490]: https://github.com/RustCrypto/hashes/pull/490 |
| 54 |
|
| 55 |
## 0.10.6 (2022-09-16) |
| 56 |
### Added |
| 57 |
- Feature-gated OID support ([#405]) |
| 58 |
|
| 59 |
[#405]: https://github.com/RustCrypto/hashes/pull/405 |
| 60 |
|
| 61 |
## 0.10.5 (2022-09-02) |
| 62 |
### Fixed |
| 63 |
- MSRV issue which was not resolved by v0.10.4 ([#401]) |
| 64 |
|
| 65 |
[#401]: https://github.com/RustCrypto/hashes/pull/401 |
| 66 |
|
| 67 |
## 0.10.4 (2022-09-02) |
| 68 |
### Fixed |
| 69 |
- MSRV issue caused by publishing v0.10.3 using a buggy Nightly toolchain ([#399]) |
| 70 |
|
| 71 |
[#399]: https://github.com/RustCrypto/hashes/pull/399 |
| 72 |
|
| 73 |
## 0.10.3 (2022-08-30) |
| 74 |
### Changed |
| 75 |
- Ignore `asm` feature on unsupported targets ([#388]) |
| 76 |
|
| 77 |
[#388]: https://github.com/RustCrypto/hashes/pull/388 |
| 78 |
|
| 79 |
## 0.10.2 (2022-02-17) |
| 80 |
### Fixed |
| 81 |
- Minimal versions build ([#363]) |
| 82 |
|
| 83 |
[#363]: https://github.com/RustCrypto/hashes/pull/363 |
| 84 |
|
| 85 |
## 0.10.1 (2022-01-06) |
| 86 |
### Fixed |
| 87 |
- Bug in the AVX2 backend ([#345]) |
| 88 |
|
| 89 |
## 0.10.0 (2021-12-07) [YANKED] |
| 90 |
### Changed |
| 91 |
- Update to `digest` v0.10 ([#217]) |
| 92 |
- Rename `Sha512Trunc224` and `Sha512Trunc256` to `Sha512_224` and `Sha512_256` respectively. ([#217]) |
| 93 |
|
| 94 |
[#217]: https://github.com/RustCrypto/hashes/pull/217 |
| 95 |
|
| 96 |
## 0.9.9 (2022-01-06) |
| 97 |
### Fixed |
| 98 |
- Backport [#345] bug fix for the AVX2 backend ([#346]) |
| 99 |
|
| 100 |
[#345]: https://github.com/RustCrypto/hashes/pull/345 |
| 101 |
[#346]: https://github.com/RustCrypto/hashes/pull/346 |
| 102 |
|
| 103 |
## 0.9.8 (2021-09-09) [YANKED] |
| 104 |
### Fixed |
| 105 |
- Bug in the AVX2 backend ([#314]) |
| 106 |
|
| 107 |
[#314]: https://github.com/RustCrypto/hashes/pull/314 |
| 108 |
|
| 109 |
## 0.9.7 (2021-09-08) [YANKED] |
| 110 |
### Added |
| 111 |
- x86 intrinsics support for SHA-512 ([#312]) |
| 112 |
|
| 113 |
[#312]: https://github.com/RustCrypto/hashes/pull/312 |
| 114 |
|
| 115 |
## 0.9.6 (2021-08-27) |
| 116 |
### Changed |
| 117 |
- Bump `cpufeatures` dependency to 0.2 ([#306]) |
| 118 |
|
| 119 |
[#306]: https://github.com/RustCrypto/hashes/pull/306 |
| 120 |
|
| 121 |
## 0.9.5 (2021-05-11) |
| 122 |
### Changed |
| 123 |
- Use `cpufeatures` to detect intrinsics support on `aarch64` targets ([#267]) |
| 124 |
|
| 125 |
[#267]: https://github.com/RustCrypto/hashes/pull/267 |
| 126 |
|
| 127 |
## 0.9.4 (2021-05-05) |
| 128 |
### Added |
| 129 |
- Hardware accelerated SHA-256 for Apple M1 CPUs with `asm` feature ([#262]) |
| 130 |
|
| 131 |
### Changed |
| 132 |
- Bump `sha2-asm` to v0.6.1 release ([#262]) |
| 133 |
- Switch from `cpuid-bool` to `cpufeatures` ([#263]) |
| 134 |
|
| 135 |
[#262]: https://github.com/RustCrypto/hashes/pull/262 |
| 136 |
[#263]: https://github.com/RustCrypto/hashes/pull/263 |
| 137 |
|
| 138 |
## 0.9.3 (2021-01-30) |
| 139 |
### Changed |
| 140 |
- Use the SHA-NI extension backend with enabled `asm` feature. ([#224]) |
| 141 |
|
| 142 |
[#224]: https://github.com/RustCrypto/hashes/pull/224 |
| 143 |
|
| 144 |
## 0.9.2 (2020-11-04) |
| 145 |
### Added |
| 146 |
- `force-soft` feature to enforce use of software implementation. ([#203]) |
| 147 |
|
| 148 |
### Changed |
| 149 |
- `cfg-if` dependency updated to v1.0. ([#197]) |
| 150 |
|
| 151 |
[#197]: https://github.com/RustCrypto/hashes/pull/197 |
| 152 |
[#203]: https://github.com/RustCrypto/hashes/pull/203 |
| 153 |
|
| 154 |
## 0.9.1 (2020-06-24) |
| 155 |
### Added |
| 156 |
- x86 hardware acceleration of SHA-256 via SHA extension intrinsics. ([#167]) |
| 157 |
|
| 158 |
[#167]: https://github.com/RustCrypto/hashes/pull/167 |
| 159 |
|
| 160 |
## 0.9.0 (2020-06-09) |
| 161 |
### Changed |
| 162 |
- Update to `digest` v0.9 release; MSRV 1.41+ ([#155]) |
| 163 |
- Use new `*Dirty` traits from the `digest` crate ([#153]) |
| 164 |
- Bump `block-buffer` to v0.8 release ([#151]) |
| 165 |
- Rename `*result*` to `finalize` ([#148]) |
| 166 |
- Upgrade to Rust 2018 edition ([#133]) |
| 167 |
|
| 168 |
[#155]: https://github.com/RustCrypto/hashes/pull/155 |
| 169 |
[#153]: https://github.com/RustCrypto/hashes/pull/153 |
| 170 |
[#151]: https://github.com/RustCrypto/hashes/pull/151 |
| 171 |
[#148]: https://github.com/RustCrypto/hashes/pull/148 |
| 172 |
[#133]: https://github.com/RustCrypto/hashes/pull/133 |
| 173 |
|
| 174 |
## 0.8.2 (2020-05-23) |
| 175 |
### Added |
| 176 |
- Expose compression function under the `compress` feature flag ([#108]) |
| 177 |
|
| 178 |
### Changed |
| 179 |
- Use `libc` crate for `aarch64` consts ([#109]) |
| 180 |
- Minor code cleanups ([#94]) |
| 181 |
|
| 182 |
[#109]: https://github.com/RustCrypto/hashes/pull/109 |
| 183 |
[#108]: https://github.com/RustCrypto/hashes/pull/108 |
| 184 |
[#94]: https://github.com/RustCrypto/hashes/pull/94 |
| 185 |
|
| 186 |
## 0.8.1 (2020-01-05) |
| 187 |
|
| 188 |
## 0.8.0 (2018-10-02) |
| 189 |
|
| 190 |
## 0.7.1 (2018-04-27) |
| 191 |
|
| 192 |
## 0.6.0 (2017-06-12) |
| 193 |
|
| 194 |
## 0.5.3 (2017-06-03) |
| 195 |
|
| 196 |
## 0.5.2 (2017-05-08) |
| 197 |
|
| 198 |
## 0.5.1 (2017-05-01) |
| 199 |
|
| 200 |
## 0.5.0 (2017-04-06) |
| 201 |
|
| 202 |
## 0.4.2 (2017-01-23) |
| 203 |
|
| 204 |
## 0.4.1 (2017-01-20) |
| 205 |
|
| 206 |
## 0.4.0 (2016-12-24) |
| 207 |
|
| 208 |
## 0.3.0 (2016-11-17) |
| 209 |
|
| 210 |
## 0.2.0 (2016-10-26) |
| 211 |
|
| 212 |
## 0.1.2 (2016-05-06) |
| 213 |
|
| 214 |
## 0.1.1 (2016-05-06) |
| 215 |
|
| 216 |
## 0.1.0 (2016-05-06) |