Releases: aeternity/aepp-sdk-js
Releases · aeternity/aepp-sdk-js
v9.0.1
v9.0.0
Changelog
9.0.0 (2021-09-30)
⚠ BREAKING CHANGES
- drop following AENS delegation signature methods over the new common
createAensDelegationSignature
implementation which accepts an object as param (456fe00)delegateNamePreclaimSignature
delegateNameClaimSignature
delegateNameTransferSignature
delegateNameRevokeSignature
- drop following oracle delegation signature methods over the new common
createOracleDelegationSignature
implementation accepts an object param (88b7bf3)delegateOracleRegisterSignature
delegateOracleExtendSignature
delegateOracleRespondSignature
- drop
assertedType
, usedecode
instead (00d563f) - drop
waitMined
static method (2f299de) - tx-validator now gives different, more meaningful, errors (95a2a23)
- no longer exports buildHash function, use hash or buildTxHash (9e1fde7)
- tx-verification is now done by default (989b36f)
Features
payForTransaction
method (fbf204d)- deposit-trap: enforce zero value for
deposit
during contract deploy (cfb5f22)
Maintenance
- change default gas limit to 25000 (831e4dd)
Bug Fixes
- AENS: name length minimum bid fee (db6ca4c)
- delegate-signature: stop using the default account in the context of signing (29d760e)
- mustAccountStamp: process accounts only if supplied (10ec2c3)
- swagger https issue (3a876bb)
- tx serialisation: accept unpackTx output produced by deserialisator (ff0b3f5)
v8.2.1
v8.2.0
⚠ BREAKING CHANGES
- aens: default iris aens NAME_TTL 180000
- crypto: remove outdated generateSaveWallet function
- crypto: remove unused prepareTx, encodeTx, decodeTx functions
- crypto: remove unused hexStringToByte function
- crypto: rename messageToBinary to messageToHash adding hashing
- crypto: drop extra "personal" from message functions
- crypto: remove unused formatAddress function
- crypto: remove unused addressToHex function
- node-pool: inline helpers, export by default
- string: use isAddressValid instead of isAeAddress
- string: remove unused snakeOrKebabToPascal function
- drop outdated protocols and transactions schemas
- drop compatibility with node@5
Bug Fixes
- export aepp-wallet-communication (d5d741c)
- ponyfill
Buffer
in browser (953bf08) - ponyfill
process
in browser (798ab63) - rlp: import as it is (736b0f5)
- typo name of broadcast failed error generator (ae7e823)
- examlple-aepp: open only when ready to accept connection (4872eb9)
Refactoring
- crypto: drop extra "personal" from message functions (34288cb)
- crypto: remove outdated generateSaveWallet function (37298be)
- crypto: remove unused addressToHex function (93f9def)
- crypto: remove unused formatAddress function (a5d4b62)
- crypto: remove unused hexStringToByte function (ed39a76)
- crypto: remove unused prepareTx, encodeTx, decodeTx functions (64d15eb)
- crypto: rename messageToBinary to messageToHash adding hashing (df37004)
- node-pool: inline helpers, export by default (ed1cfb5)
- string: remove unused snakeOrKebabToPascal function (79bdc04)
- string: use isAddressValid instead of isAeAddress (ac7d827)
- drop compatibility with node@5 (f5e2fdb)
- drop outdated protocols and transactions schemas (f18d305)
8.1.0
8.0.0
8.0.0-beta.2
8.0.0-beta.1
Important changes
- Iris compatibility (compatible with nodes >= 5.2.0 < 7.0.0)
- initial TypeScript support (not enough type definitions yet)
- documentation is generated using MkDocs on Travis
BREAKING CHANGES
- Drop old aepp-wallet RPC interface (254f5a93)
- refactor: don't retrieve account from process.env (59e5c9b5)
- refactor(crypto): don't reexport RLP methods (c6004bc7)
- refactoring: remove legacy contractDecodeDataAPI compiler method (dfadac8d)
- refactor: rename
forceCompatibility
to more clearignoreVersion
(72f1d326) - refactoring: require compiler above or equal to 4.1.0 (c9f48f91)
- RpcClient: Drop unnecessary action stuff (84545fd7)
- Combine RpcWallet and RpcClients (12892002)
- Drop old names support, split ensureNameValid and isNameValid (315a78a9)
- refactor(contract-aci): export single function instead of stamp (091b3282)
- Combine Accounts and Selector into AccountMultiple (0cacd3b3)
- Use swagger-client instead of a custom implementation (4b3260d5)
- Remove OracleNodeAPI wrapper (c6f9a76d)
- Flatten options of contractCallStatic, remove extra dryRunContractTx (f3ffb664)
- txDryRun: Simplify arguments, support
txEvents
option (401c53da) - contracts: Mark handleCallError as private, simplify arguments (bdf76e24)
- import/no-named-as-default linter error (d63e1511)
- oracle: make pollForQueries a sync function (dc955e14)
- chore: drop aevm support and backend (compiler) option (6eb702dd)
- refactor(schema): export enum with consensus protocol versions (e92f187d)
Features
- swagger: allow to provide external specification (683082b3)
- swagger: make compatible with OpenAPI 3 (1d83f1a4)
- switch to v3 endpoints on Iris (eca6697b)
- traverse-keys: add keysOfValuesToIgnore option as a workaround (8ff5afe4)
- Use es modules version in browser if supported (b49c38f0)
- Add typescript support (abde033a)
Docs
- contract: fix default backend value (9fcbeb32)
- wallet-iframe: fix disconnect button (59014bd0)
- examples-browser: rearrange files and docs (985e3b96)
- use relative links between docs pages (d34d8181)
- remove outdated aecrypto example (7df05bfe)
- refactor node examples (e8c443cf)
- changelog: add missed single quote in example (45fd0002)
- resolveName: Document verify option (ca865596)
- Remove outdated docs (cf9c166f)
- decodeTx: Fix arg naming and annotation (883819c0)
- contract-events: Remove outdated contract, update links and markup (37d39d61)
- Update docs/guides/import-nodejs.md (9dc274ed)
- Update docs/guides/import-nodejs.md (93bfce11)
- break down json obj keys necessary for account initialization in nodejs docs (af5ee41d)
- Ignore pycache in the docs folder (9989e8e7)
- Specify the python version more precisely (d6204523)
- Add pycache to .gitignore (f0b7e1f1)
- Add navigation and update some titles (8ad15ced)
- docco template: Remove extra new lines around code, skip extra blocks (65ce3cf1)
- aecontract: Make a list out of a long sentence (8ff7839c)
- aens-usage: Use more semantic markup, compatible with mkdocs (de3d3cd5)
- docs readme: Fix typos and formatting (5b0c790d)
- Add initial mkdocs and readthedocs configuration (b688a96b)
- Extract quick-start to guides (28f7e6f7)
- Update testnet URL (7bb823f8)
- assertedType: Make the last parameter more obvious (50094d3a)
- travis: Build docs to gh-pages (7c935a2b)
- Docs root: Add link to API reference (4a36102d)
- Move outdated disclaimer to the root readme (80a6a663)
- Remove generated docs (fd802b00)
- Fix api docs generation (56e3aa9d)
Code Refactoring
- use BigNumber constructor instead of custom wrapper (4488b4d7)
- avoid extra object nesting (f99d3045)
- compiler: use swagger file (0d821614)
- semver-satisfies: remove extra splitting by dash (35d5c11a)
- remove extra char in regex (37eeefae)
- refactor wallet detector (1bc8d027)
- shareWalletInfo: Don't create unnecessary copy of info (3a4e50b9)
- Inline receive helper that is used once (a4a13889)
- rpc: Inline helpers used once (21903f4d)
- rpc: Prefer default export (70fc3f0f)
- rpc helpers: Remove unused getWindow function (c12b528f)
- don't use AsyncInit where it is not necessary (84373697)
- contract-aci: reuse defaults from Contract stamp (47013962)
- cleanup MIN_GAS_PRICE (a5b28842)
- remove unused option string (0e28af23)
- remove unused dryRunAccount default option (8c42b706)
- Consistent new on Error creation (39f93d3f)
- height: Use a shorter syntax (b013bf9d)
- height: Improve naming of internal promise (7915119a)
- Move source code to "src" folder (ddbce389)
- sign-using-ga: don't pass extra options (44bab6d0)
Bug Fixes
- traverse-keys: add missed null check (7b724b86)
- swagger: add workaround to get transaction details of GAAttachTx (bb7ec479)
- top-block: use getTopHeader on Iris, mark deprecated (2b410257)
- nonce-verification: add missed space ([3f244df](https://github.com/a...
7.7.0 (2020-08-18)
Features
- transferFunds: Accept onAccount option (#1060)
- bigNumberToByteArray: Avoid unexpected behaviour by throwing exception (#1066)
- example: Add disconnect button on wallet side (#1056)
Code Refactoring
- Use external version of json-bigint (#1033)
- Make tests configuration more flexible (#1037)
- test-else: Exclude aens tests and speedup jobs (#1040)
- Avoid unnecessary eslint-disable (#1043)
- Add lint script (#1045)
- Refactor tests (#1039)
- Refactor bytes unit tests (#1050)
- travis: Run linter and unit tests firstly (#1051)
- Disable Travis on all branches except master, develop (#1054)
- Refactor contract, oracle, chain (#1048)
- Refactor state channels (#1047)
Docs
- Fix typo in Readme.md (#1053)
7.6.0 (2020-07-22)
Features
- wallet-detector: allow to connect wallet to aepp between iframes (3f74a05)