This release primarily fixes an important bug, but also involves some improvements in code generation, optimizer and in the language server.
For details, please see the release announcement.
Important Bugfixes:
- Yul Optimizer: Prevent the incorrect removal of storage writes before calls to Yul functions that conditionally terminate the external EVM call.
Compiler Features:
- Code Generator: More efficient overflow checks for multiplication.
- Language Server: Analyze all files in a project by default (can be customized by setting
'file-load-strategy'
to'directly-opened-and-on-import'
in LSP settings object). - Yul Optimizer: Simplify the starting offset of zero-length operations to zero.
Bugfixes:
- Type Checker: Fix internal compiler error on tuple assignments with invalid left-hand side.
- Yul IR Code Generation: Fix internal compiler error when accessing the
.slot
member of a mapping through a storage reference in inline assembly.
Build System:
- Allow disabling pedantic warnings and do not treat warnings as errors during compiler build when
-DPEDANTIC=OFF
flag is passed to CMake. - Update emscripten to version 3.1.19.
We especially thank all the contributors that made this release possible:
Alexander Arlt, Bhargava Shastry, Christian Parpart, Damian Wechman, Daniel Kirchner, Duc Thanh Nguyen, Emmanuel Oaikhenan, Francisco Giordano, Kamil Śliwak, krakxn, Leonardo Alt, Leonid Pospelov, Luke Hutchison, Luoh Ren-Shan, Matheus Aguiar, Mathias L. Baumann, MeetRajput00, Nikola Matić, NoFaceDev, Pranay, Roman Figurin, Taylor Ferran, Thanh Tran, Yuvraj Singh, aathan, emmaodia, khue, kuzdogan, minaminao, Nishant Sachdeva, tcoyvwac, xternet
If you want to perform a source build, please only use solidity_0.8.17.tar.gz
and not the zip provided by github directly.