Skip to content

Releases: use-ink/cargo-contract

v5.0.2

17 Dec 12:41
6f7671c
Compare
Choose a tag to compare

Changed

  • Made extrinsic call types, upload, and events public - #1873

v5.0.1

17 Dec 10:48
v5.0.1
8a464c7
Compare
Choose a tag to compare

Changed

  • Bumped the ink! dependencies to ink! 5.1.0 - #1837
  • Synchronized the sp-* dependencies with the ones used in ink! 5.1.0 - #1837

v5.0.0

22 Nov 12:28
v5.0.0
191d23c
Compare
Choose a tag to compare

This release concludes the migration of ink! from Parity to the outside world. It doesn't come with any new features, we just:

  • …changed the Parity URLs to ones for our new GitHub organization
    @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. Metadata formats below V14 are quite old and we hope this doesn't affect anyone.
    • cargo-contract v5 works only with Rust >= 1.81.

For the linter in cargo-contract the Rust toolchain version changed. To upgrade:

export TOOLCHAIN_VERSION=nightly-2024-09-05
rustup install $TOOLCHAIN_VERSION
rustup component add rust-src --toolchain $TOOLCHAIN_VERSION
rustup run $TOOLCHAIN_VERSION cargo install cargo-dylint dylint-link

Changed

  • Updated the toolchain version used by ink_linting - #1616
  • Update repository URLs & references from paritytech GitHub organization to new use-ink one ‒ #1663
  • Bump the version of subxt and subxt-signer - #1722

Removed

  • Remove support for V11 metadata #1722

v4.1.3

20 Nov 14:55
v4.1.3
ac10464
Compare
Choose a tag to compare

Fixed

  • Fix "chain configuration not found" error (Rust 1.79) - #1821
  • Validate externally passed Rust toolchain identifiers - #1817
  • For contract verification: don't rely on Wasm hash in metadata - #1820

v4.1.2

06 Nov 09:28
v4.1.2
6c987ca
Compare
Choose a tag to compare

Fixed

  • Fix "chain configuration not found" error - #1786

v5.0.0-alpha

30 Sep 13:18
b183e9e
Compare
Choose a tag to compare

What's Changed

Fixed

  • Remove parity-wasm dependency from contract-build crate - #1594
  • chore: Update toolchain for ink_linting - #1616
  • chore: bump subxt and subxt-signer versions - #1722

Added

  • Add support for cargo build --verifiable --lint command - #1512
  • Add new image deployment repo - #1620
  • Switch to useink image in verifiable build command - #1622

Full Changelog: v4.1.1...v5.0.0-alpha

v4.1.1

17 Apr 11:34
v4.1.1
3d74a06
Compare
Choose a tag to compare

Fixed

  • Remove mention of non-existent argument, improve clarity of warning message - #1590

v4.1.0

10 Apr 13:41
v4.1.0
e7a43cc
Compare
Choose a tag to compare

Fixed

  • Fix the instantiate command for Substrate 0.9.42 based chains - #1564

Added

  • Add cargo contract storage --version command - #1564
  • Add cargo contract verify --wasm argument - #1551
  • Add cargo contract instantiate --chain with production chain endpoints - #1290
  • Warn when uploading unverifiable contract builds to production - #1290

v4.0.2

15 Mar 08:52
v4.0.2
ed68dba
Compare
Choose a tag to compare

Fixed

  • Fix installation instructions for ink_linting - #1546

v4.0.1

13 Mar 14:39
v4.0.1
d93327e
Compare
Choose a tag to compare

Fixed

  • Fix e2e tests in the contract template - #1537