mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Consistency changes in the Changelog
This commit is contained in:
parent
fbe0edb32c
commit
4e5fbef145
24
Changelog.md
24
Changelog.md
@ -16,38 +16,38 @@ Breaking Changes:
|
|||||||
modifier. Contracts now throw if no payable fallback
|
modifier. Contracts now throw if no payable fallback
|
||||||
function is defined and no function matches the signature.
|
function is defined and no function matches the signature.
|
||||||
* Failing contract creation through "new" throws.
|
* Failing contract creation through "new" throws.
|
||||||
* Division / modulus by zero throws
|
* Division / modulus by zero throws.
|
||||||
* Function call throws if target contract does not have code
|
* Function call throws if target contract does not have code
|
||||||
* Modifiers are required to contain ``_`` (use ``if (false) _`` as a workaround if needed).
|
* Modifiers are required to contain ``_`` (use ``if (false) _`` as a workaround if needed).
|
||||||
* Modifiers: return does not skip part in modifier after ``_``
|
* Modifiers: return does not skip part in modifier after ``_``.
|
||||||
* Placeholder statement `_` in modifier now requires explicit `;`.
|
* Placeholder statement `_` in modifier now requires explicit `;`.
|
||||||
* ``ecrecover`` now returns zero if the input is malformed (it previously returned garbage)
|
* ``ecrecover`` now returns zero if the input is malformed (it previously returned garbage).
|
||||||
* The ``constant`` keyword cannot be used for constructors or the fallback function.
|
* The ``constant`` keyword cannot be used for constructors or the fallback function.
|
||||||
* Removed ``--interface`` (Solidity interface) output option
|
* Removed ``--interface`` (Solidity interface) output option
|
||||||
* JSON AST: General cleanup, renamed many nodes to match their C++ names.
|
* JSON AST: General cleanup, renamed many nodes to match their C++ names.
|
||||||
* Json Output: srcmap-runtime renamed to srcmapRuntime
|
* JSON output: ``srcmap-runtime`` renamed to ``srcmapRuntime``.
|
||||||
* Moved (and reworked) standard library contracts from inside the compiler to github.com/ethereum/solidity/std
|
* Moved (and reworked) standard library contracts from inside the compiler to github.com/ethereum/solidity/std
|
||||||
(``import "std";`` or ``import owned;`` do not work anymore).
|
(``import "std";`` or ``import owned;`` do not work anymore).
|
||||||
* Confusing and undocumented keyword "after" was removed.
|
* Confusing and undocumented keyword ``after`` was removed.
|
||||||
* New reserved words: abstract, hex, interface, payable, pure, static, view
|
* New reserved words: ``abstract``, ``hex``, ``interface``, ``payable``, ``pure``, ``static``, ``view``.
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
* Hexadecimal string literals: ``hex"ab1248fe"``
|
* Hexadecimal string literals: ``hex"ab1248fe"``
|
||||||
* Internal: Inline assembly usable by the code generator.
|
* Internal: Inline assembly usable by the code generator.
|
||||||
* Commandline interface: Using ``-`` as filename allows reading from stdin.
|
* Commandline interface: Using ``-`` as filename allows reading from stdin.
|
||||||
* Interface Json: Fallback function is now part of the ABI.
|
* Interface JSON: Fallback function is now part of the ABI.
|
||||||
* Interface: Version string now semver compatible.
|
* Interface: Version string now *semver* compatible.
|
||||||
* Code generator: Do not provide "new account gas" if we know the called account exists.
|
* Code generator: Do not provide "new account gas" if we know the called account exists.
|
||||||
|
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
|
|
||||||
* JSON AST: nodes were added at wrong parent
|
* JSON AST: Nodes were added at wrong parent
|
||||||
* Why3 translator: crash fix for exponentiation
|
* Why3 translator: Crash fix for exponentiation
|
||||||
* Commandline Interface: linking libraries with underscores in their name.
|
* Commandline Interface: linking libraries with underscores in their name.
|
||||||
* Type Checker: Fallback function cannot return data anymore.
|
* Type Checker: Fallback function cannot return data anymore.
|
||||||
* Code Generator: Fix crash when sha3() was used on unsupported types.
|
* Code Generator: Fix crash when ``sha3()`` was used on unsupported types.
|
||||||
* Code Generator: Manually set gas stipend for .send(0).
|
* Code Generator: Manually set gas stipend for ``.send(0)``.
|
||||||
|
|
||||||
Lots of changes to the documentation mainly by voluntary external contributors.
|
Lots of changes to the documentation mainly by voluntary external contributors.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user