Skip to content

Commit

Permalink
v0.21.0 release (#677)
Browse files Browse the repository at this point in the history
* v0.21.0 release changelog

* Updated changelog
  • Loading branch information
rg911 authored Sep 25, 2020
1 parent bfbbe11 commit 0a82497
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 9 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,34 @@ 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/).

## [0.21.0] - 25-Sep-2020

**Milestone**: Catapult-server finality(0.10.0.3)
Package | Version | Link
---|---|---
SDK Core| v0.21.0 | [symbol-sdk](https://www.npmjs.com/package/symbol-sdk)
Catbuffer | v0.0.22 | [catbuffer-typescript](https://www.npmjs.com/package/catbuffer-typescript)
Client Library | v0.10.0-3 | [symbol-openapi-typescript-fetch-client](https://www.npmjs.com/package/symbol-openapi-typescript-fetch-client)

- **[BREAKING CHANGE]** Updated `MetadataRepository` replacing old endpoints with new search endpoint.
- **[BREAKING CHANGE]** Updated `ReceiptRepository` replacing old endpoints with new search endpoint.
- **[BREAKING CHANGE]** Updated `ChainRepository` merging Height and Score into Info object. Added finalized block information.
- **[BREAKING CHANGE]** Updated `RestrictionMosaicRepository` replacing old endpoints with new search endpoint.
- **[BREAKING CHANGE]** Updated `RestrictionAccountRepository` removed `getAccountRestrictionsFromAccounts` endpoint.
- **[BREAKING CHANGE]** Updated `TransactionRepository` search endpoint. Added `fromHeith` and `toHeight` search criteria.
- **[BREAKING CHANGE]** Updated `toDTO` method in `Message` class. Removed `payload` and `type` returns only message string in hexadecimal format.
- **[BREAKING CHANGE]** Updated property names in `BlockInfo`:
1. Changed ``numTransactions`` to ``totalTransactionsCount``.
2. Changed ``numStatements`` to ``statementsCount``.
3. Added ``transactionsCount``.
- **[BREAKING CHANGE]** Removed `totalPages` and `TotalEntries` from 'Page' object for all pagination endpoints.
- Added `SecretLockRepository` and `HashLockRepository`
- Added support for topic/data payload wrapper in WS Listener allowing users to reuse the connection for different channels.
- Added `finalizedBlock` WS Listener subscription
- Added [symbol-bootstrap](https://github.com/nemtech/symbol-bootstrap) integration for automated e2e testing.
- Fixed bug in websocket listener's `isOpen()` method for injected ws instance.
- Updated `message` extraction method (internal) which now takes message string (hex) rather than object from rest response payload.

## [0.20.7] - 14-Aug-2020

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

- Initial code release.

[0.21.0]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.20.7...v0.21.0
[0.20.7]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.20.6...v0.20.7
[0.20.6]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.20.5...v0.20.6
[0.20.5]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.20.4...v0.20.5
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ The Symbol SDK for TypeScript / JavaScript allows you to develop web, mobile, an

## Important Notes

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

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**.
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**.

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**.
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**.

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

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"ripemd160": "^2.0.2",
"rxjs": "^6.5.3",
"rxjs-compat": "^6.5.3",
"symbol-openapi-typescript-fetch-client": "0.10.0-SNAPSHOT.202009251042",
"symbol-openapi-typescript-fetch-client": "0.10.0-3",
"tweetnacl": "^1.0.3",
"utf8": "^3.0.0",
"ws": "^7.2.3"
Expand Down
4 changes: 2 additions & 2 deletions src/infrastructure/RepositoryFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export interface RepositoryFactory {
getNetworkType(): Observable<NetworkType>;

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

Expand Down

0 comments on commit 0a82497

Please sign in to comment.