All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Exposed
build
andabi
modules to make them reusable when cargo-near is used as a crate. near#97
0.3.0 - 2022-11-10
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 to0.3.0
. near#83 - The exported and embedded ABI now includes build information. near#55
- When building a contract, the exported ABI now also includes the code hash of the built contract. near#55
- Fixed a situation where
cargo-near
could potentially run into segfaults when working with incompatible versions of the SDK. near#74 cargo-near
now only accepts valid UTF-8 input from the CLI, and will error out if it encounters invalid UTF-8. near#76cargo-near
no longer requires explicitly activating theabi
feature for the SDK. near#85- Fixed a bug where
cargo-near
exports an empty ABI file when the target directory is explicitly specified. near#75 - Introduced build stages with a neat report interface. near#59, near#63, near#69
- Added the
--color
flag to control the color output. near#86 - Ensured all forwarded
cargo
output retains colors in it's report, maintaining tooling familiarity. near#66 - Removed the buffering that made
cargo
'sstdout
lag behind itsstderr
. near#65 - When building contracts,
cargo
's warnings are only emitted at the build stage, and not duplicated. near#68
0.2.0 - 2022-09-01
Release Page: https://github.com/near/cargo-near/releases/tag/v0.2.0