Releases: Consensys/solc-typed-ast
v18.1.2
v18.1.1
This release introduces support for Solidity 0.8.24.
Note
Keep in mind that EVM version cancun
is NOT set as "default" by compiler (therefore, need to be manually passed via compiler settings).
Features
- Support for Solidity 0.8.24 (#253)
Thanks to all external contributors who made this release possible.
v18.1.0
This is mostly maintenance and cleanup release with NodeJS update, devDependency changes and with newly introduced utility functions renaming.
Maintenance
- Migrate from
mocha
+nyc
tojest
(#248). - Use NodeJS v20 (LTS) (#249).
- Rename Unicode helper functions (#250).
Thanks to all external contributors who made this release possible.
v18.0.0
This release contains API breaking change: Solidity sources are now stored as Uint8Array
s instead of string
due to Solc AST source locations are referring to a byte offsets. Package now follows this behavior due to regular appearance of multibyte charactes in comments and string literals. Structured documentation reconstruction components are also overhauled to be more precise, than they were before.
Features
- Overhaul structured documentation reconstruction components to rely on tolerant parser instead of mixed RegExp-based logic. (#242)
compile*()
functions familty now producingMap<string, Uint8Array>
instead ofMap<string, string>
forfiles
. (#242)- Introduce convenient
fromUTF8()
andtoUTF8()
functions for convertingstring
<->Uint8Array
for file contents. (#242) ASTNode.extractSourceFragment()
now acceptsUint8Array
instead ofstring
forsource
argument. (#242)- AST-to-source writing components also updated to follow changes. (#242)
Maintenance
- Dependency updates (#245).
Thanks to all external contributors who made this release possible.
v17.0.3
This maintenance release introduces two small bugfixes alongside with support of Solidity 0.8.23.
Maintenance
compileSol
throws error on using for<=
and>=
(#238, #239)- Support for Solidity 0.8.23 (#237)
- Fix type of
OverrideSpecifier.vOverrides
to comply with type of child nodes (#236)
Thanks to all external contributors who made this release possible.
v17.0.2
v17.0.1
v17.0.0
This release introduces enhancements to constant expression evaluation logic, alongside with fixes to ABI encoding type string composition.
Features
- Improve constant expression evaluator (#225)
Maintenance
Thanks to all external contributors who made this release possible.
v16.1.0
v16.0.0
This release reintroduces isFunctionCallExternal()
as part of InferType
and also adds support of SPDX license identifiers as property of SourceUnit
s.
Features
- Improve precision of
isFunctionCallExternal()
(#213, #215) - Introduce
license
field ofSourceUnit
(#214)
Maintenance
- Dependency updates (#217)