Skip to content

Commit 476e804

Browse files
ascjonesHCastano
authored andcommitted
WIP update CHANGELOG.md
1 parent 894013c commit 476e804

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,20 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

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.
1113

1214
### Breaking Changes
1315

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
1421
We had to remove [`ink_env::random`](https://docs.rs/ink_env/3.3.1/ink_env/fn.random.html)
1522
with [#1442](https://github.com/paritytech/ink/pull/1442).
1623
This function allowed contract developers getting random entropy.
@@ -28,11 +35,12 @@ protocol for future versions of Polkadot.
2835

2936
### Added
3037
- 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)
3238
- Add `Mapping::take()` function allowing to get a value removing it from storage ‒ [#1461](https://github.com/paritytech/ink/pull/1461)
3339

3440

3541
### 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)
3644
- Update `scale-info` requirement to `2.3`[#1467](https://github.com/paritytech/ink/pull/1467)
3745
- Merge `Mapping::insert(key, val)` and `Mapping::insert_return_size(key, val)` into one method - [#1463](https://github.com/paritytech/ink/pull/1463)
3846

0 commit comments

Comments
 (0)