Releases: symbol/symbol-sdk-typescript-javascript
v0.20.5
[0.20.5] - 30-Jun-2020
Milestone: Gorilla.1(0.9.6.2)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.20.5 | symbol-sdk |
| Catbuffer | v0.0.21 | catbuffer-typescript |
| Client Library | v0.9.4 | symbol-openapi-typescript-fetch-client |
- Added
maxVotingKeysPerAccount,minVotingKeyLifetimeandmaxVotingKeyLifetimein ChainProperties. - Updated fetch client version to
0.9.4.
v0.20.4
[0.20.4] - 29-Jun-2020
Milestone: Gorilla.1(0.9.6.2)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.20.4 | symbol-sdk |
| Catbuffer | v0.0.21 | catbuffer-typescript |
| Client Library | v0.9.3-1 | symbol-openapi-typescript-fetch-client |
- Fixed symbol-openapi-typescript-fetch-client Typescript 3+ compatibility issue.
- Fixed window.fetch default value issue in
RepositoryFactory.
v0.20.3
[0.20.3] - 26-Jun-2020
Milestone: Gorilla.1(0.9.6.2)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.20.3 | symbol-sdk |
| Catbuffer | v0.0.21 | catbuffer-typescript |
| Client Library | v0.9.3 | symbol-openapi-typescript-fetch-client |
- [BREAKING CHANGE] Added
startPointandendPointinVotingKeyLinkTransaction. - [BREAKING CHANGE] Renamed
SupplementalAccountKeystoSupplementalPublicKeys. The newSupplementalPublicKeyshas been changed fromarraytype to anobjectcontaining:linked,node,vrfandvotingkey(s). - [BREAKING CHANGE] Changed to use the SDK's own enums for
order,orderBy,blockOrderByandmeklePosition. - [BREAKING CHANGE] Added
TransactionGroupparameter ingetTransactionsByIdwhich can queryunconfirmedandpartialtransactions now. - Changed base client library from
symbol-openapi-typescript-node-clienttosymbol-openapi-typescript-fetch-clientfor better client / brower usability. There is no need to browserify the packages or special webpack processing - Made
Fetch APIinjectable viaRepositoryFactorywhich works like the injectedwebsocketinListener.
v0.20.2
[0.20.2] - 18-Jun-2020
Milestone: Gorilla.1(0.9.6.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.20.2 | symbol-sdk |
| Catbuffer | v0.0.20 | catbuffer-typescript |
| Client Library | v0.9.2 | symbol-openapi-typescript-node-client |
- Fixed missing
TransactionGroupexport issue. - Added contributors..
- Fixed issues in travis scripts.
v0.20.0
[0.20.0] - 18-Jun-2020
Milestone: Gorilla.1(0.9.6.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.20.0 | symbol-sdk |
| Catbuffer | v0.0.20 | catbuffer-typescript |
| Client Library | v0.9.2 | symbol-openapi-typescript-node-client |
-
[BREAKING CHANGE] Model property name changes:
- MetadataEntry: senderPublicKey: string => sourceAddress: Address; targetPublicKey: string => targetAddress: Address
- MultisigAccountGraphInfo: multisigAccounts => multisigEntries
- MultisigAccountInfo: account: PublicAccount => accountAddress: Address; cosignatories: PublicAccount[] => cosignatoryAddresses: Address; multisigAccounts: PublicAccount[] => multisigAddresses: Address[]
- BlockInfo / NewBlock: beneficiaryPublicKey: PublicAccount | undefined => beneficiaryAddress: Address | undefined
- MosaicId: owner: PublicAccount => ownerAddress: Address
- MosaicInfo: owner: PublicAccount => ownerAddress: Address; height => startHeight.
- NamespaceInfo: owner: PublicAccount => ownerAddress: Address
- ChainProperties: harvestNetworkFeeSinkPublicKey => harvestNetworkFeeSinkAddress
- MosaicNetworkProperties: mosaicRentalFeeSinkPublicKey => mosaicRentalFeeSinkAddress
- NamespaceNetworkProperties: namespaceRentalFeeSinkPublicKey => namespaceRentalFeeSinkAddress
- NetworkProperties: publicKey => nemesisSignerPublicKey
- BalanceChangeReceipt: targetPublicAccount: PublicAccount => targetAddress: Address
- BalanceTransferReceipt: sender: PublicAccount => senderAddress: Address
-
[BREAKING CHANGE] Transaction property name changes:
- AccountMetadataTransaction: targetPublicKey: string => targetAddress: UnresolvedAddress
- MosaicMetadataTransaction: targetPublicKey: string => targetAddress: UnresolvedAddress
- NamespaceMetadataTransaction: targetPublicKey: string => targetAddress: UnresolvedAddress
- MultisigAccountModificationTransaction: publicKeyAdditions: PublicAccount[] => addressAdditions: UnresolvedAddress[]; publicKeyDeletions: PublicAccount[] => addressDeletions: UnresolvedAddress[]
- AggregateTransactionService: cosignatories: string[] => cosignatories: Address[]
-
[BREAKING CHANGE] Address format changed from 25 bytes to 24 bytes. See new address test vector here.
-
[BREAKING CHANGE] MosaicId creation (from Nonce) changed from using PublicKey to Address. See new mosaicId test vector here.
-
[BREAKING CHANGE] Added 8 bytes (uint64) version field in
CosignatureSignedTransactionandAggregateTransactionCosignaturewith default value0. -
[BREAKING CHANGE] Removed all transaction get endpoints from AccountHttp and BlockHttp.
-
[BREAKING CHANGE] Added
TransactionGroup (required)parameter ingetTransactionendpoint inTransactionHttp. -
Added
Searchendpoints to TransactionHttp, BlockHttp, and MosaicHttp.Note:
- Search endpoints returns pagination payload (
Page<t>) rather than raw arraes. - For AggregateTransaction, transaction search endpoint only returns the aggregate wrapper transaction WITHOUT embedded transactions.
completeaggregate payload can be get fromgetTransactionorgetTransactionByIdsendpoints.
- Search endpoints returns pagination payload (
-
Added SearchCriteria interfaces for the new search endpoints.
-
group filter in
TransactionSearchCriteriato be mandatory due to rest endpoint changes. -
Added streamer for the 3 new search endpoints (block, mosaic, transaction) to improve pagination querying.
v0.19.2
[0.19.2] - 26-May-2020
Milestone: Gorilla.1(0.9.5.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.19.2 | https://www.npmjs.com/package/symbol-sdk |
| Catbuffer | v0.0.19 | https://www.npmjs.com/package/catbuffer-typescript |
| Client Library | v0.8.11 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client |
- [BREAKING CHANGE] Replaced constructor parameter
configwithurlinListenerclass. The constructor is now only using a complete websocket url (e.g. http://localhost:3000/ws or ws://localhost:3000/ws) but not rest-gateway url anymore (It will NOT append/wssuffix to the input url). - [BREAKING CHANGE]
RepositoryFactory: Optional constructor parameters has been moved intoRepositoryFactoryConfiginterface (optional). - [BREAKING CHANGE] Added
websocketInjected(optional) parameter to theRepositoryFactoryConfiginterface.RepositoryFactory.createListener()can now take injected websocket instance to createListenerobject. - [BREAKING CHANGE] Added
websocketUrl(optional) parameter to theRepositoryFactoryConfiginterface. it allows custom websocket url to be used to create theListenerobject. By default (not provided), the factory will use rest-gateway url with '/ws' suffix appended (e.g. http://localhost:3000/ws) - [BREAKING CHANGE]
Listener.newBlockchannel is now returning new objectNewBlockrather than sharing withBlockInfoused by rest-gateway payload. - Added
stateHashSubCacheMerkleRootstoBlockInfo.
v0.19.1
[0.19.1] - 21-May-2020
Milestone: Gorilla.1(0.9.5.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.19.1 | https://www.npmjs.com/package/symbol-sdk |
| Catbuffer | v0.0.19 | https://www.npmjs.com/package/catbuffer-typescript |
| Client Library | v0.8.11 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client |
- [BREAKING CHANGE]
RemotePublicKeyhas been renamed toLinkedPublicKeyinAccountKeyLinkTransaction. - [BREAKING CHANGE]
AccountRestrictionFlagshas been split into 3 separate flags:AddressRestrictionFlag,MosaicRestrictionFlagandOperationRestrictionFlagfor better compile time and runtime validation. - [BREAKING CHANGE] Added
NamaspaceRepositoryinterface toListenerconstructor parameters for resolving alias purpose.Listenerobject can still be instantiated by usingRepositoryFactory.createListener()with no coding change. - Added
signerandsignatureas optional parameters to thecreatemethods in transaction classes.TransactionMapping.createFromPayloadis now includingsignerandsignature. - Refactored address filter in websocket listener channels which now filters on
recipientAddress,targetAccount,signerPublicKeyfields in all transaction types. The Listener can filter onunresolved (alias)addresses now. - Added optional
transactionHashparameter in websocket listener channel subscribers which can be used for specific transaction monitoring now.
v0.19.0 Release (Gorilla.1)
[0.19.0] - 15-May-2020
Milestone: Gorilla.1(0.9.5.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.19.0 | https://www.npmjs.com/package/symbol-sdk |
| Catbuffer | v0.0.18 | https://www.npmjs.com/package/catbuffer-typescript |
| Client Library | v0.8.10 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client |
- [BREAKING CHANGE]
Transaction signingis now usingGenerationHashSeedfromNodeInfoorNetworkProperties. GenerationHash on Nemesis block (block:1) isNOTused for signing purposes. - [BREAKING CHANGE] Renamed
AccountLinkTransactiontoAccountKeyLinkTransaction. - [BREAKING CHANGE] Renamed
networkGenerationHashtonetworkGenerationHashSeedinNodeInfo. - [BREAKING CHANGE] replaced
linkedPublickKeywithsupplementalAccountKeysarray inAccountInfo. - Added new transaction
VrfKeyLinkTransaction. - Added new transaction
VotingKeyLinkTransaction. - Added new transaction
NodeKeyLinkTransaction. - Added new properties
proofGamma,proofScalar,proofVarificationHashinBlockInfo - Added new properties
harvestNetworkPercentage,harvestNetworkFeeSinkPublicKeyinNetworkProperties. - Added new
KeyType: Unset / Linked / VRF / Voting / Node / All. - Added package
shxfor cross-platform building purpose. - Fixed
AggregateTransaction.getMaxCosignatures()to return distinct cosignature set. - Fixed a few documentaion issues.
v0.18.0
[0.18.0] - 20-Apr-2020
Milestone: Fushicho.4(RC3 0.9.3.2)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.18.0 | https://www.npmjs.com/package/symbol-sdk |
| Catbuffer | v0.0.11 | https://www.npmjs.com/package/catbuffer-typescript |
| Client Library | v0.8.9 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client |
- [BREAKING CHANGE] Stopped NodeJS v8 and v9 support. From this version (
v0.18.0) onwards, Symbol-SDK will target on Node v10+. - [BREAKING CHANGE] Removed
Keccac_256fromLockHashAlgorithm(enum index changed). - [BREAKING CHANGE] Updated enum name
HashTypetoLockHashAlgorithm. - [BREAKING CHANGE] Updated property name
hashTypetohashAlgorithminSecretLockTransactionandSecretProofTransaction. - [BREAKING CHANGE] Removed redundant argument
NetworkTypefromTransaction.createTransactionHash()andAddress.isValidRawAddress(). - [BREAKING CHANGE] Added
setMaxFeeForAggregate()forAggregateTransaction.Transaction.setMaxFee()can only be used by standalone transaction objects. - [BREAKING CHANGE] Refactored
SimpleWalletmodel and wallet private keyEncryption / Decryptionmethods to patch potential security risk. - Added
AccountServiceto resolve mosaic alias and return namespace name. - Migrated from
TSLinttoESLint. AddedPrettiersupport. - Removed metadata value size validation (1024 bytes).
- Fixed
PublicAccount.verifySignaturebug when verify string in hexadecimal format. - Added check on
UInt64.compact()which throw exception on over flow. - Added
Network currency resolverfor e2e tests.
v0.17.4
[0.17.4] - 07-Apr-2020
Milestone: Fushicho.4(RC3 0.9.3.2)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.17.4 | https://www.npmjs.com/package/symbol-sdk |
| Catbuffer | v0.0.11 | https://www.npmjs.com/package/catbuffer-typescript |
| Client Library | v0.8.9 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client |
- Added
SimpleWallet.toDTO()method which returns JSON serialized object. - Applied latest Symbol OpenAPI generated code (
v0.8.9). - Added automated release scripts for Travis.
- Added multiple version spport for TS-Doc.
- Optimised unit tests and improved test coverage.
- Changed internal method
getSigningByteto public. - Removed constant of namespace
MaxDepth (default: 3)which can be retrieved from network properties endpoint. - Fixed Github security alert on
minimistpackage.