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