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.
0.10.0 - 2024-10-16
- [breaking] use
wasm-opt -O
(via wasm-opt-rs) as post-step of build (#231) env
flag for external parameters of docker build and regular build (#226)
- Use Posthog instead of Mixpanel to collect stats on new projects creation (#227)
- Fix tracking usage (#225)
0.9.0 - 2024-09-12
- Fixed GitHub CI staging workflow generated by
cargo near new
command to work correctly with docker case (#193) - Extracted cargo-near-build into a standalone crate to be able to use it in near-workspaces and other places without the rest of the heavy dependencies of cargo-near (#198)
- Added tracking of
cargo near new
usage to collect statistics of the command usage (#192)
- Addressed warnings in
cargo build -p cargo-near-build
cmd in releaze-plz flow (#212)
- Updated near-* dependencies to 0.26 release (#220)
- Use "tracing" for logging and loading indicators (#216)
- update docker image and sdk version in
cargo near new
template (#218) - [breaking] updates near-* packages to 0.25 version. Updates near-sdk to 5.4 (#215)
0.8.2 - 2024-08-16
- updated near-workspaces-rs (#205)
0.8.1 - 2024-08-15
- update Cargo.lock dependencies
0.8.0 - 2024-08-14
- [breaking] Updated near-* to 0.24, interactive clap to 0.3 (#201)
- disable env section of
color_eyre
report (#196)
0.7.0 - 2024-08-06
- Added ability to use SourceScan (#134)
- Replacing atty unmaintained dependency (#194)
- update default docker images tags + digests (#191)
0.6.4 - 2024-07-22
- Updated near-sdk and near-workspaces versions in the new project Cargo.toml.template (#183)
0.6.3 - 2024-07-03
- Support passing feature flags to
cargo
invocation (#160)
- Also pass feature flags to ABI build step (#161)
- Updates near-cli-rs and cargo-near in the new project template to latest versions (#168)
- Updated dependencies to the latest versions (#167)
- Updated "interactive_clap" to 0.2.10 (updated "flatten" parameter) (#154)
0.6.2 - 2024-04-14
- Updated new project template with near-sdk-rs 5.1.0 (#143)
- Support nixOS - decouple cargo-near from rustup (#146)
0.6.1 - 2024-02-23
- Updated near-sdk-rs to version 5.0.0 for the new projects (#132)
0.6.0 - 2024-02-03
- Use hello-world contract instead of the status-message contract for the new project starter
- Enable by default release mode, embedded ABIs with doc strings
0.5.2 - 2024-01-27
- Updated "feature flag" for near-cli-rs (ledger) (#126)
- Updated near-sdk-rs to 5.0.0-alpha.2 in the new project template (#127)
0.5.1 - 2024-01-25
- Upgraded NEAR crates to 0.20.0 release (#125)
- Updated binary releases pipeline to use cargo-dist v0.7.2 (previously v0.3.0) (#122)
0.5.0 - 2023-11-20
- New command to initialize a new smart contract project (#117)
- update
near-sdk
,near-abi
,borsh
version (#109)
0.4.1 - 2023-10-19
cargo near build
now works on Windows (#110)
- remove
#[ignore]
from parts of test suite, usingnear-workspaces
(#111)
0.4.0 - 2023-10-01
- [breaking] Re-implemented cargo-near to use interactive-clap and near-cli-rs features (#103)
- Exposed
build
andabi
modules to make them reusable when cargo-near is used as a crate. #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
. #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. #76cargo-near
no longer requires explicitly activating theabi
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
'sstdout
lag behind itsstderr
. #65 - When building contracts,
cargo
's warnings are only emitted at the build stage, and not duplicated. #68
0.2.0 - 2022-09-01
Release Page: https://github.com/near/cargo-near/releases/tag/v0.2.0