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.16.0 - 2024-11-18
- [breaking] updates near-* dependencies to 0.27 release (#414)
0.15.1 - 2024-09-11
- updates near-* dependencies to 0.26 release (#405)
0.15.0 - 2024-09-02
- UX improvement for signing with Ledger - automatically open a near-app on Ledger device before calling methods (#403)
- Extended --teach-me mode: async account details fetching RPC methods are also covered now (#389)
- Updated near-* dependencies to 0.25.0 (matching nearcore 2.1 release) (#401)
0.14.3 - 2024-08-21
- Fixed the fallback legacy keychain path (#398)
0.14.2 - 2024-08-21
- Upgraded cargo-dist to 0.21.1 and enabled Linux ARM64 build (#397)
- Prioritize searching an access key in the signer account subfolder (///*.json) in legacy keychain and then fallback to //.json instead of the other way around (#396)
- Fixed the one-liner curl installation command
0.14.1 - 2024-08-15
- Fixed native operating system keychain support that got broken with 0.14.0 release (#392)
0.14.0 - 2024-08-13
- Require at least one access key to be selected in interactive mode when deleting a key (#385)
- Handle delegated stake errors gracefully and display a warning message instead of failing the view-account-summary command completely (#382)
- Entering the name of the function in interactive mode (#379)
- Fixed a typo in
inspect
output about missing ABI support (#374)
- removed media from the package (#388)
- updated near-* to 0.24.0, bumped up rust version (#381)
- Added videos to the README for installation process on Windows (#378)
- Cleaned up error message reporting by disabling env section of color_eyre report (#380)
0.13.0 - 2024-07-30
- Automatically exec legacy JS CLI commands for full backward compatibility (#366)
- Added the ability to use the TEACH-ME mode (#360)
- Added a new subcommand to edit configuration parameters (#367)
- Fixed the fallback implementation of fetching active staking pools (#369)
- Fixed typos in user prompts and the guide (#372)
0.12.0 - 2024-07-09
- Cover all commands from near-cli JS with the new near-cli-rs suggestions for full compatibility (#345)
- Added the ability to select HD Path from the ledger (#362)
- Added loading indicators for "transaction" group commands and improved the prompt messages (#358)
0.11.1 - 2024-07-01
- Added loading indicators for "contract" group commands (#357)
- Added loading indicators for "staking" group commands (#356)
- Added loading indicators for "tokens" group commands (#355)
- Added loading indicators for "accounts" group commands (#352)
- replace
ed25519-dalek
1 -> 2 major version (#359)
0.11.0 - 2024-06-19
- Added loading indicators to wait for the view-account-summary command (#349)
- Added loading indicators to wait for the create-account (sponsor-by-faucet-service) command (#339)
- Do not fail view-account-summary command if we could not retrieve access keys list (#344)
- [breaking] upgraded near-dependencies to the 0.23 version (#350)
- Provide instructions that help to resolve a problem with missing keychain (#347)
0.10.2 - 2024-05-21
- Wrong console command for adding Function-Call key with unlimited allowance (#342)
- Fallback to non-auto-suggesting input of the keys to be deleted in interactive mode in offline mode or if there is a connectivity issue (#338)
0.10.1 - 2024-05-07
- Display the transaction fee in NEAR and approximate $ after transaction is executed (#333)
0.10.0 - 2024-05-03
- Added loading indicators to wait for staking properties to be viewed (#328)
- improved fetching staking pools (#325)
- Added loading indicators for waiting for the transaction to be signed (#324)
- Wrong console command for adding Function-Call key with any methods to account (#329)
- Support automatic config version migration (#331)
- Updated dependencies (#332)
- Refactored the command for adding Function-Call Access key (#330)
0.9.1 - 2024-04-25
- Added loading indicators for waiting for responses from RPC (#315)
0.9.0 - 2024-04-22
- Highlight the re-run command to make it more prominent (#317)
- Added ability to select contract function from NEAR ABI functions (#314)
- Added the ability to output a signed transaction (serialized as base64) to a file (#313)
- Updated "interactive_clap" to 0.2.10 ("flatten" parameter changed to "subargs") (#322)
- fix typos (#318)
- update
near-ledger
to0.5.0
(#309) - Upgraded
inquire
crate to use CustomType inputs where initial value is needed (#310)
0.8.1 - 2024-02-26
- Added support for viewing account summary on networks without NEAR Social contract (#302)
- Improved formatting of the Install section in the README
0.8.0 - 2024-02-19
- Added
inspect
anddownload-abi
commands for contracts! (#293)
- Fixed incorrect serialization in staking delegation commands that required to input amounts (#300)
- Fixed a syntax error in CI (publish-to-npm.yml)
0.7.8 - 2024-02-03
- Updated binary releases pipeline to use cargo-dist v0.9.0 (previously v0.7.2) (#294)
- Updated send-ft command (#283)
0.7.7 - 2024-01-19
- Updated dialog for entering arguments to a function (as-read-only) (#285)
- Updated binary releases pipeline to use cargo-dist v0.7.2 (previously v0.3.0) (#289)
- Avoid unnecessary "interactive_clap::FromCli" implementations (#288)
0.7.6 - 2023-12-21
- Removed excessive step during transaction status view to improve UX (#280)
- Updated reconstruct-transaction command (#281)
0.7.5 - 2023-12-19
- Improved self-update UX with more details (#274)
- Display NEAR token amounts precisely (#278)
- Updated the guide around the usage of system keychain on Linux, Windows, and macOS (#277)
- Added explicit installation instructions to README.md
0.7.4 - 2023-12-06
- Removed the need for an additional network selection step if there is only one network connection in the config file (#272)
- Added the ability to interactively select access keys to remove from the list of public keys (#269)
- Cleaned up duplicative CI checks and renamed 'master' to 'main' default branch
- Automate publishing near-cli-rs to npmjs for
npx near-cli-rs
to use the latest released binary release by default (#273)
0.7.3 - 2023-12-02
- Added support for blind signing with Ledger [requires updated Ledger app that is not yet published] (#259)
- New command to reconstruct NEAR CLI command from a historical transaction (#266)
- Addressed all default cargo clippy warnings (#263)
0.7.2 - 2023-11-21
- Show hash-to-sign when using the sign_later transaction signature option (#261)
0.7.1 - 2023-11-17
- add
--offline
forsign-with-ledger
option (#260) - Updated legacy command compatibility for near-cli (JS) for dev-deploy, validators, and staking commands (#256)
0.7.0 - 2023-10-31
- New command: staking - delegation (#227)
- Refactored NEAR tokens usages to use a strictly typed near-token crate (#253)
0.6.2 - 2023-10-17
- Exposed some of the functions to use "manage-profile" in bos-cli-rs (#249)
- Exposed subcommands related to "deploy" to reuse in cargo-near (#247)
0.6.1 - 2023-10-09
- Added a new command to manage BOS profile in SocialDB (#231)
- Provide a relevant faucet error message when helper API server returns an error (#243)
- Exposed sponsor_by_faucet_service module to re-use in "cargo-near" (#246)
0.6.0 - 2023-09-28
- New command export-account (#226)
- [breaking] Added system keychain support for windows & linux, so now all major desktop operating systems are supported! (#232)
- order networks selection based on the selected account id (bubble up more relevant networks) (#225)
- CLI must return a non-zero exit code when function call (as-transaction) fails (#238)
- legacy view-function call with --base64 was not recognized (#237)
- self update is now pointing to the right archive name (#234)
- Upgraded cargo-dist to 0.3.0 version to enable MSI Windows installer, and binary artifacts on every PR (#241)
- Switch to near-gas crate (#240)
- New command to view contract storage state (#239)
0.5.2 - 2023-08-17
- Select your account when prompted interactively (#224)
- Allow to specify a custom Web Wallet URL when importing account (default to MyNearWallet) (#218)
- Upgrade cargo-dist to 0.1.0 release (#229)
0.5.1 - 2023-06-07
- New
transaction sign-transaction
command [useful in combination with... sign-later
andtransaction send-signed-transaction
commands] (#215)
- Upgraded NEAR crates to 0.17.0 release (#216)
0.5.0 - 2023-06-05
- New offline mode allows to prepare transactions on devices that are not connected to the Internet (#209)
- Add support for no-args view-function calls for legacy JS CLI
view
command (#213)
0.4.3 - 2023-06-02
- New command to send a signed transaction [potentially constructed offline] (#206)
- Extended access-key deletion with an option to delete multiple keys in a single transaction (#207)
- Updated dependencies to the most recent versions
0.4.2 - 2023-05-26
- Added Json type (#203)
0.4.1 - 2023-05-22
- Added extra space at the beginning of a line in interactive queries (#196)
- Added a guide on
send-meta-transaction
(#192)
0.4.0 - 2023-05-02
- Meta-Transactions support (#189)
- Support for adding key from Ledger hardware wallet (#188)
- fixed call function with non-JSON arguments being incorrectly displayed as
null
(#187) - pass right token to release-plz action (#185)
0.3.5 - 2023-04-21
- Fixed self-update to use the proper archive name generated by cargo-dist
0.3.4 - 2023-04-20
- Enable self-update on CI and NPM installer for binary releases (#183)
- release v0.3.3 (#182)
0.3.3 - 2023-04-20
- Added support for Contract Storage Management Standard (#179)
- update release-plz-action to v0.5 (#180)
0.3.2 - 2023-04-11
- Show contract function call result and make it usable in scripts by only writing the result to stdout, and everything else will be printed to stderr (#177)
- Use optimisticly latest nonce for the access key instead of the final one to avoid errors running commands one after the other (#176)
- fixed printing about saving the access key (#173)
- Added GitHub Actions installation instructions
0.3.1 - 2023-04-06
- Use custom GITHUB_TOKEN to be able to trigger follow up CI jobs
- make a git tag with Release-plz, so it triggers binary release pipeline (#170)
- Renamed
near-cli
binary tonear
as it has special handlers for the commands of near CLI JS, and can be used as a replacement to near CLI JS that will guide users on how to use the new commands when they type the old commands. - Improved continuous integration pipelines to streamline releases (each push to
master
branch will trigger a pipeline that will create a PR suggesting to cut a new release, and once the version is ticked, crate will be published and tagged, and then binary release pipeline will kick in)