Releases: alloy-rs/core
Releases · alloy-rs/core
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
alloy-core v0.6.2
What's Changed
- fix(
signature
): construct Signature bytes using v+27 when we do not have an EIP155v
by @Evalir in #503
Full Changelog: v0.6.1...v0.6.2
alloy-core v0.6.1
What's Changed
- feat(primitives): add
Address::from_private_key
by @DaniPopes in #483 - chore: improve unlinked bytecode deserde error by @mattsse in #484
- chore: include path in error by @mattsse in #486
- chore(primitives): pass B256 by reference in Signature methods by @DaniPopes in #487
- fix: deserialize missing state mutability as non payable by @mattsse in #488
- chore: add SECURITY.md by @DaniPopes in #494
- feat: add constructorCall to
sol!
by @leruaa in #493 - test: parity roundtripping by @prestwich in #497
- doc: fixes by @prestwich in #498
- docs: remove stray list element by @DaniPopes in #500
- feat(
primitives
): Addy_parity_byte_non_eip155
toParity
by @Evalir in #499 - test: don't print constructors for Solc tests by @DaniPopes in #501
New Contributors
Full Changelog: v0.6.0...v0.6.1
alloy-core v0.6.0
What's Changed
- refactor: Log implementation by @prestwich in #465
- fix: clean the sealed by @prestwich in #468
- feat(primitives): add Keccak256 hasher struct by @DaniPopes in #469
- feat(sol-type-parser): improve error message for bad array size by @DaniPopes in #470
- chore: move define_udt! decl macro to sol! proc macro by @fgimenez in #471
- chore: touch up UDVT expansion by @DaniPopes in #473
- feat(dyn-abi): improve hex error messages by @DaniPopes in #474
- feat(primitives): add a buffer type for address checksums by @DaniPopes in #472
- feat(primitives): add Signature type and utils by @prestwich in #459
- chore: clippy uninlined_format_args, use_self by @DaniPopes in #475
- fix(primitives): also apply EIP-155 to Parity::Parity by @DaniPopes in #476
- docs: update docs on parity by @DaniPopes in #477
- chore: bless tests by @DaniPopes in #478
- chore(deps): bump const-hex requirement by @DaniPopes in #479
- chore(deps): relax k256 requirement by @DaniPopes in #481
- feat(json-abi): add full_signature by @BrennerSpear in #480
New Contributors
- @fgimenez made their first contribution in #471
- @BrennerSpear made their first contribution in #480
Full Changelog: v0.5.4...v0.6.0
alloy-core v0.5.4
What's Changed
- chore(sol-types): make PanicKind non_exhaustive by @DaniPopes in #458
- Add ToSql and FromSql to Signed and FixedBytes by @hhamud in #447
- feat: enable postgres ruint feature by @DaniPopes in #460
- feat(primitives): support parsing numbers in Unit::from_str by @DaniPopes in #461
- chore: clippy by @DaniPopes in #463
- feat(primitives): re-export ::bytes by @DaniPopes in #462
- chore: clean up address checksum implementation by @DaniPopes in #464
- feature: sealed by @prestwich in #467
- perf: add optional support for keccak-asm by @DaniPopes in #466
New Contributors
Full Changelog: v0.5.3...v0.5.4
alloy-core v0.5.3
What's Changed
- feat(primitives): update Bytes formatting, add UpperHex by @DaniPopes in #446
- fix(primitives): return correct fixed length in ssz::Encode by @blombern in #451
- feat: add
RevertReason
enum by @tcoratger in #450 - chore: bless tests by @DaniPopes in #456
- feature: address from pubkey by @prestwich in #455
- fix: don't decode ZSTs by @prestwich in #454
- fix: ingest domain when instantiating TypedData by @prestwich in #453
- fix(sol-types): un-break decode revert by @DaniPopes in #457
New Contributors
- @blombern made their first contribution in #451
- @tcoratger made their first contribution in #450
Full Changelog: v0.5.2...v0.5.3
alloy-core v0.5.2
What's Changed
- test: add some regression tests by @DaniPopes in #443
- fix(dyn-abi): fixed arrays coerce_str by @DaniPopes in #442
Full Changelog: v0.5.1...v0.5.2
alloy-core v0.5.1
Fixes unintended MSRV breakage in sol-macro
. Main changes in v0.5.0.
What's Changed
- fix public leak by @kristian1108 in #437
- ci: re-enable MSRV all features check by @DaniPopes in #439
New Contributors
- @kristian1108 made their first contribution in #437
Full Changelog: v0.5.0...v0.5.1