Releases: symbol/symbol-sdk-typescript-javascript
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
startPoint
andendPoint
inVotingKeyLinkTransaction
. - [BREAKING CHANGE] Renamed
SupplementalAccountKeys
toSupplementalPublicKeys
. The newSupplementalPublicKeys
has been changed fromarray
type to anobject
containing:linked
,node
,vrf
andvoting
key(s). - [BREAKING CHANGE] Changed to use the SDK's own enums for
order
,orderBy
,blockOrderBy
andmeklePosition
. - [BREAKING CHANGE] Added
TransactionGroup
parameter ingetTransactionsById
which can queryunconfirmed
andpartial
transactions now. - Changed base client library from
symbol-openapi-typescript-node-client
tosymbol-openapi-typescript-fetch-client
for better client / brower usability. There is no need to browserify the packages or special webpack processing - Made
Fetch API
injectable viaRepositoryFactory
which works like the injectedwebsocket
inListener
.
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
TransactionGroup
export 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
CosignatureSignedTransaction
andAggregateTransactionCosignature
with default value0
. -
[BREAKING CHANGE] Removed all transaction get endpoints from AccountHttp and BlockHttp.
-
[BREAKING CHANGE] Added
TransactionGroup (required)
parameter ingetTransaction
endpoint inTransactionHttp
. -
Added
Search
endpoints 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.
complete
aggregate payload can be get fromgetTransaction
orgetTransactionByIds
endpoints.
- Search endpoints returns pagination payload (
-
Added SearchCriteria interfaces for the new search endpoints.
-
group filter in
TransactionSearchCriteria
to 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
config
withurl
inListener
class. 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/ws
suffix to the input url). - [BREAKING CHANGE]
RepositoryFactory
: Optional constructor parameters has been moved intoRepositoryFactoryConfig
interface (optional). - [BREAKING CHANGE] Added
websocketInjected
(optional) parameter to theRepositoryFactoryConfig
interface.RepositoryFactory.createListener()
can now take injected websocket instance to createListener
object. - [BREAKING CHANGE] Added
websocketUrl
(optional) parameter to theRepositoryFactoryConfig
interface. it allows custom websocket url to be used to create theListener
object. By default (not provided), the factory will use rest-gateway url with '/ws' suffix appended (e.g. http://localhost:3000/ws) - [BREAKING CHANGE]
Listener.newBlock
channel is now returning new objectNewBlock
rather than sharing withBlockInfo
used by rest-gateway payload. - Added
stateHashSubCacheMerkleRoots
toBlockInfo
.
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]
RemotePublicKey
has been renamed toLinkedPublicKey
inAccountKeyLinkTransaction
. - [BREAKING CHANGE]
AccountRestrictionFlags
has been split into 3 separate flags:AddressRestrictionFlag
,MosaicRestrictionFlag
andOperationRestrictionFlag
for better compile time and runtime validation. - [BREAKING CHANGE] Added
NamaspaceRepository
interface toListener
constructor parameters for resolving alias purpose.Listener
object can still be instantiated by usingRepositoryFactory.createListener()
with no coding change. - Added
signer
andsignature
as optional parameters to thecreate
methods in transaction classes.TransactionMapping.createFromPayload
is now includingsigner
andsignature
. - Refactored address filter in websocket listener channels which now filters on
recipientAddress
,targetAccount
,signerPublicKey
fields in all transaction types. The Listener can filter onunresolved (alias)
addresses now. - Added optional
transactionHash
parameter 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 signing
is now usingGenerationHashSeed
fromNodeInfo
orNetworkProperties
. GenerationHash on Nemesis block (block:1) isNOT
used for signing purposes. - [BREAKING CHANGE] Renamed
AccountLinkTransaction
toAccountKeyLinkTransaction
. - [BREAKING CHANGE] Renamed
networkGenerationHash
tonetworkGenerationHashSeed
inNodeInfo
. - [BREAKING CHANGE] replaced
linkedPublickKey
withsupplementalAccountKeys
array inAccountInfo
. - Added new transaction
VrfKeyLinkTransaction
. - Added new transaction
VotingKeyLinkTransaction
. - Added new transaction
NodeKeyLinkTransaction
. - Added new properties
proofGamma
,proofScalar
,proofVarificationHash
inBlockInfo
- Added new properties
harvestNetworkPercentage
,harvestNetworkFeeSinkPublicKey
inNetworkProperties
. - Added new
KeyType
: Unset / Linked / VRF / Voting / Node / All. - Added package
shx
for 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_256
fromLockHashAlgorithm
(enum index changed). - [BREAKING CHANGE] Updated enum name
HashType
toLockHashAlgorithm
. - [BREAKING CHANGE] Updated property name
hashType
tohashAlgorithm
inSecretLockTransaction
andSecretProofTransaction
. - [BREAKING CHANGE] Removed redundant argument
NetworkType
fromTransaction.createTransactionHash()
andAddress.isValidRawAddress()
. - [BREAKING CHANGE] Added
setMaxFeeForAggregate()
forAggregateTransaction
.Transaction.setMaxFee()
can only be used by standalone transaction objects. - [BREAKING CHANGE] Refactored
SimpleWallet
model and wallet private keyEncryption / Decryption
methods to patch potential security risk. - Added
AccountService
to resolve mosaic alias and return namespace name. - Migrated from
TSLint
toESLint
. AddedPrettier
support. - Removed metadata value size validation (1024 bytes).
- Fixed
PublicAccount.verifySignature
bug when verify string in hexadecimal format. - Added check on
UInt64.compact()
which throw exception on over flow. - Added
Network currency resolver
for 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
getSigningByte
to public. - Removed constant of namespace
MaxDepth (default: 3)
which can be retrieved from network properties endpoint. - Fixed Github security alert on
minimist
package.
v0.17.3
Milestone: Fushicho.4(RC3 0.9.3.1)
Versions | |
---|---|---
SDK Core| v0.17.3 | https://www.npmjs.com/package/symbol-sdk
Catbuffer | v0.0.11 | https://www.npmjs.com/package/catbuffer-typescript
Client Library | v0.8.5 | https://www.npmjs.com/package/symbol-openapi-typescript-node-client
- Fixed
MosaicNonce
issue handling signed integer from rest payload. - [BREAKING CHANGE] Updated
NodeTime
model to useUInt64
.