Skip to content

Releases: OpenZeppelin/solidity-ast

v0.4.59

06 Sep 20:54
Compare
Choose a tag to compare
  • Added 'transient' as a possible value for VariableDeclaration.storageLocation, available since Solidity 0.8.27.
  • Added 'prague' as a possible value for InlineAssembly.evmVersion.

v0.4.58

29 Aug 19:46
Compare
Choose a tag to compare
  • Fixed YulFunctionDefinition.parameters and returnVariables: made optional, used when empty.
  • Fixed InlineAssembly.externalReferences[].suffix: added 'length' option.

v0.4.57

17 Jul 13:31
822ad50
Compare
Choose a tag to compare
  • Fixed ModifierDefinition.body: made nullable to support Solidity 0.6.7 virtual modifiers with empty body.

v0.4.56

15 Mar 02:22
Compare
Choose a tag to compare
  • Added 'cancun' as a possible value for InlineAssembly.evmVersion.

v0.4.55

25 Nov 21:22
Compare
Choose a tag to compare
  • Fixed TupleExpression.components: array members are nullable.

v0.4.54

23 Nov 22:08
Compare
Choose a tag to compare
  • Fixed Literal.subdenomination, previously typed as null, now typed with values 'seconds', 'minutes', etc.
  • Added EnumDefinition.documentation.

v0.4.53

11 Nov 03:14
Compare
Choose a tag to compare
  • Added ForStatement.isSimpleCounterLoop, available since Solidity 0.8.22.

v0.4.52

24 Aug 22:31
Compare
Choose a tag to compare
  • Fixed behavior of findAll('*', ...) around UsingForDirective.functionList and ImportDirective.symbolAliases, which missed some identifiers and returned non-nodes.

v0.4.51

19 Aug 19:46
Compare
Choose a tag to compare
  • Fixed bug in AST dereferencer reading a property of null.

v0.4.50

19 Aug 17:11
Compare
Choose a tag to compare
  • Fixed findAll exhaustivity around objects in the AST that are not AST nodes. Affected queries for IdentifierPath nodes under UsingForDirective.functionList and for Identifier nodes under ImportDirective.symbolAliases.foreign.
  • Significantly optimized findAll and astDereferencer.
  • Added ability to enumerate all nodes with findAll('*', node) or dereference an unknown node type with deref('*', id).
  • Added SourceUnit.experimentalSolidity, available since Solidity 0.8.21.
  • Added ContractDefinition.usedEvents and ContractDefinition.internalFunctionIDs, available since Solidity 0.8.20.
  • Added StructDefinition.documentation, available since Solidity 0.8.20.
  • Added 'shanghai' as a possible value for InlineAssembly.evmVersion.
  • Added nativeSrc to Yul AST nodes.