Skip to content

Commit 0a82497

Browse files
authored
v0.21.0 release (#677)
* v0.21.0 release changelog * Updated changelog
1 parent bfbbe11 commit 0a82497

File tree

5 files changed

+38
-9
lines changed

5 files changed

+38
-9
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@ All notable changes to this project will be documented in this file.
44

55
The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [0.21.0] - 25-Sep-2020
8+
9+
**Milestone**: Catapult-server finality(0.10.0.3)
10+
Package | Version | Link
11+
---|---|---
12+
SDK Core| v0.21.0 | [symbol-sdk](https://www.npmjs.com/package/symbol-sdk)
13+
Catbuffer | v0.0.22 | [catbuffer-typescript](https://www.npmjs.com/package/catbuffer-typescript)
14+
Client Library | v0.10.0-3 | [symbol-openapi-typescript-fetch-client](https://www.npmjs.com/package/symbol-openapi-typescript-fetch-client)
15+
16+
- **[BREAKING CHANGE]** Updated `MetadataRepository` replacing old endpoints with new search endpoint.
17+
- **[BREAKING CHANGE]** Updated `ReceiptRepository` replacing old endpoints with new search endpoint.
18+
- **[BREAKING CHANGE]** Updated `ChainRepository` merging Height and Score into Info object. Added finalized block information.
19+
- **[BREAKING CHANGE]** Updated `RestrictionMosaicRepository` replacing old endpoints with new search endpoint.
20+
- **[BREAKING CHANGE]** Updated `RestrictionAccountRepository` removed `getAccountRestrictionsFromAccounts` endpoint.
21+
- **[BREAKING CHANGE]** Updated `TransactionRepository` search endpoint. Added `fromHeith` and `toHeight` search criteria.
22+
- **[BREAKING CHANGE]** Updated `toDTO` method in `Message` class. Removed `payload` and `type` returns only message string in hexadecimal format.
23+
- **[BREAKING CHANGE]** Updated property names in `BlockInfo`:
24+
1. Changed ``numTransactions`` to ``totalTransactionsCount``.
25+
2. Changed ``numStatements`` to ``statementsCount``.
26+
3. Added ``transactionsCount``.
27+
- **[BREAKING CHANGE]** Removed `totalPages` and `TotalEntries` from 'Page' object for all pagination endpoints.
28+
- Added `SecretLockRepository` and `HashLockRepository`
29+
- Added support for topic/data payload wrapper in WS Listener allowing users to reuse the connection for different channels.
30+
- Added `finalizedBlock` WS Listener subscription
31+
- Added [symbol-bootstrap](https://github.com/nemtech/symbol-bootstrap) integration for automated e2e testing.
32+
- Fixed bug in websocket listener's `isOpen()` method for injected ws instance.
33+
- Updated `message` extraction method (internal) which now takes message string (hex) rather than object from rest response payload.
34+
735
## [0.20.7] - 14-Aug-2020
836

937
**Milestone**: Gorilla.1(0.9.6.4)
@@ -640,6 +668,7 @@ Client Library | v0.7.20-alpha.6 | [nem2-sdk-openapi-typescript-node-client](ht
640668

641669
- Initial code release.
642670

671+
[0.21.0]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.20.7...v0.21.0
643672
[0.20.7]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.20.6...v0.20.7
644673
[0.20.6]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.20.5...v0.20.6
645674
[0.20.5]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.20.4...v0.20.5

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ The Symbol SDK for TypeScript / JavaScript allows you to develop web, mobile, an
99

1010
## Important Notes
1111

12-
### _Gorilla.1_ Network Compatibility (catapult-server@0.9.6.4)
12+
### _Catapult-Server_ Network Compatibility (catapult-server@0.10.0.1)
1313

14-
Due to a network upgrade with [catapult-server@Gorilla](https://github.com/nemtech/catapult-server/releases/tag/v0.9.6.4) version, **it is recommended to use this package's 0.20.7 version and upwards to use this package with Fushicho versioned networks**.
14+
Due to a network upgrade with [catapult-server](https://github.com/nemtech/catapult-server/releases/tag/v0.10.0.1) version, **it is recommended to use this package's 0.21.0 version and upwards to use this package with Fushicho versioned networks**.
1515

16-
The upgrade to this package's [version v0.20.6](https://github.com/nemtech/symbol-sdk-typescript-javascript/releases/tag/v0.20.6) is mandatory for **_Gorilla compatibility**.
16+
The upgrade to this package's [version v0.21.0](https://github.com/nemtech/symbol-sdk-typescript-javascript/releases/tag/v0.21.0) is mandatory for the latest **_Catapult-Server_ compatibility**.
1717

1818
Find the complete release notes [here](CHANGELOG.md).
1919

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"ripemd160": "^2.0.2",
110110
"rxjs": "^6.5.3",
111111
"rxjs-compat": "^6.5.3",
112-
"symbol-openapi-typescript-fetch-client": "0.10.0-SNAPSHOT.202009251042",
112+
"symbol-openapi-typescript-fetch-client": "0.10.0-3",
113113
"tweetnacl": "^1.0.3",
114114
"utf8": "^3.0.0",
115115
"ws": "^7.2.3"

src/infrastructure/RepositoryFactory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export interface RepositoryFactory {
4747
getNetworkType(): Observable<NetworkType>;
4848

4949
/**
50-
* @returns the generation hash used to sign transactions. Value retrieved from the block/1
51-
* endEpoch. This method is cached, the server is only called the first time.
50+
* @returns the generation hash used to sign transactions. Value retrieved from the blocks/1
51+
* endpoint. This method is cached, the server is only called the first time.
5252
*/
5353
getGenerationHash(): Observable<string>;
5454

0 commit comments

Comments
 (0)