Skip to content

v0.45.0

Latest
Compare
Choose a tag to compare
@jan-ferdinand jan-ferdinand released this 14 Jan 14:55
· 40 commits to master since this release
8d3e1ab

0.45.0

✨ Features

  • LessThan for U128 (0492f3b6)
  • (i128) Add lt for i128 (820f26b3)
  • Introduce snippet sign-off functionality (6bc26129)
  • (u128) Add overflowing add (d9afd642)
  • (i128) Shift-right for i128s (39922aef)
  • (hashing) Add snippet for hashing stack value (821d7cac)
  • Add snippet u32::trailing_zeros (1b1a18e5)
  • (!) Add snippet u64::trailing_zeros (a376c4a5)
  • Add snippet hashing::merkle_step_mem_u64 (a9549e80)
  • (TasmStruct) Add destructuring capabilities (3af418ab)

🐛 Bug Fixes

  • Don't unwrap in TasmObject::decode_iter() (cffd64be)
  • (TasmObjectDerive) Make emitted paths absolute (eb715c60)

⚡️ Performance

  • (TasmObject) Use addi x over push x + add (dcf29572)
  • (safe-add) User overflowing add internally (02559987)
  • (verify_mmr_successor) Use new algorithm (94fb493f)

📚 Documentation

  • (PrimitiveRootOfUnity) Add snippet contract (3f8d33e1)

⚙️ Miscellaneous

  • (AddU64) Implement BasicSnippet (4d55540c)
  • (!) TasmObject is BFieldCodec subtrait (bb67184b)
  • Deprecate public type aliases (a880abbd)
  • (!) Drop Rc<RefCell<_>> from RustShadow (f82b2952)
  • (!) (Closure) De-duplicate boilerplate (19361715)

♻️ Refactor

  • (!) (arithmetic) Drop type suffixes (af934daa)
  • (!) Simplify testing framework (b7334898)
  • Remove superfluous 'static bounds (137de811)
  • (!) (TasmObject) Move checks to compile time (bc6c3017)
  • (TasmObject) Don't panic asserting sizes (52a8ba30)
  • (TasmStruct) Remove unreachable code (64f4d3d0)
  • (!) (TasmObject) Slim down public API (3d3daa76)

✅ Testing

  • (PrimitiveRootOfUnity) Check correct encoding (93770758)
  • Add tests and bencher for shift-right-i128 (cc2ad2dc)
  • Test DataType::compare() (ad6c580b)
  • (TasmStruct::destructure) Add test cases (8c940bca)

⏱ Bench

  • Make benchmarks deterministic (c38c7ae0)
  • Add benchmarks (b5245450)
  • (i128_shift_right) Add assembly benchmark (a0209d96)
  • Benchmark merkle_step_u64_index (d703f9a0)

🖋 Snippet Sign-Off