Releases: alloy-rs/core
Releases · alloy-rs/core
alloy-core v0.8.2
Hotfix for no_std
, which was broken accidentally in v0.8.1.
What's Changed
- docs(primitives): document features in
wrap_fixed_bytes
-generated types by @DaniPopes in #726 - fix:
no_std
and workflow by @refcell in #727
New Contributors
Full Changelog: v0.8.1...v0.8.2
alloy-core v0.8.1
What's Changed
- perf(primitives): improve checksum algorithm by @DaniPopes in #713
- fix: use quantity for v value by @mattsse in #715
- fix(sol-type-parser): winnow std error by @DaniPopes in #720
- chore: use proc-macro-error2 by @mattsse in #723
- chore: bump MSRV to 1.79 by @DaniPopes in #712
- refactor: remove
Signature
generic by @klkvr in #719
Full Changelog: v0.8.0...v0.8.1
alloy-core v0.8.0
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
alloy-core v0.7.7
What's Changed
- fix(primitives): include in aliases export to prevent having to import from
aliases::{..}
by @zerosnacks in #655 - chore: swap sol macro doctests symlink by @DaniPopes in #657
- fmt: sort derives by @DaniPopes in #662
- feat(primitives): manually implement arbitrary for signature by @DaniPopes in #663
- docs: update MSRV policy by @DaniPopes in #665
- docs: add per-crate changelogs by @DaniPopes in #669
- fix: fixed bytes dyn abi packed encoding by @michprev in #671
- feat: add
abi_packed_encoded_size
by @DaniPopes in #672 - feat: IntoLogData by @prestwich in #666
- feature: DynSolCall by @prestwich in #632
- chore(sol-macro): allow clippy all when emitting contract bytecode by @DaniPopes in #674
- chore: fix unnameable-types by @DaniPopes in #675
- chore: use workspace.lints by @DaniPopes in #676
- docs(sol-types): update README.md using crate docs by @DaniPopes in #679
- docs(primitives): fix rustdoc for Signature by @DaniPopes in #680
- feat: add support for parsing visibility and state mutability by @mattsse in #682
- fix: small fixes for
DynSolValue
strategies by @klkvr in #683 - feat(json-abi): allow
serde_json::from_{value,reader}
by @DaniPopes in #684
New Contributors
Full Changelog: v0.7.6...v0.7.7
alloy-core v0.7.6
What's Changed
- feat(sol-macro): add return value names to simple getters by @DaniPopes in #648
- chore(docs): add doc aliases for
Tx
prefixed names by @zerosnacks in #649 - feat(primitives): implement
ops::Not
for fixed bytes by @DaniPopes in #650 - feat(primitives): derive
Arbitrary
for Signature by @yash-atreya in #652 - feat(primitives): add additional common aliases by @zerosnacks in #654
Full Changelog: v0.7.5...v0.7.6
alloy-core v0.7.5
What's Changed
- fix: handle 0 for inverting eip155 parity. by @jafar75 in #633
- feat: Create new method on Param and EventParam by @quentinv72 in #634
- chore: temporarily disable tests that OOM Miri by @DaniPopes in #637
- Fix Log serde for non self describing protocols by @kpp in #639
- fix(primitives): Signed formatting by @DaniPopes in #643
- docs: update some READMEs by @DaniPopes in #641
- fix(sol-macro): overridden event signatures by @DaniPopes in #642
- feat(sol-macro): allow overridden custom errors by @DaniPopes in #644
- fix(sol-macro): allow deriving
Default
on contracts by @DaniPopes in #645 - feat(primitives): implement TryInto for ParseUnits by @DaniPopes in #646
- chore(sol-macro): add suggestion to remove name by @DaniPopes in #647
New Contributors
- @jafar75 made their first contribution in #633
- @quentinv72 made their first contribution in #634
- @kpp made their first contribution in #639
Full Changelog: v0.7.4...v0.7.5
alloy-core v0.7.4
alloy-core v0.7.3
What's Changed
- feat(sol-macro): allow missing docs for event fields by @alexfertel in #619
- feat(dyn-abi): derive
Eq
forTypedData
by @agostbiro in #623 - chore: fix tests by @DaniPopes in #624
- refactor: move
expand
fromsol-macro
to its own crate by @yash-atreya in #626
New Contributors
- @alexfertel made their first contribution in #619
- @agostbiro made their first contribution in #623
- @yash-atreya made their first contribution in #626
Full Changelog: v0.7.2...v0.7.3
alloy-core v0.7.2
What's Changed
- chore(general): add basic CI workflow for Windows by @zerosnacks in #613
- docs: unhide and mention
sol!
wrappers by @DaniPopes in #615 - Add derive[Clone] to SolEvent creation by @erikreppel in #616
New Contributors
- @zerosnacks made their first contribution in #613
- @erikreppel made their first contribution in #616
Full Changelog: v0.7.1...v0.7.2
alloy-core v0.7.1
What's Changed
- docs(sol-macro): add some more disclaimers by @DaniPopes in #595
- feat(json-abi): support legacy JSON ABIs by @DaniPopes in #596
- chore: add a automatically_derived by @DaniPopes in #597
- docs: update README crate links to use URLs by @DaniPopes in #603
- feat: add arbitrary for TxKind by @mattsse in #604
- fix: use deploy in sol expansion by @prestwich in #606
Full Changelog: v0.7.0...v0.7.1