Releases: alloy-rs/core
Releases · alloy-rs/core
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
alloy-core v0.5.0
Highlights
- Implemented more utilities in [
alloy-primitives
] (#432) - Added
sol-macro
json-abi
item generation through#[sol(abi)]
(#422) - Added
sol-macro
SolEventInterface
(#426) - Added support for SSZ (#407)
- Added
dyn-abi
DynSolType::coerce_str
(#380) - Renamed
sol-types
SolType::TokenType
GAT andTokenType
trait toToken
(#417)
What's Changed
- chore(sol-types): remove impls for isize/usize by @DaniPopes in #362
- chore(sol-macro): move generated docs below input attrs by @DaniPopes in #363
- fix(syn-solidity): struct fields formatting by @DaniPopes in #364
- fix(sol-macro): correct
SolCall::abi_decode_returns
by @DaniPopes in #367 - ci: cargo build instead of check by @DaniPopes in #368
- fix(sol-macro): bug fixes by @DaniPopes in #372
- docs(
alloy-sol-types
): Switch incorrect function docs by @Evalir in #374 - chore: clean up ABI, EIP-712, docs by @DaniPopes in #373
- feat(dyn-abi):
DynSolType::coerce_str
by @DaniPopes in #380 - fix(sol-types):
SolInterface::MIN_DATA_LENGTH
overflow by @DaniPopes in #383 - fix(dyn-abi): generate Int, Uint, FixedBytes adjusted to their size by @DaniPopes in #384
- enable rand feature for re-exported ruint crate by @cool-mestorf in #385
- fix(json-abi):
Param.ty
is not always a validTypeSpecifier
by @DaniPopes in #386 - test: add errors abi test by @mattsse in #390
- fix(sol-macro): keep more attributes on contract module by @DaniPopes in #391
- feat(sol-macro): add definition doc to structs and enums by @DaniPopes in #393
- fix: don't use directory symlinks by @DaniPopes in #394
- fix(primitives): Signed cleanup by @DaniPopes in #395
- fix: avoid symlinks by @DaniPopes in #396
- fix(sol-type-parser): normalize
u?int
tou?int256
by @DaniPopes in #397 - fix(syn-solidity): allow some duplicate attributes by @DaniPopes in #399
- fix(dyn-abi): handle empty hex strings by @DaniPopes in #400
- chore: use winnow
separated
instead ofseparated0
by @DaniPopes in #403 - feat(sol-types): add some more methods to
abi::Decoder
by @DaniPopes in #404 - fmt: update rustfmt config by @DaniPopes in #406
- SSZ implementation for alloy primitives by @loocapro in #407
- feat(json-abi): improve
JsonAbi::to_sol
by @DaniPopes in #408 - fix(dyn-abi): correctly parse strings in
coerce_str
by @DaniPopes in #410 - feat: Added Hash to DynSolType and StructProp by @NianSol in #411
- fix: wrong as_u8 generated for enum by @huyhduong1401 in #413
- fix: rust keyword conflict by @Will-Smith11 in #405
- fix(syn-solidity): raw keyword identifiers by @DaniPopes in #415
- chore: remove dead code by @DaniPopes in #416
- chore: rename
TokenType
GAT and trait toToken
by @DaniPopes in #417 - fix(sol-types): remove
SolType::ENCODED_SIZE
default by @DaniPopes in #418 - feat(json-abi): permit keyword prefixes in HR parser by @DaniPopes in #420
- chore: restructure tests by @DaniPopes in #421
- feat: enable ruint ssz when primitives ssz by @prestwich in #419
- feat(sol-macro): add
json-abi
item generation by @DaniPopes in #422 - fix(sol-macro): correctly print Custom types in parameters by @DaniPopes in #425
- test: check version before running Solc by @DaniPopes in #428
- fix(sol-macro): handle outer attrs in abigen input by @DaniPopes in #429
- feat(sol-macro):
SolEventInterface
:SolInterface
for contract events enum by @DaniPopes in #426 - fix(sol-types): ContractError decoding by @DaniPopes in #430
- feat(sol-types): add empty
bytes
andstring
specialization by @DaniPopes in #435 - feat(primitives): improve utils by @DaniPopes in #432
- fix(sol-types): many ABI coder fixes by @DaniPopes in #434
- feat(primitives): left and right padding conversions by @prestwich in #424
New Contributors
- @Evalir made their first contribution in #374
- @cool-mestorf made their first contribution in #385
- @mattsse made their first contribution in #390
- @loocapro made their first contribution in #407
- @NianSol made their first contribution in #411
- @huyhduong1401 made their first contribution in #413
Full Changelog: v0.4.2...v0.5.0