Releases: solidity-parser/parser
Releases · solidity-parser/parser
v0.20.2
v0.20.0
This version adds support for custom storage layout.
v0.19.0
v0.18.0
v0.17.0
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.
v0.16.2
v0.16.1
v0.16.0
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
This release adds support for named parameters in mapping types, introduced in solc 0.8.18.