You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,20 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
-
## [Unreleased]
8
-
- Allows to use `Result<Self, Error>` as a return type in constructors - [#1446](https://github.com/paritytech/ink/pull/1446)
9
-
- Checks if `#[ink_e2e::test(ws_url = "…")]` is reachable and throws meaningful error otherwise - [#1490](https://github.com/paritytech/ink/pull/1490)
10
-
- Fix E2E dry-run for `Mapping::insert()` - [#1494](https://github.com/paritytech/ink/pull/1494)
7
+
## Version 4.0.0-beta
8
+
9
+
The focus of the first `beta` release is to establish the stable ABI for the final `4.0.0`
10
+
release. It means that whilst subsequent `beta` releases may contain breaking contract
11
+
*code* changes, the ABI will remain the same so that any contract compiled and deployed
12
+
with `4.0.0-beta` continue to be compatible with all future `4.0.0` versions.
11
13
12
14
### Breaking Changes
13
15
16
+
## Constructors and Messages return types
17
+
18
+
TODO: Describe update to Result with LangError return types: https://github.com/paritytech/ink/issues/1207
19
+
20
+
## Random function removed
14
21
We had to remove [`ink_env::random`](https://docs.rs/ink_env/3.3.1/ink_env/fn.random.html)
15
22
with [#1442](https://github.com/paritytech/ink/pull/1442).
16
23
This function allowed contract developers getting random entropy.
@@ -28,11 +35,12 @@ protocol for future versions of Polkadot.
28
35
29
36
### Added
30
37
- Allow using `Result<Self, Error>` as a return type in constructors ‒ [#1446](https://github.com/paritytech/ink/pull/1446)
31
-
- Introduce conditional compilation for messages, constructors and events ‒ [#1458](https://github.com/paritytech/ink/pull/1458)
32
38
- Add `Mapping::take()` function allowing to get a value removing it from storage ‒ [#1461](https://github.com/paritytech/ink/pull/1461)
33
39
34
40
35
41
### Changed
42
+
- Add support for language level errors (`LangError`) ‒ [#1450](https://github.com/paritytech/ink/pull/1450)
43
+
- Return `LangError`s from constructors ‒ [#1467](https://github.com/paritytech/ink/pull/1504)
36
44
- Update `scale-info` requirement to `2.3` ‒ [#1467](https://github.com/paritytech/ink/pull/1467)
37
45
- Merge `Mapping::insert(key, val)` and `Mapping::insert_return_size(key, val)` into one method - [#1463](https://github.com/paritytech/ink/pull/1463)
0 commit comments