github starkware-libs/cairo v2.14.0

9 hours ago

Breaking Changes

  • starknet::secp256_trait::{recover_public_key, is_valid_signature} now check that r and s are in a bounded range.

Other changes

  • Added ByteSpan PartialEq + Debug for testing. #8564
  • Fixed doc of Product function. #8606
  • Made egcd algorithm more flexible to work for signed numbers as well. #8676

Optimizations

Compiler Runtime

  • Making casm-builder more efficient. #8573

Gas Usage

  • Adding support to felt add mul and sub in constant propogation. #8594
  • felt252_div constant propogation support. #8619
  • Added const-folding of enums. #8651
  • Made const-folding with middle snapshots work. #8652
  • Allowed const calculations of felt252 to u256 and u128. #8681
  • add support for specailizing functions with partial structs. #8664
  • partial specialization for enums arguments. #8678

Code Size

  • Optimized Felt252Span deserialization using less panic code. #8656
  • Removed unwraps and made them into ? for non-OS-fails. #8663
  • Minor code simplification of ecdsa. #8677

New Contributors

Full Changelog: v2.13.1...v2.14.0

Don't miss a new cairo release

NewReleases is sending notifications on new releases.