Releases: Consensys/solc-typed-ast
Releases · Consensys/solc-typed-ast
v10.1.0
v10.0.0
Features
- New
--base-path
and--include-path
options to CLI (#118). These are analogous to the same options in the solc compiler. - Changed the interface of
compileSol
andcompileSourceString
to support passing in base-path and include-path with newPathOptions
struct.
v9.1.3
v9.1.2
v9.1.1
v9.1.0
v9.0.1
v9.0.0
Features
- Predownload compilers in CI (#95)
- Dowloading WASM compilers on-demand instead of preinstalling from NPM (#92)
- Migrate to NodeJS 16 LTS (#97)
- Support Solidity 0.8.12 (#92)
Maintenance
- Fix off by one error in
enumToIntType()
(#96)
Notes
- Since this release the compilers are downloaded on-demand. New CLI option
--locate-compiler-cache
will show the path where downloaded compilers are stored. We no longer bundle compilers with the package (except one that is bundled with solc). This allows to reduce amount of occupied drive space, also helps to avoid security concerns as dependencies are not referencing legacy packages. - Since this release we suggest to use NodeJS release
lts/gallium
(v16.14.0). Package could still work with legacy NodeJS versions, but at least we encountered some issues with running specific WASM builds of legacy compilers.
Thanks for paying attention.
v8.0.1
v8.0.0
Features
- Support for Solidity 0.8.11 (#86)
- Support for native compilers (#87)
- Docker image with downloaded prerequisites (#89)
Notes
Beware that this release is making significant changes in the package API:
compile*()
functions are now async;compile*()
functions have changes in their signatures.
Most of these changes are result of supporting native compiler downloads on-demand. Consider carefully upgrading.
Thanks for paying attention.