Releases: alloy-rs/core
Releases · alloy-rs/core
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
alloy-core v0.7.0
What's Changed
- refactor: change identical resolve traits to Specifier by @prestwich in #550
- Prestwich/dyn sol error by @prestwich in #551
- docs(sol-macro): add a note about sol(rpc) in Contracts paragraph by @DaniPopes in #556
- feat: add network generic to sol-macro by @onbjerg in #557
- feat: add LogData::split by @mattsse in #559
- feat(json-abi): add configuration for
JsonAbi::to_sol
by @DaniPopes in #558 - fix(sol-macro): enumerate before filtering when expanding events by @DaniPopes in #561
- perf(sol-macro): decode bytecode hex strings ourselves by @DaniPopes in #562
- feat(sol-macro): add event filters to contracts by @DaniPopes in #563
- feat: rlp encoding for logs with generic event data by @prestwich in #553
- fix(sol-macro): rpc event filter function name by @DaniPopes in #572
- chore: remove dead code by @DaniPopes in #571
- fix(primitives): re-implement RLP for
Log<LogData>
by @DaniPopes in #573 - Make
Bytes
map toBytes
inSolType
by @rachel-bousfield in #545 - docs: do not accept grammar prs by @onbjerg in #575
- chore: no-default-features k256 by @DaniPopes in #576
- fix: force clippy to stable by @prestwich in #569
- fix(dyn-abi): correctly parse uints in
coerce_str
by @ay in #577 - refactor: break SolInput to its own crate by @prestwich in #578
- small helpers for alloy serde PR by @klkvr in #582
- fix(sol-macro): don't double attributes in JSON input by @DaniPopes in #583
- fix(json-abi): correct to_sol for arrays of contracts by @DaniPopes in #586
- Rearranged type param order so that the Network param is the last by @moricho in #587
New Contributors
- @ay made their first contribution in #577
- @klkvr made their first contribution in #582
- @moricho made their first contribution in #587
Full Changelog: v0.6.4...v0.7.0
alloy-core v0.6.4
What's Changed
- test: bless tests by @DaniPopes in #530
- docs: fix relative paths in README files by @EmperorOrokuSaki in #532
- chore(deps): update winnow to 0.6 by @DaniPopes in #533
- chore: remove unused imports by @DaniPopes in #534
- test: add some more coerce error message tests by @DaniPopes in #535
- chore(core): add comments to
cfg(doc)
by @DaniPopes in #538 - docs(primitives): add a bytes! macro example by @DaniPopes in #539
- ci: add concurrency by @DaniPopes in #540
- fix(dyn-abi): enable
DynSolType.coerce_json
to convert array of numbers to bytes by @youngkashew in #541 - feat: derive Allocative on FixedBytes by @Rjected in #531
- feat(core): re-export
uint!
by @DaniPopes in #537 - feat: add
TxKind
by @onbjerg in #542 - chore: allow unknown lints by @DaniPopes in #543
- chore(primitives): improve
from_slice
functions by @DaniPopes in #546 - test: add another ABI encode test by @DaniPopes in #547
- fix(dyn-abi): correctly parse empty lists of bytes by @DaniPopes in #548
New Contributors
- @EmperorOrokuSaki made their first contribution in #532
- @youngkashew made their first contribution in #541
- @Rjected made their first contribution in #531
Full Changelog: v0.6.3...v0.6.4
alloy-core v0.6.3
What's Changed
- test: remove unused test by @DaniPopes in #504
- chore(sol-macro): tweak inline attributes in generated code by @DaniPopes in #505
- chore: fix winnow deprecation warnings by @DaniPopes in #507
- perf(sol-macro): use
binary_search
inSolInterface::valid_selector
by @DaniPopes in #506 - perf(sol-macro): use a lookup table when generating
SolInterface::abi_decode_raw
by @DaniPopes in #508 - ci: update actions/checkout to v4 by @DaniPopes in #512
- fix: don't validate when decoding revert reason by @DaniPopes in #511
- fix: Signature bincode serialization by @Wollac in #509
- wip: recursion mitigations by @prestwich in #495
- feat: make some allocations fallible in ABI decoding by @DaniPopes in #513
- feat(sol-macro): expand state variable getters in contracts by @DaniPopes in #514
- fix: properly test ABI packed encoding by @DaniPopes in #517
- chore(deps): bump winnow by @bernard-wagner in #518
- feat(sol-macro): add
#[sol(rpc)]
to generate type-safe provider contract calls by @DaniPopes in #510 - fix(dyn-abi): abi-encode-packed always pads arrays by @bernard-wagner in #519
- feat(sol-types): constify type name formatting by @DaniPopes in #520
- feat: add
alloy-core
prelude crate by @DaniPopes in #521 - docs: mention
alloy-core
meta crate in README.md overview by @DaniPopes in #523 - chore(deps): update some dependencies by @DaniPopes in #522
- test: bless tests by @DaniPopes in #524
- fix(json-abi): accept nameless
Param
s by @DaniPopes in #526 - feat(sol-macro): provide a way to override import paths for dependencies by @DaniPopes in #527
- feat(primitives): add some more implementations to Bytes by @DaniPopes in #528
- docs: update alloy_core::sol reference to real sol by @DaniPopes in #529
New Contributors
- @bernard-wagner made their first contribution in #518
Full Changelog: v0.6.2...v0.6.3