Skip to content

Commit 8d3e1ab

Browse files
committed
chore: Release v0.45.0
✨ Features - LessThan for U128 (0492f3b) - *(i128)* Add `lt` for `i128` (820f26b) - Introduce snippet sign-off functionality (6bc2612) - *(u128)* Add overflowing add (d9afd64) - *(i128)* Shift-right for `i128`s (39922ae) - *(hashing)* Add snippet for hashing stack value (821d7ca) - Add snippet `u32::trailing_zeros` (1b1a18e) - (!) Add snippet `u64::trailing_zeros` (a376c4a) - Add snippet `hashing::merkle_step_mem_u64` (a9549e8) - *(TasmStruct)* Add destructuring capabilities (3af418a) 🐛 Bug Fixes - Don't unwrap in `TasmObject::decode_iter()` (cffd64b) - *(TasmObjectDerive)* Make emitted paths absolute (eb715c6) ⚡️ Performance - *(TasmObject)* Use `addi x` over `push x + add` (dcf2957) - *(safe-add)* User overflowing add internally (0255998) - *(verify_mmr_successor)* Use new algorithm (94fb493) 📚 Documentation - *(PrimitiveRootOfUnity)* Add snippet contract (3f8d33e) ⚙️ Miscellaneous - *(AddU64)* Implement `BasicSnippet` (4d55540) - (!) `TasmObject` is `BFieldCodec` subtrait (bb67184) - Deprecate public type aliases (a880abb) - (!) Drop `Rc<RefCell<_>>` from `RustShadow` (f82b295) - (!) *(`Closure`)* De-duplicate boilerplate (1936171) ♻️ Refactor - (!) *(arithmetic)* Drop type suffixes (af934da) - (!) Simplify testing framework (b733489) - Remove superfluous `'static` bounds (137de81) - (!) *(TasmObject)* Move checks to compile time (bc6c301) - *(TasmObject)* Don't panic asserting sizes (52a8ba3) - *(TasmStruct)* Remove unreachable code (64f4d3d) - (!) *(TasmObject)* Slim down public API (3d3daa7) ✅ Testing - *(PrimitiveRootOfUnity)* Check correct encoding (9377075) - Add tests and bencher for shift-right-i128 (cc2ad2d) - Test `DataType::compare()` (ad6c580) - *(TasmStruct::destructure)* Add test cases (8c940bc) ⏱ Bench - Make benchmarks deterministic (c38c7ae) - Add benchmarks (b524545) - *(i128_shift_right)* Add assembly benchmark (a0209d9) - Benchmark `merkle_step_u64_index` (d703f9a) 🖋 Snippet Sign-Off - Primitive root of unity (ee5fcc4) - U32::next_power_of_two (f22eef9) - Xfe to the fourth (3bd722a) - U64::add and u64::overflowing_add (8263f87) - U64::log_2_floor (fd4c035) - (!) U64::lt and u64::lt_preserve_args (6a254f0) - (!) U64::popcount (d46d154) - (!) U64::shift_right (4bb397b) - (!) U64::{ε, wrapping_, overflowing_}sub (cc878fa) - (!) `mmr::bag_peaks` (2187793) - (!) U64::and (2b9c031) - (!) U64::pow2 (904e5b6) - (!) U64::decr (bb022cb) - (!) Leaf index to Merkle tree index (565ea09) - `merkle_step_u64_index` (d66ac02) - (!) U64::div2 (0ea12d2) - (!) U64::shift_left (a8be202)
1 parent bc98b16 commit 8d3e1ab

File tree

2 files changed

+83
-2
lines changed

2 files changed

+83
-2
lines changed

CHANGELOG.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,84 @@
1+
## [0.45.0](https://github.com/TritonVM/tasm-lib/compare/v0.43.0..v0.45.0) - 2025-01-14
2+
3+
### ✨ Features
4+
5+
- LessThan for U128 ([0492f3b6](https://github.com/TritonVM/tasm-lib/commit/0492f3b6))
6+
- *(i128)* Add `lt` for `i128` ([820f26b3](https://github.com/TritonVM/tasm-lib/commit/820f26b3))
7+
- Introduce snippet sign-off functionality ([6bc26129](https://github.com/TritonVM/tasm-lib/commit/6bc26129))
8+
- *(u128)* Add overflowing add ([d9afd642](https://github.com/TritonVM/tasm-lib/commit/d9afd642))
9+
- *(i128)* Shift-right for `i128`s ([39922aef](https://github.com/TritonVM/tasm-lib/commit/39922aef))
10+
- *(hashing)* Add snippet for hashing stack value ([821d7cac](https://github.com/TritonVM/tasm-lib/commit/821d7cac))
11+
- Add snippet `u32::trailing_zeros` ([1b1a18e5](https://github.com/TritonVM/tasm-lib/commit/1b1a18e5))
12+
- (!) Add snippet `u64::trailing_zeros` ([a376c4a5](https://github.com/TritonVM/tasm-lib/commit/a376c4a5))
13+
- Add snippet `hashing::merkle_step_mem_u64` ([a9549e80](https://github.com/TritonVM/tasm-lib/commit/a9549e80))
14+
- *(TasmStruct)* Add destructuring capabilities ([3af418ab](https://github.com/TritonVM/tasm-lib/commit/3af418ab))
15+
16+
### 🐛 Bug Fixes
17+
18+
- Don't unwrap in `TasmObject::decode_iter()` ([cffd64be](https://github.com/TritonVM/tasm-lib/commit/cffd64be))
19+
- *(TasmObjectDerive)* Make emitted paths absolute ([eb715c60](https://github.com/TritonVM/tasm-lib/commit/eb715c60))
20+
21+
### ⚡️ Performance
22+
23+
- *(TasmObject)* Use `addi x` over `push x + add` ([dcf29572](https://github.com/TritonVM/tasm-lib/commit/dcf29572))
24+
- *(safe-add)* User overflowing add internally ([02559987](https://github.com/TritonVM/tasm-lib/commit/02559987))
25+
- *(verify_mmr_successor)* Use new algorithm ([94fb493f](https://github.com/TritonVM/tasm-lib/commit/94fb493f))
26+
27+
### 📚 Documentation
28+
29+
- *(PrimitiveRootOfUnity)* Add snippet contract ([3f8d33e1](https://github.com/TritonVM/tasm-lib/commit/3f8d33e1))
30+
31+
### ⚙️ Miscellaneous
32+
33+
- *(AddU64)* Implement `BasicSnippet` ([4d55540c](https://github.com/TritonVM/tasm-lib/commit/4d55540c))
34+
- (!) `TasmObject` is `BFieldCodec` subtrait ([bb67184b](https://github.com/TritonVM/tasm-lib/commit/bb67184b))
35+
- Deprecate public type aliases ([a880abbd](https://github.com/TritonVM/tasm-lib/commit/a880abbd))
36+
- (!) Drop `Rc<RefCell<_>>` from `RustShadow` ([f82b2952](https://github.com/TritonVM/tasm-lib/commit/f82b2952))
37+
- (!) *(`Closure`)* De-duplicate boilerplate ([19361715](https://github.com/TritonVM/tasm-lib/commit/19361715))
38+
39+
### ♻️ Refactor
40+
41+
- (!) *(arithmetic)* Drop type suffixes ([af934daa](https://github.com/TritonVM/tasm-lib/commit/af934daa))
42+
- (!) Simplify testing framework ([b7334898](https://github.com/TritonVM/tasm-lib/commit/b7334898))
43+
- Remove superfluous `'static` bounds ([137de811](https://github.com/TritonVM/tasm-lib/commit/137de811))
44+
- (!) *(TasmObject)* Move checks to compile time ([bc6c3017](https://github.com/TritonVM/tasm-lib/commit/bc6c3017))
45+
- *(TasmObject)* Don't panic asserting sizes ([52a8ba30](https://github.com/TritonVM/tasm-lib/commit/52a8ba30))
46+
- *(TasmStruct)* Remove unreachable code ([64f4d3d0](https://github.com/TritonVM/tasm-lib/commit/64f4d3d0))
47+
- (!) *(TasmObject)* Slim down public API ([3d3daa76](https://github.com/TritonVM/tasm-lib/commit/3d3daa76))
48+
49+
### ✅ Testing
50+
51+
- *(PrimitiveRootOfUnity)* Check correct encoding ([93770758](https://github.com/TritonVM/tasm-lib/commit/93770758))
52+
- Add tests and bencher for shift-right-i128 ([cc2ad2dc](https://github.com/TritonVM/tasm-lib/commit/cc2ad2dc))
53+
- Test `DataType::compare()` ([ad6c580b](https://github.com/TritonVM/tasm-lib/commit/ad6c580b))
54+
- *(TasmStruct::destructure)* Add test cases ([8c940bca](https://github.com/TritonVM/tasm-lib/commit/8c940bca))
55+
56+
### ⏱ Bench
57+
58+
- Make benchmarks deterministic ([c38c7ae0](https://github.com/TritonVM/tasm-lib/commit/c38c7ae0))
59+
- Add benchmarks ([b5245450](https://github.com/TritonVM/tasm-lib/commit/b5245450))
60+
- *(i128_shift_right)* Add assembly benchmark ([a0209d96](https://github.com/TritonVM/tasm-lib/commit/a0209d96))
61+
- Benchmark `merkle_step_u64_index` ([d703f9a0](https://github.com/TritonVM/tasm-lib/commit/d703f9a0))
62+
63+
### 🖋 Snippet Sign-Off
64+
65+
- Primitive root of unity ([ee5fcc4b](https://github.com/TritonVM/tasm-lib/commit/ee5fcc4b))
66+
- U32::next_power_of_two ([f22eef97](https://github.com/TritonVM/tasm-lib/commit/f22eef97))
67+
- Xfe to the fourth ([3bd722ac](https://github.com/TritonVM/tasm-lib/commit/3bd722ac))
68+
- U64::add and u64::overflowing_add ([8263f873](https://github.com/TritonVM/tasm-lib/commit/8263f873))
69+
- U64::log_2_floor ([fd4c0353](https://github.com/TritonVM/tasm-lib/commit/fd4c0353))
70+
- (!) U64::lt and u64::lt_preserve_args ([6a254f02](https://github.com/TritonVM/tasm-lib/commit/6a254f02))
71+
- (!) U64::popcount ([d46d1540](https://github.com/TritonVM/tasm-lib/commit/d46d1540))
72+
- (!) U64::shift_right ([4bb397b9](https://github.com/TritonVM/tasm-lib/commit/4bb397b9))
73+
- (!) U64::{ε, wrapping_, overflowing_}sub ([cc878fa9](https://github.com/TritonVM/tasm-lib/commit/cc878fa9))
74+
- (!) `mmr::bag_peaks` ([21877936](https://github.com/TritonVM/tasm-lib/commit/21877936))
75+
- (!) U64::and ([2b9c031e](https://github.com/TritonVM/tasm-lib/commit/2b9c031e))
76+
- (!) U64::pow2 ([904e5b65](https://github.com/TritonVM/tasm-lib/commit/904e5b65))
77+
- (!) U64::decr ([bb022cbe](https://github.com/TritonVM/tasm-lib/commit/bb022cbe))
78+
- (!) Leaf index to Merkle tree index ([565ea09d](https://github.com/TritonVM/tasm-lib/commit/565ea09d))
79+
- `merkle_step_u64_index` ([d66ac023](https://github.com/TritonVM/tasm-lib/commit/d66ac023))
80+
- (!) U64::div2 ([0ea12d29](https://github.com/TritonVM/tasm-lib/commit/0ea12d29))
81+
- (!) U64::shift_left ([a8be2020](https://github.com/TritonVM/tasm-lib/commit/a8be2020))
182

283
## [0.43.0](https://github.com/TritonVM/tasm-lib/compare/v0.2.1..v0.43.0) - 2024-11-21
384

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["tasm-lib", "tasm-object-derive"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.43.0"
6+
version = "0.45.0"
77
edition = "2021"
88
authors = ["Triton Software AG"]
99
license = "Apache-2.0"
@@ -16,5 +16,5 @@ readme = "README.md"
1616
lto = "thin"
1717

1818
[workspace.dependencies.tasm-object-derive]
19-
version = "0.43.0"
19+
version = "0.45.0"
2020
path = "tasm-object-derive"

0 commit comments

Comments
 (0)