Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.0.0 #698

Merged
merged 15 commits into from
Oct 4, 2019
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
TAG=v5.0.0-rc.1
COMPILER_TAG=v3.2.0
TAG=v5.0.0-rc.3
COMPILER_TAG=v4.0.0-rc5
44 changes: 19 additions & 25 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,29 @@
Issue tracker is **ONLY** used for reporting bugs. NO NEW FEATURE ACCEPTED! Use [stackoverflow](https://stackoverflow.com/tags/aeternity) for supporting issues.
**Note: for support questions, please use the [forum](https://forum.aeternity.com)**. This repository's issues are reserved for feature requests and bug reports.

<!--- Provide a general summary of the issue in the Title above -->
* **I'm submitting a ...**
- [ ] bug report
- [ ] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.

## Expected Behavior
<!--- Tell us what should happen -->

## Current Behavior
<!--- Tell us what happens instead of the expected behavior -->
* **Do you want to request a *feature* or report a *bug*?**

## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
* **What is the current behavior?**

## Steps to Reproduce
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.
* **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem**

## Environment / Context
<!--- Client Side? Server Side? -->
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
* **What is the expected behavior?**

<!--- Provide a general summary of the issue in the Title above -->
* **What is the motivation / use case for changing the behavior?**

## [Node](https://github.com/aeternity/aeternity/releases) Version
* **Please tell us about your environment:**

- Node Version: v0.0.0
- Protocol Version: 1
- Compiler version: v0.0.0
- VM Version: aevm | fate
- SDK Version: v0.0.0
- Environment: browser | nodejs

## Detailed Description
<!--- Provide a detailed description of the change or addition you are proposing -->

## Possible Implementation
<!--- Not obligatory, but suggest an idea for implementing addition or change -->
* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. forum, telegram, etc)
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# [4.7.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.7.0) (2019-09-11)
# [5.0.0-next.1](https://github.com/aeternity/aepp-sdk-js/compare/4.6.0...4.7.0-next.1) (2019-09-10)


### Bug Fixes

* **package:** update serialize-javascript to version 2.0.0 ([#647](https://github.com/aeternity/aepp-sdk-js/issues/647)) ([1ddb392](https://github.com/aeternity/aepp-sdk-js/commit/1ddb392))


### Features

* **Contract/ACI** Add `payable` feature
* **Compiler:** Compiler 4.0.0 compatibility ([#632](https://github.com/aeternity/aepp-sdk-js/issues/632)) ([d5f1632](https://github.com/aeternity/aepp-sdk-js/commit/d5f1632))
* **Contract/ACI:** Add ability to use contract with external namespaces(`include "someLib"`) ([#653](https://github.com/aeternity/aepp-sdk-js/issues/653)) ([9708b43](https://github.com/aeternity/aepp-sdk-js/commit/9708b43))




# [4.7.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.7.0) (2019-09-11)


### Features
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
expose: [3013, 3113, 3014, 3114]
environment:
EPOCH_CONFIG: /home/aeternity/aeternity_node.yaml
command: -aecore expected_mine_rate ${EPOCH_MINE_RATE:-5000}
command: bin/aeternity console -noinput -aecore expected_mine_rate ${EPOCH_MINE_RATE:-5000}
volumes:
- ${PWD}/docker/aeternity_node_mean16.yaml:/home/aeternity/aeternity_node.yaml
- ${PWD}/docker/keys/node:/home/aeternity/node/keys
Expand Down
1 change: 1 addition & 0 deletions docker/aeternity_node_mean16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ chain:
"1": 0
"2": 2
"3": 4
"4": 6

mining:
autostart: true
Expand Down
1 change: 0 additions & 1 deletion docs/api/account.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
## @aeternity/aepp-sdk/es/account
Account module

**Export**: Account
**Example**
```js
import Account from '@aeternity/aepp-sdk/es/account'
Expand Down
1 change: 0 additions & 1 deletion docs/api/account/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
## @aeternity/aepp-sdk/es/account/memory
Memory Account module

**Export**: MemoryAccount
**Example**
```js
import MemoryAccount from '@aeternity/aepp-sdk/es/account/memory'
Expand Down
1 change: 0 additions & 1 deletion docs/api/account/selector.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Accounts Selector module

This is the complement to [@aeternity/aepp-sdk/es/accounts](#module_@aeternity/aepp-sdk/es/accounts).

**Export**: Selector
**Example**
```js
import Selector from '@aeternity/aepp-sdk/es/account/selector'
Expand Down
1 change: 0 additions & 1 deletion docs/api/accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
## @aeternity/aepp-sdk/es/accounts
Accounts module

**Export**: Accounts
**Example**
```js
import Accounts from '@aeternity/aepp-sdk/es/accounts'
Expand Down
29 changes: 22 additions & 7 deletions docs/api/ae.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@
## @aeternity/aepp-sdk/es/ae
Ae module

**Export**: Ae
**Example**
```js
import Ae from '@aeternity/aepp-sdk/es/ae'
```

* [@aeternity/aepp-sdk/es/ae](#module_@aeternity/aepp-sdk/es/ae)
* [Ae([options])](#exp_module_@aeternity/aepp-sdk/es/ae--Ae) ⇒ `Object` ⏏
* [.destroyInstance()](#module_@aeternity/aepp-sdk/es/ae--Ae+destroyInstance) ⇒ `void`
* _async_
* [.send(tx, [options])](#module_@aeternity/aepp-sdk/es/ae--Ae+send) ⇒ `String` \| `String`
* [.spend(amount, recipientId, options)](#module_@aeternity/aepp-sdk/es/ae--Ae+spend) ⇒ `String` \| `String`
* [.transferFunds(percentage, recipientId, options)](#module_@aeternity/aepp-sdk/es/ae--Ae+transferFunds) ⇒ `String` \| `String`
* _instance_
* [.destroyInstance()](#module_@aeternity/aepp-sdk/es/ae--Ae+destroyInstance) ⇒ `void`
* _async_
* [.send(tx, [options])](#module_@aeternity/aepp-sdk/es/ae--Ae+send) ⇒ `String` \| `String`
* [.spend(amount, recipientId, options)](#module_@aeternity/aepp-sdk/es/ae--Ae+spend) ⇒ `String` \| `String`
* [.transferFunds(percentage, recipientId, options)](#module_@aeternity/aepp-sdk/es/ae--Ae+transferFunds) ⇒ `String` \| `String`
* _inner_
* [~resolveRecipientName(nameOrAddress, verify)](#module_@aeternity/aepp-sdk/es/ae--Ae..resolveRecipientName) ⇒ `String`

<a id="exp_module_@aeternity/aepp-sdk/es/ae--Ae"></a>

Expand Down Expand Up @@ -76,7 +78,7 @@ Send tokens to another account
| Param | Type | Description |
| --- | --- | --- |
| amount | `Number` \| `String` | Amount to spend |
| recipientId | `String` | Address of recipient account |
| recipientId | `String` | Address or Name of recipient account |
| options | `Object` | Options |

<a id="module_@aeternity/aepp-sdk/es/ae--Ae+transferFunds"></a>
Expand All @@ -95,3 +97,16 @@ Send a percentage of funds to another account
| recipientId | `String` | Address of recipient account |
| options | `Object` | Options |

<a id="module_@aeternity/aepp-sdk/es/ae--Ae..resolveRecipientName"></a>

#### Ae~resolveRecipientName(nameOrAddress, verify) ⇒ `String`
Resolve AENS name and return name hash

**Kind**: inner method of [`Ae`](#exp_module_@aeternity/aepp-sdk/es/ae--Ae)
**Returns**: `String` - Address or AENS name hash

| Param | Type |
| --- | --- |
| nameOrAddress | `String` |
| verify | |

20 changes: 19 additions & 1 deletion docs/api/ae/aens.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ The high-level description of the naming system is
https://github.com/aeternity/protocol/blob/master/AENS.md in the protocol
repository.

**Export**: Aens
**Example**
```js
import Aens from '@aeternity/aepp-sdk/es/ae/aens'
```

* [@aeternity/aepp-sdk/es/ae/aens](#module_@aeternity/aepp-sdk/es/ae/aens)
* [Aens([options])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--Aens) ⇒ `Object` ⏏
* _global_
* [exports.isNameValid(name, [throwError])](#exp_module_@aeternity/aepp-sdk/es/ae/aens--exports.isNameValid) ⇒ ⏏
* _instance_
* [.update(nameId, target, options)](#exp_module_@aeternity/aepp-sdk/es/ae/aens--update) ⇒ `Object` ⏏
* [.query(name)](#exp_module_@aeternity/aepp-sdk/es/ae/aens--query) ⇒ `Promise.&lt;Object&gt;` ⏏
Expand All @@ -40,6 +41,23 @@ Aens provides name-system related methods atop
| --- | --- | --- | --- |
| [options] | `Object` | <code>{}</code> | Initializer object |

<a id="exp_module_@aeternity/aepp-sdk/es/ae/aens--exports.isNameValid"></a>

### exports.isNameValid(name, [throwError]) ⇒ ⏏
Is name valid

**Kind**: global method of [`@aeternity/aepp-sdk/es/ae/aens`](#module_@aeternity/aepp-sdk/es/ae/aens)
**Returns**: Boolean
**Throws**:

- Error


| Param | Type | Default | Description |
| --- | --- | --- | --- |
| name | `string` | | |
| [throwError] | `boolean` | <code>true</code> | Throw error on invalid |

<a id="exp_module_@aeternity/aepp-sdk/es/ae/aens--update"></a>

### .update(nameId, target, options) ⇒ `Object` ⏏
Expand Down
1 change: 0 additions & 1 deletion docs/api/ae/aepp.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
## @aeternity/aepp-sdk/es/ae/aepp
Aepp module

**Export**: Aepp
**Example**
```js
import Ae from '@aeternity/aepp-sdk/es/ae/aepp'
Expand Down
Loading