Skip to content

Releases: near/near-cli

4.0.11

19 Mar 09:57
Compare
Choose a tag to compare

Fix small issue where near-cli will fail if a function call key was added without specifying methods

v4.0.10

07 Mar 20:41
Compare
Choose a tag to compare
  • Ledger support is back
  • Multiple minor error fixes

v4.0.5

20 Feb 13:32
Compare
Choose a tag to compare

Small fix: generate-key now correctly shows the implicit account. Before, it was shown as an array (i.e. 128, 15, 53, ...) instead of as an account (i.e. fb9u31....`)

v4.0.4

12 Feb 17:12
Compare
Choose a tag to compare

Bring back validators and stake commands

v4.0.1

09 Feb 14:38
f4dcb74
Compare
Choose a tag to compare

Small fix: when near call fails, the process throws an error (before it would simply log something and exit successfully)

v4.0.0

08 Feb 16:22
Compare
Choose a tag to compare

The major change at the code level is that the project was re-organized to make simpler to maintain:
- All commands are now in the commands folder
- Added multiple tests (all now running directly on testnet)
- All packages were updated (node v16 is now the minimum version, which is understandable)
- Errors are now handled on each command, and not through some obscure middleware.

In terms of usability, the complexity of near-cli was reduced by removing a couple of features:
- Removed analytics
- Breaking: removed x-api option
- Breaking: removed stake command
- Breaking: removed all evm commands
- Breaking: Removed all Ledger support
- Breaking: removed all validator commands
- Breaking: removed walletUrl, nodeUrl and helperUrl options
- Breaking: removed dev-deploy command. Users must now create an account (can fund it with a faucet) and deploy to it.

The following fixes were implemented:

  • create-account can now create sub-accounts and .testnet/.near accounts and fund them with an existing account or with a faucet service
  • Default wallet is now MyNearWallet install of NearWallet
  • Removed global flags, since they were not so global at all.. now each command has only the strict and necessary flags that it needs
  • Fixed --networkId flag, now it works as expected (i.e. switches network) in all relevant commands
  • Many commands were renamed, but aliases are set in place for retro-compatibility.
  • The generate-key command does not save the key by default, now it needs the --saveImplicit flag to save the key. Also, it does not overwrite the key if it exists, it needs the --force flag for that.

v3.5.0

25 Jan 15:51
Compare
Choose a tag to compare

Sets mynearwallet.com as the default wallet, since wallet.near.org is now deprecated

v3.4.2

15 Aug 10:58
Compare
Choose a tag to compare

Highlights:

  • high latency on view calls fixed

Commits:

v3.4.1...v3.4.2

v3.4.1

05 Aug 07:36
Compare
Choose a tag to compare

Highlights:

  • mixpanel changed to segment
  • bug fixes

Commits:

  • Merge pull request #1005 from near/daniyar/mixpanel-to-segment 44540c7
  • Fix Check for Existing Beneficiary in Account Deletion & Repair CI (#1009) e0ffe89
  • delete deployed contract tracking 5a3fd32
  • update segment write key ad4f08a
  • migrate from mixpanel to segment a531f9c
  • Merge pull request #999 from near/delete 4b4a787
  • change copy 76b2742
  • change copy to must alreay be initialized 10911a3
  • fix lint 88fb668
  • refactor: check if beneficiary account exists, require confirmation 5d5ef5e

Diff:
v3.4.0...v3.4.1

v3.4.0

28 Jun 06:23
Compare
Choose a tag to compare

Highlights

  • Added shardnet network
  • Added chunk produced/expected info

Commits

  • Merge pull request #995 from near/0620_add_chunk_producer_support_validators 2c4d469
  • Merge pull request #992 from near/shardnet-enum 6f5882d
  • Show chunk produced/expected values in near cli f3929a9
  • Add shardnet to near-cli 716be5d
  • add isGlobal true boolean to notification (#987) cdc571b

v3.3.1...v3.4.0