diff options
author | chriseth <c@ethdev.com> | 2016-08-11 22:37:11 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-08-30 22:26:23 +0800 |
commit | 408968b57064ffd6a037f666fce3ac1cb67e0027 (patch) | |
tree | 0697b206ae517f37d19b56d3f92fe564ef7860e8 /Changelog.md | |
parent | cf974fd103dbb56313eee40ce9ffe4d03d6c1b04 (diff) | |
download | dexon-solidity-408968b57064ffd6a037f666fce3ac1cb67e0027.tar.gz dexon-solidity-408968b57064ffd6a037f666fce3ac1cb67e0027.tar.zst dexon-solidity-408968b57064ffd6a037f666fce3ac1cb67e0027.zip |
Changelog.
Diffstat (limited to 'Changelog.md')
-rw-r--r-- | Changelog.md | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/Changelog.md b/Changelog.md index 8805498e..5cf2898b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,9 +1,44 @@ +### 0.4.0 (unreleased) + +This release deliberately breaks backwards compatibility mostly to +enforce some safety features. The most important change is +... + +Breaking Changes: + + * Contracts that want to receive Ether have to implement a fallback + function (contracts now throw if no fallback function is defined + and no function matches the signature). + * Failing contract creation through "new" throws now. + * Throw on division / modulus by zero + * Function call throws if target contract does not have code + * Modifiers are required to contain ``_`` (use ``if (false) _`` as a workaround if needed). + * Modifiers: return does not skip part in modifier after ``_`` + * ``ecrecover`` now returns zero if the input is malformed (it previously returned garbage) + * Removed ``--interface`` (Solidity interface) output option + * JSON AST: General cleanup, renamed many nodes to match their C++ names. + * Json Output: srcmap-runtime renamed to srcmapRuntime + * 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). + * Confusing and undocumented keyword "after" was removed. + * New reserved words: hex, payable, abstract, static, interface + Features: - * Fixed point types (in progress) + * Hexadecimal string literals: ``hex"ab1248fe"`` + * Internal: Inline assembly usable by the code generator. + * Commandline interface: Using ``-`` as filename allows reading from stdin. + * Interface Json: Fallback function is now part of the ABI. + * Interface: Version string now semver compatible. Bugfixes: + * JSON AST: nodes were added at wrong parent + * Why3 translator: crash fix for exponentiation + * Type Checker: Fallback function cannot return data anymore. + +Lots of changes to the documentation mainly by voluntary external contributors. + ### 0.3.6 (2016-08-10) Features: |