Skip to content

Commit 7601b8f

Browse files
authored
Merge pull request #188 from aeternity/release/4.0.0
Release 4.0.0
2 parents 30fb804 + 87570c1 commit 7601b8f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+15697
-10145
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
NODE_TAG=v6.0.0
2-
COMPILER_TAG=v6.0.0
1+
NODE_TAG=v6.4.0
2+
COMPILER_TAG=v6.1.0

.eslintrc.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
env: {
3+
es2021: true,
4+
},
5+
extends: [
6+
'airbnb-base',
7+
],
8+
parserOptions: {
9+
ecmaVersion: 13,
10+
sourceType: 'module',
11+
},
12+
rules: {
13+
// TODO: enable these rules back
14+
'no-console': 0,
15+
'max-len': 0,
16+
'no-param-reassign': 0,
17+
radix: 0,
18+
'no-restricted-globals': 0,
19+
'default-param-last': 0,
20+
'prefer-const': 0,
21+
},
22+
};

.github/ISSUE_TEMPLATE.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
**Note: for support questions, please use the [forum](https://forum.aeternity.com)**. This repository's issues are reserved for feature requests and bug reports.
22

3-
* **I'm submitting a ...**
4-
- [ ] bug report
5-
- [ ] feature request
6-
- [ ] support request => Please do not submit support request here, see note at the top of this template.
7-
8-
93
* **Do you want to request a *feature* or report a *bug*?**
104

115
* **What is the current behavior?**
@@ -17,13 +11,11 @@
1711
* **What is the motivation / use case for changing the behavior?**
1812

1913
* **Please tell us about your environment:**
20-
14+
15+
- CLI Version: v0.0.0
2116
- Node Version: v0.0.0
17+
- NPM Version: v0.0.0
2218
- Protocol Version: 1
2319
- Compiler version: v0.0.0
24-
- VM Version: aevm | fate
25-
- SDK Version: v0.0.0
26-
- Environment: browser | nodejs
27-
2820

2921
* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. forum, telegram, etc)

.github/workflows/nodejs.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
31
name: Node.js CI
4-
5-
on: [push]
6-
2+
on: [push, pull_request]
73
jobs:
8-
build-and-test:
9-
4+
test:
105
runs-on: ubuntu-latest
11-
126
steps:
13-
- name: Checkout
14-
uses: actions/checkout@master
15-
- name: Use Node.js 14.x
16-
uses: actions/setup-node@v1
7+
- uses: actions/checkout@v2
178
with:
18-
node-version: 14.x
19-
before_install:
9+
fetch-depth: 100
10+
- uses: actions/setup-node@v2
11+
with:
12+
node-version: 16.x
13+
- run: npm ci
14+
- run: npm run lint
15+
2016
- run: docker-compose up -d
21-
- run: npm install
22-
- run: npm run test
17+
- name: Ensure that node is running
18+
run: |
19+
while [[ `curl -s -o /dev/null -w %{http_code} localhost:3013/api` != 200 ]]; do
20+
sleep 0.2;
21+
done
22+
23+
- run: npm run test
24+
- run: npm run docs

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ docs
99
.idea
1010
/docker-compose.override.yml
1111
/pnpm-debug.log
12+
bin

.mocharc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
require('@babel/register')({
2+
configFile: './babel.tests.config.js'
3+
})
4+
5+
module.exports = {
6+
require: ['@babel/register']
7+
}

CHANGELOG.md

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
## [4.0.0](https://github.com/aeternity/aepp-cli-js/compare/v3.0.0...v4.0.0) (2022-04-07)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* **contract deploy:** accept args and bytecode, custom descrPath
11+
12+
Run `aecli contract deploy --help` to get the latest documentation.
13+
14+
* **contract call:** accept arguments as JSON-encoded array
15+
16+
Affected commands: `contract deploy`, `contract call`.
17+
18+
* **contract:** decode call result, make args flexible
19+
20+
Removed commands: `contract encodeData`, `contract decodeCallData`.
21+
Added commands: `contract encode-calldata`, `contract decode-call-result`.
22+
23+
### Features
24+
25+
* **contract deploy:** accept args and bytecode, custom descrPath ([cb25bb7](https://github.com/aeternity/aepp-cli-js/commit/cb25bb7d6ac2c0afd92a20df2ff5292d2b5f9c69))
26+
27+
28+
### Bug Fixes
29+
30+
* **account transfer:** remove unimplemented excludeFee option ([cddbbe9](https://github.com/aeternity/aepp-cli-js/commit/cddbbe9f6a063142ac9cb6ed58fd088b18d2aea4))
31+
* **account transfer:** remove unused denomination option ([4c4d215](https://github.com/aeternity/aepp-cli-js/commit/4c4d21532106f9927f46e58cea9f2afb09190e83))
32+
* **contract call:** accept arguments as JSON-encoded array ([201a7e0](https://github.com/aeternity/aepp-cli-js/commit/201a7e042d81686eabfbf14e53bcb82b7f9f01c0))
33+
* **name full-claim:** key of created pointer ([7c278f1](https://github.com/aeternity/aepp-cli-js/commit/7c278f1bfd9724f1a2f8e235fe2ad013c587a9bb))
34+
* config command ([27a1169](https://github.com/aeternity/aepp-cli-js/commit/27a11697d649e7042bae683cb9a438f63950d9d1))
35+
* usage show correct command name ([223f05d](https://github.com/aeternity/aepp-cli-js/commit/223f05d819da749894c5de7b640ff37e8cee92bf))
36+
* **contract:** decode call result, make args flexible ([b0a5cdc](https://github.com/aeternity/aepp-cli-js/commit/b0a5cdc7da289e64121bb17a48ff2e9b55ae8d84))
37+
138
# [3.0.0](https://github.com/aeternity/aepp-cli-js/compare/2.6.0...3.0.0) (2021-06-10)
239

340

@@ -132,10 +169,10 @@
132169
* **Commitizen:** Configurte commitizen ([#53](https://github.com/aeternity/aepp-cli-js/issues/53)) ([e7f2d0a](https://github.com/aeternity/aepp-cli-js/commit/e7f2d0a))
133170

134171

135-
* **CI:** Configure Jenkins pipeline
172+
* **CI:** Configure Jenkins pipeline
136173

137174

138-
* **Account:** Add option to get `balance` on specific `heigh/hash`
175+
* **Account:** Add option to get `balance` on specific `heigh/hash`
139176

140177

141178
* **CLI:** Make compatible with [spec](https://hackmd.aepps.com/EwEwhgbMAMDMDGBaCAjArEgLLYAzRYIA7CItJgIzCUAcOY0IQA==)

0 commit comments

Comments
 (0)