Releases: alloy-rs/core
Releases · alloy-rs/core
alloy-core v0.8.8
What's Changed
- fix(alloy-sol-macro): allow clippy::pub_underscore_fields on
sol!
output by @benluelo in #770 - feat: add logs_bloom by @mattsse in #768
- fix: don't enable foldhash by default by @DaniPopes in #771
- fix: properly account for sign in pg to/from sql implementation for signed by @luzzif in #772
New Contributors
Full Changelog: v0.8.7...v0.8.8
alloy-core v0.8.7
What's Changed
Full Changelog: v0.8.6...v0.8.7
alloy-core v0.8.6
What's Changed
- Add conversion
TxKind
->Option<Address>
by @emhane in #750 - Derive
Deref
forSealed<T>
by @emhane in #759 - Derive
Arbitrary
forSealed<T>
by @emhane in #762 - chore(deps): bump hashbrown to 0.15 by @DaniPopes in #753
- feat(primitives): add and use foldhash as default hasher by @DaniPopes in #763
- feat: add
Default
forSealed<T>
by @emhane in #755
New Contributors
Full Changelog: v0.8.5...v0.8.6
alloy-core v0.8.5
Bug fixes for alloy_primitives::map
. Yanked alloy-primitives v0.8.4
to avoid breaking changes.
What's Changed
- fix(primitives): make sure DefaultHashBuilder implements Clone by @DaniPopes in #748
- chore(primitives): remove Fx* aliases by @DaniPopes in #749
Full Changelog: v0.8.4...v0.8.5
alloy-core v0.8.4
What's Changed
- feat: support Keccak with sha3 by @xJonathanLEI in #737
- fix(sol-types): check signature in SolEvent if non-anonymous by @DaniPopes in #741
- Add custom serialization for Address by @jenpaff in #742
- fix(json-abi): correct to-sol for UDVT arrays in structs by @DaniPopes in #745
- fix(json-abi): normalize $ to _ in identifiers in to_sol by @DaniPopes in #747
- feat(primitives): implement
map
module by @DaniPopes in #743
New Contributors
- @xJonathanLEI made their first contribution in #737
- @jenpaff made their first contribution in #742
Full Changelog: v0.8.3...v0.8.4
alloy-core v0.8.3
What's Changed
- fix: parse selector hashes in
sol
macro by @cre-mer in #730 - fix(sol-macro): namespaced custom type resolution by @klkvr in #731
- feat: prepare reth Signature migration to alloy by @leruaa in #732
- fix(sol-macro): correctly determine whether event parameters are hashes by @DaniPopes in #735
New Contributors
Full Changelog: v0.8.2...v0.8.3
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