Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.0.0-rc.1 #937

Merged
merged 19 commits into from
Feb 2, 2023
57 changes: 0 additions & 57 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install wasm-opt
if: ${{ runner.os == 'Linux' }}
run: sudo apt-get install binaryen

- name: Install wasm-opt
if: ${{ runner.os == 'macOS' }}
run: brew install binaryen

- name: Install wasm-opt
if: ${{ runner.os == 'Windows' }}
uses: engineerd/configurator@v0.0.9
with:
name: wasm-opt.exe
url: https://github.com/WebAssembly/binaryen/releases/download/version_109/binaryen-version_109-x86_64-windows.tar.gz
pathInArchive: binaryen-version_109/bin/wasm-opt.exe

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -100,17 +84,6 @@ jobs:
- name: Cache
uses: Swatinem/rust-cache@v2

- name: Install cargo-dylint
uses: baptiste0928/cargo-install@v1
with:
crate: cargo-dylint
version: 2

- name: Install dylint-link
uses: baptiste0928/cargo-install@v1
with:
crate: dylint-link
version: 2

- name: Run Tests
uses: actions-rs/cargo@v1
Expand All @@ -129,22 +102,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install wasm-opt
if: ${{ runner.os == 'Linux' }}
run: sudo apt-get install binaryen

- name: Install wasm-opt
if: ${{ runner.os == 'macOS' }}
run: brew install binaryen

- name: Install wasm-opt
if: ${{ runner.os == 'Windows' }}
uses: engineerd/configurator@v0.0.9
with:
name: wasm-opt.exe
url: https://github.com/WebAssembly/binaryen/releases/download/version_109/binaryen-version_109-x86_64-windows.tar.gz
pathInArchive: binaryen-version_109/bin/wasm-opt.exe

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -157,23 +114,9 @@ jobs:
- name: Cache
uses: Swatinem/rust-cache@v2

- name: Install cargo-dylint
uses: baptiste0928/cargo-install@v1
with:
crate: cargo-dylint
version: 2

- name: Install dylint-link
uses: baptiste0928/cargo-install@v1
with:
crate: dylint-link
version: 2

- name: Check Template
run: >-
wasm-opt --version &&
cargo -vV &&
cargo dylint --version &&
cargo run --profile debug-ci -- contract --version &&
cargo run --profile debug-ci -- contract new --target-dir ${{ runner.temp }} foobar &&
cargo run --profile debug-ci -- contract build --manifest-path=${{ runner.temp }}/foobar/Cargo.toml &&
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ 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).

## [2.0.0-rc.1] - 2023-02-01
Second release candidate compatible with `ink! 4.0.0-rc`.

### Changed
- Upgrade `subxt` to `0.26` [#924](https://github.com/paritytech/cargo-contract/pull/924)
- Display detailed cause of an error [#931](https://github.com/paritytech/cargo-contract/pull/931)
- Use package name instead of lib name, default to "rlib" [#929](https://github.com/paritytech/cargo-contract/pull/929)

### Fixed
- Miscellaneous extrinsics display improvements [#916](https://github.com/paritytech/cargo-contract/pull/916)
- Fix decoding of `LangError` [#919](https://github.com/paritytech/cargo-contract/pull/919)

## [2.0.0-rc] - 2023-01-12

First release candidate for compatibility with `ink! 4.0-rc`.
Expand Down
Loading