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
* Add release notes for `v4.0.0-alpha.1`
* Mention breaking changes in changelog
* Bump version to `4.0.0-alpha.1`
* Fix header levels after merge
* Fix some formatting
* Add some notes about the breaking changes
* Add links to PRs
* Add note about linting move
* Bump `ink_linting` crate to `4.0.0-alpha.1`
* Remove `nightly` usage from delegator build script
* Use dashes instead of minus signs
Co-authored-by: Michael Müller <mich@elmueller.net>
* Beef up description of linter PR
Co-authored-by: Michael Müller <mich@elmueller.net>
* Move compatibility section to top of release notes
* Explicitly use `stable` channel
Our Docker images still default to `nightly`
* Build contracts with `stable` toolchain
* Install `rust-src` component before building examples
* Run the rest of the CI stages again
Co-authored-by: Michael Müller <mich@elmueller.net>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+28-8Lines changed: 28 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,22 +6,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [Unreleased]
8
8
9
-
There are a number of backwards incompatible changes which are on the `master` branch
10
-
waiting to be released. These are:
11
-
12
-
- Add Mapping::contains(key) and Mapping::insert_return_size(key, val) ‒ [#1224](https://github.com/paritytech/ink/pull/1224)
13
-
- Optimise deny_payment. Use everywhere semantic of deny ‒ [#1267](https://github.com/paritytech/ink/pull/1267)
14
-
- Implement ecdsa_to_eth_address() and remove eth_compatibility crate ‒ [#1233](https://github.com/paritytech/ink/pull/1233)
15
-
- The `rand-extension` example has been adapted to an updated version of the `ChainExtension` API ‒ [#1356](https://github.com/paritytech/ink/pull/1356)
9
+
## Version 4.0.0-alpha.1
16
10
17
11
### Compatibility
18
-
19
12
We recommend using a version of the [`pallet-contracts`](https://github.com/paritytech/substrate/tree/master/frame/contracts)
20
13
later than [6b85535](https://github.com/paritytech/substrate/tree/6b8553511112afd5ae7e8e6877dc2f467850f155)
21
14
(Aug 12, 2022) in your node.
22
15
23
16
The compatibility issues will be with `ChainExtension`'s and the functions mentioned above.
24
17
18
+
### Breaking Changes
19
+
This release contains a few breaking changes. These are indicated with the :x: emoji.
20
+
Most of these were intitially introduced in `v3.1.0` and `v3.2.0` releases but
21
+
compatibility was restored in `v3.3.0`.
22
+
23
+
- As part of [#1224](https://github.com/paritytech/ink/pull/1224) the return type of `ink_env::set_contract_storage()` was changed to
24
+
return an `Option<u32>` instead of `()`.
25
+
- As part of [#1233](https://github.com/paritytech/ink/pull/1233) the `eth_compatibility` crate was removed. The
26
+
`ecdsa_to_eth_address()` function from it can now be found in the `ink_env` crate.
27
+
- As part of [#1267](https://github.com/paritytech/ink/pull/1267) an argument to `ink_lang::codegen::execute_constructor()` (which is
28
+
used internally by the ink! macros) was removed.
29
+
- As part of [#1313](https://github.com/paritytech/ink/pull/1313) the ink! ABI was changed so that the version was specified using a
30
+
dedicated `version` key instead of an implicit key which wrapped the entire ABI.
31
+
32
+
### Added
33
+
-:x: Add `Mapping::contains(key)` and `Mapping::insert_return_size(key, val)` ‒ [#1224](https://github.com/paritytech/ink/pull/1224)
34
+
- Add [`payment-channel`](https://github.com/paritytech/ink/tree/master/examples/payment-channel) example ‒ [#1248](https://github.com/paritytech/ink/pull/1248)
35
+
-:x: Add `version` field to ink! metadata ‒ [#1313](https://github.com/paritytech/ink/pull/1313)
36
+
- The `rand-extension` example has been adapted to an updated version of the `ChainExtension` API ‒ [#1356](https://github.com/paritytech/ink/pull/1356)
37
+
38
+
### Changed
39
+
-:x: Contract size optimization in case contract doesn't accept payment ‒ [#1267](https://github.com/paritytech/ink/pull/1267) (thanks [@xgreenx](https://github.com/xgreenx)).
40
+
- Move ink! linter into `ink` repository ‒ [#1361](https://github.com/paritytech/ink/pull/1267)
41
+
42
+
### Removed
43
+
-:x: Implement ecdsa_to_eth_address() and remove eth_compatibility crate ‒ [#1233](https://github.com/paritytech/ink/pull/1233)
44
+
25
45
## Version 3.3.1
26
46
27
47
At the moment teams which use both Substrate and ink! in the same codebase are
0 commit comments