Releases: Consensys/solc-typed-ast
Releases · Consensys/solc-typed-ast
v15.0.0
This PR introduces support for Solidity 0.8.20 alongside with useful type inference tweaks.
Features
- Support for Solidity 0.8.20 (#208)
- Function to check that
TypeNode
is ABI-encodable (#209)
v14.0.1
Maintenance
- Fix
InferType
converting calldata
to memory
in function types (#197 #196)
v14.0.0
Features
- Add support for integer casts in constant evaluator (#193)
- Inject
InferType
instance to evalConstantExpr()
(#194)
v13.0.3
Maintenance
- Update dependencies to support TypeScript
^5.0.0
(#187)
- Support
TryCatchClause
for InferType.signature()
and InferType.signatureHash()
(#191)
v13.0.2
This release brings a single fix for #188 - a new interface InferType.typeOfCallee
for resolving overloaded functions at callsites.
v13.0.1
Maintenance
- Handle string literals for constant expression evaluator (#183)
- Support quoted version pragma for compiler detection (#184)
v13.0.0
This PR introduces support for Solidity 0.8.19 alongside with custom operators for user-defined value types.
Features
- Support for Solidity 0.8.19 (#181)
v12.0.1
This is a maintenance release, that fixes type inference for tuples with empty elements.
Mainenance
- Fix inaccurate tuple type inference (#179)
v12.0.0
This release changes how ABI encoder impacts the type inference components. Previously, the package considered single ABI encoder for entire set of SourceUnit
s of single compiled source (set of files). However, this was not correct as Solidity allows to use different encoder per each file. This is affecting selectors and type inference (including API of the package).
There are also other minor changes: introduction of --download-compilers
CLI flag and introducing fmt()
utility function, that would reduce code duplication in dependent packages. See following PRs as the reference:
- More influence of
ABIEncoder
(#175)
- Fixes for inference + ABI encoder (#176)