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