diff --git a/CHANGELOG.md b/CHANGELOG.md index 3eccfba066..ab08c5227e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,14 +3,28 @@ All notable changes to this project will be documented in this file. The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## 17-Feb-2020 +## [0.17.1] - 24-Feb-2020 **Milestone**: Fushicho.4(RC3 0.9.3.1) Versions | | ---|---|--- -SDK Core| v0.17.0 | https://www.npmjs.com/package/symbol-sdk -catbuffer-typescript Library| v0.0.11 | https://www.npmjs.com/package/catbuffer-typescript -Client Library | v0.8.4 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client +SDK Core| v0.17.1 | 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 + +- Rebranded `nem2-sdk` to `symbol-sdk`. Please be noted the package name changes. +- **[BREAKING CHANGE]** Changed `QueryParameters` and `TransactionFilter` to use deconstructed argument (JSON object) in the constructor. +- Added `node/peers` endpoint. +- Fixed security issues reported by github. + +## [0.17.0] - 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 | 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. @@ -23,56 +37,56 @@ Client Library | v0.8.4 | https://www.npmjs.com/package/symbol-openapi-typescri - Improved e2e testing by using `async / await`. - General legacy code refactoring and cleanup. -## 30-Jan-2020 +## [0.16.5] - 30-Jan-2020 **Milestone**: Fushicho.4(RC3) Versions | | ---|---|--- -SDK Core| v0.16.5 | https://www.npmjs.com/package/symbol-sdk -catbuffer-typescript Library| v0.0.11 | https://www.npmjs.com/package/catbuffer-typescript -Client Library | v0.7.20-beta.7 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client +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. -## 30-Jan-2020 +## [0.16.4] - 30-Jan-2020 **Milestone**: Fushicho.4(RC3) Versions | | ---|---|--- -SDK Core| v0.16.4 | https://www.npmjs.com/package/symbol-sdk -catbuffer-typescript Library| v0.0.11 | https://www.npmjs.com/package/catbuffer-typescript -Client Library | v0.7.20-beta.7 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client +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-typescript` builder codes for `ResolutionStatement`. +- 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. -## 09-Jan-2020 +## [0.16.3] - 09-Jan-2020 **Milestone**: Fushicho.3 Versions | | ---|---|--- -SDK Core| v0.16.3 | https://www.npmjs.com/package/symbol-sdk -catbuffer-typescript Library| v0.0.7 | https://www.npmjs.com/package/catbuffer-typescript -Client Library | v0.7.20-beta.6 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client +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. -## 06-Jan-2020 +## [0.16.2] - 06-Jan-2020 **Milestone**: Fushicho.3 Versions | | ---|---|--- -SDK Core| v0.16.2 | https://www.npmjs.com/package/symbol-sdk -catbuffer-typescript Library| v0.0.7 | https://www.npmjs.com/package/catbuffer-typescript -Client Library | v0.7.20-alpha.6 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client +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-typescript` and `OpenAPI Http 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. @@ -92,7 +106,7 @@ Client Library | v0.7.20-alpha.6 | https://www.npmjs.com/package/symbol-openapi - 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 Typescript Generator` over `EntityTypeDto` and `AggregateTransactionBuilder`. Aggregate transaction's `InnerTransactions` and `Cosignatures` are now in array format (`EmbeddedTransactionBuilder` and `CosignatureBuilder`) instead of using `Uint8Array`. +- 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`. ## [0.16.0] - 09-Dec-2019 @@ -209,7 +223,7 @@ Client Library | v0.7.20-alpha.6 | https://www.npmjs.com/package/symbol-openapi - Added Metadata Transactions (Account, Mosaic and Namespace). - Added new account restriction type to support `Outgoing` addresses and transaction types. -- catbuffer-typescript builder codes fully implemented. Flatbuffer codes removed. +- catbuffer builder codes fully implemented. Flatbuffer codes removed. - Models and services updated to be compatible with latest server (milestone Elephant: patch-3) schema updates. - Refactored `Uint64` to support `UInt64 to/from: numeric/hex string`. - Refactored `Signature Schema` to support both `NIS1` and `Catapult`. `Network idendifier` is now used to identify `Signature Schema` on model level. PrivateKey reversal has been removed for `NIS1` schema. @@ -377,6 +391,8 @@ Client Library | v0.7.20-alpha.6 | https://www.npmjs.com/package/symbol-openapi **Milestone**: Alpaca - Initial code release. + +[0.17.1]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.17.0...v0.17.1 [0.17.0]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.16.5...v0.17.0 [0.16.5]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.16.4...v0.16.5 [0.16.4]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.16.3...v0.16.4 diff --git a/README.md b/README.md index 260bb4b8ef..89af4a3918 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,11 @@ with the Symbol (a.k.a Catapult) ### _Fushicho_ Network Compatibility (catapult-server@0.9.3.1) -Due to a network upgrade with [catapult-server@Fushicho](https://github.com/nemtech/catapult-server/releases/tag/v0.9.3.1) version, **it is recommended to use this package's 0.17.0 version and upwards to use this package with Fushicho versioned networks**. +**!!! Please be noted that the NEM2-SDK is rebranded to SYMBOL-SDK now.**. -The upgrade to this package's [version v0.17.0](https://github.com/nemtech/symbol-sdk-typescript-javascript/releases/tag/v0.17.0) is mandatory for **fushicho compatibility**. +Due to a network upgrade with [catapult-server@Fushicho](https://github.com/nemtech/catapult-server/releases/tag/v0.9.3.1) version, **it is recommended to use this package's 0.17.1 version and upwards to use this package with Fushicho versioned networks**. + +The upgrade to this package's [version v0.17.0](https://github.com/nemtech/symbol-sdk-typescript-javascript/releases/tag/v0.17.1) is mandatory for **fushicho compatibility**. You can find the complete changelog [here](CHANGELOG.md). diff --git a/package-lock.json b/package-lock.json index e04330ce14..c34e5bdaf9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "symbol-sdk", - "version": "0.17.0", + "version": "0.17.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bbf3afdff5..73c6bad17a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "symbol-sdk", - "version": "0.17.0", + "version": "0.17.1", "description": "Reactive symbol sdk for typescript and javascript", "scripts": { "pretest": "npm run build",