Skip to content

v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Nov 14:00
b3a245f

What's changed?

Highlight: We revised the overall experience of the CLI, making it more accessible, robust, and easier to understand.

  • The minimum supported version of the SDK for this release is 4.1.0.
  • Upgraded the near-abi version to 0.3.0. #83
  • The exported and embedded ABI now includes build information. #55
  • When building a contract, the exported ABI now also includes the code hash of the built contract. #55
  • Fixed a situation where cargo-near could potentially run into segfaults when working with incompatible versions of the SDK. #74
  • cargo-near now only accepts valid UTF-8 input from the CLI, and will error out if it encounters invalid UTF-8. #76
  • cargo-near no longer requires explicitly activating the abi feature for the SDK. #85
  • Fixed a bug where cargo-near exports an empty ABI file when the target directory is explicitly specified. #75
  • Introduced build stages with a neat report interface. #59, #63, #69
  • Added the --color flag to control the color output. #86
  • Ensured all forwarded cargo output retains colors in it's report, maintaining tooling familiarity. #66
  • Removed the buffering that made cargo's stdout lag behind its stderr. #65
  • When building contracts, cargo's warnings are only emitted at the build stage, and not duplicated. #68

Crate Link: https://crates.io/crates/cargo-near/0.3.0

Full Changelog: v0.2.0...v0.3.0

🎉 Thanks to @itegulov and @miraclx for their contributions to this release. 🎉

Verify the SHA256 checksums of the release artifacts
File Hash
cargo-near-v0.3.0-aarch64-apple-darwin.tar.gz edb2964c2a042e8eb97744041d982bacfe6a56debf20bd4ff8a3c12a24c788ba
cargo-near-v0.3.0-aarch64-pc-windows-msvc.zip 5380d5d312f3dd7633f1855f103ef701b1bae0e170c18b3cd30b749add5d42cf
cargo-near-v0.3.0-aarch64-unknown-linux-gnu.tar.gz c425bda3f504ec09d5dff71b0313226ec3b8f509d869840fcf8e0d382070f8b1
cargo-near-v0.3.0-aarch64-unknown-linux-musl.tar.gz d5cdb40f52a718aa341e5b11a914c92c0463864ed4cef9d1ef8f049e7081c8a5
cargo-near-v0.3.0-x86_64-apple-darwin.tar.gz 2f1ba0db87442028d0593b9561ec0f504ac62b3dcdcf8500e6ef79767b5e89fe
cargo-near-v0.3.0-x86_64-pc-windows-gnu.zip 9a382cea4be951fbee0352b75447b7b9ecdb55e6b7770b75596d4dfa62c9c3f1
cargo-near-v0.3.0-x86_64-pc-windows-msvc.zip 39e81df440bd7bd1a4091723c9497d0cecf35fe5a982978b30ca51955fb8858d
cargo-near-v0.3.0-x86_64-unknown-linux-gnu.tar.gz a2537d41921c0db2caeca155cc789a1b48ce1770183eb79f986c8566948bb4bd
cargo-near-v0.3.0-x86_64-unknown-linux-musl.tar.gz db34d3b304a616c7954b85947d15fdfe9c73a63d7fe9d46178cf71489e12a5d3