This release fixes two important bugs and also contains other minor bug fixes and features.
For details, please see the release announcement.
Important Bugfixes:
- ABI Encoder: When ABI-encoding values from calldata that contain nested arrays, correctly validate the nested array length against
calldatasize()
in all cases. - Override Checker: Allow changing data location for parameters only when overriding external functions.
Compiler Features:
- Assembly-Json Exporter: Include source list in
sourceList
field. - Commandline Interface: Option
--pretty-json
works also with the following options:--abi
,--asm-json
,--ast-compact-json
,--devdoc
,--storage-layout
,--userdoc
. - Language Server: Allow full filesystem access to language server.
- Peephole Optimizer: Remove operations without side effects before simple terminations.
- SMTChecker: Support
abi.encodeCall
taking into account the called selector.
Bugfixes:
- Assembly-Json Exporter: Fix assembly json export to store jump types of operations in
jumpType
field instead ofvalue
. - SMTChecker: Fix ABI compatibility with z3 >=4.8.16.
- SMTChecker: Fix bug when z3 is selected but not available at runtime.
- Type Checker: Properly check restrictions of
using ... global
in conjunction with libraries. - TypeChecker: Convert parameters of function type to how they would be called for
abi.encodeCall
.
We especially thank all the contributors that made this release possible:
a3d4, aathan, Aisultan Kali, Alexander Arlt, Alexey Shekhirin, alpharush, andreb0x, Bytecurl, Christian Parpart, Damian Wechman, Daniel Kirchner, dtedesco1, Florian Sey, Hector Roussille, Joshua Quinones, Kamil Śliwak, Leo Alt, Matheus Aguiar, Mathias L. Baumann, Nishant Sachdeva, Nobuhiko Otoba, Ryan, sourabh.xyz, Tharun K
If you want to perform a source build, please only use solidity_0.8.14.tar.gz and not the zip provided by github directly.