miden-crypto/CHANGELOG.md
CHANGELOG.mdRaw
1## 0.9.1 (2024-04-02)
2
3* Added `num_leaves()` method to `SimpleSmt` (#302).
4
5## 0.9.0 (2024-03-24)
6
7* [BREAKING] Removed deprecated re-exports from liballoc/libstd (#290).
8* [BREAKING] Refactored RpoFalcon512 signature to work with pure Rust (#285).
9* [BREAKING] Added `RngCore` as supertrait for `FeltRng` (#299).
10
11# 0.8.4 (2024-03-17)
12
13* Re-added unintentionally removed re-exported liballoc macros (`vec` and `format` macros).
14
15# 0.8.3 (2024-03-17)
16
17* Re-added unintentionally removed re-exported liballoc macros (#292).
18
19# 0.8.2 (2024-03-17)
20
21* Updated `no-std` approach to be in sync with winterfell v0.8.3 release (#290).
22
23## 0.8.1 (2024-02-21)
24
25* Fixed clippy warnings (#280)
26
27## 0.8.0 (2024-02-14)
28
29* Implemented the `PartialMmr` data structure (#195).
30* Implemented RPX hash function (#201).
31* Added `FeltRng` and `RpoRandomCoin` (#237).
32* Accelerated RPO/RPX hash functions using AVX512 instructions (#234).
33* Added `inner_nodes()` method to `PartialMmr` (#238).
34* Improved `PartialMmr::apply_delta()` (#242).
35* Refactored `SimpleSmt` struct (#245).
36* Replaced `TieredSmt` struct with `Smt` struct (#254, #277).
37* Updated Winterfell dependency to v0.8 (#275).
38
39## 0.7.1 (2023-10-10)
40
41* Fixed RPO Falcon signature build on Windows.
42
43## 0.7.0 (2023-10-05)
44
45* Replaced `MerklePathSet` with `PartialMerkleTree` (#165).
46* Implemented clearing of nodes in `TieredSmt` (#173).
47* Added ability to generate inclusion proofs for `TieredSmt` (#174).
48* Implemented Falcon DSA (#179).
49* Added conditional `serde`` support for various structs (#180).
50* Implemented benchmarking for `TieredSmt` (#182).
51* Added more leaf traversal methods for `MerkleStore` (#185).
52* Added SVE acceleration for RPO hash function (#189).
53
54## 0.6.0 (2023-06-25)
55
56* [BREAKING] Added support for recording capabilities for `MerkleStore` (#162).
57* [BREAKING] Refactored Merkle struct APIs to use `RpoDigest` instead of `Word` (#157).
58* Added initial implementation of `PartialMerkleTree` (#156).
59
60## 0.5.0 (2023-05-26)
61
62* Implemented `TieredSmt` (#152, #153).
63* Implemented ability to extract a subset of a `MerkleStore` (#151).
64* Cleaned up `SimpleSmt` interface (#149).
65* Decoupled hashing and padding of peaks in `Mmr` (#148).
66* Added `inner_nodes()` to `MerkleStore` (#146).
67
68## 0.4.0 (2023-04-21)
69
70- Exported `MmrProof` from the crate (#137).
71- Allowed merging of leaves in `MerkleStore` (#138).
72- [BREAKING] Refactored how existing data structures are added to `MerkleStore` (#139).
73
74## 0.3.0 (2023-04-08)
75
76- Added `depth` parameter to SMT constructors in `MerkleStore` (#115).
77- Optimized MMR peak hashing for Miden VM (#120).
78- Added `get_leaf_depth` method to `MerkleStore` (#119).
79- Added inner node iterators to `MerkleTree`, `SimpleSmt`, and `Mmr` (#117, #118, #121).
80
81## 0.2.0 (2023-03-24)
82
83- Implemented `Mmr` and related structs (#67).
84- Implemented `MerkleStore` (#93, #94, #95, #107 #112).
85- Added benchmarks for `MerkleStore` vs. other structs (#97).
86- Added Merkle path containers (#99).
87- Fixed depth handling in `MerklePathSet` (#110).
88- Updated Winterfell dependency to v0.6.
89
90## 0.1.4 (2023-02-22)
91
92- Re-export winter-crypto Hasher, Digest & ElementHasher (#72)
93
94## 0.1.3 (2023-02-20)
95
96- Updated Winterfell dependency to v0.5.1 (#68)
97
98## 0.1.2 (2023-02-17)
99
100- Fixed `Rpo256::hash` pad that was panicking on input (#44)
101- Added `MerklePath` wrapper to encapsulate Merkle opening verification and root computation (#53)
102- Added `NodeIndex` Merkle wrapper to encapsulate Merkle tree traversal and mappings (#54)
103
104## 0.1.1 (2023-02-06)
105
106- 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.
107- Added a simple sparse Merkle tree implementation.
108- Added re-exports of Winterfell RandomCoin and RandomCoinError.
109
110## 0.1.0 (2022-12-02)
111
112- Initial release on crates.io containing the cryptographic primitives used in Miden VM and the Miden Rollup.
113- Hash module with the BLAKE3 and Rescue Prime Optimized hash functions.
114 - BLAKE3 is implemented with 256-bit, 192-bit, or 160-bit output.
115 - RPO is implemented with 256-bit output.
116- Merkle module, with a set of data structures related to Merkle trees, implemented using the RPO hash function.