Skip to content

Commit

Permalink
Release 5.0.0 (#1827)
Browse files Browse the repository at this point in the history
* Update `Cargo.lock`

* Bump versions to 5.0

* Execute `cargo update`

* Update changelog

* Update changelog
  • Loading branch information
cmichi authored Nov 22, 2024
1 parent f44e3b7 commit 191d23c
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 67 deletions.
16 changes: 9 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

[Unreleased]
## [5.0.0]

### Fixed
- Fix "chain configuration not found" error - [#1786](https://github.com/paritytech/cargo-contract/pull/1786)
- Fix "chain configuration not found" error (Rust 1.79) - [#1821](https://github.com/paritytech/cargo-contract/pull/1821)
- Validate externally passed Rust toolchain identifiers - [#1817](https://github.com/paritytech/cargo-contract/pull/1817)
- For contract verification: don't rely on Wasm hash in metadata - [#1820](https://github.com/paritytech/cargo-contract/pull/1820)
This release concludes the migration of ink! from Parity to the outside world. It doesn't come with any new features, we just:

## [5.0.0-alpha]
* …changed the Parity URLs to ones for our new GitHub organization
[@use-ink](https://github.com/use-ink/).
* …upgraded many dependencies to newer versions, which results in two particular
breaking changes regarding compatibility:
* We had to remove support for Substrate metadata that is below
`V14` in [#1722](https://github.com/use-ink/cargo-contract/pull/1722). Metadata formats below `V14` are quite old and we hope this doesn't affect anyone.
* `cargo-contract` v5 works only with Rust >= 1.81.

### Changed
- Updated the toolchain version used by `ink_linting` - [#1616](https://github.com/use-ink/cargo-contract/pull/1616)
Expand Down
85 changes: 43 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/analyze/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-analyze"
version = "5.0.0-alpha"
version = "5.0.0"
authors = ["Use Ink <[email protected]>"]
edition = "2021"

Expand All @@ -14,7 +14,7 @@ keywords = ["wasm", "ink", "webassembly", "blockchain", "edsl"]
include = ["Cargo.toml", "*.rs", "LICENSE"]

[dependencies]
contract-metadata = { version = "5.0.0-alpha", path = "../metadata" }
contract-metadata = { version = "5.0.0", path = "../metadata" }
wasmparser = "0.220.0"
anyhow = "1.0.83"

Expand Down
4 changes: 2 additions & 2 deletions crates/build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-build"
version = "5.0.0-alpha"
version = "5.0.0"
authors = ["Use Ink <[email protected]>"]
edition = "2021"

Expand Down Expand Up @@ -47,7 +47,7 @@ tokio-stream = "0.1"
bollard = "0.18"
crossterm = "0.28.1"

contract-metadata = { version = "5.0.0-alpha", path = "../metadata" }
contract-metadata = { version = "5.0.0", path = "../metadata" }

[target.'cfg(unix)'.dependencies]
uzers = "0.12"
Expand Down
12 changes: 6 additions & 6 deletions crates/cargo-contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-contract"
version = "5.0.0-alpha"
version = "5.0.0"
authors = ["Use Ink <[email protected]>"]
build = "build.rs"
edition = "2021"
Expand All @@ -18,11 +18,11 @@ include = [
]

[dependencies]
contract-build = { version = "5.0.0-alpha", path = "../build" }
contract-extrinsics = { version = "5.0.0-alpha", path = "../extrinsics" }
contract-transcode = { version = "5.0.0-alpha", path = "../transcode" }
contract-metadata = { version = "5.0.0-alpha", path = "../metadata" }
contract-analyze = { version = "5.0.0-alpha", path = "../analyze" }
contract-build = { version = "5.0.0", path = "../build" }
contract-extrinsics = { version = "5.0.0", path = "../extrinsics" }
contract-transcode = { version = "5.0.0", path = "../transcode" }
contract-metadata = { version = "5.0.0", path = "../metadata" }
contract-analyze = { version = "5.0.0", path = "../analyze" }

anyhow = "1.0.83"
clap = { version = "4.5.4", features = ["derive", "env"] }
Expand Down
Loading

0 comments on commit 191d23c

Please sign in to comment.