Skip to content

Releases: use-ink/cargo-contract

v0.13.1

04 Aug 07:44
d11e1b4
Compare
Choose a tag to compare

Fixed

  • Fixed a Windows issue with contract files in sub-folders - #313

v0.13.0

23 Jul 09:44
56060b9
Compare
Choose a tag to compare

Added

  • Convenient off-chain testing through cargo contract test - #283
  • Build contracts in debug mode by default, add --release flag - #298
  • Add --keep-symbols flag for better Wasm analysis capabilities - #302

Changed

  • Change default optimizations pass to focus on code size - #305

v0.12.1

25 May 10:01
baaaead
Compare
Choose a tag to compare

Added

  • Suggest binaryen installation from GitHub release on outdated version - #274

Fixed

  • Always use library targets name for contract artifacts - #277

v0.12.0

21 Apr 15:16
be92f35
Compare
Choose a tag to compare

Fixed

  • Fixed ERROR: The workspace root package should be a workspace member when building a contract under Windows - #261

Removed

  • Remove support for --binaryen-as-dependency - #251
  • Remove support for the deprecated cargo contract generate-metadata command - #265
  • Remove pinned funty dependency from "new project" template - #260

v0.11.1

06 Apr 09:29
5d4cf93
Compare
Choose a tag to compare

Fixed

  • Fix wasm-opt --version parsing - #248

v0.11.0

31 Mar 14:31
e460d39
Compare
Choose a tag to compare

Added

  • Improve error output for wasm-opt interaction - #244
  • Check optimized Wasm output file exists - #243
  • Detect wasm-opt version compatibility and improve error messages - #242
  • Detect version mismatches of parity-scale-codec in contract and ink! dependency - #237
  • Support specifying optimization-passes in the release profile - #231
  • Support specifying optimization-passes on the CLI - #216
  • Use ink::test attribute in "new project" template - #190

Fixed

  • Only allow new contract names beginning with an alphabetic character - #219
  • Upgrade cargo-metadata and fix usages - #210

v0.10.0

02 Mar 17:46
4ff00ce
Compare
Choose a tag to compare

Fixed

  • no periods in new contract names - #192

Changed

  • Update cargo contract new template dependencies for ink! rc3 - #204

v0.9.1

24 Feb 14:23
6e70683
Compare
Choose a tag to compare

Fixed

  • Fix linker error when building complex contracts - #199

v0.9.0

22 Feb 11:41
af119cb
Compare
Choose a tag to compare

Added

  • Implement Wasm validation for known issues/markers - #171

Changed

  • Use either binaryen-rs dep or wasm-opt binary - #168
  • Update to scale-info 0.5 and codec 2.0 - #164
  • Put build artifacts under target/ink/ - #122

Fixed

  • Fix wasm-opt regression - #187
  • Generate metadata explicitly for the contract which is build - #174
  • Fix bug with empty Wasm file when using system binaryen for optimization - #179
  • Suppress output on --quiet - #165
  • Do not generate build artifacts under target for check - #124
  • update wasm-path usage name - #135

v0.8.0

02 Dec 13:20
18ce1e1
Compare
Choose a tag to compare
  • Exit with 1 on Err #109
  • Use package name instead of lib name for metadata dependency #107
  • Do not prettify JSON for bundle #105
  • Make source.hash non-optional, remove metadata-only #104
  • Implement new commands build and check + introduce bundles (.contract files) #97
  • Replace xbuild with cargo build-std #99
  • Use binaryen-rs as dep instead of requiring manual wasm-opt installation #95
  • Specify optional --manifest-path for build and generate-metadata #93