Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
This release of the Solidity compiler includes several performance optimizations. These include faster compilation time but also cheaper contracts in some situations. This version also checks for all instances of uninitialized storage references, has some improved error messages and other checks.
You can now create complete contracts in Yul through the support of the Yul object format and the special functions
If you want to perform a source build, please only use solidity_0.5.2.tar.gz and not the zip provided by github directly.
- Control Flow Graph: Detect every access to uninitialized storage pointers.
- Inline Assembly: Improve error messages around invalid function argument count.
- Code Generator: Only check callvalue once if all functions are non-payable.
- Code Generator: Use codecopy for string constants more aggressively.
- Code Generator: Use binary search for dispatch function if more efficient. The size/speed tradeoff can be tuned using
- SMTChecker: Support mathematical and cryptographic functions in an uninterpreted way.
- SMTChecker: Support one-dimensional mappings.
- Standard JSON Interface: Disallow unknown keys in standard JSON input.
- Standard JSON Interface: Only run code generation if it has been requested. This could lead to unsupported feature errors only being reported at the point where you request bytecode.
- Static Analyzer: Do not warn about unused variables or state mutability for functions with an empty body.
- Type Checker: Add an additional reason to be displayed when type conversion fails.
- Yul: Support object access via
datacopyin standalone assembly mode.
- Standard JSON Interface: Report specific error message for json input errors instead of internal compiler error.
- Replace the trusty PPA build by a static build on cosmic that is used for the trusty package instead.
- Remove support for Visual Studio 2015.
We especially thank all the contributors that made this release possible:
Albert, Alex Beregszaszi, Christian Parpart, Chris Ward, Daniel Kirchner, Erik Kundt, Kevin Kelley, Leonardo Alt, liangdzou, Lionello Lunesu, Mathias Baumann, Ricardo Guilherme Schmidt, Yi Huang, Zacharius