All notable changes to this project will be documented in this file.
The changelog format is based on Keep a Changelog.
| Package | Version | Link |
|---|---|---|
| SDK Core | v2.0.7 | symbol-sdk |
| Catbuffer | v1.0.3 | catbuffer-typescript |
| Client Library | v1.0.3 | symbol-openapi-typescript-fetch-client |
- [Bug] update to latest catbuffer with Aggregate transaction V3 support.
| Package | Version | Link |
|---|---|---|
| SDK Core | v2.0.6 | symbol-sdk |
| Catbuffer | v1.0.2 | catbuffer-typescript |
| Client Library | v1.0.3 | symbol-openapi-typescript-fetch-client |
- [Bug] Add support for Aggregate transaction V3.
| Package | Version | Link |
|---|---|---|
| SDK Core | v2.0.5 | symbol-sdk |
| Catbuffer | v1.0.2 | catbuffer-typescript |
| Client Library | v1.0.3 | symbol-openapi-typescript-fetch-client |
- [Bug] 853: Fixed encoding of raw messages in TransferTransaction.
| Package | Version | Link |
|---|---|---|
| SDK Core | v2.0.4 | symbol-sdk |
| Catbuffer | v1.0.2 | catbuffer-typescript |
| Client Library | v1.0.3 | symbol-openapi-typescript-fetch-client |
- [Bug] Fix mosaic definition transaction from payload method.
| Package | Version | Link |
|---|---|---|
| SDK Core | v2.0.3 | symbol-sdk |
| Catbuffer | v1.0.2 | catbuffer-typescript |
| Client Library | v1.0.3 | symbol-openapi-typescript-fetch-client |
- Bumped AggregateTransaction version to V2. Note that the ability to create or broadcast V1 aggregate transactions has been removed.
- [Bug] Fixed incorrect Merkle hash calculation for aggregate transactions.
- [Bug] Fixed the calculation of embedded transaction (also known as inner aggregate transaction) hashes without padding.
Milestone: Symbol Mainnet
| Package | Version | Link |
|---|---|---|
| SDK Core | v2.0.2 | symbol-sdk |
| Catbuffer | v1.0.1 | catbuffer-typescript |
| Client Library | v1.0.3 | symbol-openapi-typescript-fetch-client |
[Bug] #843: Handle transaction meta's timestamp and feeMultiplier when value is undefined.
Milestone: Symbol Mainnet
| Package | Version | Link |
|---|---|---|
| SDK Core | v2.0.1 | symbol-sdk |
| Catbuffer | v1.0.1 | catbuffer-typescript |
| Client Library | v1.0.3 | symbol-openapi-typescript-fetch-client |
[Bug] #839: Patch missing meta information to transaction dto.
Milestone: Symbol Mainnet
| Package | Version | Link |
|---|---|---|
| SDK Core | v2.0.0 | symbol-sdk |
| Catbuffer | v1.0.1 | catbuffer-typescript |
| Client Library | v1.0.3 | symbol-openapi-typescript-fetch-client |
- [BREAKING CHANGE] The type of
valuefield inAccountMetadataTransaction,MosaicMetadataTransaction,NamespaceMetadataTransactionclasses is changed fromstringtoUint8Array. - fix: Fixed metadata value non-ascii utf8 encoding issue #834
- fix: Upgraded Node to 12.22.1.
- fix: Upgraded typescript to 4.5.4.
- fix: Upgraded RXJS to 7.4.0.
Milestone: Symbol Mainnet
| Package | Version | Link |
|---|---|---|
| SDK Core | v1.0.3 | symbol-sdk |
| Catbuffer | v1.0.1 | catbuffer-typescript |
| Client Library | v1.0.3 | symbol-openapi-typescript-fetch-client |
- fix: replaced
instanceofstatements. These statements are problematic when npm installs the dependency in multiples modules. - feat: added mosaic revocation support.
Milestone: Symbol Mainnet
| Package | Version | Link |
|---|---|---|
| SDK Core | v1.0.2 | symbol-sdk |
| Catbuffer | v1.0.0 | catbuffer-typescript |
| Client Library | v1.0.2 | symbol-openapi-typescript-fetch-client |
- feat: Multisig multilevel subscription in web listener.
- feat: Added Deployment data to
ServerInfo. - fix: Fixed observable pipe in
TransactionService's announce method. - fix: Allowing plain base32 addresses in rest payloads. Both address formats are supported.
- fix: Cosigning from transaction hash only.
- fix: Transaction
signWithmethod broken into smaller methods. - fix: Removed unsued dependencies.
Milestone: Symbol Mainnet
| Package | Version | Link |
|---|---|---|
| SDK Core | v1.0.1 | symbol-sdk |
| Catbuffer | v1.0.0 | catbuffer-typescript |
| Client Library | v1.0.0 | symbol-openapi-typescript-fetch-client |
- Fixed missing
utf-8dependency issue. - Fixed
UnhandledPromiseRejectionissue in http repository.
Milestone: Symbol Mainnet
| Package | Version | Link |
|---|---|---|
| SDK Core | v1.0.0 | symbol-sdk |
| Catbuffer | v0.1.1 | catbuffer-typescript |
| Client Library | v0.11.1 | symbol-openapi-typescript-fetch-client |
- Added callback function in websocket listener for client to handle unsolicited websocket close event.
- Release for Symbol mainnet.
Milestone: Catapult-server main(0.10.0.8)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.23.3 | symbol-sdk |
| Catbuffer | v0.1.1 | catbuffer-typescript |
| Client Library | v0.11.1 | symbol-openapi-typescript-fetch-client |
- Fixed
NodeVersionschema issue. - Added
oncloseevent listener to capture unsolicited ws close event.
Milestone: Catapult-server main(0.10.0.7)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.23.2 | symbol-sdk |
| Catbuffer | v0.1.1 | catbuffer-typescript |
| Client Library | v0.11.1 | symbol-openapi-typescript-fetch-client |
- Fixed subnamespaceId generation issue in
NamespaceRegistrationTransaction. - Fixed
mosaicRestrictionTransactionServiceerror handling issue. - Fixed
finalizationEpochissue in the dto model. - Changed WebSocket listener subscription to use
UnresolvedAddresswithout querying the rest-gateway.
Milestone: Catapult-server main(0.10.0.6)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.23.1 | symbol-sdk |
| Catbuffer | v0.1.1 | catbuffer-typescript |
| Client Library | v0.11.1 | symbol-openapi-typescript-fetch-client |
- Added
FromHeightandToHeightfilters inReceiptsearch endpoint. - Added optional parameter in websocket listener channels to automatically subscribe multisig account for cosigners.
Milestone: Catapult-server main(0.10.0.5)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.23.0 | symbol-sdk |
| Catbuffer | v0.1.1 | catbuffer-typescript |
| Client Library | v0.11.1 | symbol-openapi-typescript-fetch-client |
- Re track to catapult-server main branch
- All entity versions reset to v1 for Symbol mainnet release
- [BREAKING CHANGE] Finalization proof modle removed
messageGroup.schemaVersionandBMTreeSignaure.top - [BREAKING CHANGE] Removed
VotingKeyLinkV1Transaction. - [BREAKING CHANGE]
PrivateTestnetwork type changed from0x80to0xA8. - Added Node specific property:
minFeeMultiplerin transactionFees. - Removed padding buffer in account state serialization.
- Voting key length set to 32 bytes.
Milestone: Catapult-server finality(0.10.0.4)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.22.2 | symbol-sdk |
| Catbuffer | v0.0.25 | catbuffer-typescript |
| Client Library | v0.10.5-1 | symbol-openapi-typescript-fetch-client |
- [BREAKING CHANGE]
Deadline.createrequires the configurableepochAdjustmentfrom the network properties. The value can be retrieved usingRepositoryFactory.getEpochAdjustment()or calling catapult-rest'snetwork/propertiesendpoint. - [BREAKING CHANGE]
NetworkCurrencysubclasses replaced withCurrencyobjects. You can retrieve the network currencies withRepositoryFactory.getCurrencies(). - [BREAKING CHANGE]
SecretLockRepository.getSecretLockhas been updated. It now takes the composite hash as parameter. - [BREAKING CHANGE] Replaced
BlockInfowith the new block types:NormalBlockInfoandNemesisImportanceBlockInfo. - Added
FinalizationRepository. - Added
transferMosaicId,fromTransferAmount,toTransferAmountto transaction searches. - Added
CurrencyServiceto allow loading Network and customCurrencyobjects from the rest API. - Added
UnlockedAccountendpoint inNodeRepositoryto check harvester's unlocking status on the selected node. - Added
StateProofServiceto verify the different states. - Added
serialize()to state objectsAccountInfo,MosaicInfo,NamespaceInfo,MultisigAccountInfo,AccountRestrictions,MosaicGlobalRestriction,MosaicAddressRestriction,MetadataEntry,SecretLockInfo,HashLockInfoto generate the state proof hashes. - Added
versionfield to state objects. - Added
/merkleendpoints to the repositories of the different states which returns the state Merkle-Patricia tree. - Added
stremer()to repositories to simplifyPaginationStreamerobjects creation. - Improved
searchendpoints allowing "empty" criteria in order to paginate over all the objects. Listenernow accepts address aliases asUnresolvedAddressobjects.- Added V1 and V2 Voting Key transaction support.
- Updated
FinalizationProofobject with the newSignatureSchemafor catapult-server tree testnet/v3. - Fixed finalization proof schema version compatibility issue.
0.21.0 - 25-Sep-2020
Milestone: Catapult-server finality(0.10.0.3)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.21.0 | symbol-sdk |
| Catbuffer | v0.0.22 | catbuffer-typescript |
| Client Library | v0.10.0-3 | symbol-openapi-typescript-fetch-client |
- [BREAKING CHANGE] Updated
MetadataRepositoryreplacing old endpoints with new search endpoint. - [BREAKING CHANGE] Updated
ReceiptRepositoryreplacing old endpoints with new search endpoint. - [BREAKING CHANGE] Updated
ChainRepositorymerging Height and Score into Info object. Added finalized block information. - [BREAKING CHANGE] Updated
RestrictionMosaicRepositoryreplacing old endpoints with new search endpoint. - [BREAKING CHANGE] Updated
RestrictionAccountRepositoryremovedgetAccountRestrictionsFromAccountsendpoint. - [BREAKING CHANGE] Updated
TransactionRepositorysearch endpoint. AddedfromHeithandtoHeightsearch criteria. - [BREAKING CHANGE] Updated
toDTOmethod inMessageclass. Removedpayloadandtypereturns only message string in hexadecimal format. - [BREAKING CHANGE] Updated property names in
BlockInfo:- Changed
numTransactionstototalTransactionsCount. - Changed
numStatementstostatementsCount. - Added
transactionsCount.
- Changed
- [BREAKING CHANGE] Removed
totalPagesandTotalEntriesfrom 'Page' object for all pagination endpoints. - Added
SecretLockRepositoryandHashLockRepository - Added support for topic/data payload wrapper in WS Listener allowing users to reuse the connection for different channels.
- Added
finalizedBlockWS Listener subscription - Added symbol-bootstrap integration for automated e2e testing.
- Fixed bug in websocket listener's
isOpen()method for injected ws instance. - Updated
messageextraction 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)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.20.7 | symbol-sdk |
| Catbuffer | v0.0.21 | catbuffer-typescript |
| Client Library | v0.9.6 | symbol-openapi-typescript-fetch-client |
- [BREAKING CHANGE] Refactored
Account,Namespace,ReceiptandMetadataendpoints. Added new search endpoints and removed old endpoints. - [BREAKING CHANGE] Updated encryption / decryption algorithm from
AES-CBCtoAES-GCMto meet the security standard. - [BREAKING CHANGE] Updated PersistentDelegatedHarvesting message marker. Also added VRF private key parameter in PersistentDelegatedHarvesting message & transaction creation.
- Added optional parameter
TransactionHashinAggregateTransaction.signWithmethod. - Updated encoding methods to support emoji in message payload.
0.20.6 - 02-Jul-2020
Milestone: Gorilla.1(0.9.6.2)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.20.6 | symbol-sdk |
| Catbuffer | v0.0.21 | catbuffer-typescript |
| Client Library | v0.9.4 | symbol-openapi-typescript-fetch-client |
- Changed to use default fetchAPI (
node-fetch) in repository construction (not relying on repository factory builders).
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.
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.
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.
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.
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.
-
Added
sizeinBlockInfomodel.
0.19.2 - 26-May-2020
Milestone: Gorilla.1(0.9.5.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.19.2 | symbol-sdk |
| Catbuffer | v0.0.19 | catbuffer-typescript |
| Client Library | v0.8.11 | 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.
0.19.1 - 21-May-2020
Milestone: Gorilla.1(0.9.5.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.19.1 | symbol-sdk |
| Catbuffer | v0.0.19 | catbuffer-typescript |
| Client Library | v0.8.11 | 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.
0.19.0 - 15-May-2020
Milestone: Gorilla.1(0.9.5.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.19.0 | symbol-sdk |
| Catbuffer | v0.0.18 | catbuffer-typescript |
| Client Library | v0.8.10 | 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.
0.18.0 - 20-Apr-2020
Milestone: Fushicho.4(RC3 0.9.3.2)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.18.0 | symbol-sdk |
| Catbuffer | v0.0.11 | catbuffer-typescript |
| Client Library | v0.8.9 | 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.
0.17.4 - 07-Apr-2020
Milestone: Fushicho.4(RC3 0.9.3.2)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.17.4 | symbol-sdk |
| Catbuffer | v0.0.11 | catbuffer-typescript |
| Client Library | v0.8.9 | 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.
0.17.3 - 04-Mar-2020
Milestone: Fushicho.4(RC3 0.9.3.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.17.3 | symbol-sdk |
| Catbuffer | v0.0.11 | catbuffer-typescript |
| Client Library | v0.8.5 | symbol-openapi-typescript-node-client |
- Fixed
MosaicNonceissue handling signed integer from rest payload. - [BREAKING CHANGE] Updated
NodeTimemodel to useUInt64.
0.17.2 - 02-Mar-2020
Milestone: Fushicho.4(RC3 0.9.3.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.17.2 | symbol-sdk |
| Catbuffer | v0.0.11 | catbuffer-typescript |
| Client Library | v0.8.5 | symbol-openapi-typescript-node-client |
- [BREAKING CHANGE] Added
s-partof transaction signature to transaction hash. - Added
numStatementstoblockInfomodel. - Fixed
mosaicNonceissue increateTransactionFromPayload. - Improved error handling in WS
listenerandTransactionService. - Improved test coverage.
0.17.1 - 24-Feb-2020
Milestone: Fushicho.4(RC3 0.9.3.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.17.1 | symbol-sdk |
| Catbuffer | v0.0.11 | catbuffer-typescript |
| Client Library | v0.8.5 | symbol-openapi-typescript-node-client |
- Rebranded
nem2-sdktosymbol-sdk. Please be noted the package name changes. - [BREAKING CHANGE] Changed
QueryParametersandTransactionFilterto use deconstructed argument (JSON object) in the constructor. - Added
node/peersendpoint. - Fixed security issues reported by github.
0.17.0 - 17-Feb-2020
Milestone: Fushicho.4(RC3 0.9.3.1)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.17.0 | nem2-sdk |
| catbuffer | v0.0.11 | catbuffer |
| Client Library | v0.8.4 | 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. RemovedSignSchemasoNetworkTypeis 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
TransactionFilterparameter toAccountHttpwhich is now support filtering with list of transaction type. - Added
GenerationHashto the payload innode/infoendpoint. - Added enum for block merkle path item positions (
left / right) to replace previous number type value (1 / 2). - Added new
BlockServiceforTransactionandReceiptblock merkle proof auditing. - Added new node type
Dualto the existingRoleTypeEnum. - Added new endpoint
node/healthinNodeHttp. - Moved
getStorageInfoandgetServerInfofromDiagnosticHttptoNodeHttprepository. - Improved e2e testing by using
async / await. - General legacy code refactoring and cleanup.
0.16.5 - 30-Jan-2020
Milestone: Fushicho.4(RC3)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.16.5 | nem2-sdk |
| catbuffer Library | v0.0.11 | catbuffer |
| Client Library | v0.7.20-beta.7 | nem2-sdk-openapi-typescript-node-client |
- Fixed circular reference issue after removed
InnerTransactionclass.
0.16.4 - 30-Jan-2020
Milestone: Fushicho.4(RC3)
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.16.4 | nem2-sdk |
| catbuffer Library | v0.0.11 | catbuffer |
| Client Library | v0.7.20-beta.7 | nem2-sdk-openapi-typescript-node-client |
- Core 0.9.2.1 compatible. Changed hash algorithm for shared key derivation to
HKDF-HMAC-Sha256. - Removed
senderPrivateKeyinPersistent Delegation Request Transaction. Instead, it uses anephemeral key pairand theEphemeralPublicKeyis now attached in thePersistentDelegationMessagepayload. - Removed
saltencryption and decryption functions which usesHKDF-HMAC-Sha256instead. This only affects the encrypted payload. - Added missing export in
Infrastructureclasses / interfaces. - Applied latest
catbufferbuilder codes forResolutionStatement. - Updated
TransactionType&TransactionVersionenum key name to matchcatabufferschema definition. - Changed signature type for
Heightfromnumeric stringtoUInt64inBlock&Receiptrespostiories - Fixed a few ts lint issues.
0.16.3 - 09-Jan-2020
Milestone: Fushicho.3
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.16.3 | nem2-sdk |
| catbuffer Library | v0.0.7 | catbuffer |
| Client Library | v0.7.20-beta.6 | nem2-sdk-openapi-typescript-node-client |
- Fixed http client (OpenAPI client package) does not support ES6 issue.
0.16.2 - 06-Jan-2020
Milestone: Fushicho.3
| Package | Version | Link |
|---|---|---|
| SDK Core | v0.16.2 | nem2-sdk |
| catbuffer Library | v0.0.7 | catbuffer |
| Client Library | v0.7.20-alpha.6 | nem2-sdk-openapi-typescript-node-client |
- Refactored to replace generated codes by public library package for both
catbufferandOpenAPI Http Client. - Added unresolved (mosaicId, address) support in
MosaicRestrictionTransaction. - Added
toHex()inMosaicNonceclass. - Exposed
MultisigAccountGraphInfoclass constructor to public. - Fixed
transaction statusissue in bothHttpandWebsocketdue to schema update.
0.16.1 - 23-Dec-2019
Milestone: Fushicho.3
- Added basic
operations for UInt64(Add(), Substract()). - Added
RepositoryFactoryHttpwhich creates concrete http classes in a factory patten. - Added
NetworkTypeandGenerationHashcache for all Http repositories which reduces the number of rest calls. - Added static mathod to create
SimpleWalletfrom rest DTO payload. - Added
TransactionType filterinAccountHttpwhich can be used for filtering account transactions by type. - Added
IntegrationTestHelperwhich optimised e2e / integration tests by automatically tracking the changes from catapult rest. Also support loading test accounts directly from catapult-bootstrap-server generated nemesis addresses. - Replaced
Records limitation steps (25,50,75,100)with just number input. - Fixed
TrandactionStatusnot returning correct error code bug. - Fixed
spread operation issueinSetMaxFee and ResolveAliaswhich results in missing super class properties bug. - Fixed
epochAdjustmentstatic value not in UTC bug. - Fixed known issues in
catbuffer Typescript GeneratoroverEntityTypeDtoandAggregateTransactionBuilder. Aggregate transaction'sInnerTransactionsandCosignaturesare now in array format (EmbeddedTransactionBuilderandCosignatureBuilder) instead of usingUint8Array.
0.16.0 - 09-Dec-2019
Milestone: Fushicho.3
- Added epochAdjustment introduced in catapult-server v0.9.1.1 (Fushicho.3)
- Added
setMaxFeetoTransactionwhich calculate max transaction fee usingfeeMultiplier * transaction.size. - Optimised
resolveAliasimplementation in transaction using object spread operator. - Fixed couple of bugs in
blockHttpand unit tests
0.15.1 - 06-Dec-2019
Milestone: Fushicho.2
- Added
networkTypeas an optional paramter inHttpabstract to recude the number of requests to the catapult-rest server - Added
resolveAliasin transaction for resolvingUnresolvedAddressandUnresolvedMosaicinside a transaction. - Added
TransactionServiceclass. - Added
resolveAliasservice inTransactionServicewhich resolves alias(es) in transaction(s) from blockResolutionStatement. - Consolicated transaction announcement and websocket
confirmedlistener into one service call inTransactionService. - Consolidated
AggregateBondedtranaction announcement (aggregateBonded + lockFund) into one service call inTransactionService.
0.15.0 - 21-Nov-2019
Milestone: Fushicho.2
- Applied latest
Fushicho2schema changes to both transaction serialization and http client codes. - Added
addCosignaturesmethod for filling cosignatures offline. - Added
comparefunction in UInt64 class for unsigned 64 bytes numbers comparison.
0.14.4 - 31-Oct-2019
Milestone: Fushicho.1
- Added
Address.isValidAddressfor plain address string validation. - Added
Address filterin transaction status websocket listener channel. - Changed
MetadataTransactionServicereturn type fromTransactiontoUnion types. - Made
decodeHexmethod andEmptyAliasclass public. - Fixed const network type used in
AliasToRecipientmethod. - Fixed
SecretLockandSecretProoftransaction not usingUnresolvedAddressissue. - Fixed
Sizemethod issues for transactions. - Fixed other JSDoc issues.
0.14.3 - 18-Oct-2019
Milestone: Fushicho.1
- Fixed
MetadataTransactionSercievalue delta issue.
0.14.2 - 18-Oct-2019
Milestone: Fushicho.1
- Fixed
Address alias deserializationissue from catapult-rest dto payload. - Fixed
MosaicSupplyChangeTransactionschema mismatch issue.
0.14.1 - 14-Oct-2019
Milestone: Fushicho.1
- Added
Receipt serializer & hash generatorfor auditing receipt merkle proof. - Added
Unresolved (NamespaceId)support onMosaicRestrictionandMosaicMetadatatransactions. - Fixed
Mosaic array orderinginTransferTransaction. - Fixed issues in
PersistentDelegationRequestTransaction. - Other small fixes from community feedbacks.
0.14.0 - 08-Oct-2019
Milestone: Fushicho.1
- Added
KeyGeneratorclass for generating UInt64 Keys from string. - Fixed
MosaicAmountViewissue. Now return observable of array. - Optimised
Account restrictionendpoints by returning simple payload. - Fixed http repository
error handlingissues. - Fixed bugs in
Aliasinterface. - Fixed
MosaicId significant bytenot detected properly in TransactionPayload. - Fixed only
PRIVATE_TESTnetwork type allowed in NetworkTypeHttp. - Applied latest OpenAPI doc (
v0.7.19). - Changed
SignedTransactionclass constructor to public. - Changed
MosaicRestrictionKeyformat to be Hexadecimal. - Other small fixes.
0.13.4 - 04-Oct-2019
Milestone: Elephant.3 / Fuschicho.1
- Added
Metadatarest api endpoints and DTOs - Added
MosaicRestrictionrest api endpoints and DTOs - Added
MetadataTransactionServicewhich eases the meta data transaction creation without knowing previous meta data values - Added
MosaicRestrictionTransactionServicewhich eases the mosaic restriction transaction creation without knowing previous restriction details. - Changed
MetadataTransactionandMetadata statevalue to use raw string (utf8 encoding). - Fixed
Namespace/Namesendpoint issue - Fixed
Mosaicendpoint issue - Improved unit and e2e tests
0.13.3 - 27-Sep-2019
Milestone: Elephant.3
- Added new alias transaction
PersistentDelegationRequestTransactionwhich extendsTransferTransactionto send special message to server for persistent delegation harvesting unlock request. - Added new message type
PersistentHarvestingDelegationMessage - Fixed websorket listener notitification issue when cosignatory added through MultisigModifictionTransaction.
- Changed
valueparameter in MetadataTransactions from Uint8Array tostring(utf8 encoding) - Added
utf8ToUint8anduint8ToUtf8converters for above changes - Made
previousRestrictionValueoptional inMosaicAddressRestrictionTransaction - Made
referenceMosaicIdoptional inMosaicGlobalRestrictionTransaction - Made
EncryptedPrivateKeyclass public - Made
createFromRawAddressinAddressclass public - Fixed a few JSDoc issues
- Fixed NPM audit vulnerabilities
0.13.2 - 20-Sep-2019
Milestone: Elephant.3
- Added Metadata Transactions (Account, Mosaic and Namespace).
- Added new account restriction type to support
Outgoingaddresses and transaction types. - 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
Uint64to supportUInt64 to/from: numeric/hex string. - Refactored
Signature Schemato support bothNIS1andCatapult.Network idendifieris now used to identifySignature Schemaon model level. PrivateKey reversal has been removed forNIS1schema. - Added new
Namespace Prunedreceipt type. - Added new static method
addTransactionstoAggregateTransctionto support offline embedded transactions' manipulation. - Mosaic definition / info model refactored with
MosaicPropertiesremoved. - Various bugs fixed in http repositories.
- Various bugs fixed in model and core components
0.13.1 - 26-Jul-2019
Milestone: Elephant
- Added Mosaic Restriction (New models and transactions)
- Fixed RXJS compatibility issue (after run
npm update) - Fixed
signTransactionGivenSignaturessignature not verified issue - Fixed version texts in Readme.md
0.13.0 - 03-Jul-2019
Milestone: Elephant
- Added SignSchema to make KeyPair generation compatible with either of Catapult and NIS.
- Added SignSchema with KECCAK_REVERSED_KEY and SHA3. The SDK by default uses SHA3 which is the Catapult signature schema.
- Fixed transaction versions back to version 1
- Added
signTransactionGivenSignaturesto cope with off chain aggregated complete transaction co signing.
0.12.4 - 03-Jul-2019
Milestone: Dragon
- Added export for Sha3Hasher
- Added export for nacl_catapult
- Added changelog milestone attribution
0.12.3 - 20-Jun-2019
Milestone: Dragon
- Fixed null mosaic property in MosaicHttp
- Added NodeHttp
- Fixed Uint8 conversions (control char added)
- Fixed ResolutionStatementDTO in exports
0.12.2 - 17-Jun-2019
Milestone: Dragon
- Removed nem2-library dependency
- Added
infrastructure/model/with DTOs - Added
infrastructure/apiwith APIs - Added
infrastructure/buffersandinfrastructure/schemas
0.12.1 - 05-Jun-2019
Milestone: Dragon
- Fixed alias and modification type field names in Http
0.12.0 - 04-Jun-2019
Milestone: Dragon
- Added 'Receipt'
- Added 'generationHash' to transaction.sign(...) to prevent transactions from being replayed on different networks by prepending the network generation hash to transaction data prior to signing and verifying.
- Added 'recipient' (unresolved address) field to SecretProofTransaction.
- BlockChainHttp routes into 3 routes (Block, Chain, Diagnostic).
- New endpoints
- AccountHttp: getAccountsNames(accountIds: Address[]): Observable<AccountNames[]>;
- MosaicHttp: getMosaicsNames(mosaicIds: MosaicId[]): Observable<MosaicNames[]>;
- Updated Dto models from latest rest swagger doc.
- Fixed / updated e2e tests.
- Removed Mosaic Levy property from both model and transaction.
0.11.6 - 03-Jun-2019
Milestone: Cow
- Version lock for cow compatibility
- Fixed #150, AccountHttp.transactions outputs aggregate transactions supplementary data
0.11.5 - 18-Apr-2019
Milestone: Cow
- Fixed #125, maxFee DTO value errors with in-aggregate MosaicSupplyChange and HashLock transactions
0.11.4 - 17-Apr-2019
Milestone: Cow
- Fixed #117, Typo in AddressAliasTransaction and MosaicAliasTransaction comments
- Fixed several typos in documentation
- Fixed CreateTransactionFromDTO to allow
messageto be undefined - Added transaction/EncryptedMessage
- Added QueryParams.order order parameter
0.11.3 - 10-Apr-2019
Milestone: Cow
- Added
Transaction.maxFeeoptional property increate()methods. (fixes #53) - Added
service/AggregateTransactionServicewithisComplete()validates cosigners (fixes #4) - Fixed issue in
createFromDTOwith JSON format (fixes #107) - Added
model/transaction/EncryptedMessagefor encrypted message payloads - Fixed
MosaicPropertiesto make duration optional (fixes #109) - Added
service/AggregateTransactionServicewithvalidateCosignatoriesfor completeness check (fixes #4)
0.11.2 - 1-Apr-2019
Milestone: Cow
- Added TransactionMapping (fixes #56 )
- Added CreateTransactionFromPayload (fixes #56 )
- Added SerializeTransactionToJSON
- Added several toDTO() methods for serialization (fixes #56 )
- Added multisigAccountAdded in Listener
- Added accountAddedToMultisig in Listener
0.11.1 - 18-Mar-2019
- Todo
0.11 - 14-Mar-2019
Milestone: Cow
- Fixed NetworkCurrencyMosaic, NetworkHarvestMosaic
- Added exposed UInt64.fromHex and UInt64.toHex
- Added MosaicId.createFromNonce
- Added MosaicNonce, MosaicNonce.createRandom
- Fixed AliasDTO.mosaicId to be UInt64
- Added nem2-library@v0.9.8 version update (cow compatibility)
- Added cow network update base compatibility
- Added AliasTransaction, AddressAliasTransaction, MosaicAliasTransaction
- Changed MosaicDefinition to hold MosaicNonce
- Changed SecretLock transaction to work with Sha3_256 instead of Sha3_512
- Added delegated harvesting
- Fixed #38: error message for aggregate as inner tx
- Added TransferTransaction.recipient NamespaceId argument type
0.10.1-beta - 27-Jun-2018
Milestone: Cow
- added replyGiven in Transaction model
- several linter fixes
Milestone: Cow
- update rxjs to v6
- use observableFrom
0.9.5 - 27-Jun-2018
Milestone: Alpaca
- data signatures
- nodejs version 10 updates
0.9.0 - 30-Mar-2018
Milestone: Alpaca
- Initial code release.