UNPKG

68.2 kBMarkdownView Raw
1# [7.5.0](https://github.com/aeternity/aepp-sdk-js/compare/7.4.2...7.5.0) (2020-06-18)
2
3
4### Features
5
6* **Account:** Build signature from transaction hash ([#1025](https://github.com/aeternity/aepp-sdk-js/issues/1025)) ([2cb8cc2](https://github.com/aeternity/aepp-sdk-js/commit/2cb8cc2))
7* **ACI:** External contract integration ([#1027](https://github.com/aeternity/aepp-sdk-js/issues/1027)) ([a14d13a](https://github.com/aeternity/aepp-sdk-js/commit/a14d13a))
8
9### Refactor
10
11* **Deps:** Clean up repository ([#1029](https://github.com/aeternity/aepp-sdk-js/pull/1029))
12* **Env:** Simplify Travis and docker-compose ([#1031](https://github.com/aeternity/aepp-sdk-js/pull/1031))
13* **Env:** Remove unused packages ([#1032](https://github.com/aeternity/aepp-sdk-js/pull/1032))
14
15
16## [7.4.2](https://github.com/aeternity/aepp-sdk-js/compare/7.2.1...7.4.2) (2020-06-10)
17
18
19### Bug Fixes
20
21* **AEX-2:** Handler always as Promise ([#1018](https://github.com/aeternity/aepp-sdk-js/issues/1018)) ([a8b0aab](https://github.com/aeternity/aepp-sdk-js/commit/a8b0aab))
22
23
24### Refactor
25
26* **AEX-2:** Add debug option for `getHandler`. Hide unknown message logs ([#1021](https://github.com/aeternity/aepp-sdk-js/issues/1021)) ([22c452c](https://github.com/aeternity/aepp-sdk-js/commit/22c452c))
27* **Contract** Add AENS name resolver for Contract API
28
29
30## [7.4.1](https://github.com/aeternity/aepp-sdk-js/compare/7.4.0...7.4.1) (2020-05-30)
31
32
33### Bug Fixes
34
35* **AEX-2:** Fix `isExtensionContext ` check ([#1011](https://github.com/aeternity/aepp-sdk-js/issues/1011)) ([814f99b](https://github.com/aeternity/aepp-sdk-js/commit/814f99b))
36
37
38
39# [7.4.0](https://github.com/aeternity/aepp-sdk-js/compare/7.3.1...7.4.0) (2020-05-29)
40
41
42### Bug Fixes
43
44* **AEX-2:** Fix `getBrowserAPI` helper for cross-browser compatibility ([#1007](https://github.com/aeternity/aepp-sdk-js/issues/1007)) ([98b0e29](https://github.com/aeternity/aepp-sdk-js/commit/98b0e29))
45
46
47### Features
48
49* **ACI:** Event decoding ([#1006](https://github.com/aeternity/aepp-sdk-js/issues/1006)) ([6b8e6fe](https://github.com/aeternity/aepp-sdk-js/commit/6b8e6fe))
50
51
52
53## [7.3.1](https://github.com/aeternity/aepp-sdk-js/compare/7.2.1...7.3.1) (2020-05-25)
54
55### Improvements
56
57* **AEX_2:** Handle network switch and update state on both sides. Adjust networkId check for signing request. Add node switcher for example apps ([#996](https://github.com/aeternity/aepp-sdk-js/pull/996))
58
59
60
61# [7.3.0](https://github.com/aeternity/aepp-sdk-js/compare/7.2.1...7.3.0) (2020-05-20)
62
63
64### Bug Fixes
65
66* **example:** Regenerate lock ([#960](https://github.com/aeternity/aepp-sdk-js/issues/960)) ([5b6a30e](https://github.com/aeternity/aepp-sdk-js/commit/5b6a30e))
67
68
69### Features
70
71* **ACI:** expose events decoding through Contract ACI stamp ([#971](https://github.com/aeternity/aepp-sdk-js/issues/971)) ([4930635](https://github.com/aeternity/aepp-sdk-js/commit/4930635))
72* **AEX_2:** Allow to connect without node ([#991](https://github.com/aeternity/aepp-sdk-js/issues/991)) ([87b9ef9](https://github.com/aeternity/aepp-sdk-js/commit/87b9ef9))
73* **AEX_2:** Connect to extension from iframe ([#992](https://github.com/aeternity/aepp-sdk-js/issues/992)) ([47179f7](https://github.com/aeternity/aepp-sdk-js/commit/47179f7))
74* **Build:** Expose `ACIHelpers` and `ACITransformation` to bundle ([#970](https://github.com/aeternity/aepp-sdk-js/issues/970)) ([8b475e0](https://github.com/aeternity/aepp-sdk-js/commit/8b475e0))
75* **Chain:** Add option `allowUnsynced` for `poll` method which allow to depend on `get tx/info` API ([9c80ce0](https://github.com/aeternity/aepp-sdk-js/commit/9c80ce0))
76* **Channel:** add timeout message handler ([#983](https://github.com/aeternity/aepp-sdk-js/issues/983)) ([1940a15](https://github.com/aeternity/aepp-sdk-js/commit/1940a15))
77* **Channel:** Channel force progress ([#964](https://github.com/aeternity/aepp-sdk-js/issues/964)) ([8f15bef](https://github.com/aeternity/aepp-sdk-js/commit/8f15bef))
78* **Contract:** Add unpacked transaction to contract call with error ([#981](https://github.com/aeternity/aepp-sdk-js/issues/981)) ([4efd341](https://github.com/aeternity/aepp-sdk-js/commit/4efd341))
79* **Node:** Add `debug` option to Channel stamp ([#967](https://github.com/aeternity/aepp-sdk-js/issues/967)) ([68fcba5](https://github.com/aeternity/aepp-sdk-js/commit/68fcba5))
80
81
82
83## [7.2.1](https://github.com/aeternity/aepp-sdk-js/compare/7.2.0...7.2.1) (2020-03-25)
84
85
86### Fix
87
88* **build** Remove resolving of `minimist` using `npx`
89
90
91
92# [7.2.0](https://github.com/aeternity/aepp-sdk-js/compare/7.1.1...7.2.0) (2020-03-24)
93
94
95### Docs
96
97* **Guide:** Adjust guide for RPC Wallet/Aepp usage
98
99### Code Refactoring
100
101* **RPC:** Refactor rpc-related stuff ([#921](https://github.com/aeternity/aepp-sdk-js/pull/921))
102* **Build:** Include amountFormatter and SCHEMA in bundle([#936](https://github.com/aeternity/aepp-sdk-js/pull/936))
103* **Examples** Update examples apps
104
105### Features
106
107* **TX:** Introduce new stamp `TxObject`([#933](https://github.com/aeternity/aepp-sdk-js/pull/933))
108This stamp give more flexibility on transaction serialization/deserialization process
109* **Keystore:** Allow to store secret as hex or buffer ([#939](https://github.com/aeternity/aepp-sdk-js/pull/939))
110* **AEX-2:** Add permission layer for account management ([#937](https://github.com/aeternity/aepp-sdk-js/pull/937))
111
112
113
114## [7.1.1](https://github.com/aeternity/aepp-sdk-js/compare/7.1.0...7.1.1) (2020-02-27)
115
116
117### Bug Fixes
118
119* **TxBuilder:** Fix fee calculation for Oracles ([#924](https://github.com/aeternity/aepp-sdk-js/issues/924)) ([a9d784f](https://github.com/aeternity/aepp-sdk-js/commit/a9d784f))
120* **AEX-2:** Broken wallet detection ([#926](https://github.com/aeternity/aepp-sdk-js/pull/926))
121
122
123
124# [7.1.0](https://github.com/aeternity/aepp-sdk-js/compare/7.0.0...7.1.0) (2020-02-25)
125
126### Refactor
127
128* **AEX:** Simplify message id processing ([#916](https://github.com/aeternity/aepp-sdk-js/pull/916)). Pass AEEP `origin` to Wallet callback ([#918](https://github.com/aeternity/aepp-sdk-js/pull/918))
129* **Node:** Move `getNetworkId` to helpers ([#910](https://github.com/aeternity/aepp-sdk-js/pull/910))
130* **ACI:** Minor ACI validation improvement.
131 Move decoding of events to builder. Add ability to decode events without ACI
132
133### Features
134
135* **ACI:** Implement Contract Events for ACI([Contract Event Guide](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/contract-events.md))
136* **Contract:** Helpers for Oracle and AENS signature delegation([Signature delegation guide](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/delegate-signature-to-contract.md))
137* **AmountFormatter:** Rework amount formatter. Change formatter units naming. Add more units ([#909](https://github.com/aeternity/aepp-sdk-js/issues/909)) ([6970efe](https://github.com/aeternity/aepp-sdk-js/commit/6970efe))
138* **TxBuilder:** Integrate amount formatter to transaction builder ([#897](https://github.com/aeternity/aepp-sdk-js/pull/897))
139* **Account:** Implement Message Signing (`singMessage`, `verifyMessage`) ([#903](https://github.com/aeternity/aepp-sdk-js/pull/903))
140* **AEX-2:** Add `removeRpcClient` method to RpcClient/RpcWallet stamp's([#912](https://github.com/aeternity/aepp-sdk-js/pull/912))
141
142
143# [7.0.0](https://github.com/aeternity/aepp-sdk-js/compare/7.0.0-next.3...7.0.0) (2020-01-31)
144
145
146### Bug Fixes
147
148* **AEX-2:** Fix firefox compatibility issue ([#882](https://github.com/aeternity/aepp-sdk-js/issues/882)) ([2e16e10](https://github.com/aeternity/aepp-sdk-js/commit/2e16e10))
149
150
151### Features
152
153* **Chain:** add new method `waitFOrTxConfirm`. Add new option { confirm: 3 } to all of high lvl SDK API. Add tests. Adjust docs ([#874](https://github.com/aeternity/aepp-sdk-js/issues/874)) ([43528f9](https://github.com/aeternity/aepp-sdk-js/commit/43528f9))
154* **Compiler:** Add new compiler methods API ([#875](https://github.com/aeternity/aepp-sdk-js/issues/875)) ([a939395](https://github.com/aeternity/aepp-sdk-js/commit/a939395))
155* **network:** Throw error when can not get networkId ([#863](https://github.com/aeternity/aepp-sdk-js/issues/863)) ([41b7bd1](https://github.com/aeternity/aepp-sdk-js/commit/41b7bd1))
156
157
158### Docs
159
160* **Guide** [Add 7.0.0 migration guide](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/migration/migration-7.0.0.md)
161* **Guide:** Add [Oracle](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/oracle-usage.md), [AENS](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/aens-usage.md) and [Contract](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/contract-aci-usage.md) guides
162
163
164### BREAKING CHANGES
165
166Please check out [7.0.0 migration guide](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/migration/migration-7.0.0.md)
167
168This release include all changes from [7.0.0-next.1](https://github.com/aeternity/aepp-sdk-js/releases/tag/7.0.0-next.1), [7.0.0-next.2](https://github.com/aeternity/aepp-sdk-js/releases/tag/7.0.0-next.2), [7.0.0-next.3](https://github.com/aeternity/aepp-sdk-js/releases/tag/7.0.0-next.3)
169
170
171
172# [7.0.0-next.3](https://github.com/aeternity/aepp-sdk-js/compare/7.0.0-next.2...7.0.0-next.3) (2020-01-22)
173
174
175### Features
176
177* **aens:** implement aensExtendTtl function. Refactor aensUpdate ([#866](https://github.com/aeternity/aepp-sdk-js/issues/866)) ([72b073a](https://github.com/aeternity/aepp-sdk-js/commit/72b073a)), closes [#865](https://github.com/aeternity/aepp-sdk-js/issues/865)
178> `aensUpdate` now accept array of pointers
179> `aensUpdate` have new option `extendPointers=false` which retrieve pointers from the node and merge with provided
180* **Build:** update node to `5.4.0` and compiler to `4.2.0`
181* **Guide** Add guide for `AENS` usage
182
183### BREAKING CHANGES
184
185* **AENS:** Change AENS methods arguments
186> Now all of AENS module methods accept `name` as a first argument instead of `nameId`
187
188
189
190# [7.0.0-next.2](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...7.0.0-next.2) (2020-01-10)
191
192
193### Bug Fixes
194
195* **codecov:** Adjust codecov badge. Move @babel/runtime to dev-deps ([#848](https://github.com/aeternity/aepp-sdk-js/issues/848)) ([109b851](https://github.com/aeternity/aepp-sdk-js/commit/109b851))
196* **AEX-2:** Fix `getBrowserAPI` function for firefox ([#853](https://github.com/aeternity/aepp-sdk-js/pull/853))
197
198
199### Features
200
201* **Account:** Add ability to pass `keypair` or `MemoryAccount` as nAccount` option ([#847](https://github.com/aeternity/aepp-sdk-js/issues/847)) ([75d8ad8](https://github.com/aeternity/aepp-sdk-js/commit/75d8ad8))
202* **Test:** Increase code coverage ([#830](https://github.com/aeternity/aepp-sdk-js/issues/830)) ([6f760fb](https://github.com/aeternity/aepp-sdk-js/commit/6f760fb))
203* **Chain:** Extend transaction verification error ([#849](https://github.com/aeternity/aepp-sdk-js/pull/849))
204* **Aepp<->Wallet:** Add tests for Aepp<->Wallet communication ([#834](https://github.com/aeternity/aepp-sdk-js/pull/834))
205
206### Documentation
207
208* **Guide:** Add guide for Contract ACI usage ([#852](https://github.com/aeternity/aepp-sdk-js/pull/852))
209
210
211
212# [7.0.0-next.1](https://github.com/aeternity/aepp-sdk-js/compare/6.1.3...7.0.0-next.1) (2019-12-18)
213
214
215### Bug Fixes
216
217* **Contract/Chain:** Using { waitMined: false } with Contract high lvl API ([#828](https://github.com/aeternity/aepp-sdk-js/issues/828)) ([475c2aa](https://github.com/aeternity/aepp-sdk-js/commit/475c2aa))
218* **HdWallet:** Fix derive function ([#801](https://github.com/aeternity/aepp-sdk-js/issues/801)) ([6c6177d](https://github.com/aeternity/aepp-sdk-js/commit/6c6177d))
219* **Compiler:** Filter compiler options
220
221
222### Code Refactoring
223
224* **Cross-Node:** Remove cross-node compatibility code ([#829](https://github.com/aeternity/aepp-sdk-js/issues/829)) ([b29a162](https://github.com/aeternity/aepp-sdk-js/commit/b29a162))
225* **Chain:** Handle time until tx is not added to mempool ([#816](https://github.com/aeternity/aepp-sdk-js/pull/816))
226* **Git:** Update issue template([#806](https://github.com/aeternity/aepp-sdk-js/pull/806))
227* **Flavors:** Remove deprecated code ([#697](https://github.com/aeternity/aepp-sdk-js/pull/697))
228* **Test:** Increase code covarage ([#830](https://github.com/aeternity/aepp-sdk-js/issues/830)) ([6f760fb](https://github.com/aeternity/aepp-sdk-js/commit/6f760fb))
229
230### Features
231
232* **Wallet<->AEPP:** Add new Wallet<->Aepp communication API
233>Add two new stamps `RpcWallet` and `RpcAepp`
234>Example of usage you can find heere: [Aepp example](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/how-to-build-aepp-using-new-wallet-api.md) and [Wallet example](https://github.com/aeternity/aepp-sdk-js/blob/develop/docs/guides/how-to-build-an-wallet-app-or-extension.md)
235
236* **Wallet:** Use `postMessage` for communication with extension wall… ([#815](https://github.com/aeternity/aepp-sdk-js/issues/815)) ([dc7b4c2](https://github.com/aeternity/aepp-sdk-js/commit/dc7b4c2))
237* **CI:** Move to Travis CI ([#809](https://github.com/aeternity/aepp-sdk-js/issues/809)) ([2d77f20](https://github.com/aeternity/aepp-sdk-js/commit/2d77f20))
238* **CI:** enable daily builds on latest node and compiler and enable codecov ([#820](https://github.com/aeternity/aepp-sdk-js/issues/820)) ([3c52a1e](https://github.com/aeternity/aepp-sdk-js/commit/3c52a1e))
239* **ACI:** Add check for contract address validity and existence. Add `forceCodeCheck` option for bytecode verification skip ([#788](https://github.com/aeternity/aepp-sdk-js/issues/788)) ([c0cccc9](https://github.com/aeternity/aepp-sdk-js/commit/c0cccc9))
240* **Contract:** Add ability to pass arguments or callData for contract `deploy/call/callStatic` API ([#768](https://github.com/aeternity/aepp-sdk-js/issues/768)) ([a828076](https://github.com/aeternity/aepp-sdk-js/commit/a828076))
241* **Contract:** Adjust `fee` calculation for `contractCall` tx using `FATE` backend ([#793](https://github.com/aeternity/aepp-sdk-js/issues/793)) ([7254ac1](https://github.com/aeternity/aepp-sdk-js/commit/7254ac1))
242* **Compiler:** Add new API `validateByteCodeAPI` available on compiler >= 4.1.0 ([#788](https://github.com/aeternity/aepp-sdk-js/issues/788)) ([c0cccc9](https://github.com/aeternity/aepp-sdk-js/commit/c0cccc9))
243* **Tx:** Always verify transaction before send it to the node ([#798](https://github.com/aeternity/aepp-sdk-js/issues/798)) ([170f479](https://github.com/aeternity/aepp-sdk-js/commit/170f479))
244
245
246### BREAKING CHANGES
247
248* **Tx:** By default `sdk` make a transaction `verification`
249* **Node:** Change node compatibility range to `node >= 5.0.0 && node < 6.0.0`
250* **Compiler:** Drop compiler version to `version >= 4.0.0 && version < 5.0.0`
251* **ACI:** Add additional method to RPC communication. Required sdk update on wallet side
252Add `getContractByteCode` API
253* **Flavor:** Remove deprecated params:
254- remove `url` and `internalUrl` instead use `nodes: [ { name: 'NODE_NAME', instance: await Node({ url, internalUrl }) } ]`
255- remove `keypair` params instead use `accounts: [MemmoryAccount({ keypair })]`
256- remove `setKeypair` function from `Account` stamps
257
258
259## [6.1.3](https://github.com/aeternity/aepp-sdk-js/compare/6.1.2...6.1.3) (2019-12-11)
260
261
262### Bug Fixes
263
264* **Channel:** 5.2.0 compatibility ([4be8eb8](https://github.com/aeternity/aepp-sdk-js/commit/4be8eb8))
265
266
267
268## [6.1.2](https://github.com/aeternity/aepp-sdk-js/compare/6.1.1...6.1.2) (2019-11-12)
269
270
271### Bug Fixes
272
273* **Composition:** Chain composition ([9ac705f](https://github.com/aeternity/aepp-sdk-js/commit/9ac705f))
274
275
276
277# [6.1.1](https://github.com/aeternity/aepp-sdk-js/compare/6.1.0...6.1.1) (2019-11-12)
278
279
280### Bug Fixes
281
282* **ACI:** Disable bytecode check for source and code on-chain. This changes will be included in next major release ([#783](https://github.com/aeternity/aepp-sdk-js/issues/783)) ([fe6021b](https://github.com/aeternity/aepp-sdk-js/commit/fe6021b))
283
284
285### Features
286
287* **KeyStore:** Remove `argon2` package, use `libsodium` for both browser and node ([#782](https://github.com/aeternity/aepp-sdk-js/issues/782)) ([c18047e](https://github.com/aeternity/aepp-sdk-js/commit/c18047e))
288
289
290
291# [6.1.0](https://github.com/aeternity/aepp-sdk-js/compare/6.0.2...6.1.0) (2019-11-11)
292
293
294### Bug Fixes
295
296* **AENS:** auction end block calculation ([#746](https://github.com/aeternity/aepp-sdk-js/issues/746)) ([4c1f5e4](https://github.com/aeternity/aepp-sdk-js/commit/4c1f5e4))
297* **AENS:** Fix `produceNameId` function(Make name lowercase). Enable … ([#750](https://github.com/aeternity/aepp-sdk-js/issues/750)) ([fd14225](https://github.com/aeternity/aepp-sdk-js/commit/fd14225))
298* **state channels:** wait for connection to be established before sending generic message ([#723](https://github.com/aeternity/aepp-sdk-js/issues/723)) ([c5f35d1](https://github.com/aeternity/aepp-sdk-js/commit/c5f35d1))
299* **TxHelpers:** Use BigNumber in auction end block calculation ([777c012](https://github.com/aeternity/aepp-sdk-js/commit/777c012))
300
301
302### Features
303
304* **ACI:** Add validation for contractAddress ([#764](https://github.com/aeternity/aepp-sdk-js/issues/764)) ([07cb0e7](https://github.com/aeternity/aepp-sdk-js/commit/07cb0e7))
305* **AENS:** Add nameFee validation to TxValidator ([#765](https://github.com/aeternity/aepp-sdk-js/issues/765)) ([5250e75](https://github.com/aeternity/aepp-sdk-js/commit/5250e75))
306* **AENS:** Increase default nameTtl ([#775](https://github.com/aeternity/aepp-sdk-js/issues/775)) ([c5f2582](https://github.com/aeternity/aepp-sdk-js/commit/c5f2582))
307* **Contract:** Add ability to pass arguments or callData for contract `deploy/call/callStatic` API ([#768](https://github.com/aeternity/aepp-sdk-js/issues/768)) ([12aaca3](https://github.com/aeternity/aepp-sdk-js/commit/12aaca3))
308* **Http:** Assign error object to http error ([#770](https://github.com/aeternity/aepp-sdk-js/issues/770)) ([87062ea](https://github.com/aeternity/aepp-sdk-js/commit/87062ea))
309* **state channels:** add round method ([#763](https://github.com/aeternity/aepp-sdk-js/issues/763)) ([c950937](https://github.com/aeternity/aepp-sdk-js/commit/c950937))
310* **state channels:** allow off chain updates to be cancelled with custom error code ([#753](https://github.com/aeternity/aepp-sdk-js/issues/753)) ([ae4426e](https://github.com/aeternity/aepp-sdk-js/commit/ae4426e))
311* **state channels:** allow to pass metadata to transfer update ([#755](https://github.com/aeternity/aepp-sdk-js/issues/755)) ([ddc6611](https://github.com/aeternity/aepp-sdk-js/commit/ddc6611))
312* **state channels:** make state channels compatible with node v5.0.0… ([#688](https://github.com/aeternity/aepp-sdk-js/issues/688)) ([deed7fc](https://github.com/aeternity/aepp-sdk-js/commit/deed7fc)), 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)
313* **state channels:** make state channels compatible with node v5.1.0… ([#776](https://github.com/aeternity/aepp-sdk-js/issues/776)) ([74952aa](https://github.com/aeternity/aepp-sdk-js/commit/74952aa))
314
315
316
317## [6.0.2](https://github.com/aeternity/aepp-sdk-js/compare/6.0.1...6.0.2) (2019-10-31)
318
319
320### Bug Fixes
321
322* **name claim:** Revert ignoring waitMined from user passed options (#727)
323
324
325
326## [6.0.1](https://github.com/aeternity/aepp-sdk-js/compare/6.0.0...6.0.1) (2019-10-29)
327
328
329### Bug Fixes
330
331* **aens:** added lower case transformation for aens names ([#730](https://github.com/aeternity/aepp-sdk-js/issues/730)) ([f7f9f17](https://github.com/aeternity/aepp-sdk-js/commit/f7f9f17246c727566ce3c8159d30b7de19b027c9)), closes [#728](https://github.com/aeternity/aepp-sdk-js/issues/728)
332
333
334
335
336# [6.0.0](https://github.com/aeternity/aepp-sdk-js/compare/4.7.0...6.0.0) (2019-10-16)
337
338
339### Code Refactoring
340
341* **SPEND:** Add additional validation for recipient ([#715](https://github.com/aeternity/aepp-sdk-js/issues/715)) ([c1854bf](https://github.com/aeternity/aepp-sdk-js/commit/c1854bf))
342
343
344### Features
345
346* **State Channels:** make state channels compatible with node v5.0.0… ([#688](https://github.com/aeternity/aepp-sdk-js/issues/688)) ([23936f5](https://github.com/aeternity/aepp-sdk-js/commit/23936f5)), 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)
347* **AENS:** Change tld for Lima from `aet` to `chain` ([#714](https://github.com/aeternity/aepp-sdk-js/issues/714)) ([323ef6a](https://github.com/aeternity/aepp-sdk-js/commit/323ef6a))
348* **AENS:** Implement name `bid` function ([#706](https://github.com/aeternity/aepp-sdk-js/pull/706)))
349* **AENS:** auction name fee calculation. Name fee validation and calculation in `claim/bid` ([#706](https://github.com/aeternity/aepp-sdk-js/pull/706))
350* **AENS:** Add `nameId` computation function (#709) ([#706](https://github.com/aeternity/aepp-sdk-js/pull/706))
351
352
353### BREAKING CHANGES
354
355* **AENS:** Change `tld` for Lima from `.aet` to `.chain`
356
357
358
359
360# [5.0.0](https://github.com/aeternity/aepp-sdk-js/compare/4.7.0...5.0.0) (2019-10-04)
361
362
363### Bug Fixes
364
365* **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))
366
367
368### Code Refactoring
369
370* **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))
371
372
373### Features
374
375* **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))
376* **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))
377* **GA:** enbale GA ([#692](https://github.com/aeternity/aepp-sdk-js/issues/692)) ([eded912](https://github.com/aeternity/aepp-sdk-js/commit/eded912))
378* **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)
379 - AENS auction support
380 - compiler 4.0.0 support
381 - node 5.0.0 support
382 - SDK use `FATE` for contract by default
383* **AE**: Add pointers verification for spend by name
384
385### BREAKING CHANGES
386
387* **aci:** Change Sophia option type representation in ACI
388```js
389// from
390await contract.methods.optionFn(Promise.resolve(1) || Promise.reject())
391// to
392await contract.methods.optionFn(1 || undefined)
393```
394
395
396
397# [5.0.0-next.1](https://github.com/aeternity/aepp-sdk-js/compare/4.6.0...4.7.0-next.1) (2019-09-10)
398
399
400### Bug Fixes
401
402* **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))
403
404
405### Features
406
407* **Contract/ACI** Add `payable` feature
408* **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))
409* **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))
410
411
412
413
414# [4.7.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.7.0) (2019-09-11)
415
416
417### Features
418
419* **Oracle:** Add methods for polling queries [#637](https://github.com/aeternity/aepp-sdk-js/pull/637)
420* **Chain:** Add `getBalance` method ([#655](https://github.com/aeternity/aepp-sdk-js/issues/655)) ([15147af](https://github.com/aeternity/aepp-sdk-js/commit/15147af))
421* **state channels:** add reconnect method ([#662](https://github.com/aeternity/aepp-sdk-js/issues/662)) ([9d8d1e8](https://github.com/aeternity/aepp-sdk-js/commit/9d8d1e8))
422* **state channels:** add backchannel updates test[#664](https://github.com/aeternity/aepp-sdk-js/pull/664)
423
424
425
426
427# [4.6.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.6.0) (2019-08-28)
428
429
430
431### Bug Fixes
432
433* **Compiler:** Fix `forceCompatibility` option ([26beba8](https://github.com/aeternity/aepp-sdk-js/commit/26beba8))
434
435
436### Features
437
438* **Lima**: add preliminary support for lima
439* **ACI/Contract:** Implement static-call for deploy transaction for ACI methods/Contract low lvl API ([#630](https://github.com/aeternity/aepp-sdk-js/issues/630)) ([5b7eeb4](https://github.com/aeternity/aepp-sdk-js/commit/5b7eeb4))
440
441
442### Notes
443
444**GA support has been disabled until further notice due to node compatibility issues**
445**This version support aeternity node up to 5.0.0-rc.1**
446
447
448
449## [4.5.1](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.5.1) (2019-08-22)
450
451
452
453### Refactor
454* **Example** Add node info to AEPP ([#620](https://github.com/aeternity/aepp-sdk-js/pull/620))
455
456
457### Bug Fixes
458
459* **GA** Fix GA account composition ([211e409](https://github.com/aeternity/aepp-sdk-js/pull/620/commits/211e409d785a2962d1220677b0b0bcf00196abc1))
460
461
462
463
464# [4.5.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.5.0) (2019-08-20)
465
466
467### Bug Fixes
468
469* **Crypto:** Fix `keypair` verification ([#605](https://github.com/aeternity/aepp-sdk-js/issues/605)) ([83a52fb](https://github.com/aeternity/aepp-sdk-js/commit/83a52fb))
470* **RPC:** Remove NodePool stamp from AE composition ([#612](https://github.com/aeternity/aepp-sdk-js/issues/612)) ([21af2eb](https://github.com/aeternity/aepp-sdk-js/commit/21af2eb))
471* **state channels:** add missing argument in onOnChainTx callback ([#604](https://github.com/aeternity/aepp-sdk-js/issues/604)) ([165cfe8](https://github.com/aeternity/aepp-sdk-js/commit/165cfe8))
472* **state channels:** fix awaitingOnChainTx state handler ([#608](https://github.com/aeternity/aepp-sdk-js/issues/608)) ([8b7b65a](https://github.com/aeternity/aepp-sdk-js/commit/8b7b65a))
473* **Swagger:** Always throw error from `axios` error handler ([#607](https://github.com/aeternity/aepp-sdk-js/issues/607)) ([0e5cf61](https://github.com/aeternity/aepp-sdk-js/commit/0e5cf61))
474
475
476### Features
477
478* **MemoryAccount:** Add validation of keypair ([#594](https://github.com/aeternity/aepp-sdk-js/issues/594)) ([b8c2b20](https://github.com/aeternity/aepp-sdk-js/commit/b8c2b20))
479* **state channels:** handle BigNumbers with json-bigint ([#596](https://github.com/aeternity/aepp-sdk-js/issues/596)) ([14eaa3d](https://github.com/aeternity/aepp-sdk-js/commit/14eaa3d))
480* **state channels:** send generic messages immediately ([#600](https://github.com/aeternity/aepp-sdk-js/issues/600)) ([8ad7583](https://github.com/aeternity/aepp-sdk-js/commit/8ad7583))
481* **Generalize Account** Implement Generalized account support ([#449](https://github.com/aeternity/aepp-sdk-js/pull/449))
482 ```js
483 const authContract = `YOUR_AUTH_CONTRACT`
484
485 // Make current account Generalized
486 await client.createGeneralizeAccount(authFnName, authContract, [...authFnArguments]
487
488 // Make spend transaction using GA
489 // One Way
490 // encoded call data for auth contract
491 const callData = 'cb_...'
492 await client.spend(10000, receiverPub, { authData: { callData } })
493
494 // or
495 // sdk will prepare callData itself
496 await client.spend(10000, receiverPub, { authData: { source: authContract, args: [...authContractArgs] } })
497 ```
498
499# [4.4.0](https://github.com/aeternity/aepp-sdk-js/compare/4.3.0...4.4.0) (2019-08-09)
500
501
502### Bug Fixes
503
504* **Package:** update commander to version 3.0.0 ([#597](https://github.com/aeternity/aepp-sdk-js/issues/597)) ([9aaa05c](https://github.com/aeternity/aepp-sdk-js/commit/9aaa05c))
505* **Contract:** Fix dry-run without account ([227fc5c](https://github.com/aeternity/aepp-sdk-js/pull/599/commits/227fc5c9d8369e1c3a3fbba2cf62f0495bcf08ae))
506
507### Features
508
509* **Contract:** add ability to use call-static/dry-run without keyPair ([#577](https://github.com/aeternity/aepp-sdk-js/issues/577)) ([c38edd9](https://github.com/aeternity/aepp-sdk-js/commit/c38edd9))
510* **AE:** Add ability to make operation on specific account using `onAccount` option.
511 ```
512 Exm: await client.spend(1, receiver, { onAccount: 'PUBLIC_KEY' })
513 Add `onAccount` to `AENS`, `Contract`, `Oracle`.
514 Add tests for using specific account to Contract, ACI, Account.
515 ```
516* **JSON:**: Add serialization to JSON for bigNumbers
517* **MemoryAccount:** Add validation of `keypair` ([#594](https://github.com/aeternity/aepp-sdk-js/issues/594)) ([b8c2b20](https://github.com/aeternity/aepp-sdk-js/commit/b8c2b20))
518* **State Channels:** persist connection by pinging every 10 seconds ([#571](https://github.com/aeternity/aepp-sdk-js/issues/571)) ([a70f919](https://github.com/aeternity/aepp-sdk-js/commit/a70f919))
519
520
521
522# [4.3.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.3.0) (2019-08-05)
523
524
525### Bug Fixes
526
527* **State Channels:** Fix onChainTx event params ([#566](https://github.com/aeternity/aepp-sdk-js/issues/566)) ([11c85eb](https://github.com/aeternity/aepp-sdk-js/commit/11c85eb))
528* **State Channels:** Fix websocket url ([#558](https://github.com/aeternity/aepp-sdk-js/issues/558)) ([33c1fd8](https://github.com/aeternity/aepp-sdk-js/commit/33c1fd8))
529* **Swagger:** Pass query params in case of get request ([#570](https://github.com/aeternity/aepp-sdk-js/pull/570))
530
531### Code Refactoring
532
533* **State Channel:** Do not include white space for outgoing websocket messages ([#559](https://github.com/aeternity/aepp-sdk-js/pull/559))
534
535
536### Features
537
538* **ACI:** Implement sophia `variant` type ([#567](https://github.com/aeternity/aepp-sdk-js/issues/567)) ([8505dcf](https://github.com/aeternity/aepp-sdk-js/commit/8505dcf))
539* **Contract:** add ability to use call-static/dry-run without keyPair ([#577](https://github.com/aeternity/aepp-sdk-js/issues/577)) ([c38edd9](https://github.com/aeternity/aepp-sdk-js/commit/c38edd9))
540* **NodePool:** Implement NodePool stamp ([#574](https://github.com/aeternity/aepp-sdk-js/issues/574)) ([674166c](https://github.com/aeternity/aepp-sdk-js/commit/674166c))
541* **State Channel:** make state channel compatible with aeternity@4.0.0 ([#568](https://github.com/aeternity/aepp-sdk-js/issues/568)) ([0d0e09b](https://github.com/aeternity/aepp-sdk-js/commit/0d0e09b))
542* **TxBuilder:** Add helper for producing tx hash ([#579](https://github.com/aeternity/aepp-sdk-js/issues/579)) ([e1b405e](https://github.com/aeternity/aepp-sdk-js/commit/e1b405e))
543* **AE** Make all AE stamps composed with Accounts ([#581](https://github.com/aeternity/aepp-sdk-js/pull/581))
544
545
546### Docs
547
548* **ACI** Add some additional clarification to `getContractInstance`
549
550
551
552# [4.2.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.2.0) (2019-07-15)
553
554
555### Bug Fixes
556
557* **package:** update libsodium-wrappers-sumo to version 0.7.5 ([#541](https://github.com/aeternity/aepp-sdk-js/issues/541)) ([956ed75](https://github.com/aeternity/aepp-sdk-js/commit/956ed75))
558* **rpc-server:** Fix type 'object' check ([#526](https://github.com/aeternity/aepp-sdk-js/issues/526)) ([48c42e4](https://github.com/aeternity/aepp-sdk-js/commit/48c42e4))
559
560
561### Code Refactoring
562
563* **swagger:** Speedup initialisation
564* **AENS:** Remove unused param from claim method
565* **AENS:** Fix exception if not waiting for mining(claim)
566* **Test:** Add test for contract namespaces
567
568### Features
569
570* **Node:** Add 4.0.0 node compatibility
571* **Compiler:** Add compatibility with compiler 3.2.0
572* **Channel:** Implement GA awareness of State Channels
573
574
575
576# [4.1.0](https://github.com/aeternity/aepp-sdk-js/compare/4.0.1...4.1.0) (2019-06-22)
577
578
579### Bug Fixes
580
581* **Node:** Do not throw error if `internalUrl` not provided. Instead use `url` ([#503](https://github.com/aeternity/aepp-sdk-js/issues/503)) ([053faae](https://github.com/aeternity/aepp-sdk-js/commit/053faae))
582* **TXBuilder:** Fix payload serialization if you try to unpack and pack tx. ([#498](https://github.com/aeternity/aepp-sdk-js/issues/498)) ([73552e5](https://github.com/aeternity/aepp-sdk-js/commit/73552e5))
583* **TxValidator:** Fix validation of state channel open transaction ([#496](https://github.com/aeternity/aepp-sdk-js/issues/496)) ([325cc90](https://github.com/aeternity/aepp-sdk-js/commit/325cc90))
584
585
586### Features
587
588* **ACI:** Refactor ACI module. Split to separated files. ([#505](https://github.com/aeternity/aepp-sdk-js/issues/505)) ([fb7bc00](https://github.com/aeternity/aepp-sdk-js/commit/fb7bc00))
589* **Selector:** If default account `address` not provided use the first
590* **ACI:** Handle ACI without init function
591* **ACI:** Automatically decide to send transaction on-chai or call-static.
592Add `options` object like last arguments of generate fn under `instance.methods`
593 ```
594 const instance = await client.getContractInstance(source)
595 // Deploy contract
596 await.contract.init(100, 'test', options)
597 //or
598 await.contract.deploy([100, 'test], options)
599 // Call function
600 const result = await instance.call('sum', [2, 5], options)
601 //
602 // Automatically decide to send tx on-chain or call-static(dry-run) base on if function stateful or not
603 const result = await instance.methods.sum(2, 5, options)
604 // Manually make on-chain
605 const result = await instance.methods.sum.send(2, 5, options)
606 // Manually make call-static
607 const result = await instance.methods.sum.get(2, 5, options)
608 //
609 ```
610
611### Docs
612
613* **Usage:**: Add instructions about how to include directly the `SDK` in a `html page`
614
615
616
617## [4.0.1](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...4.0.1) (2019-06-13)
618
619
620### Bug Fixes
621
622* **RPC:** Add contract contractDecodeCallResultAPI to RPC ([#482](https://github.com/aeternity/aepp-sdk-js/issues/482)) ([7eb6bd8](https://github.com/aeternity/aepp-sdk-js/commit/7eb6bd8))
623* **README:** Fix flavor link ([#480](https://github.com/aeternity/aepp-sdk-js/pull/480))
624
625### Code Refactoring
626
627* **Compiler:** Fix compiler compatibility mechanism ([#479](https://github.com/aeternity/aepp-sdk-js/issues/479)) ([78cc990](https://github.com/aeternity/aepp-sdk-js/commit/78cc990))
628* **Utils:** Move json-bigint implementation to `utils` ([#486](https://github.com/aeternity/aepp-sdk-js/issues/486)) ([1538867](https://github.com/aeternity/aepp-sdk-js/commit/1538867))
629
630### Build
631
632* **webpack:** Add another bundle(`dist/aepp-sdk.browser-script.js`) for using in `<script>` tag ([#485](https://github.com/aeternity/aepp-sdk-js/pull/485))
633
634
635
636# [4.0.0](https://github.com/aeternity/aepp-sdk-js/compare/3.4.1...4.0.0) (2019-06-12)
637
638
639### Bug Fixes
640
641* **Ae:** Fix exception when it used without Contract stamp
642
643### Code Refactoring
644
645* **SCM:** Update compatibility range for node: 3.0.1 - 4 and compiler 3.1.0 - 4 ([#474](https://github.com/aeternity/aepp-sdk-js/issues/474)) ([a1494fd](https://github.com/aeternity/aepp-sdk-js/commit/a1494fd))
646* **Test:** Simplify client creation
647
648### Features
649
650* **Docs** chore(Docs): new docs ([#370](https://github.com/aeternity/aepp-sdk-js/pull/370))
651* **Compiler:** Add `getCompilerVersion` to compiler stamp
652* **ACI:** Make compatible with compiler 3.1.0 ([#457](https://github.com/aeternity/aepp-sdk-js/issues/457)) ([d92f2c7](https://github.com/aeternity/aepp-sdk-js/commit/d92f2c7)), closes [#458](https://github.com/aeternity/aepp-sdk-js/issues/458)
653* **ACI:** Generate JS function proto for each of contract function ([#439](https://github.com/aeternity/aepp-sdk-js/issues/439)) ([2f47b4d](https://github.com/aeternity/aepp-sdk-js/commit/2f47b4d))
654* **Compiler/ACI:** Make ACI compatible with compiler 3.0.0 ([#441](https://github.com/aeternity/aepp-sdk-js/issues/441)) ([2a8eb1a](https://github.com/aeternity/aepp-sdk-js/commit/2a8eb1a))
655* **Node:** Avoid usage of "universal-url" package ([#434](https://github.com/aeternity/aepp-sdk-js/issues/434)) ([a8268d5](https://github.com/aeternity/aepp-sdk-js/commit/a8268d5))
656* **TX:** encode payload as base64 ([#460](https://github.com/aeternity/aepp-sdk-js/issues/460)) ([ad490af](https://github.com/aeternity/aepp-sdk-js/commit/ad490af))
657* **TX_BUILDER:** Fix bug related to contract fee calculation. ([#472](https://github.com/aeternity/aepp-sdk-js/issues/472)) ([7214cfb](https://github.com/aeternity/aepp-sdk-js/commit/7214cfb))
658
659
660### BREAKING CHANGES
661
662* **DOCS** Restructure and rework sdk documentation
663* **SCM:** This change will make the release not compatible with older version of the node and
664compiler
665* **ACI:** Change Contract low lvl API:
666 - change `contractDecodeData` interface from:
667 - `(type:String, data: String) => Any` to `(source: String, fn: String, callValue: String, callResult:String) => Any`.
668 (`callResult` is `callType` from call result, can be `ok`, `revert`, ...)
669
670
671
672## [3.4.1](https://github.com/aeternity/aepp-sdk-js/compare/3.4.0...3.4.1) (2019-06-05)
673
674
675### Bug Fixes
676
677* **Deps:** Update axios lib to 0.19.0 due to security issue ([f951765](https://github.com/aeternity/aepp-sdk-js/commit/f951765))
678
679
680
681# [3.4.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.4.0) (2019-05-22)
682
683
684### Bug Fixes
685
686* **State Channels:** Remove automatic pinging to fix browser compatibility ([#432](https://github.com/aeternity/aepp-sdk-js/issues/432)) ([0700f3a](https://github.com/aeternity/aepp-sdk-js/commit/0700f3a))
687
688
689### Features
690
691* **Transaction Builder:** Improve min fee calculation(Reduce the fee) ([#424](https://github.com/aeternity/aepp-sdk-js/pull/424))
692* **AXIOS:** Add ability to intercept error from axios ([#431](https://github.com/aeternity/aepp-sdk-js/pull/431))
693 > Added additional param to sdk initialization `axiosConfig`
694
695 > Example: `Universal({ axiosConfig: { config: { // axios config object }, errorHandler: (err) => throw err }})`
696* **Transaction Builder:** Implement vm/abi validation for contract/oracle tx based on consensus protocol version. Add custom verification based on transaction type ([#425](https://github.com/aeternity/aepp-sdk-js/pull/425)) ([#426](https://github.com/aeternity/aepp-sdk-js/pull/426))
697
698
699
700# [3.3.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.3.0) (2019-05-17)
701
702
703### Bug Fixes
704
705* **AEP exampe:** Fix contract in AEPP example ([e2fec19](https://github.com/aeternity/aepp-sdk-js/commit/e2fec19))
706fix(AEP exampe): Fix contract in AEPP example
707
708### Features
709
710* **Consensus:** Add function to get consensus version. ([#413](https://github.com/aeternity/aepp-sdk-js/issues/413)) ([46027cd](https://github.com/aeternity/aepp-sdk-js/commit/46027cd))
711* **State Channels:** Make state channels compatible with aeternity 3.0.0 ([#415](https://github.com/aeternity/aepp-sdk-js/issues/415)) ([668e7f1](https://github.com/aeternity/aepp-sdk-js/commit/668e7f1))
712* **Transaction Builder:** Add serializations for transactions introd… ([#416](https://github.com/aeternity/aepp-sdk-js/issues/416)) ([fd7b8ce](https://github.com/aeternity/aepp-sdk-js/commit/fd7b8ce))
713
714
715### BREAKING CHANGES
716
717* **NODE** Change compatibility from `2.3.0` to `3.0.0`
718
719
720# [3.2.1](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.2.1) (2019-05-16)
721
722
723### Bug Fixes
724
725* **Joi:** Add `JOI` browser comparability
726
727
728
729# [3.2.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.2.0) (2019-05-16)
730
731
732### Bug Fixes
733
734* **ACI:** Add ability to pass zero address as number. ([#396](https://github.com/aeternity/aepp-sdk-js/issues/396)) ([b5b5c61](https://github.com/aeternity/aepp-sdk-js/commit/b5b5c61))
735* **ACI:** Fix address type transformation when decoding data ([#335](https://github.com/aeternity/aepp-sdk-js/issues/335)) ([e37cdfc](https://github.com/aeternity/aepp-sdk-js/commit/e37cdfc))
736* **Contract:** Add error handling(decoding) in low lvl contract API ([#386](https://github.com/aeternity/aepp-sdk-js/issues/386)) ([e1fdce0](https://github.com/aeternity/aepp-sdk-js/commit/e1fdce0))
737* **Dependencies:** Use URL class instead of "url" package
738* **Dependencies:** Use custom version of json-bigint
739* **Dependencies:** Avoid usage of semver package and cleanup deps
740* **RPC:** rpc client: Handle case if aepp opened without wallet
741* **Channels:** Fix state channel test's
742
743### Features
744
745* **KEYSTORE:** Add browser compatibility
746* **TX:** Handle VM/ABI fields serialization and validation basaed on tx type and node version
747* **ACI:** Add `contract`, `address`, `record` types argument/result transformation ([#349](https://github.com/aeternity/aepp-sdk-js/issues/349)) ([0599d7d](https://github.com/aeternity/aepp-sdk-js/commit/0599d7d))
748* **WEBPACK:** webpack configs: Mark all dependencies as external
749* **WEBPACK:** Setup webpack-bundle-analyzer plugin
750* **ACI:** Add `Option` sophia type to ACI ([#390](https://github.com/aeternity/aepp-sdk-js/issues/390)) ([83f5279](https://github.com/aeternity/aepp-sdk-js/commit/83f5279))
751* **ACI:** Implement arguments validation for generic sophia types(list, map, tuple, record) ([#384](https://github.com/aeternity/aepp-sdk-js/issues/384)) ([956e59e](https://github.com/aeternity/aepp-sdk-js/commit/956e59e))
752* **ACI:** Update due to compiler API changes ([#331](https://github.com/aeternity/aepp-sdk-js/issues/331)) ([e047f3b](https://github.com/aeternity/aepp-sdk-js/commit/e047f3b))
753* **AE:** Allow to spend % of balance. ([#371](https://github.com/aeternity/aepp-sdk-js/issues/371)) ([f97a2ae](https://github.com/aeternity/aepp-sdk-js/commit/f97a2ae)), closes [#336](https://github.com/aeternity/aepp-sdk-js/issues/336)
754* **Aepp:** Add Compiler to Aepp rpc methods. Update example app ([#312](https://github.com/aeternity/aepp-sdk-js/issues/312)) ([9c72521](https://github.com/aeternity/aepp-sdk-js/commit/9c72521))
755* **Aepp:** Refactor Aepp example app. Allow to spend with payload and add reverse iframe approach.
756* **Compiler:** Add decode CallData by source/bytecode ([#354](https://github.com/aeternity/aepp-sdk-js/issues/354)) ([761f36b](https://github.com/aeternity/aepp-sdk-js/commit/761f36b))
757* **Fortuna:** Node 3.0.0 compatibility ([#397](https://github.com/aeternity/aepp-sdk-js/issues/397)) ([17b78d5](https://github.com/aeternity/aepp-sdk-js/commit/17b78d5))
758* **RPC:** Add `getNodeInfo` to AEPP stamp through RPC ([#359](https://github.com/aeternity/aepp-sdk-js/issues/359)) ([2ddeea8](https://github.com/aeternity/aepp-sdk-js/commit/2ddeea8))
759* **State Channels:** Add cleanContractCalls method ([#338](https://github.com/aeternity/aepp-sdk-js/issues/338)) ([778159a](https://github.com/aeternity/aepp-sdk-js/commit/778159a))
760* **State Channels:** Ping every 10 seconds to persist connection ([#324](https://github.com/aeternity/aepp-sdk-js/issues/324)) ([6d0e156](https://github.com/aeternity/aepp-sdk-js/commit/6d0e156)), closes [#276](https://github.com/aeternity/aepp-sdk-js/issues/276) [#299](https://github.com/aeternity/aepp-sdk-js/issues/299) [#300](https://github.com/aeternity/aepp-sdk-js/issues/300) [#303](https://github.com/aeternity/aepp-sdk-js/issues/303) [#302](https://github.com/aeternity/aepp-sdk-js/issues/302) [#279](https://github.com/aeternity/aepp-sdk-js/issues/279) [#275](https://github.com/aeternity/aepp-sdk-js/issues/275) [#276](https://github.com/aeternity/aepp-sdk-js/issues/276) [#299](https://github.com/aeternity/aepp-sdk-js/issues/299) [#300](https://github.com/aeternity/aepp-sdk-js/issues/300)
761* **State Channels:** Remove endpoint param ([#391](https://github.com/aeternity/aepp-sdk-js/issues/391)) ([8d9ea7e](https://github.com/aeternity/aepp-sdk-js/commit/8d9ea7e))
762
763
764### BREAKING CHANGES
765
766* **State Channels:** Endpoint param is removed and no longer defaults to "/channel". This means that
767"/channel" (or other path) must be appendend to url para
768
769
770
771# [3.1.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.1.0) (2019-04-24)
772
773
774### Bug Fixes
775
776* **ACI:** Fix address type transformation when decoding data ([#335](https://github.com/aeternity/aepp-sdk-js/issues/335)) ([e37cdfc](https://github.com/aeternity/aepp-sdk-js/commit/e37cdfc))
777
778
779### Features
780
781* **ACI:** Add `contract`, `address`, `record` types argument/result transformation ([#349](https://github.com/aeternity/aepp-sdk-js/issues/349)) ([0599d7d](https://github.com/aeternity/aepp-sdk-js/commit/0599d7d))
782* **ACI:** Update due to compiler API changes ([#331](https://github.com/aeternity/aepp-sdk-js/issues/331)) ([e047f3b](https://github.com/aeternity/aepp-sdk-js/commit/e047f3b))
783* **Aepp:** Add Compiler to Aepp rpc methods. Update example app ([#312](https://github.com/aeternity/aepp-sdk-js/issues/312)) ([9c72521](https://github.com/aeternity/aepp-sdk-js/commit/9c72521))
784* **Compiler:** Add decode CallData by source/bytecode ([#354](https://github.com/aeternity/aepp-sdk-js/issues/354)) ([761f36b](https://github.com/aeternity/aepp-sdk-js/commit/761f36b))
785* **RPC:** Add getNodeInfo and getNetworkId to AEPP stamp through RPC ([#359](https://github.com/aeternity/aepp-sdk-js/issues/359)) ([2ddeea8](https://github.com/aeternity/aepp-sdk-js/commit/2ddeea8))
786* **State Channels:** Add cleanContractCalls method ([#338](https://github.com/aeternity/aepp-sdk-js/issues/338)) ([778159a](https://github.com/aeternity/aepp-sdk-js/commit/778159a))
787* **State Channels:** Ping every 10 seconds to persist connection ([#324](https://github.com/aeternity/aepp-sdk-js/issues/324)) ([6d0e156](https://github.com/aeternity/aepp-sdk-js/commit/6d0e156))
788
789
790
791# [3.0.0](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...3.0.0) (2019-04-17)
792
793
794### Bug Fixes
795
796* **ACI:** Fix address type transformation when decoding data ([#335](https://github.com/aeternity/aepp-sdk-js/issues/335)) ([e37cdfc](https://github.com/aeternity/aepp-sdk-js/commit/e37cdfc))
797
798
799### Features
800
801* **TX_BUILDER:** Channel tx serializations
802* **TxValidator:** Add minGasPrice validation to contract transactions
803* **ACI:** Update due to compiler API changes ([#331](https://github.com/aeternity/aepp-sdk-js/issues/331)) ([e047f3b](https://github.com/aeternity/aepp-sdk-js/commit/e047f3b))
804* **Aepp:** Add Compiler to Aepp rpc methods. Update example app ([#312](https://github.com/aeternity/aepp-sdk-js/issues/312)) ([9c72521](https://github.com/aeternity/aepp-sdk-js/commit/9c72521))
805* **State Channels:** Add cleanContractCalls method ([#338](https://github.com/aeternity/aepp-sdk-js/issues/338)) ([778159a](https://github.com/aeternity/aepp-sdk-js/commit/778159a))
806
807
808### BREAKING CHANGES
809
810* **ACI** Remove 2.0.0 compiler compatibility
811
812
813
814# [2.4.1](https://github.com/aeternity/aepp-sdk-js/compare/2.4.0...2.4.1) (2019-04-17)
815
816
817### Features
818
819* **ACI:** Add transform decoded data for 'address' type
820* **AEPP:** Add Compiler to Aepp rpc methods. Update example app
821* **Channel:** Add call contract static support
822* **Channel:** Add get contract state support
823* **Channel:** Get full channel state support
824* **DOCS:** Adjust ACI, Contract and Usage
825
826
827### Bug Fixes
828
829* **HTTP:** Handle no response in http stamp error handler
830* **Crypto:** Fix crypto `formatAddress`
831* **Crypto:** Move ADDRESS_FORMAT to crypto
832
833
834### BREAKING CHANGES
835
836* **Channels:**
837 - `channel.state()` now returns offchain state instead of last co-signed offchain transaction
838 - `channel.update(...).state` has been renamed to `signedTx`
839 - `channel.withdraw(...).state` has been renamed to `signedTx`
840 - `channel.deposit(...).state` has been renamed to `signedTx`
841 - `channel.leave().state` has been renamed to `signedTx`
842 - `channel.createContract(...).state` has been renamed to `signedTx`
843 - `channel.callContract(...).state` has been renamed to `signedTx`
844
845
846# [2.4.0](https://github.com/aeternity/aepp-sdk-js/compare/2.3.2...2.4.0) (2019-04-17)
847
848
849### Features
850
851* **Chore:** Install and configure `commitizen`
852* **Crypto:** Add `formatAddress` function to `Crypto`
853* **Contract:** Add Contract Compiler API stamp to `es/contract` (now using instead contract node API)
854* **Utils:** Add basic `http` client stamp (`es/utils/http`)
855* **Contract:** ACI stamp (New Contract interface base on contract ACI schema)
856 ```
857 const contractIns = await client.getContractInstance(contractSourceCode)
858 console.log(contract)
859 {
860 interface: String, // Contract interface source code
861 aci: String, // Contract interface json schema
862 source: String, // Contract source code
863 compiled: String, // Compiled contract code
864 deployInfo: { address: contractAddress } // Object with deploy transaction,
865 // Function
866 compile: () => this, // Compile contract,
867 deploy: (init = [], options = { skipArgsConvert: false }) => this, // Deploy contract (compile before if needed)
868 call: (fn, params = [], options = { skipArgsConvert: false, skipTransformDecoded: false, callStatic: false } => CallRersult: Object // Call contract function
869 }
870 ```
871* **Account:** Extend `Account.address()` with `accountFormatter` now you can do
872 ```
873 export const ADDRESS_FORMAT = {
874 sophia: 1, // return address like `0xHEX_ADDRESS`
875 api: 2, // return address like `ak_9LJ8ne9tks78hTD2Tp571f7w2MJmzQMRsiZxKCkMA2d2Sbrc4`
876 }
877
878 //
879
880 export { ADDRESS_FORMAT } from 'es/account'
881 await account.address(format: ADDRESS_FORMAT) // default ADDRESS_FORMAT.api
882 ```
883* **Channel:** Improve channel rpc usage
884* **Channel:** Improve channel tests and error handling
885* **Channel:** Improve state channel params handling
886* **Chain:** Add ability to get `account/balance` on specific block `hash/height`
887* **Universal:** Add `{ compilerUrl }` to `Universal, Contract, Wallet` stamp initialization
888
889
890### Bug Fixes
891
892* **Contract:** decode node error coming from contract `call` and `callStatic`
893* **Chain:** Throw native error instead of object in chain `chain.sendTransaction`
894* **Crypto:** fix arguments parsing in `Crypto.sing`
895* **Crypto:** Fix `name hash` function arguments parsing in `Crypto`
896
897
898 ### BREAKING CHANGES
899 * **Contract:** Remove `ContractNodeAPI` stamp
900 * **Contract:** Change Contract stamp API
901 ```
902 1) Use Compiler instead of node API for encode/decode call-data and compile.
903 2) Change Contract interface:
904 - contractCallStatic (address, abi = 'sophia-address', name, { top, args = '()', call, options = {} } = {}) -> (source, address, name, args = [], { top, options = {} } = {}))
905 - contractCall (code, abi, address, name, { args = '()', options = {}, call } = {}) -> (source, address, name, args = [], options = {})
906 - contractDeploy (code, abi, { initState = '()', options = {} } = {}) -> (code, source, initState = [], options = {})
907 - contractEncodeCall (code, abi, name, args, call) -> (source, name, args) // 'source' is -> Contract source code or ACI interface source
908 ```
909
910
911## [2.3.2](https://github.com/aeternity/aepp-sdk-js/compare/2.3.1...2.3.2) (2019-03-04)
912
913
914### Features
915
916* **Contract:** Change default `gasPrice` from `1e6` to `1e9z
917* **AEPP:** Fix `AEPP` example app
918* **Build:** Force `image` pull before `builds`
919
920
921# [2.3.1](https://github.com/aeternity/aepp-sdk-js/compare/2.3.0...2.3.1) (2019-02-22)
922
923
924### Features
925
926* **Oracle:** `Oracle` fee calculation
927* **Tx:** `getAccountNonce` function to `tx` stamp
928* **TX_BUILDER:** Change `FEE_BYTE_SIZE` from 1 to 8 bytes in `fee` calculation
929* **TX_BUILDER:** Improve error handling in `tx` builder
930
931
932# [2.3.0](https://github.com/aeternity/aepp-sdk-js/compare/2.3.0-next...2.3.0) (2019-02-22)
933
934
935### Features
936
937* **Node:** `Minerva` comparability
938* **Utils:** `Mnemonic` wallet implementation `es/utils/hd-wallet`
939* **Oracle:** Change Channel `legacy` API to `JSON RPC`
940* **Oracle:** Change default `gasPrice` to `1e6`
941* **Oracle:** Change `minFee` calculation, multiply min fee by `1e9`
942
943### BREAKING CHANGES
944
945* **Node:** Change supported node version range to `1.4.0 <= version < 3.0.0`
946* This release contain changes from: [2.3.0-next](https://github.com/aeternity/aepp-sdk-js/releases/tag/2.3.0-next), [2.2.1-next](https://github.com/aeternity/aepp-sdk-js/releases/tag/2.2.1-next), [2.1.1-0.1.0-next](https://github.com/aeternity/aepp-sdk-js/releases/tag/2.1.1-0.1.0-next), [2.1.0](https://github.com/aeternity/aepp-sdk-js/releases/tag/2.1.0)
947
948
949
950# [2.3.0-next](https://github.com/aeternity/aepp-sdk-js/compare/2.2.1-next...2.3.0-next) (2019-02-21)
951
952
953### Features
954
955* **Channel:** `channel` `withdraw` and `deposit` methods
956* **TX_BUILDER:** Change default `gasPrice` in `Contract` stamp and `Tx` stamp to `1e9`
957* **TX:** Fix `contract` tx `fee` calculation
958* **Chain:** Refactor error handling in `sendTransaction` function
959* **Contract:** Change default `gasPrice` to `1e9`
960* **TX_BUILDER:** Change `Fee` byte_size to 1
961
962
963
964# [2.2.1-next](https://github.com/aeternity/aepp-sdk-js/compare/2.1.1-0.1.0-next...2.2.1-next) (2019-02-21)
965
966
967### Feature
968
969* **TX_BUILDER:** Add `deserialization` schema for `Channel` transactions(`channelCreate`, `channelCloseMutual`, `channelDeposit`, `channelWithdraw`, `channelSettle`)
970* **Chain:** Add `rawTx` and `verifyTx` to error from poll function(when you wait for transaction will mined)
971* **Chore:** Depend on `bip39` from npm instead of git repo
972* **Channel:** Change Channel `legacy` API to `JSON RPC`
973* **TX_BUILDER:** Change `minFee` calculation, multiply min fee by 10^9
974
975
976# [2.1.1-0.1.0-next](https://github.com/aeternity/aepp-sdk-js/compare/2.1.0...2.1.1-0.1.0-next) (2019-02-21)
977
978
979### Bug Fixes
980* **Chore:** Fix linter errors
981
982
983
984# [2.1.0](https://github.com/aeternity/aepp-sdk-js/compare/2.0.0...2.1.0) (2019-02-21)
985
986
987### Features
988
989* **Node:** `Minerva` comparability
990* **Utils:** Add `Mnemonic` wallet implementation `es/utils/hd-wallet`
991
992
993### BREAKING CHANGES
994
995* **Node:** Change supported node version range to `1.4.0 <= version < 3.0.0`
996
997
998
999# [2.0.0](https://github.com/aeternity/aepp-sdk-js/compare/1.3.2...2.0.0) (2019-02-21)
1000
1001
1002### Features
1003
1004* **TX_BUILDER:** Add `unpackedTx`, `txType` and `signature` to `validate` transaction function
1005* **Contract:** Add `top` param to contract `static call(dry-run)`
1006* **Contract:** Add errors handling for `dry-run`
1007* **Docs:** Add `keystore` docs
1008* **Ae:** Add `verify` options to `send` function which verify tx before broadcasting and throw error if tx is invalid
1009* **Rpc:** Add `dryRun` to `RPC` methods
1010* **Rpc:** Add `Oracle` transaction creation to `Aepp` rpc
1011* **Docs:** Add `tx builder` docs
1012* **Docs:** Add doc's for `utils/bytes` and tx builder `schema`
1013* **TX_BUILDER:** refactor `calculateFee` function in `TxBuilder`(use BigNumber)
1014* **TX_BUILDER:** Extend response of `Oracle`, `Aens`, `Contrat` with `rawTx`
1015* **Ae:** Change response of `send` function now it's and object with transaction data(hash, rawTxHash, ...)
1016* **Chain:** Move `Contract` and `Oracle` API wrapper's to `Chain` stamp
1017* **Chore:** Rename `epoch` in `CHANGELOG`, `README`, `HACKING`
1018
1019
1020### Bug Fixes
1021
1022* **Rpc:** `RpcServer`: Avoid storing of `window` in `instance` properties
1023* **Chain:** Disable `balance formatting` by default
1024* **Chain:** Move `verification of transaction` to `chain` stamp
1025* **Node:** Retrieve `node` version from `/api`
1026* **Chore:** Fix unpack tx example in `bin/aecrypto.js`
1027* **Chore:** Remove unused function's from `crypto.js`
1028
1029
1030### BREAKING CHANGES
1031
1032* **TX:** Remove old transaction builder `es/tx/js.js` (Please use `es/tx/builder` instead)
1033* **Chore:** Rename `es/epoch.js` to `es/node.js`
1034* **Chore:** Rename `Oracle`, `Contract`, `Chain` API wrapper files from `epoch` to `node`
1035* **Chore:** Rename `Contract` api wrapper method's
1036
1037
1038
1039## [1.3.2](https://github.com/aeternity/aepp-sdk-js/compare/1.3.1...1.3.2) (2019-02-01)
1040
1041
1042### Features
1043
1044* **Ae:** Add `destroyInstance` function to `Ae` stamp which remove all listeners for RPC event's
1045* **Docs:** Add docs for `TransactionValidator` and `TxBuilder` stamp's
1046* **Build:** Add `TxBuilderHelper` to bundle
1047* **Chore:** Contract call static now using `dry-run` API
1048* **Test:** Improve test's for Transaction verification
1049
1050
1051### Changed
1052
1053* **Docs:** Adjust doc's for `Contract` and `Aens` stamp's
1054* **Chore:** Fix decoding of address from contract call
1055
1056
1057
1058## [1.3.1](https://github.com/aeternity/aepp-sdk-js/compare/1.3.0...1.3.1) (2019-01-29)
1059
1060
1061### Features
1062
1063* **Build:** Remove KeyStore from bundle due to build issue(for now you can export it only using tree-shaking `import * as Keystore from '@aeternity/aepp-sdk/utils/keystore'`)
1064
1065
1066
1067# [1.3.0](https://github.com/aeternity/aepp-sdk-js/compare/1.2.1...1.3.0) (2019-01-29)
1068
1069
1070### Features
1071
1072* **Channel:** Add support for State Channels
1073* **TX_BUILDER:** New transaction builder going through schema(build, unpack)
1074* **TX_VALIDATOR:** Add new stamp `TransactionValidator` which can verify your transaction
1075* **Chore:** Rename epoch to aeternity node(docker configs, some docs)
1076* **Tx:** Use new tx builder in TX stamp
1077* **Contract:** Set default values for amount and deposit to 0 for `contract` transaction
1078* **Rpc:** Improve RPC server
1079
1080
1081### Notes and known Issues
1082- Old transaction builder `es/tx/js.js` will be removed in next major release.
1083
1084
1085
1086## [1.2.1](https://github.com/aeternity/aepp-sdk-js/compare/1.1.2...1.2.1) (2018-12-21)
1087
1088
1089### Features
1090
1091* **Chain:** amount formatter
1092* **Chain:** amount format balance `client.balance('AK_PUBLICKEY', { format: true })`
1093* **Aepp:** Oracle and Contracts API to Aepp stamp
1094* **Chore:** Use `prepare` instead of `postinstall-build` (thanks @davidyuk)
1095* **Docs:** Refreshed Docs: README.md + docs/usage.md
1096
1097
1098### Bug Fixes
1099
1100* **Chr:** Fix Import RLP package (thanks @davidyuk)
1101* **Rpc:** Fix for NetworkId propagation and override
1102* **Tx:** TxJS is not a stamp anymore, and instead: it exports helper functions
1103
1104
1105### BREAKING CHANGES
1106
1107* **Tx:** TxJs stamp (not a stamp anymore)
1108* **Chain:** balance now answer a formatted string composed of `AMOUNT + ' ' + unit` (eg. `10 exa` for 10 AE)
1109
1110### Notes and known Issues
1111
1112* **Chore:** `10 exa` should be `10 ae`
1113* **Chain:** format shouldn't be a flag, but a request for `unit` eg. `{ format: `ae` }`
1114
1115
1116
1117## [1.1.2](https://github.com/aeternity/aepp-sdk-js/compare/1.1.1...1.1.2) (2018-12-15)
1118
1119
1120### Feature
1121
1122* **Chore:** isAddressValid check
1123* **Tx:** Tx Fee formulas
1124
1125
1126### Bug Fixes
1127
1128* **Rpc:** Fixed networkId propagation (and overriding on init of Flavors)
1129* **Crypto:** Fixed encodeBase58Check by feeding Buffered input
1130
1131
1132### BREAKING CHANGES
1133
1134* **Chore:** Compatibility with Node >= 1.0.0 and <= 1.1.0
1135
1136
1137
1138## [1.1.1](https://github.com/aeternity/aepp-sdk-js/compare/1.1.0...1.1.1) (2018-12-11)
1139
1140
1141### Features
1142
1143* **Rpc:** Added a command to remove images after CI testing
1144
1145
1146### Bug Fixes
1147
1148* **Rpc:** Fix Testing
1149* **Rpc:** Fixed Oracle error for Wallet flavor
1150
1151
1152
1153# [1.1.0](https://github.com/aeternity/aepp-sdk-js/compare/1.0.1...1.1.0) (2018-12-11)
1154
1155
1156### Features
1157
1158* **Oracle:** Oracles functionality and flavor
1159* **Aepp:** Simple example of aepp-in-aepp (see `/examples` folder)
1160
1161### Bug Fixes
1162
1163* **Tx:** Fixed issue with big numbers and `TX`
1164
1165
1166
1167## [1.0.1](https://github.com/aeternity/aepp-sdk-js/compare/1.0.0...1.0.1) (2018-11-30)
1168
1169
1170
1171### Features
1172
1173* **Node:** ability to support Node range(s) using semver package (see https://www.npmjs.com/package/semver#ranges)
1174
1175
1176### BREAKING CHANGES
1177
1178* **Node:** Support for Node >= 1.0.0 and < 2.0.0
1179
1180
1181
1182## [1.0.0](https://github.com/aeternity/aepp-sdk-js/compare/0.25.0-0.1.1...1.0.0) (2018-11-30)
1183
1184
1185
1186### Features
1187
1188* **Contract:** Contract native Transactions
1189
1190
1191### Bug Fixes
1192
1193* **BigNumber:** Rolled back to bignumbers.js for easier fix with axios.get/post
1194
1195
1196### BREAKING CHANGES
1197
1198* **Node:** Support for Node < 1.0.0
1199* **Build:** New NETWORK_ID (also used in docker/sdk.env for CI tests)
1200* **Protocol:** Encoding of transaction (and other objects) [changed from base58check to base64check](https://github.com/aeternity/protocol/blob/master/node/api/api_encoding.md)
1201
1202
1203### Notes and known Issues
1204
1205* **Channel:** State Channels have been excluded for problems with CI, will be included in next release
1206
1207
1208
1209## [0.25.0-0.1.1](https://github.com/aeternity/aepp-sdk-js/compare/0.25.0-0.1.0...0.25.0-0.1.1) (2018-11-30)
1210
1211
1212### Notes and known Issues
1213
1214* **Chore:** See [0.25.0-0.1.0]
1215
1216
1217
1218## [0.25.0-0.1.0](https://github.com/aeternity/aepp-sdk-js/compare/0.25.0-0.1.0-next...0.25.0-0.1.0) (2018-11-30)
1219
1220
1221### Features
1222
1223* **Utils** Parsing of `fee` using `bignum.js`
1224* **Account** Add `networkId` as param to `Account` flavor(default: `ae_mainnet`)
1225* **Tx** Implement native build of `AENS` transaction.
1226* **Keystore** Update keystore for new [requirements](https://www.pivotaltracker.com/n/projects/2124891/stories/155155204)
1227
1228
1229### BREAKING CHANGES
1230
1231* **CLI** [AE CLI](https://github.com/aeternity/aecli-js) and [AE PROJECT CLI](https://github.com/aeternity/aeproject) moved to separate repos and packages
1232* **Node** Support for < 0.25.0
1233
1234
1235
1236## [0.25.0-0.1.0-next](https://github.com/aeternity/aepp-sdk-js/compare/0.24.0-0.2.0...0.25.0-0.1.0-next) (2018-11-30)
1237
1238
1239### Features
1240
1241* **Contract** Contract type checked call (Ability to call contract using contract address)
1242* **Contract** Use ES methods instead of Ramda, where possible
1243
1244### Bug Fixes
1245
1246* **Contract** Fixed keystore by adding a salt param for derivedKey function
1247
1248
1249### Breaking Changes
1250
1251* **Contract** Support for < 0.25.0
1252* **Contract** Aens use domain `.test` instead of `.aet` (see [here](https://github.com/aeternity/aepp-sdk-js/commit/9c252f937f7ea501c4aaacbbef53c4c1833e48e4#diff-8ef3b328d008ef3dbb72a0bca42eba37L24))
1253* **Contract** Use NETWORK_ID for signing (see [here](https://github.com/aeternity/aepp-sdk-js/commit/9c252f937f7ea501c4aaacbbef53c4c1833e48e4#diff-ffb275ebb09085c85c59f140998199e0R28))
1254
1255
1256
1257# [0.24.0-0.2.0](https://github.com/aeternity/aepp-sdk-js/compare/v0.24.0-0.1.0...v0.24.0-0.2.0) (2018-10-30)
1258
1259
1260
1261### Features
1262
1263* **Rpc** RPC Client improvements
1264* **Rpc** `onContract` Guard
1265* **CLI** born
1266* **CLI** `Host` parameter became `Url`. (`-u` for hostname, `-U` for internal)
1267* **CLI** New keystore following these specifications: https://www.pivotaltracker.com/n/projects/2124891/stories/155155204
1268
1269
1270### BREAKING CHANGES
1271
1272* **Chore** The `Cli` flavor is now `Universal`
1273* **Chore** the keypair keys changed from `{ pub, priv }` to `{ publicKey, secretKey }` for consistency with other systems using them (eg. AirGap and [HD Wallet](https://github.com/aeternity/hd-wallet-js))
1274
1275### Notes and known Issues
1276
1277* **Chore** CLI and AE PROJECT CLI will move to a separate package
1278
1279
1280
1281
1282# [0.24.0-0.1.0](https://github.com/aeternity/aepp-sdk-js/compare/0.22.0-0.1.0-beta.1...v0.24.0-0.1.0) (2018-10-23)
1283
1284
1285### Features
1286
1287* **Node** Full support of [Node-0.24.0](https://github.com/aeternity/aeternity/releases/tag/v0.24.0)
1288* **CLI** Develop `decode base58` address command in `crypto` module
1289* **CLI** Add `nonce` param to all tx command's
1290* **CLI** Add `gas` param to `deploy` and `call` commands
1291* **Tx** Add ability to create `spend` transaction natively
1292* **Keystore** Implement `ethereum keystore` using `AES-126-CTR` and `SCRYPT` as key derivation function
1293* **CLI** Change `--privateKey` to `flag` on `ACCOUNT ADDRESS` command
1294* **Build** Change `node version` in `Dockerfile`
1295* **Node** API endpoints to meet new Node specifications
1296* **Chore** Update `docco` config and change `rename` package to `recursive-rename`
1297* **Docs** Improved documentation
1298
1299
1300### BREAKING CHANGES
1301
1302* **Node** Support for < 0.24.0
1303* **Keystore** `ethereum keystore` usage will be removed in the next release
1304* **CLI** CLI will move to a separate package
1305
1306
1307
1308# [0.22.0-0.1.0-beta.1](https://github.com/aeternity/aepp-sdk-js/compare/v0.18.0-0.1.1...0.22.0-0.1.0-beta.1) (2018-10-02)
1309
1310### Features
1311
1312* **CLI** Add **CLI** implementation
1313* **Crypto** nameId function for commitment hash calculations
1314* **Node** API endpoints to meet new Node specifications
1315* **Tx** Add Nonce calculation on SDK side
1316* **Contract** Add check for MAX_GAS in call and deploy contract
1317* **Chore** change hash prefix separator from $ to _
1318* **Chore** Add keywords ('SDK', 'CLI') to package.json
1319* **CLI** Link aecli to `./bin/aecli.js` in package.json (After "npm link" you can use CLI globally)
1320* **Aens** Wait until pre-claim transaction block was mined before send claim transaction
1321* **Build** Updated `webpack`, `webpack-cli` and added new dev deps accordingly
1322* **Node** Add Node Compatibility Check
1323
1324### Bug Fixes
1325
1326* **Crypto** Fixes commitment hash calculations in naming system, to be `Hash(nameId(name) + name_salt)` instead of `Hash(Hash(name + name_salt))`.
1327
1328### BREAKING CHANGES
1329
1330* **Node** Support for < 0.22.0
1331
1332
1333
1334# [0.18.0-0.1.1](https://github.com/aeternity/aepp-sdk-js/compare/v0.18.0-0.1.0...v0.18.0-0.1.1) (2018-07-31)
1335
1336### Features
1337
1338* **Docs** Lots of new documentation (prose and API)
1339* **Docs** Fancy badges to README
1340* **Build** Transitive dev dependencies for standard-loader not covered by pnpm
1341* **Build** CI Dockerfile to include pnpm
1342* **Docs** Fancy-shmancy diagram in README
1343* **Docs**Generated documentation files since they are linked in static docs
1344* **Build** Switch from Yarn to pnpm for building
1345* **Docs** Structure of documentation
1346* **Docs** Generate Markdown from Docco
1347
1348
1349
1350# [0.18.0-0.1.0](https://github.com/aeternity/aepp-sdk-js/compare/v0.15.0-0.1.0...v0.18.0-0.1.0) (2018-07-24)
1351
1352
1353### Features
1354
1355* **Node** Support for Node 0.18.0 (changed endpoints)
1356* **RPC** Wallet/Aepp RPC support
1357* **Contract** Contract call result decoding support
1358* **Docs** Per-module API documentation (Markdown based on JSDoc)
1359* **Docs** More API documentation (still incomplete)
1360* **Build** SDK entrypoint factories (in `/es/ae/universal.js`)
1361* **Build** Module load path (src -> es)
1362* **Chore** Lower mining rate (5s) in docker-compose
1363
1364
1365### Bug Fixes
1366
1367* **Crypto** Symmetric key encryption/decryption
1368
1369
1370### BREAKING CHANGES
1371
1372* **Node** Support for < 0.18.0 (changed endpoints)
1373
1374
1375
1376
1377# [0.15.0-0.1.0](https://github.com/aeternity/aepp-sdk-js/compare/v0.14.0-0.1.0...v0.15.0-0.1.0) (2018-06-12)
1378
1379
1380### Features
1381
1382* **Node** Legacy Swagger file loading
1383* **Node** Compatibility with < 0.15.0
1384
1385
1386### Bug Fixes
1387
1388* **Contract** Contract unit state initialization
1389* **Node** Missing required parameter for name transfers (workaround for
1390 [Swagger file bug](https://www.pivotaltracker.com/n/projects/2124891))
1391
1392
1393
1394# [0.14.0-0.1.0](https://github.com/aeternity/aepp-sdk-js/compare/v0.13.0-0.1.1...v0.14.0-0.1.0) (2018-06-11)
1395
1396
1397### Features
1398
1399* **API** New, opinionated top-level API
1400* **API** Rest of legacy API now uses new API as well
1401* **API** Generated API now encapsulated in `api` object
1402* **API** Automatic case conversion for remote parameter names
1403* **API** Remaining tests to use new API
1404* **API** Adapted new method of obtaining transaction hash, breaks compatibility (see
1405 below)
1406
1407
1408### Bug Fixes
1409
1410* **API** [GH-49]: Handle existing path components correctly
1411
1412
1413### BREAKING CHANGES
1414* **API** Remove Oracle API (for the time being)
1415* **API** Remove Legacy API and tests
1416* **API** Remove Compatibility with older versions of Node which provide the transaction hash
1417 the old way
1418
1419
1420
1421# [0.13.0-0.1.1](https://github.com/aeternity/aepp-sdk-js/compare/v0.13.0-0.1.0...v0.13.0-0.1.1) (2018-05-24)
1422
1423
1424### Features
1425
1426* **Node** Switch to curve ed25519 (from secp256k1) to align with Node protocol changes
1427* **Node** Generate basic API directly from Swagger files, also validate input data
1428* **Build** Compiled library now self-contained with all dependencies
1429* **Build** Use Webpack 4 based cross-platform (Node/Web) compilation
1430* **Docs** Package description now reads `SDK for the æternity blockchain`
1431* **Chore** Authors are now taken from `AUTHORS` instead of `package.json`
1432* **Docs** Moved code examples from README to separate file in docs
1433
1434
1435### BREAKING CHANGES
1436
1437* **Node** Defunct scripts; will be brought back later
1438
1439
1440### Bug Fixes
1441
1442* **Chore** More consistent code examples
1443
\No newline at end of file