Skip to content

Releases: solidity-parser/parser

v0.19.0

13 Nov 09:36
19324ea
Compare
Choose a tag to compare

This version adds support for transient storage variables.

v0.18.0

18 Jan 23:03
05d78c0
Compare
Choose a tag to compare

This version adds 2 new features.

  • Parser function now has an option to return comments as part of the parsed result. (#105)
  • We now export umd instead of iife format for browser compatibility. (#106)

v0.17.0

21 Dec 18:03
bb79aae
Compare
Choose a tag to compare

This version changes the associativity of the exponentiation and ternary operators. In most cases this shouldn't affect anyone, but it's technically a breaking change.

  • Using the official typescript target for antlr4. (#103)
  • Exponentiation is now right associative. a ** (b ** c) (#99)
  • Conditional expression is now right associative. a ? (b ? c : d) : (e ? f : g) (#99)

v0.16.2

07 Nov 18:40
2e20866
Compare
Choose a tag to compare

This version adds support for top-level event definitions, a feature introduced in solc v0.8.22.

v0.16.1

12 Jul 09:03
2d1dbb9
Compare
Choose a tag to compare

This version fixes a bug where variables named global couldn't be parsed (thanks @arjun-io!)

v0.16.0

27 Feb 12:44
3bc5b63
Compare
Choose a tag to compare

This version adds support for user-defined operators.

The UsingForDeclaration node now has a new operators property. This is an array with the same length as the functions array. Each item is either a string or null: if an operator is defined, then the string is the operator; if an operator is not defined, the item is null.

For example, using { add as +, sub } for Fixed18 global will result in this node:

{
  "type": "UsingForDeclaration",
  "isGlobal": true,
  "typeName": {
    "type": "UserDefinedTypeName",
    "namePath": "Fixed18"
  },
  "libraryName": null,
  "functions": ["add", "sub"],
  "operators": ["+", null]
}

v0.15.0

01 Feb 19:09
f201436
Compare
Choose a tag to compare

This release adds support for named parameters in mapping types, introduced in solc 0.8.18.

v0.14.5

25 Oct 09:48
d0f144b
Compare
Choose a tag to compare

This release:

  • Fixes assembly assignment to multiple variables (thanks @potomak!)
  • Adds support for boolean literals in assembly (thanks @tim-becker!)

v0.14.4

25 Oct 08:18
d428f8b
Compare
Choose a tag to compare

Add support for using address as a property.

v0.14.0

19 Oct 13:59
a1f5cb0
Compare
Choose a tag to compare

This release adds support for user defined value types. Thanks to @0xbribe for the initial work on this!