We just released Solidity 0.8.21!
This latest version allows qualified access to events from other contracts, and we also relaxed restrictions on the initialization of immutable variables.
- Code Generator: Always generate code for the expression in .selector
in the legacy code generation pipeline.
- Yul Optimizer: Fix FullInliner
) not preserving the evaluation order of arguments passed into inlined functions in code that is not in expression-split form (i.e. when using a custom optimizer sequence in which the step not preceded by ExpressionSplitter (x)).
- Allow qualified access to events from other contracts.
- Relax restrictions on initialization of immutable variables. Reads and writes may now happen at any point at construction time outside of functions and modifiers. Explicit initialization is no longer mandatory.
We also shipped 2 important bugfixes!
Solidity 0.8.21 Release Announcement | Solidity Programming Language
Release Version 0.8.21 · ethereum/solidity · GitHub
Help us spread the word!