Skip to content

Releases: aeternity/aepp-cli-js

v6.0.1

22 Apr 13:51
53c7012
Compare
Choose a tag to compare

Bug Fixes

  • don't show stacktrace for ACI-not-match error (b1b53b5)
  • update sdk to 13.3.2 (2b63f5f)

6.0.0

17 Apr 01:25
8df932a
Compare
Choose a tag to compare

⚠ Ceres and aehopsia@8 compatibility not stable, since they are not officially released yet

Check out the new documentation at docs.aeternity.com/aepp-cli-js

⚠ BREAKING CHANGES

oracle: aecli oracle get removed

Use aecli inspect instead.

oracle: aecli don't accept already known account address in oracles

Remove extra argument:

- $ aecli oracle extend ./wallet.json ok_2a1j2Mk9YSmC1gioUq4PWRm3bsv887MbuRVwyv4KaUGoR1eiKi 200
+ $ aecli oracle extend ./wallet.json 200
- $ aecli oracle respond-query ./wallet.json ok_2a1j2Mk9YSmC1gi... oq_6y3N9KqQb74QsvR... +16Degree
+ $ aecli oracle respond-query ./wallet.json oq_6y3N9KqQb74QsvR... +16Degree

account: aecli account verify-message accepts signer address instead wallet

chain: aecli chain network_id removed

Use aecli chain status instead.

Commands don't accept --no-waitMined anymore

In the most cases transactions gets mined immediately. In case of NameClaim, tx needs to be
submitted in the next keyblock after preclaim. In that case it would be mined also immediately,
with no early name revealing.
If still needed, use aecli chain broadcast tx_... --no-waitMined instead.

account: account save removed

Use account create instead:

-$ aecli account save ./my-wallet.json <hex secret key>
+$ aecli account create ./my-wallet.json <hex secret key>

account: aecli account spend renamed to aecli spend

chain: aecli connects to mainnet by default

Use the below to switch back to testnet.

$ aecli select-node https://testnet.aeternity.io

require nodejs@18 or newer

Because nodejs@16 is not maintained currently.

name: name lookup command removed

Use inspect instead.

- aecli name lookup <name.chain>
+ aecli inspect <name.chain>

account: account generate command removed

Use account create in a cycle instead.

crypto: crypto sign command removed

Use account sign instead.

crypto: crypto unpack command removed

Use inspect instead.

- aecli crypto unpack <tx-prefixed transaction>
+ aecli inspect <tx-prefixed transaction>

crypto: crypto decode removed

Use another base58 decoder if necessary.

account: account balance, account nonce commands removed

Use inspect <ak-address> instead.

- aecli account balance wallet.json --password=123
- aecli account nonce wallet.json --password=123
+ address=$(aecli account address wallet.json --json | jq -r .publicKey)
+ aecli inspect $address

account: remove useless output option

account: account spend returns unwrapped JSON

- aecli account spend ... | jq .tx.tx.amount
+ aecli spend ... | jq .tx.amount

account: account transfer command removed

Use spend instead.

- aecli account transfer 0.42 <recipient>
+ aecli spend 42% <recipient>

Features

  • account: accept password in env variable, notice password recorded (302c8b3)
  • account: show approximate tx execution cost before asking password (9c97844)
  • account: verify message by address instead wallet (4128276)
  • aens: don't require name ttl in name extend (0d4aa51)
  • aens: print missed name details, be human-friendly (91c7731)
  • aens: show auction details (75217c3)
  • chain: show protocol version in config (35496fb)
  • contract: accept amount in contract and tx builder commands (1dbd195)
  • show extra info in tx details, consistent fields naming (5a9f4cc)

Bug Fixes

  • account: don't ask for password if it is empty (daefd21)
  • account: don't ask password if it is not required (54d70fb)
  • aens: handle revoked names, refactor docs (70b46c2)
  • chain: use mainnet instead testnet by default (5a81814)
  • contract: don't show stacktrace if static contract call failed (694d400)
  • contract: don't use -G flag for both gas and gas price (047cf8e)
  • don't accept --networkId in commands where node is required (cfd7ac5)
  • don't print contract deposit because it can't be used (47e0306)
  • don't show stacktraces for RestErrors (e7f2e58)
  • oracle: don't require extra arguments, refactor examples (4fada6e)
  • oracle: remove extra arguments in tx builder, refactor, fix examples (e3be365)

Other commits with breaking changes

  • account: combine account create and account save (fdaeeff)
  • account: combine spend and transfer commands (2a2a94b)
  • account: move aecli account spend to aecli spend (4af1b4c)
  • account: remove extra object wrapping json output (b1d4585)
  • account: remove unnecessary account generate command (1c6abd8)
  • account: remove unnecessary balance, nonce commands (b4792e6)
  • account: remove useless output option (74a8a37)
  • chain: remove network_id command (4d4adce)
  • crypto: remove duplicate crypto sign command (bb39f07)
  • crypto: remove duplicate crypto unpack command (37b9965)
  • crypto: remove unnecessary crypto decode command (a0d9b05)
  • name: remove duplicate name lookup command (e4f9b50)
  • oracle: remove oracle get (6db5dc2)
  • remove --no-waitMined option (5fe7dc4)
  • require nodejs@18 (5fd3bfa)

5.0.0

