Skip to content

Commit b41aaed

Browse files
rg911fboucquezdgarcia360decentraliserTravis CI User
authored
0.19.1 Release (#578)
* Post Release (#519) * v0.17.4 (#514) * Created `network` folder for network models * Fixed lint after files moved * Applied openAPI 0.8.7 changes * Added tests * Use UInt64 in retalFees * Fixed #455 Make namespace max depth configurable in idGenerator * - Fixed parser bug - Use rest json payload for unit testing * restored removed tests to cover models * Working on travis release process and ts-doc github deployments * Simplfied BlockHttp Added BlockHttp unit tests Changed travis to just report coveralls from one job * fixed travis * Uploading multiple versions of ts-docs into git hub pages * Improved ChainHttp, added unit tests * Removed maxDepth. Let server run the validation * Added unit tests * FIxed #493 * Added tests * useQuerystring on all https * Fixed github token env variable name Added escape skip flag to avoid republishing the same version Added missing git commit . after version increase * Update README links * Update README.md * Update release.sh * Update README.md * Installing typescript globally * Improved MetadataHttp, added unit tests * fixed #495 * Fixed #501 * fixed #503 * Refactored MosaicService unit test (#510) * Fixed #509 * Added mosaicHttp unit tests * Refactored mosaicHttp to use abstract caller * Add error trapping unit test * removed unused error catcher * add SimpleWallet.toDTO, fixes #504 (#508) * add SimpleWallet.toDTO, fixes #504 * add word2ua test * Update README.md (#512) * v0.17.4 release (#513) * v0.17.4 release * Updated md table header Co-authored-by: Fernando Boucquez <[email protected]> Co-authored-by: David Garcia <[email protected]> Co-authored-by: Decentraliser <[email protected]> * Trigger release build Co-authored-by: Fernando Boucquez <[email protected]> Co-authored-by: David Garcia <[email protected]> Co-authored-by: Decentraliser <[email protected]> * Post release (#520) * v0.17.4 (#514) * Created `network` folder for network models * Fixed lint after files moved * Applied openAPI 0.8.7 changes * Added tests * Use UInt64 in retalFees * Fixed #455 Make namespace max depth configurable in idGenerator * - Fixed parser bug - Use rest json payload for unit testing * restored removed tests to cover models * Working on travis release process and ts-doc github deployments * Simplfied BlockHttp Added BlockHttp unit tests Changed travis to just report coveralls from one job * fixed travis * Uploading multiple versions of ts-docs into git hub pages * Improved ChainHttp, added unit tests * Removed maxDepth. Let server run the validation * Added unit tests * FIxed #493 * Added tests * useQuerystring on all https * Fixed github token env variable name Added escape skip flag to avoid republishing the same version Added missing git commit . after version increase * Update README links * Update README.md * Update release.sh * Update README.md * Installing typescript globally * Improved MetadataHttp, added unit tests * fixed #495 * Fixed #501 * fixed #503 * Refactored MosaicService unit test (#510) * Fixed #509 * Added mosaicHttp unit tests * Refactored mosaicHttp to use abstract caller * Add error trapping unit test * removed unused error catcher * add SimpleWallet.toDTO, fixes #504 (#508) * add SimpleWallet.toDTO, fixes #504 * add word2ua test * Update README.md (#512) * v0.17.4 release (#513) * v0.17.4 release * Updated md table header Co-authored-by: Fernando Boucquez <[email protected]> Co-authored-by: David Garcia <[email protected]> Co-authored-by: Decentraliser <[email protected]> * Trigger release build * Creating new version 0.17.5 Co-authored-by: Fernando Boucquez <[email protected]> Co-authored-by: David Garcia <[email protected]> Co-authored-by: Decentraliser <[email protected]> Co-authored-by: Travis CI User <[email protected]> * LockHashAlgorithm (#522) * Fixed #518 - Added LockHashUtils - Removed Op_Keccak_256 algorithm - Renamed HashType to LockHashAlgorithm - Renamed model field name to be aligned with Catbuffer * Fixed #521 * - Added Hash method with algorithm input - Added unit tests - Added export * Added networkCurrency resolver for e2e tests (#529) * Fixed #523 - Added networkCurrency resolver for e2e tests * trigger travis * Removed metadata size validation (#527) * Fixed #526 - Removed metadata size validation * Added unit tests for coverage * added unit tests * improved coverage * Added check on Account.signData and PublicAccount.verifySignature for hexadecimal (#528) * Fixed #252 - Added check on Account.signData and PublicAccount.verifySignature for hexadecimal * trigger travis * Added isHexadecimal argument to account.signData and publicAccount.verifySignature * Fixed #525 * Removed unused condition * refactored signData and verifySignature * Prettier - ESLint (#531) * eslint and prettier * working on eslint * working on eslint * fixed travis * rolled back md changes * Added unit tests * improved NamespaceHttp * Fixed eslint warnings (#538) * Fixed #535 * Fixed #536 * maxFee in Aggregate transactions (#539) * Fixed #533 - Added setMaxFeeForAggregate - Changed setMaxFee for stand alone tx only - Addes getMaxCosignatures - Added getNetworkMaxCosignaturesPerAggregate * Fixed typo * Fixe typo * Fixed PR review comments * Added tests * Fixed #507 (#541) * upgrade crypto-js to v4.0.0, add AESEncryptionService and apply it to SimpleWallet, fixes #524 (#530) * upgrade crypto-js to v4.0.0, add AESEncryptionService and apply it to SimpleWallet, fixes #524 * remove passwordToPrivateKey, rename toMobileKey by encryptPBKDF2 * accept string as password in AESEncryptionService * remove unused functions in Crypto, merge AES Encryption service into Crypto Co-authored-by: Steven Liu <[email protected]> * Alias resolution for accountHttp (#540) * Fixed #499 - Added AccountService * Fixed e2e tests * Fixed lints * Fixed years * another year fix * Chaned to use address array and reduce rest calls * handle empty array * Fixed typos * more typo fix * Fixed function name * v0.18.0 release * Creating new version 0.18.1 * update js docs * Return distinct cosignature count in aggregateTransactionService (#552) * Fixed #551 * improved coverage * added test in account service * fix typo (#555) Co-authored-by: Steven Liu <[email protected]> * Gorilla 1 key link transactions and block header updates (#549) * Applied catbuffer-typescript v0.0.12 * Added voting & vrf key link transactions * Updated catbuffer to 0.0.13 * Applied catbuffer-typescript v0.0.12 * Added voting & vrf key link transactions * Updated catbuffer to 0.0.13 * Fixed #556 * Updated catbuffer-typescript lib * Fixed #558 - Added NodeLinkTransaction * Fixed #550 - Added block header patch from gorilla 1 * Changed to use supplementalAccountKeys * Fixed dto bug in network properties * Fixed #565 - Added new chain properties * Fixed #563 - Renamed AccountLinkTransaction to AccountKeyLinkTransaction * Updated repoFactory to use node/info for generationHash * Fixed tests * Renamed gernationHashSeed * - Fixed issues in e2e tests - Removed incomingTransactionType flags in restriction * Added shx for cross platform build purposes * Test coverage * 0.19.0 release (#567) * v0.19.0 release note * v0.19.0: Gorilla.1 schema updates * Updated changelog * Fixed #571 (#572) - Added signature and signer to loadFromPayload * Listener (WS) refactoring (#570) * Fixed #569 - Listener filter on recipientAddress and target addresses (publicKeys) - Now resolving alias * Improved listener: 1) Added transaction hashes to the subscription 2) Reused methods when subscriptions are the same 3) Improved how aliases are loaded (lazy on demand) * Refactored regard PR feedbacks * typo fixed * Bugs fixed to use super.isSigned Co-authored-by: fernando <[email protected]> * Patched with latest catbuffer and openAPI (#576) * Fixed #575 - Patched with latest catbuffer and openAPI * Fixed typo * Split AccountRestrctionFlags into 3 specific flags (#573) * Fixed #568 Split AccountRestrctionFlags into 3 specific flags * Listener (WS) refactoring (#570) * Fixed #569 - Listener filter on recipientAddress and target addresses (publicKeys) - Now resolving alias * Improved listener: 1) Added transaction hashes to the subscription 2) Reused methods when subscriptions are the same 3) Improved how aliases are loaded (lazy on demand) * Refactored regard PR feedbacks * typo fixed * Bugs fixed to use super.isSigned Co-authored-by: fernando <[email protected]> * Patched with latest catbuffer and openAPI (#576) * Fixed #575 - Patched with latest catbuffer and openAPI * Fixed typo * Fixed #568 Split AccountRestrctionFlags into 3 specific flags * Fixed rebase conflicts * Updated alpha version Co-authored-by: fernando <[email protected]> * 0.19.1 release (#577) Co-authored-by: Fernando Boucquez <[email protected]> Co-authored-by: David Garcia <[email protected]> Co-authored-by: Decentraliser <[email protected]> Co-authored-by: Travis CI User <[email protected]> Co-authored-by: decentraliser <[email protected]>
1 parent bfde2d4 commit b41aaed

File tree

112 files changed

+4700
-717
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+4700
-717
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,45 @@ All notable changes to this project will be documented in this file.
33

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

6+
## [0.19.1] - 21-May-2020
7+
8+
**Milestone**: Gorilla.1(0.9.5.1)
9+
Package | Version | Link
10+
---|---|---
11+
SDK Core| v0.19.1 | https://www.npmjs.com/package/symbol-sdk
12+
Catbuffer | v0.0.19 | https://www.npmjs.com/package/catbuffer-typescript
13+
Client Library | v0.8.11 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client
14+
15+
- **[BREAKING CHANGE]** `RemotePublicKey` has been renamed to `LinkedPublicKey` in `AccountKeyLinkTransaction`.
16+
- **[BREAKING CHANGE]** `AccountRestrictionFlags` has been split into 3 separate flags: `AddressRestrictionFlag`, `MosaicRestrictionFlag` and `OperationRestrictionFlag` for better compile time and runtime validation.
17+
- **[BREAKING CHANGE]** Added `NamaspaceRepository` interface to `Listener` constructor parameters for resolving alias purpose. `Listener` object can still be instantiated by using `RepositoryFactory.createListener()` with no coding change.
18+
- Added `signer` and `signature` as optional parameters to the `create` methods in transaction classes. `TransactionMapping.createFromPayload` is now including `signer` and `signature`.
19+
- Refactored address filter in websocket listener channels which now filters on `recipientAddress`, `targetAccount`, `signerPublicKey` fields in all transaction types. The Listener can filter on `unresolved (alias)` addresses now.
20+
- Added optional `transactionHash` parameter in websocket listener channel subscribers which can be used for specific transaction monitoring now.
21+
22+
## [0.19.0] - 15-May-2020
23+
24+
**Milestone**: Gorilla.1(0.9.5.1)
25+
Package | Version | Link
26+
---|---|---
27+
SDK Core| v0.19.0 | https://www.npmjs.com/package/symbol-sdk
28+
Catbuffer | v0.0.18 | https://www.npmjs.com/package/catbuffer-typescript
29+
Client Library | v0.8.10 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client
30+
31+
- **[BREAKING CHANGE]** `Transaction signing` is now using `GenerationHashSeed` from `NodeInfo` or `NetworkProperties`. GenerationHash on Nemesis block (block:1) is `NOT` used for signing purposes.
32+
- **[BREAKING CHANGE]** Renamed `AccountLinkTransaction` to `AccountKeyLinkTransaction`.
33+
- **[BREAKING CHANGE]** Renamed `networkGenerationHash` to `networkGenerationHashSeed` in `NodeInfo`.
34+
- **[BREAKING CHANGE]** replaced `linkedPublickKey` with `supplementalAccountKeys` array in `AccountInfo`.
35+
- Added new transaction `VrfKeyLinkTransaction`.
36+
- Added new transaction `VotingKeyLinkTransaction`.
37+
- Added new transaction `NodeKeyLinkTransaction`.
38+
- Added new properties `proofGamma`, `proofScalar`, `proofVarificationHash` in `BlockInfo`
39+
- Added new properties `harvestNetworkPercentage`, `harvestNetworkFeeSinkPublicKey` in `NetworkProperties`.
40+
- Added new `KeyType`: Unset / Linked / VRF / Voting / Node / All.
41+
- Added package `shx` for cross-platform building purpose.
42+
- Fixed `AggregateTransaction.getMaxCosignatures()` to return distinct cosignature set.
43+
- Fixed a few documentaion issues.
44+
645
## [0.18.0] - 20-Apr-2020
746

847
**Milestone**: Fushicho.4(RC3 0.9.3.2)
@@ -460,6 +499,8 @@ Client Library | v0.7.20-alpha.6 | https://www.npmjs.com/package/nem2-sdk-opena
460499

461500
- Initial code release.
462501

502+
[0.19.1]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.19.0...v0.19.1
503+
[0.19.0]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.18.0...v0.19.0
463504
[0.18.0]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.17.4...v0.18.0
464505
[0.17.4]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.17.3...v0.17.4
465506
[0.17.3]: https://github.com/nemtech/symbol-sdk-typescript-javascript/compare/v0.17.2...v0.17.3

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-
### _Fushicho_ Network Compatibility ([email protected].3.2)
12+
### _Gorilla.1_ Network Compatibility ([email protected].5.1)
1313

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

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

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

e2e/infrastructure/RestrictionHttp.spec.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import { MosaicFlags } from '../../src/model/mosaic/MosaicFlags';
2424
import { MosaicId } from '../../src/model/mosaic/MosaicId';
2525
import { MosaicNonce } from '../../src/model/mosaic/MosaicNonce';
2626
import { NetworkType } from '../../src/model/network/NetworkType';
27-
import { AccountRestrictionFlags } from '../../src/model/restriction/AccountRestrictionType';
2827
import { MosaicRestrictionEntryType } from '../../src/model/restriction/MosaicRestrictionEntryType';
2928
import { MosaicRestrictionType } from '../../src/model/restriction/MosaicRestrictionType';
3029
import { AccountRestrictionTransaction } from '../../src/model/transaction/AccountRestrictionTransaction';
@@ -35,6 +34,7 @@ import { MosaicDefinitionTransaction } from '../../src/model/transaction/MosaicD
3534
import { MosaicGlobalRestrictionTransaction } from '../../src/model/transaction/MosaicGlobalRestrictionTransaction';
3635
import { UInt64 } from '../../src/model/UInt64';
3736
import { IntegrationTestHelper } from './IntegrationTestHelper';
37+
import { AddressRestrictionFlag } from '../../src/model/model';
3838

3939
describe('RestrictionHttp', () => {
4040
const helper = new IntegrationTestHelper();
@@ -114,7 +114,7 @@ describe('RestrictionHttp', () => {
114114
it('Announce AccountRestrictionTransaction', () => {
115115
const addressModification = AccountRestrictionTransaction.createAddressRestrictionModificationTransaction(
116116
Deadline.create(),
117-
AccountRestrictionFlags.AllowIncomingAddress,
117+
AddressRestrictionFlag.AllowIncomingAddress,
118118
[account3.address],
119119
[],
120120
networkType,
@@ -175,6 +175,7 @@ describe('RestrictionHttp', () => {
175175
account3.address,
176176
UInt64.fromUint(2),
177177
networkType,
178+
UInt64.fromHex('FFFFFFFFFFFFFFFF'),
178179
helper.maxFee,
179180
);
180181
const aggregateTransaction = AggregateTransaction.createComplete(
@@ -274,7 +275,7 @@ describe('RestrictionHttp', () => {
274275
it('Announce AccountRestrictionTransaction', () => {
275276
const addressModification = AccountRestrictionTransaction.createAddressRestrictionModificationTransaction(
276277
Deadline.create(),
277-
AccountRestrictionFlags.AllowIncomingAddress,
278+
AddressRestrictionFlag.AllowIncomingAddress,
278279
[],
279280
[account3.address],
280281
networkType,

0 commit comments

Comments
 (0)