miden-crypto/CHANGELOG.md
CHANGELOG.mdRaw
1## 0.7.0 (TBD)
2
3* Replaced `MerklePathSet` with `PartialMerkleTree` (#165).
4* Implemented clearing of nodes in `TieredSmt` (#173).
5* Added ability to generate inclusion proofs for `TieredSmt` (#174).
6* Added conditional `serde`` support for various structs (#180).
7* Implemented benchmarking for `TieredSmt` (#182).
8* Added more leaf traversal methods for `MerkleStore` (#185).
9
10## 0.6.0 (2023-06-25)
11
12* [BREAKING] Added support for recording capabilities for `MerkleStore` (#162).
13* [BREAKING] Refactored Merkle struct APIs to use `RpoDigest` instead of `Word` (#157).
14* Added initial implementation of `PartialMerkleTree` (#156).
15
16## 0.5.0 (2023-05-26)
17
18* Implemented `TieredSmt` (#152, #153).
19* Implemented ability to extract a subset of a `MerkleStore` (#151).
20* Cleaned up `SimpleSmt` interface (#149).
21* Decoupled hashing and padding of peaks in `Mmr` (#148).
22* Added `inner_nodes()` to `MerkleStore` (#146).
23
24## 0.4.0 (2023-04-21)
25
26- Exported `MmrProof` from the crate (#137).
27- Allowed merging of leaves in `MerkleStore` (#138).
28- [BREAKING] Refactored how existing data structures are added to `MerkleStore` (#139).
29
30## 0.3.0 (2023-04-08)
31
32- Added `depth` parameter to SMT constructors in `MerkleStore` (#115).
33- Optimized MMR peak hashing for Miden VM (#120).
34- Added `get_leaf_depth` method to `MerkleStore` (#119).
35- Added inner node iterators to `MerkleTree`, `SimpleSmt`, and `Mmr` (#117, #118, #121).
36
37## 0.2.0 (2023-03-24)
38
39- Implemented `Mmr` and related structs (#67).
40- Implemented `MerkleStore` (#93, #94, #95, #107 #112).
41- Added benchmarks for `MerkleStore` vs. other structs (#97).
42- Added Merkle path containers (#99).
43- Fixed depth handling in `MerklePathSet` (#110).
44- Updated Winterfell dependency to v0.6.
45
46## 0.1.4 (2023-02-22)
47
48- Re-export winter-crypto Hasher, Digest & ElementHasher (#72)
49
50## 0.1.3 (2023-02-20)
51
52- Updated Winterfell dependency to v0.5.1 (#68)
53
54## 0.1.2 (2023-02-17)
55
56- Fixed `Rpo256::hash` pad that was panicking on input (#44)
57- Added `MerklePath` wrapper to encapsulate Merkle opening verification and root computation (#53)
58- Added `NodeIndex` Merkle wrapper to encapsulate Merkle tree traversal and mappings (#54)
59
60## 0.1.1 (2023-02-06)
61
62- 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.
63- Added a simple sparse Merkle tree implementation.
64- Added re-exports of Winterfell RandomCoin and RandomCoinError.
65
66## 0.1.0 (2022-12-02)
67
68- Initial release on crates.io containing the cryptographic primitives used in Miden VM and the Miden Rollup.
69- Hash module with the BLAKE3 and Rescue Prime Optimized hash functions.
70 - BLAKE3 is implemented with 256-bit, 192-bit, or 160-bit output.
71 - RPO is implemented with 256-bit output.
72- Merkle module, with a set of data structures related to Merkle trees, implemented using the RPO hash function.