Skip to content

Releases: symbol/symbol-sdk-typescript-javascript

v0.17.2 Release

02 Mar 18:44
Compare
Choose a tag to compare

Milestone: Fushicho.4(RC3 0.9.3.1)
Versions | |
---|---|---
SDK Core| v0.17.2 | https://www.npmjs.com/package/symbol-sdk
Catbuffer | v0.0.11 | https://www.npmjs.com/package/catbuffer-typescript
Client Library | v0.8.5 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client

  • [BREAKING CHANGE] Added s-part of transaction signature to transaction hash.
  • Added numStatements to blockInfo model.
  • Fixed mosaicNonce issue in createTransactionFromPayload.
  • Improved error handling in WS listener and TransactionService.
  • Improved test coverage.

V0.17.0 Key derivation and signing hash update

18 Feb 23:04
Compare
Choose a tag to compare

17-Feb-2020

Milestone: Fushicho.4(RC3 0.9.3.1)
Versions | |
---|---|---
SDK Core| v0.17.0 | https://www.npmjs.com/package/nem2-sdk
Catbuffer Library| v0.0.11 | https://www.npmjs.com/package/catbuffer
Client Library | v0.8.4 | https://www.npmjs.com/package/nem2-sdk-openapi-typescript-node-client

  • [BREAKING CHANGE] Changed hashing algorithm to cope catapult-server changes. All Key derivation and signing are now using SHA512. Removed SignSchema so NetworkType is no longer bonded to the schema anymore (sha3 / keccak). This change will affect all existing keypairs / address (derived from public key) and transaction signatures.
  • [BREAKING CHANGE] Added new TransactionFilter parameter to AccountHttp which is now support filtering with list of transaction type.
  • Added GenerationHash to the payload in node/info endpoint.
  • Added enum for block merkle path item positions (left / right) to replace previous number type value (1 / 2).
  • Added new BlockService for Transaction and Receipt block merkle proof auditing.
  • Added new node type Dual to the existing RoleTypeEnum.
  • Added new endpoint node/health in NodeHttp.
  • Moved getStorageInfo and getServerInfo from DiagnosticHttp to NodeHttp repository.
  • Improved e2e testing by using async / await.
  • General legacy code refactoring and cleanup.

v0.16.5 Fixed circular reference issue

30 Jan 21:48
Compare
Choose a tag to compare

30-Jan-2020

Milestone: Fushicho.4(RC3)
Versions | |
---|---|---
SDK Core| v0.16.5 | https://www.npmjs.com/package/nem2-sdk
Catbuffer Library| v0.0.11 | https://www.npmjs.com/package/catbuffer
Client Library | v0.7.20-beta.7 | https://www.npmjs.com/package/nem2-sdk-openapi-typescript-node-client

  • Fixed circular reference issue after removed InnerTransaction class.

v0.16.4 Core 0.9.2.1 compatible

30 Jan 10:17
Compare
Choose a tag to compare

30-Jan-2020

Milestone: Fushicho.4(RC3)
Versions | |
---|---|---
SDK Core| v0.16.4 | https://www.npmjs.com/package/nem2-sdk
Catbuffer Library| v0.0.11 | https://www.npmjs.com/package/catbuffer
Client Library | v0.7.20-beta.7 | https://www.npmjs.com/package/nem2-sdk-openapi-typescript-node-client

  • Core 0.9.2.1 compatible. Changed hash algorithm for shared key derivation to HKDF-HMAC-Sha256.
  • Removed senderPrivateKey in Persistent Delegation Request Transaction. Instead, it uses an ephemeral key pair and the EphemeralPublicKey is now attached in the PersistentDelegationMessage payload.
  • Removed salt encryption and decryption functions which uses HKDF-HMAC-Sha256 instead. This only affects the encrypted payload.
  • Added missing export in Infrastructure classes / interfaces.
  • Applied latest catbuffer builder codes for ResolutionStatement.
  • Updated TransactionType & TransactionVersion enum key name to match catabuffer schema definition.
  • Changed signature type for Height from numeric string to UInt64 in Block & Receipt respostiories
  • Fixed a few ts lint issues.

v0.16.3 ES6 support in openAPI library

10 Jan 09:32
Compare
Choose a tag to compare

09-Jan-2020

