Skip to content

Commit

Permalink
Merge pull request #698 from aeternity/release/5.0.0
Browse files Browse the repository at this point in the history
Release 5.0.0
  • Loading branch information
nduchak authored Oct 4, 2019
2 parents 2aa03db + 30756ea commit b1e7be7
Show file tree
Hide file tree
Showing 68 changed files with 1,261 additions and 1,091 deletions.
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)
55 changes: 54 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,60 @@
# [4.7.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.7.0) (2019-09-11)
# [5.0.0](https://github.com/aeternity/aepp-sdk-js/compare/4.7.0...5.0.0) (2019-10-04)


### Bug Fixes

* **rpc:** fix resolution rpc ops ([#669](https://github.com/aeternity/aepp-sdk-js/issues/669)) ([abd7c56](https://github.com/aeternity/aepp-sdk-js/commit/abd7c56))


### Code Refactoring

* **ACI:** rework Sophia Option type representation ([#691](https://github.com/aeternity/aepp-sdk-js/issues/691)) ([0dbb2fe](https://github.com/aeternity/aepp-sdk-js/commit/0dbb2fe))


### Features

* **AENS:** Add ability to spend by name ([#682](https://github.com/aeternity/aepp-sdk-js/issues/682)) ([0d43804](https://github.com/aeternity/aepp-sdk-js/commit/0d43804))
* **AENS:** Add ability to claim contract, oracle, SC ([#671](https://github.com/aeternity/aepp-sdk-js/issues/671)) ([49fd0fd](https://github.com/aeternity/aepp-sdk-js/commit/49fd0fd))
* **GA:** enbale GA ([#692](https://github.com/aeternity/aepp-sdk-js/issues/692)) ([eded912](https://github.com/aeternity/aepp-sdk-js/commit/eded912))
* **Lima:** Lima compatibility ([#683](https://github.com/aeternity/aepp-sdk-js/issues/683)) ([a88042e](https://github.com/aeternity/aepp-sdk-js/commit/a88042e)), closes [#632](https://github.com/aeternity/aepp-sdk-js/issues/632) [#653](https://github.com/aeternity/aepp-sdk-js/issues/653) [#658](https://github.com/aeternity/aepp-sdk-js/issues/658) [#660](https://github.com/aeternity/aepp-sdk-js/issues/660) [#680](https://github.com/aeternity/aepp-sdk-js/issues/680) [#693](https://github.com/aeternity/aepp-sdk-js/issues/693) [#687](https://github.com/aeternity/aepp-sdk-js/issues/687)
- AENS auction support
- compiler 4.0.0 support
- node 5.0.0 support
- SDK use `FATE` for contract by default
* **AE**: Add pointers verification for spend by name

### BREAKING CHANGES

* **aci:** Change Sophia option type representation in ACI
```js
// from
await contract.methods.optionFn(Promise.resolve(1) || Promise.reject())
// to
await contract.methods.optionFn(1 || undefined)
```



# [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

* **Oracle:** Add methods for polling queries [#637](https://github.com/aeternity/aepp-sdk-js/pull/637)
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

0 comments on commit b1e7be7

Please sign in to comment.