Skip to content

Releases: use-ink/cargo-contract

v2.0.0-alpha.2

02 Sep 10:08
710f3b1
Compare
Choose a tag to compare
v2.0.0-alpha.2 Pre-release
Pre-release

[2.0.0-alpha.2] - 2022-09-02

Fixed

  • Sync version of transcode crate to fix metadata parsing - #723
  • Fix numbering of steps during build - #715

v2.0.0-alpha.1

25 Aug 08:33
90c08b4
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

This release brings two exciting updates! First, contracts can now be built using the
stable Rust toolchain! Don't ask us how we managed to do this 👻.

Secondly, it allows you to build ink! v4.0.0-alpha.1, which introduced a small - but
breaking - change to the ink! ABI as part of paritytech/ink#1313.

Added

  • Add support for ink!'s version metadata field - #641

Changed

  • Build contracts and dylint driver with stable - #698
  • Compile dylints when compiling the contract - #703
  • Move transcode example to doc test, add helper method - #705
  • Replace custom RPCs by state_call - #701

Fixed

  • Fix tracing_subscriber filtering - #702

v1.5.0

15 Aug 11:30
2b17587
Compare
Choose a tag to compare

[1.5.0] - 2022-08-15

  • Fix windows dylint build (#690)

Added

  • Dry run gas limit estimation #484

Changed

  • Bump ink_* crates to v3.3.1 #686
  • Refactor out transcode as a separate library #597
  • Sync metadata version with cargo-contract #611
  • Adapt to new subxt API #678
  • Replace log/env_logger with tracing/tracing_subscriber #689
  • Contract upload: emitting a warning instead of an error when the contract already existed is more user friendly #644

Fixed

  • Fix windows dylint build #690
  • Fix instantiate_with_code with already uploaded code #594

v1.4.0

20 May 17:10
4e3a198
Compare
Choose a tag to compare

Changed

  • Updated cargo contract new template dependencies to ink! version = "3" - #569
  • Improved documentation on how to invoke cargo contract decode - #572

Fixed

  • Make constructor selector look for exact function name - #562 (thanks @forgetso!)
  • Fix dirty directory issue when crate installation had been interrupted - #571

v1.3.0

09 May 14:28
d0dbd13
Compare
Choose a tag to compare

Added

  • Allow hex literals for unsigned integers - #547

Fixed

  • Display H256 instances in events as hex encoded string - #550
  • Fix extrinsic params for contract chains - #523
  • Fix Vec<AccountId> args - #519
  • Fix --dry-run error deserialization and report error details - #534

v1.2.0

13 Apr 15:44
89e1f66
Compare
Choose a tag to compare

Added

  • decode command for event, message and constructor data decoding - #481

Fixed

  • Fix usage of check-only and remove need for FromStr impl - #499

v1.1.1

05 Apr 18:01
71edda9
Compare
Choose a tag to compare

Fixed

  • Fix linting support for Apple Silicon (and some other architectures) - #489
  • Allow multiple args values for call and instantiate commands - #480
  • Fix event decoding - c721b1

v1.1.0

18 Mar 14:12
27accdc
Compare
Choose a tag to compare

Added

  • --skip-linting flag that allows to skip the linting step during build process - #468

v1.0.1

18 Mar 11:19
c40da7c
Compare
Choose a tag to compare
  • Improved error reporting during installation - #469

v1.0.0

17 Mar 15:57
6fc0277
Compare
Choose a tag to compare

Changed

  • Updated cargo contract new template dependencies to ink! 3.0 - #466