Milestone: Fushicho.3
Versions | |
---|---|---
SDK Core| v0.16.3 | https://www.npmjs.com/package/nem2-sdk
Catbuffer Library| v0.0.7 | https://www.npmjs.com/package/catbuffer
Client Library | v0.7.20-beta.6 | https://www.npmjs.com/package/nem2-sdk-openapi-typescript-node-client

  • Fixed http client (OpenAPI client package) does not support ES6 issue.

v0.16.2 Generated code refactory

06 Jan 18:25
Compare
Choose a tag to compare

06-Jan-2020

Milestone: Fushicho.3
Versions | |
---|---|---
SDK Core| v0.16.2 | https://www.npmjs.com/package/nem2-sdk
Catbuffer Library| v0.0.7 | https://www.npmjs.com/package/catbuffer
Client Library | v0.7.20-alpha.6 | https://www.npmjs.com/package/nem2-sdk-openapi-typescript-node-client

  • Refactored to replace generated codes by public library package for both Catbuffer and OpenAPI Http Client.
  • Added unresolved (mosaicId, address) support in MosaicRestrictionTransaction.
  • Added toHex() in MosaicNonce class.
  • Exposed MultisigAccountGraphInfo class constructor to public.
  • Fixed transaction status issue in both Http and Websocket due to schema update.

v0.16.1 latest cabuffer and http repository applied

23 Dec 17:06
Compare
Choose a tag to compare

[0.16.1] - 23-Dec-2019

Milestone: Fushicho.3

  • Added basic operations for UInt64 (Add(), Substract()).
  • Added RepositoryFactoryHttp which creates concrete http classes in a factory patten.
  • Added NetworkType and GenerationHash cache for all Http repositories which reduces the number of rest calls.
  • Added static mathod to create SimpleWallet from rest DTO payload.
  • Added TransactionType filter in AccountHttp which can be used for filtering account transactions by type.
  • Added IntegrationTestHelper which optimised e2e / integration tests by automatically tracking the changes from catapult rest. Also support loading test accounts directly from catapult-bootstrap-server generated nemesis addresses.
  • Replaced Records limitation steps (25,50,75,100) with just number input.
  • Fixed TrandactionStatus not returning correct error code bug.
  • Fixed spread operation issue in SetMaxFee and ResolveAlias which results in missing super class properties bug.
  • Fixed epochAdjustment static value not in UTC bug.
  • Fixed known issues in Catbuffer Typescript Generator over EntityTypeDto and AggregateTransactionBuilder. Aggregate transaction's InnerTransactions and Cosignatures are now in array format (EmbeddedTransactionBuilder and CosignatureBuilder) instead of using Uint8Array.

v0.16.0 Fushicho.3

09 Dec 14:59
Compare
Choose a tag to compare

[0.16.0] - 09-Dec-2019

Milestone: Fushicho.3

  • Added epochAdjustment introduced in catapult-server v0.9.1.1 (Fushicho.3)
  • Added setMaxFee to Transaction which calculate max transaction fee using feeMultiplier * transaction.size.
  • Optimised resolveAlias implementation in transaction using object spread operator.
  • Fixed couple of bugs in blockHttp and unit tests
  • Fixed travis-CI issue
  • Fixed coveralls always return 100% issue

v0.15.1 TransactionService

06 Dec 14:41
Compare
Choose a tag to compare

[0.15.1] - 06-Dec-2019

Milestone: Fushicho.2

  • Added networkType as an optional paramter in Http abstract to recude the number of requests to the catapult-rest server
  • Added resolveAlias in transaction for resolving UnresolvedAddress and UnresolvedMosaic inside a transaction.
  • Added TransactionService class.
  • Added resolveAlias service in TransactionService which resolves alias(es) in transaction(s) from block ResolutionStatement.
  • Consolicated transaction announcement and websocket confirmed listener into one service call in TransactionService.
  • Consolidated AggregateBonded tranaction announcement (aggregateBonded + lockFund) into one service call in TransactionService.

v0.15.0 Fushicho2 compatibility

21 Nov 17:17
Compare
Choose a tag to compare

[0.15.0] - 21-Nov-2019

Milestone: Fushicho.2

  • Applied latest Fushicho2 schema changes to both transaction serialization and http client codes.
  • Added addCosignatures method for filling cosignatures offline.
  • Added compare function in UInt64 class for unsigned 64 bytes numbers comparison.