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