Skip to content

v2.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Oct 07:36
· 2348 commits to main since this release
0c67a87

Major Updates

Breaking Changes

  • Some *Internal member traits no longer available - the non-internal versions still exists.
  • Added diagnostics for attributes not declared in plugins. #4096
  • Secp functions updates, better splitting into modules for eth signature functionalities. #4287

Bug fixes

  • Fixed derive Hash for enums. #3959
  • Handling impl alias generics lookup (no longer causes compiler panic). #3990
  • Added support for zero sized types in contract/component storage. #3998
  • Added support for path types in contract/component storage members. #3995
  • Refactored derives in starknet to make Store and Event work together. #4040
  • Fixed issue #4036. #4058
  • Fixing issue #4034. Removing unused vars goto mappings. #4069
  • Fixed issue 4038. Properly finding required ap tracking config. #4070
  • Fixed issue #4075 solving recursive type. #4083* Missing type due not propagated through inference as known type. #4156
  • Validating in tests that deployed class hashes are declared. #4157
  • Generating diagnostics when using string literal with non-matching type. #4179
  • Prevented bugs in use statements being propagated as many additional errors. #4175 #4193
  • Handling doc of generate_trait. #4201
  • Removed panic from looking up completions in non inline submodules. #4239
  • Fixed returned execution info simulation to include all fields. #4274

What's Changed

  • Improved diagnostics:
    • Made diagnostics be properly mapped on cfg rewrites (Getting the diagnostics on the original file). #3973
    • Changed diagnostics to have full file paths. #4024
    • Fix impl inference with illegal impl in context. #4065
  • Adding Hash impl for ClassHash by @gaetbout in #3962
  • Added conversions of basic types to byte-arrays. #3893
  • feat: serde for signed integer types by @milancermak in #3923
  • Added support for events defined out of contract. #3980
  • feat(cairo-format): allow using module items sorting. #3991
  • Added Hash/Store/Serde to types for secp Signature and EthAddress. #4001
  • Enabled no panic minus literal. #4025
  • Added traits from impl aliases in the module, to the context. #4042
  • Added support for minus literals in const items. #4027
  • Improve macro coloring in language server. #4053
  • Added anonymous impl generic params. #4051
  • Add Coloring to generic impls. #4080
  • Added implementation for i128 mul. #3625
  • feat: ok_or by @enitrat in #4066
  • feat: add print functionality to signed integers by @rmrt1n in #4082
  • Updating formatting of short arm blocks. #4099
  • Allow untyped tail expr in loops. #4104
  • Made more fine grained borrow checking for branch merges. #4124
  • Fix formatting of generic args. #4081
  • Giving diagnostics instead of crashing on bad match inputs. #4147
  • Compiler runtime improvements. #4279
  • Added dep_component{_mut}! macros, for easier usage of a component within another component. #4271

New Contributors

Full Changelog: v2.2.0...v2.3.0