Skip to content

Releases: Consensys/solc-typed-ast

v18.1.1

07 Feb 05:12
807be60
Compare
Choose a tag to compare

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

18 Jan 10:04
8ec7f65
Compare
Choose a tag to compare

This is mostly maintenance and cleanup release with NodeJS update, devDependency changes and with newly introduced utility functions renaming.

Maintenance

  • Migrate from mocha + nyc to jest (#248).
  • Use NodeJS v20 (LTS) (#249).
  • Rename Unicode helper functions (#250).

Thanks to all external contributors who made this release possible.

v18.0.0

11 Jan 17:10
36ee1b0
Compare
Choose a tag to compare

This release contains API breaking change: Solidity sources are now stored as Uint8Arrays 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 producing Map<string, Uint8Array> instead of Map<string, string> for files. (#242)
  • Introduce convenient fromUTF8() and toUTF8() functions for converting string <-> Uint8Array for file contents. (#242)
  • ASTNode.extractSourceFragment() now accepts Uint8Array instead of string for source 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

06 Dec 20:34
Compare
Choose a tag to compare

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

01 Nov 09:03
a7344e5
Compare
Choose a tag to compare

This release introduces support for Solidity 0.8.22.

Features

  • Support for Solidity 0.8.22 (#234)

Thanks to all external contributors who made this release possible.

v17.0.1

25 Oct 09:37
0098ccc
Compare
Choose a tag to compare

This is a maintenance release, that improves logic of constant expression evaluator and updates dependencies.

Maintenance

  • Handle additional edge cases for evalConstantExpr() (#230)
  • Update dependencies (#232)

Thanks to all external contributors who made this release possible.

v17.0.0

16 Oct 08:08
d4dd707
Compare
Choose a tag to compare

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

  • Dependency updates (#222)
  • Fix ABI encoding type for inline arrays (#223)

Thanks to all external contributors who made this release possible.

v16.1.0

07 Sep 06:52
8b30533
Compare
Choose a tag to compare

This release introduces support for Solidity 0.8.21 and maintenance fixes.

Features

  • Support for Solidity 0.8.21 (#219)

Maintenance

  • Resolve issue with AxiosResponse type on compiler downloading (#216)
  • Fix typos in README (#220)

Thanks to all external contributors who made this release possible.

v16.0.0

13 Jul 11:37
f39f97b
Compare
Choose a tag to compare

This release reintroduces isFunctionCallExternal() as part of InferType and also adds support of SPDX license identifiers as property of SourceUnits.

Features

  • Improve precision of isFunctionCallExternal() (#213, #215)
  • Introduce license field of SourceUnit (#214)

Maintenance

  • Dependency updates (#217)

v15.0.0

01 Jun 07:34
63828e5
Compare
Choose a tag to compare

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)