arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
miden-crypto/CHANGELOG.md
CHANGELOG.mdRaw
  1## 0.14.0 (TBD)
  2
  3- [BREAKING] Increment minimum supported Rust version to 1.84.
  4
  5## 0.13.2 (2025-01-24)
  6
  7- Made `InnerNode` and `NodeMutation` public. Implemented (de)serialization of `LeafIndex` (#367).
  8
  9
 10## 0.13.1 (2024-12-26)
 11
 12- Generate reverse mutations set on applying of mutations set, implemented serialization of `MutationsSet` (#355).
 13
 14## 0.13.0 (2024-11-24)
 15
 16- Fixed a bug in the implementation of `draw_integers` for `RpoRandomCoin` (#343).
 17- [BREAKING] Refactor error messages and use `thiserror` to derive errors (#344).
 18- [BREAKING] Updated Winterfell dependency to v0.11 (#346).
 19- Added support for hashmaps in `Smt` and `SimpleSmt` which gives up to 10x boost in some operations (#363).
 20
 21
 22## 0.12.0 (2024-10-30)
 23
 24- [BREAKING] Updated Winterfell dependency to v0.10 (#338).
 25- Added parallel implementation of `Smt::with_entries()` with significantly better performance when the `concurrent` feature is enabled (#341).
 26
 27## 0.11.0 (2024-10-17)
 28
 29- [BREAKING]: renamed `Mmr::open()` into `Mmr::open_at()` and `Mmr::peaks()` into `Mmr::peaks_at()` (#234).
 30- Added `Mmr::open()` and `Mmr::peaks()` which rely on `Mmr::open_at()` and `Mmr::peaks()` respectively (#234).
 31- Standardized CI and Makefile across Miden repos (#323).
 32- Added `Smt::compute_mutations()` and `Smt::apply_mutations()` for validation-checked insertions (#327).
 33- Changed padding rule for RPO/RPX hash functions (#318).
 34- [BREAKING] Changed return value of the `Mmr::verify()` and `MerklePath::verify()` from `bool` to `Result<>` (#335).
 35- Added `is_empty()` functions to the `SimpleSmt` and `Smt` structures. Added `EMPTY_ROOT` constant to the `SparseMerkleTree` trait (#337).
 36
 37## 0.10.3 (2024-09-25)
 38
 39- Implement `get_size_hint` for `Smt` (#331).
 40
 41## 0.10.2 (2024-09-25)
 42
 43- Implement `get_size_hint` for `RpoDigest` and `RpxDigest` and expose constants for their serialized size (#330).
 44
 45## 0.10.1 (2024-09-13)
 46
 47- Added `Serializable` and `Deserializable` implementations for `PartialMmr` and `InOrderIndex` (#329).
 48
 49## 0.10.0 (2024-08-06)
 50
 51- Added more `RpoDigest` and `RpxDigest` conversions (#311).
 52- [BREAKING] Migrated to Winterfell v0.9 (#315).
 53- Fixed encoding of Falcon secret key (#319).
 54
 55## 0.9.3 (2024-04-24)
 56
 57- Added `RpxRandomCoin` struct (#307).
 58
 59## 0.9.2 (2024-04-21)
 60
 61- Implemented serialization for the `Smt` struct (#304).
 62- Fixed a bug in Falcon signature generation (#305).
 63
 64## 0.9.1 (2024-04-02)
 65
 66- Added `num_leaves()` method to `SimpleSmt` (#302).
 67
 68## 0.9.0 (2024-03-24)
 69
 70- [BREAKING] Removed deprecated re-exports from liballoc/libstd (#290).
 71- [BREAKING] Refactored RpoFalcon512 signature to work with pure Rust (#285).
 72- [BREAKING] Added `RngCore` as supertrait for `FeltRng` (#299).
 73
 74# 0.8.4 (2024-03-17)
 75
 76- Re-added unintentionally removed re-exported liballoc macros (`vec` and `format` macros).
 77
 78# 0.8.3 (2024-03-17)
 79
 80- Re-added unintentionally removed re-exported liballoc macros (#292).
 81
 82# 0.8.2 (2024-03-17)
 83
 84- Updated `no-std` approach to be in sync with winterfell v0.8.3 release (#290).
 85
 86## 0.8.1 (2024-02-21)
 87
 88- Fixed clippy warnings (#280)
 89
 90## 0.8.0 (2024-02-14)
 91
 92- Implemented the `PartialMmr` data structure (#195).
 93- Implemented RPX hash function (#201).
 94- Added `FeltRng` and `RpoRandomCoin` (#237).
 95- Accelerated RPO/RPX hash functions using AVX512 instructions (#234).
 96- Added `inner_nodes()` method to `PartialMmr` (#238).
 97- Improved `PartialMmr::apply_delta()` (#242).
 98- Refactored `SimpleSmt` struct (#245).
 99- Replaced `TieredSmt` struct with `Smt` struct (#254, #277).
100- Updated Winterfell dependency to v0.8 (#275).
101
102## 0.7.1 (2023-10-10)
103
104- Fixed RPO Falcon signature build on Windows.
105
106## 0.7.0 (2023-10-05)
107
108- Replaced `MerklePathSet` with `PartialMerkleTree` (#165).
109- Implemented clearing of nodes in `TieredSmt` (#173).
110- Added ability to generate inclusion proofs for `TieredSmt` (#174).
111- Implemented Falcon DSA (#179).
112- Added conditional `serde`` support for various structs (#180).
113- Implemented benchmarking for `TieredSmt` (#182).
114- Added more leaf traversal methods for `MerkleStore` (#185).
115- Added SVE acceleration for RPO hash function (#189).
116
117## 0.6.0 (2023-06-25)
118
119- [BREAKING] Added support for recording capabilities for `MerkleStore` (#162).
120- [BREAKING] Refactored Merkle struct APIs to use `RpoDigest` instead of `Word` (#157).
121- Added initial implementation of `PartialMerkleTree` (#156).
122
123## 0.5.0 (2023-05-26)
124
125- Implemented `TieredSmt` (#152, #153).
126- Implemented ability to extract a subset of a `MerkleStore` (#151).
127- Cleaned up `SimpleSmt` interface (#149).
128- Decoupled hashing and padding of peaks in `Mmr` (#148).
129- Added `inner_nodes()` to `MerkleStore` (#146).
130
131## 0.4.0 (2023-04-21)
132
133- Exported `MmrProof` from the crate (#137).
134- Allowed merging of leaves in `MerkleStore` (#138).
135- [BREAKING] Refactored how existing data structures are added to `MerkleStore` (#139).
136
137## 0.3.0 (2023-04-08)
138
139- Added `depth` parameter to SMT constructors in `MerkleStore` (#115).
140- Optimized MMR peak hashing for Miden VM (#120).
141- Added `get_leaf_depth` method to `MerkleStore` (#119).
142- Added inner node iterators to `MerkleTree`, `SimpleSmt`, and `Mmr` (#117, #118, #121).
143
144## 0.2.0 (2023-03-24)
145
146- Implemented `Mmr` and related structs (#67).
147- Implemented `MerkleStore` (#93, #94, #95, #107 #112).
148- Added benchmarks for `MerkleStore` vs. other structs (#97).
149- Added Merkle path containers (#99).
150- Fixed depth handling in `MerklePathSet` (#110).
151- Updated Winterfell dependency to v0.6.
152
153## 0.1.4 (2023-02-22)
154
155- Re-export winter-crypto Hasher, Digest & ElementHasher (#72)
156
157## 0.1.3 (2023-02-20)
158
159- Updated Winterfell dependency to v0.5.1 (#68)
160
161## 0.1.2 (2023-02-17)
162
163- Fixed `Rpo256::hash` pad that was panicking on input (#44)
164- Added `MerklePath` wrapper to encapsulate Merkle opening verification and root computation (#53)
165- Added `NodeIndex` Merkle wrapper to encapsulate Merkle tree traversal and mappings (#54)
166
167## 0.1.1 (2023-02-06)
168
169- Introduced `merge_in_domain` for the RPO hash function, to allow using a specified domain value in the second capacity register when hashing two digests together.
170- Added a simple sparse Merkle tree implementation.
171- Added re-exports of Winterfell RandomCoin and RandomCoinError.
172
173## 0.1.0 (2022-12-02)
174
175- Initial release on crates.io containing the cryptographic primitives used in Miden VM and the Miden Rollup.
176- Hash module with the BLAKE3 and Rescue Prime Optimized hash functions.
177  - BLAKE3 is implemented with 256-bit, 192-bit, or 160-bit output.
178  - RPO is implemented with 256-bit output.
179- Merkle module, with a set of data structures related to Merkle trees, implemented using the RPO hash function.