3 Dec 2026, Thu

Solidity Compiler v0.8.31 Released with Fusaka EVM Support and Preparations for Version 0.9.0

The development team behind Solidity has officially announced the launch of the Solidity Compiler version v0.8.31. This latest major release introduces robust support for upcoming Ethereum Virtual Machine (EVM) features tied to the Fusaka network upgrade, extends the functionality of custom storage layout specifiers, and establishes official ARM Linux builds. Furthermore, version 0.8.31 lays the groundwork for the upcoming 0.9.0 breaking release by introducing the first batch of deprecation warnings for legacy features scheduled for future removal.

As the Ethereum ecosystem continues to evolve, smart contract developers require modern tooling that aligns seamlessly with upcoming network upgrades. The release of Solidity v0.8.31 marks a significant step in that direction, bringing vital architectural updates, improved multi-platform support, and a cleaner path toward future language iterations.

Notable Features and Changes

Fusaka Support

With the Fusaka network upgrade scheduled for mainnet deployment, the Solidity team has designated Fusaka as the default EVM target for the compiler. Developers writing and compiling smart contracts under this new version will automatically target the updated environment. However, backwards compatibility remains fully intact; developers working on older networks or migrating legacy projects can still explicitly select previous EVM targets by using the --evm-version command-line flag or the settings.evmVersion configuration option.

A major highlight of the Fusaka network integration is the inclusion of support for the CLZ opcode, standardized via EIP-7939. This opcode, which was previously rolled out in recent pre-releases, is designed to count the number of leading zero bits in a 256-bit word. While bit manipulation operations of this nature serve as fundamental building blocks for efficient data structures, bitwise arithmetic, and data compression, the opcode’s immediate impact will be felt most acutely at the application layer. Prominent smart contract libraries, such as Solady, have already highlighted numerous practical use cases for the instruction. Additionally, the new opcode is poised to replace existing software-based utilities like OpenZeppelin’s Math.clz() function, offering optimized efficiency directly at the EVM level. While the compiler’s internal implementation currently applies limited optimizations utilizing this instruction, further integration and performance improvements are being actively explored for future updates.

Changes to the Release Process

Version 0.8.31 also brings notable shifts to how the compiler is distributed and maintained, aiming to streamline infrastructure and reduce the long-term maintenance burden for the core team.

Among the structural changes is the introduction of official Linux binaries tailored for the ARM architecture. While ARM support is not entirely new—having been previously provided for Apple Silicon Macs alongside community-built source options on Linux—this release fully integrates ARM Linux binaries into the official continuous integration (CI) and release infrastructure. Developers running Linux natively on ARM hardware, or executing compiler binaries inside containerized environments such as Docker on ARM systems, can now source official builds directly from the main repository. These binaries undergo rigorous testing, ensuring that bytecode and metadata outputs remain completely identical across all officially supported hardware platforms.

In October, the core team rolled out v0.8.31-pre.1, establishing a new lightweight pre-release process designed to bridge the gap between nightly builds and full releases. This channel allows experimental features, such as the CLZ opcode support, to reach developers sooner for early testing and feedback.

Simultaneously, the team is beginning to phase out niche and underutilized distribution channels. Starting with v0.8.31, the Ubuntu Launchpad PPA is officially discontinued as a binary distribution channel. While Docker container releases will remain available for at least one more release cycle, their long-term continuity will depend on usage metrics. Developers should note that container images have already migrated from DockerHub to GitHub’s container registry, where all future binaries will continue to be hosted.

Constants in Storage Layout Specifiers

Storage layout specifiers, which allow developers to exert precise control over where contract data resides, receive a practical upgrade in version 0.8.31. Developers can now incorporate constant variables directly into base slot expressions.

For instance, defining a constant offset and applying it within a contract layout definition is now natively supported by the parser. Compile-time evaluation in Solidity remains bound by strict parameters, currently restricted to arithmetic expressions involving rational number literals evaluated under unlimited precision. Introducing finite-precision integer types through explicit type conversions, built-in functions, or ternary operators will trigger compilation errors. The core team intends to expand these expressive capabilities in upcoming releases through specialized builtins for common calculations, though more complex evaluation scenarios will ultimately necessitate a comprehensive compile-time system overhaul.

Feature Deprecations and Preparing for Solidity 0.9.0

Looking ahead, the upcoming 0.9.0 breaking release is designed to eliminate legacy code and modernize the compiler architecture. Version 0.8.31 introduces the very first batch of formal deprecation warnings for features that are scheduled for outright removal in 0.9.0.

The <address>.send() and <address>.transfer() functions are among the prominent features being phased out. Originally created to facilitate ether transfers while restricting the recipient contract from executing complex operations, these methods rely on a hard-coded 2,300 gas stipend. Over time, shifts in EVM opcode pricing rendered this assumption obsolete, turning these functions into recognized security anti-patterns. The community recommendation moving forward is to utilize <address>.call() with an empty payload. Because this alternative forwards unconstrained gas by default, developers must implement robust reentrancy protections, such as transient storage guards or adherence to the checks-effects-interactions pattern. Long-term solutions for simple ether transfers will instead require native EVM advancements, such as the proposed PAY opcode under EIP-5920, which could eventually be exposed as an <address>.pay() method.

ABI coder v1 is also heading toward deprecation and eventual removal. Having served as the default encoder in older versions, ABI coder v2 was introduced as an experimental feature in version 0.4.19, stabilized in the 0.7 cycle, and made the default in 0.8.0. Because ABI coder v2 provides full structural parity alongside advanced features like nested array support, struct handling, and robust input validation—while serving as a strict requirement for the IR compilation pipeline—coder v1 is now completely obsolete. Compiling via the IR pipeline (--via-ir) already bypasses the pragma to enforce v2 usage exclusively.

Further cleaning up language ergonomics, virtual modifiers are marked for removal. While modifiers can currently be declared virtual and overridden in derived contracts, the feature has historically introduced edge cases and compiler complexity without delivering essential architectural benefits. The ability to invoke virtual functions from within modifiers remains unaffected.

Contract comparison operators are similarly being updated. Historically inherited from a time when contract types were treated as thin abstractions over raw addresses, expressions such as inequality checks between two contracts (c < d) remain syntactically valid. However, because this can easily cause confusion—given that contracts structurally resemble structs—Solidity 0.9.0 will begin requiring explicit type conversions to address to ensure absolute semantic clarity.

Finally, the temporary Natspec-based syntax for annotating memory-safe assembly blocks (/// @solidity memory-safe-assembly) is deprecated in favor of the standard assembly ("memory-safe") block annotation introduced in later versions. Since version 0.9.0 will break backwards compatibility entirely, the legacy compatibility wrapper is no longer necessary.

How to Install and Upgrade

Developers wishing to adopt Solidity v0.8.31 can access the updated documentation and download links directly through the official repository. Those building from source are advised to utilize the official source tarball rather than auto-generated GitHub source archives to ensure build integrity. The development team has expressed gratitude to all community contributors whose ongoing efforts continue to shape the evolution of the language.

Leave a Reply

Your email address will not be published. Required fields are marked *