Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: solidity-parser/parser

v0.20.2

21 Jul 12:30
538731b

Choose a tag to compare

This version fixes a problem where fallback() {} functions had a visibility of external instead of indicating that there was no explicit visibility.

v0.20.0

11 Apr 14:27
0f2f453

Choose a tag to compare

This version adds support for custom storage layout.

v0.19.0

13 Nov 09:36
19324ea

Choose a tag to compare

This version adds support for transient storage variables.

v0.18.0

18 Jan 23:03
05d78c0

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

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

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

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

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

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

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!)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.