Skip to content

v11.0.0

Compare
Choose a tag to compare
@marc0olo marc0olo released this 22 Mar 11:23
· 1478 commits to develop since this release
v11.0.0
996dc29

11.0.0 (2022-03-22)

Request batching: SDK now supports batching transactions

Custom error types: Introduced error types

Naming convention: Instances of the SDK in the examples and tests are now called as aeSdk.

⚠ BREAKING CHANGES

  • return empty array instead of throwing UnsignedTxError
  • rpc: remove forceValidation flag
  • hd-wallet: expect that bip39 used externally
  • hd-wallet: remove default export
  • crypto: make (encode/decode)Base(58/64)Check private
  • use bs58 instead of bs58check
  • update rlp to 3.0.0
  • tx builder: throw exception if deposit is not zero
  • tx schema: remove default NAME_FEE equal to 0
  • tx builder: accept unencoded name in nameClaimTx
  • spelling of GeneralizedAccount
  • aci: remove call/callStatic from deployInfo
  • aci: remove createdAt property generated at client
  • contract: remove deprecated contractCallStatic
  • contract: remove deprecated contractDeploy
  • contract: remove contractCompile
  • contract: remove deprecated contractCall
  • remove deprecated topBlock
  • remove unused functions
  • contract events: remote contract support
  • contract instance: store aci as it is
  • wallet-rpc: inline resolveOnAccount helper
  • aepp-wallet schema: convert to TS
  • aepp-wallet schema: rearrange METHODS enum
  • aepp-wallet schema: remove unused enums
  • contractCompile: remove encodeCall
  • compiler: remove contractEncodeCallDataAPI
  • compiler: remove getCompilerVersion
  • contract: remove compileContractAPI
  • contract: remove contractGetACI
  • contract: remove contractDecodeCallDataByCodeAPI
  • contract: remove contractDecodeCallDataBySourceAPI
  • contract: remove contractDecodeCallResultAPI
  • compiler: remove validateByteCodeAPI
  • compiler: remove getFateAssembler
  • compiler: remove getBytecodeCompilerVersion
  • poll: avoid extra transaction info request to node
  • drop https scheme workaround for hosted compiler
  • node: don't wrap internal endpoints if internalUrl missed
  • tx builder: inline VALIDATION_MESSAGE
  • decodeEvents: accept event schemas as it is in ACI
  • contract: remove already processed fields from decoded events
  • aci: drop redundant per-method event decoding

Features

  • aci: use dry-run to estimate gas and get rich errors (bb6977d)
  • calculate default polling intervals depending on node settings (d9c6cf9)
  • chain: combine multiple dry-run requests at one (ddcdaef)
  • contract events: ability to resolve multiple definitions of event (c5b77fa)
  • contract events: remote contract support (c7599c7)
  • createGeneralizeAccount: estimate gas limit instead of using const (da88852)
  • decode encode: validate base58 prefix and payload length (e836260)
  • error: introduce error types (#1345) (444bb33)
  • package: build es version compatible with node (480c747)
  • poll: use getCheckTxInPool if available (690db5b)
  • swagger: converts operationId in snake case to pascal (e52b739)
  • swagger: split transactions by queues to post batch of txs from one account (0023fc7)
  • tx builder: accept unencoded name in nameClaimTx (eea92be)
  • tx builder: don't require produceNameId to create AENS txs (57ef9c7)
  • tx builder: provide default name fee (18e4bab)
  • validator: check contractId (5e667a5)
  • wallet: add switch for aepp wallet node sharing (b5640d6)
  • wallet: enable aepp to wallet node connection (d87e1fa)
  • wallet: provide switch for aepp wallet node connection (dfbab59)

Bug Fixes

  • aens helpers: improve naming, add additional validations (d2a10e1)

  • babel: compatibility with create-react-app (e4b56fe)

  • babel: depend on buffer package in es build (0ba51e9)

  • babel: don't rewrite import of rlp package for @vue/[email protected] (0fdd296)

  • chain: don't require address function to post transaction (07bc105)

  • channel force progress: add missed binary prefixes (78660d2)

  • channel: ignore messages that can't be handled, print to console (aaad8e3)

  • compatibility: update argon2-browser to version with default export (0e69d8b)

  • compatibility: use blakejs that doesn't refer to Buffer (94f1879)

  • contract events: don't throw error if events emitted by remote (fa1c569)

  • delegate signature: don't encode address depending on onAccount (563a972)

  • dry-run: don't combine requests by default (0f36efc)

  • error: remove duplicate error message (8b4df9a)

  • es: babel build on windows (30f5213)

  • keystore: encoding of hex privateKey, simplify tests (9f3ad6b)

  • spelling of GeneralizedAccount (21c1dd3)

  • tx builder: reject more than 32 pointers (9c06dab)

  • tx builder: throw exception if deposit is not zero (7b3d0e3)

  • aci: drop redundant per-method event decoding (a84d781)

  • aci: remove call/callStatic from deployInfo (84d082d)

  • aci: remove createdAt property generated at client (406684c)

  • aepp-wallet schema: convert to TS (1775e91)

  • aepp-wallet schema: rearrange METHODS enum (8a40105)

  • aepp-wallet schema: remove unused enums (95bf0e9)

  • compiler: remove contractEncodeCallDataAPI (7d02317)

  • compiler: remove getBytecodeCompilerVersion (13283be)

  • compiler: remove getCompilerVersion (fb929f8)

  • compiler: remove getFateAssembler (165d492)

  • compiler: remove validateByteCodeAPI (90ba164)

  • contract instance: store aci as it is (978225e)

  • contractCompile: remove encodeCall (6d0ade5)

  • contract: remove already processed fields from decoded events (45bae5f)

  • contract: remove compileContractAPI (5ae9c62)

  • contract: remove contractCompile (7390629)

  • contract: remove contractDecodeCallDataByCodeAPI (2fe798a)

  • contract: remove contractDecodeCallDataBySourceAPI (8b13f70)

  • contract: remove contractDecodeCallResultAPI (b9fbfa6)

  • contract: remove contractGetACI (23ada71)

  • contract: remove deprecated contractCall (c079e6e)

  • contract: remove deprecated contractCallStatic (1e3ac6d)

  • contract: remove deprecated contractDeploy (08e423e)

  • crypto: make (encode/decode)Base(58/64)Check private (c151183)

  • decodeEvents: accept event schemas as it is in ACI (17b9cc4)

  • drop https scheme workaround for hosted compiler (9fc0a02)

  • hd-wallet: expect that bip39 used externally (f6243ad)

  • hd-wallet: remove default export (951ebb2)

  • node: don't wrap internal endpoints if internalUrl missed (50d7bba)

  • poll: avoid extra transaction info request to node (22c4838)

  • remove deprecated topBlock (4535c07)

  • remove unused functions (8c00de5)

  • return empty array instead of throwing UnsignedTxError (c6bacdf)

  • rpc: remove forceValidation flag (9f958c3)

  • tx builder: inline VALIDATION_MESSAGE (defb7e1)

  • tx schema: remove default NAME_FEE equal to 0 (9d8339a)

  • update rlp to 3.0.0 (bb32b77)

  • use bs58 instead of bs58check (32e836b)

  • wallet-rpc: inline resolveOnAccount helper (1277b5b)