All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.8.13 - 2024-11-26
- Release 0.8.13 (#813)
0.8.12 - 2024-11-12
- Release 0.8.12 (#806)
0.8.11 - 2024-11-05
- Release 0.8.11 (#803)
0.8.10 - 2024-10-28
- Release 0.8.10
0.8.9 - 2024-10-21
- Release 0.8.9
0.8.8 - 2024-10-14
- Release 0.8.8
0.8.7 - 2024-10-08
- Release 0.8.7
0.8.6 - 2024-10-06
- Release 0.8.6
0.8.5 - 2024-09-25
- Release 0.8.5
0.8.4 - 2024-09-25
- Release 0.8.4
0.8.3 - 2024-09-10
- Release 0.8.3
0.8.2 - 2024-09-06
- Release 0.8.2
0.8.1 - 2024-09-06
- Release 0.8.1
- Use proc-macro-error2 (#723)
0.8.0 - 2024-08-21
- Release 0.8.0
0.7.7 - 2024-07-08
- Add per-crate changelogs (#669)
- Sort derives (#662)
0.7.4 - 2024-05-14
0.7.3 - 2024-05-14
- Move
expand
fromsol-macro
to its own crate (#626)
0.7.2 - 2024-05-02
- Unhide and mention
sol!
wrappers (#615)
- Add derive[Clone] to SolEvent creation (#616)
0.7.1 - 2024-04-23
- Use deploy in sol expansion (#606)
- Add a automatically_derived (#597)
0.7.0 - 2024-03-30
- json-abi Correct to_sol for arrays of contracts (#586)
- sol-macro Don't double attributes in JSON input (#583)
- sol-macro Rpc event filter function name (#572)
- sol-macro Enumerate before filtering when expanding events (#561)
- Rlp encoding for logs with generic event data (#553)
- sol-macro Add event filters to contracts (#563)
- json-abi Add configuration for
JsonAbi::to_sol
(#558) - Add network generic to sol-macro (#557)
- Break SolInput to its own crate (#578)
- Rearranged type param order so that the Network param is the last (#587)
- Make
Bytes
map toBytes
inSolType
(#545)
0.6.4 - 2024-02-29
- primitives Improve
from_slice
functions (#546)
0.6.3 - 2024-02-15
- [deps] Update some dependencies (#522)
- sol-macro Provide a way to override import paths for dependencies (#527)
- sol-types Constify type name formatting (#520)
- sol-macro Add
#[sol(rpc)]
to generate type-safe provider contract calls (#510) - sol-macro Expand state variable getters in contracts (#514)
- sol-macro Use a lookup table when generating
SolInterface::abi_decode_raw
(#508) - sol-macro Use
binary_search
inSolInterface::valid_selector
(#506)
0.6.1 - 2024-01-25
- Add constructorCall to
sol!
(#493)
- Include path in error (#486)
0.6.0 - 2024-01-10
- Log implementation (#465)
0.5.1 - 2023-11-30
- Fix public leak (#437)
0.5.0 - 2023-11-23
- sol-types Many ABI coder fixes (#434)
- sol-macro Handle outer attrs in abigen input (#429)
- sol-macro Correctly print Custom types in parameters (#425)
- sol-types Remove
SolType::ENCODED_SIZE
default (#418) - syn-solidity Raw keyword identifiers (#415)
- Rust keyword conflict (#405)
- Wrong as_u8 generated for enum (#413)
- Avoid symlinks (#396)
- Don't use directory symlinks (#394)
- sol-macro Keep more attributes on contract module (#391)
- json-abi
Param.ty
is not always a validTypeSpecifier
(#386) - sol-macro Bug fixes (#372)
- sol-macro Correct
SolCall::abi_decode_returns
(#367)
- sol-macro
SolEventInterface
:SolInterface
for contract events enum (#426) - sol-macro Add
json-abi
item generation (#422) - json-abi Improve
JsonAbi::to_sol
(#408) - sol-macro Add definition doc to structs and enums (#393)
- Rename
TokenType
GAT and trait toToken
(#417) - Remove dead code (#416)
- Clean up ABI, EIP-712, docs (#373)
- sol-macro Move generated docs below input attrs (#363)
- Update rustfmt config (#406)
0.4.1 - 2023-10-09
- sol-macro Flatten doc strings correctly (#357)
- json-abi Fallback to tuple types for nested params in
to_sol
(#354) - sol-macro Dedup json abi items (#346)
- sol-macro Remove extra 0x in function docs (#341)
- sol-macro Pass attributes to all generated items (#340)
- syn-solidity Set spans on generated struct names (#336)
- sol-macro Add docs to generated contract modules (#356)
- json-abi Deserialize more ContractObjects (#348)
- sol-macro Improve error messages (#345)
- sol-types Introduce
SolValue
, makeEncodable
an impl detail (#333) - sol-macro Improve generated docs (#338)
0.4.0 - 2023-09-29
- sol-macro Implement EventTopic for generated enums (#320)
- Add super import on generated modules (#307)
- Respect
all_derives = false
, fix custom type printing (#272)
- sol-macro Add docs to generated items (#321)
- sol-macro Add support for overloaded events (#318)
- sol-macro Improve type expansion (#302)
- syn-solidity Add more
Spanned
impls (#301) - Improve
SolError
,SolInterface
structs and implementations (#285) - sol-macro Expand getter functions' return types (#262)
- Add attributes to enum variants (#264)
- sol-macro Expand fields with attrs (#263)
- syn-solidity Improve variable getters generation (#260)
- sol-macro Add opt-in attributes for extra methods and derives (#250)
- Prefix ABI encode and decode functions with
abi_
(#311) - Sync crate level attributes (#303)
- Add missing
#[automatically_derived]
(#294) - Do not implement SolType for SolStruct generically (#275)
- Use
slice::Iter
where possible (#256)
- Some clippy lints (#251)
0.3.2 - 2023-08-23
- sol-macro Snake_case'd function names (#226)
- sol-macro Encode UDVTs as their underlying type in EIP-712 (#220)
- sol-macro Don't panic when encountering functions without names (#217)
- Implement abi2sol (#228)
- syn-solidity Add statements and expressions (#199)
- Function type (#224)
- sol-macro Expand getter functions for public state variables (#218)
0.3.0 - 2023-07-26
- Correct encodeType expansion for nested structs (#203)
- Remove unused method body on solstruct (#200)
- sol-types Empty data decode (#159)
- sol-macro
#[sol]
attributes and JSON ABI support (#173) - json-abi Add more impls (#164)
SolEnum
andSolInterface
(#153)
- Warn on all rustdoc lints (#154)
- Clean ups (#150)
- Add smaller image for favicon (#142)
- Move macro doctests to separate folder (#140)
0.2.0 - 2023-06-23
- Finish high-level Solidity parser (#119)
- Compute encoded size statically where possible (#105)
- Solidity events support (#83)
sol!
contracts (#77)- Syn-solidity visitors (#68)
- Move Solidity syn AST to
syn-solidity
(#63) - Support function overloading in
sol!
(#53) - Primitive utils and improvements (#52)
- Add logo to all crates, add @gakonst to CODEOWNERS (#138)
- Typo fix (#129)
- Rename to Alloy (#69)
- Enable
feature(doc_cfg, doc_auto_cfg)
(#67) - Remove syn "full" feature (#66)
- Rename crates (#45)
- Release 0.2.0 (#139)