18 Apr 06:42
aac6939
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

The format of contract descriptor file changed

Contract descriptors needs to be regenerated.

contract: contract call accepts wallet_path as the last argument

For example, replace

$ aecli contract call ./myWalletFile --password testpass foo '[1, 2]'

with

$ aecli contract call --password testpass foo '[1, 2]' ./myWalletFile

account spend doesn't accept denomination parameter

Features

  • accept amount suffixed with ae instead of denomination option (70ceb67)
  • add select-node, select-compiler commands (87b2ede)
  • add update-notifier to ask user to switch to the latest version (2516446)
  • aesophia_cli support (a74fc2b)
  • contract: includes support (818f375)
  • get urls from AECLI_NODE_URL, AECLI_COMPILER_URL env variables (78a9953)
  • specify and check contract descriptor file version (ea17f80)

Bug Fixes

  • account: show network id in sign call output (836f421)
  • contract: allow to static calls without wallet (7bf7bb6)
  • contract: stringify maps as arrays (b80e3b4)
  • don't show stack trace when entered an invalid password to wallet (8d24bec)
  • tx: remove missed deposit field in contract call tx (a1aa7c7)
  • tx: show bytecode and call data instead of missed payload (75f5eee)
  • tx: show name of transaction type (18ee736)
  • chain: calculation of relative ttl (651ba1a)
  • chain: height calculation, improve markup, remove confusing timeout (4f5329d)
  • chain: padding of top output (ca661d7)
  • chain: show correctly consensus protocol version (a5fa358)
  • don't override files by default (d09eabe)
  • inspect: encoded tx, plain contract output, oracle queries in json (dae4df9)
  • oracle: decoding of oracle query (fa2764b)
  • oracle: providing oracleTtl, queryTtl, responseTtl (a0cc66c)
  • show name pointers line by line (9dbcf41)

4.1.0 (2022-07-28)

30 Jul 19:19
394148a
Compare
Choose a tag to compare

Features

  • don't print stack traces for cli errors (e62be74)

Bug Fixes

  • commands in crypto module (6d6da0c)
  • contract: always store aci in descriptor, override descr by options (278a6ff)
  • contract: clear error when can't parse call arguments (34ae285)
  • contract: create file descriptor at not existing path (485117e)
  • contract: fall if descriptor file specified but not exists (37b490f)
  • remove broken crypto decrypt command (03c645c)
  • remove broken crypto genkey command (32e5b0f)

4.0.0 (2022-04-07)

14 Apr 16:25
7601b8f
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • contract deploy: accept args and bytecode, custom descrPath

Run aecli contract deploy --help to get the latest documentation.

  • contract call: accept arguments as JSON-encoded array

Affected commands: contract deploy, contract call.

  • contract: decode call result, make args flexible

Removed commands: contract encodeData, contract decodeCallData.
Added commands: contract encode-calldata, contract decode-call-result.

Features

  • contract deploy: accept args and bytecode, custom descrPath (cb25bb7)

Bug Fixes

  • account transfer: remove unimplemented excludeFee option (cddbbe9)
  • account transfer: remove unused denomination option (4c4d215)
  • contract call: accept arguments as JSON-encoded array (201a7e0)
  • name full-claim: key of created pointer (7c278f1)
  • config command (27a1169)
  • usage show correct command name (223f05d)
  • contract: decode call result, make args flexible (b0a5cdc)

3.0.0 - IRIS Compatibility release

10 Jun 11:28
6a26c51
Compare
Choose a tag to compare

Bug Fixes

  • docker: enable dry-run endpoints (3afa3f5)
  • test: aens suite (0fe69eb)
  • test: contract suite (334f4dd)
  • test: oracle suite lint (960bb4a)
  • test: tx suite (64993ba)
  • exit code of get address command (fddd2b0)
  • remove compiler decodeData commend that depends on unsupported api (e198ea2)
  • typo in gasPrice (347e733)

Features

  • ci: add github actions workflow (3e0589e)
  • env: bump node and compiler version (b5103e4)
  • oracle: implement Oracle Test's (26e8820)
  • oracle: Implement Oracle Test's (23296dd)
  • oracle: Implement Oracle Test's (854ce61)

2.6.0 (2019-10-07)

08 Oct 11:40
60c59c0
Compare
Choose a tag to compare

Features

  • Lima: Add support for lima (#105) (f7b061a)
  • Compiler: Add backend option to compiler(Can be fate or aevm. fate by default)
  • AENS: Add nameFee option to claim command

2.5.0 (2019-08-28)

28 Aug 16:16
d0c85c1
Compare
Choose a tag to compare

Features

  • Node Node 5.0.0-rc1 compatibility

2.4.0 (2019-08-21)

22 Aug 17:18
5cfa1e1
Compare
Choose a tag to compare

Features

  • ACCOUNT: Add command for generating and printing bulk of Key Pairs (#95) (1cb3e5b)

2.3.0 (2019-08-05)

05 Aug 16:49
b722783
Compare
Choose a tag to compare

Bug Fixes

  • Account: Fix --json for account commands. Add proper error code to AENS commands. (#90) (7de13eb)
  • CLI: Fix exit codes around the CLI (#84) (c775e1d)

Features

  • sdk: Update sdk version to 4.3.0 (#92) (454385d)