Breaking Changes
- [primitives]
ethereum_ssz
and "ssz" feature have been removed.ethereum_ssz 0.7
and above will depend onalloy-primitives
, instead of the opposite. #701 - [sol-types] Odd size integers are now represented by the corresponding ruint, rather than rounded up to the next primitive integer (e.g.
uint96
->U96
, rather thanu128
). #677 - [sol-macro] JSON inputs preserve contract specifiers, creating separate libraries for them if different from the main name.
Example: if a structMyLib.Struct
exists inside of a JSON ABI,library MyLib { ... }
is created containing that struct and referenced everywhere else usingMyLib::Struct
, unless the macro is invoked withsol!(MyLib, "...")
, in which case it will be inside ofinterface MyLib { ... }
as usual. #694 - [sol-type-parser] API changes to utilities and
parser
methods. #703
What's Changed
- chore: derive hash for parity by @mattsse in #686
- Add testcase for overflowing_from_sign_and_abs by @rongyi in #696
- chore(primitives): re-use ruint mask function by @rongyi in #698
- fix: parsing stack overflow by @DaniPopes in #703
- feat(sol-types): implement traits for longer tuples by @MatheoGrivault in #699
- feat: derive
Hash
forSealed
by @klkvr in #707 - Implement specific bit types for integers by @rory-ocl in #677
- chore(deps): bump proptest-derive by @DaniPopes in #708
- feat(sol-macro): support namespaces by @DaniPopes in #694
- feat: derive ser deser on
Sealed
by @rkrasiuk in #710 - Remove
ethereum_ssz
dependency by @eserilev in #701
New Contributors
- @rongyi made their first contribution in #696
- @MatheoGrivault made their first contribution in #699
- @rory-ocl made their first contribution in #677
- @rkrasiuk made their first contribution in #710
- @eserilev made their first contribution in #701
Full Changelog: v0.7.7...v0.8.0