Skip to content

Releases: use-ink/cargo-contract

v2.0.0-alpha.5

22 Nov 23:34
v2.0.0-alpha.5
0bff2a7
Compare
Choose a tag to compare
v2.0.0-alpha.5 Pre-release
Pre-release

v2.0.0-alpha.5

[2.0.0-alpha.5] - 2022-10-27

Added

  • Add Rust specific build info to metadata - #680

Changed

  • Removed requirement to install binaryen. The wasm-opt tool is now compiled into cargo-contract - #766.
  • Make linting opt in with --lint - #799

Fixed

  • Log failure instead of failing when decoding an event - #769

v2.0.0-alpha.4

22 Nov 23:32
v2.0.0-alpha.4
4a516c6
Compare
Choose a tag to compare
v2.0.0-alpha.4 Pre-release
Pre-release

v2.0.0-alpha.4

[2.0.0-alpha.4] - 2022-10-03

Fixed

  • Fix storage deposit limit encoding - #751
  • Rewrite relative path for dev-dependency - #760

v2.0.0-alpha.3

22 Sep 14:28
0e4a286
Compare
Choose a tag to compare
v2.0.0-alpha.3 Pre-release
Pre-release

[2.0.0-alpha.3] - 2022-09-21

This release supports compatibility with the v4.0.0-alpha.3
release of ink!. It is not backwards compatible with older versions of ink!.

Added

  • --output-json support for call, instantiate and upload commands - #722
  • Use new ink entrance crate - #728

Fixed

  • Skip linting if running building in --offline mode - #737

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