1.0.0-beta0
Pre-release
Pre-release
This is the first release that supports Protocol 22. While the network has not upgraded yet,
you can start integrating the new features into your codebase if you want a head start.
The following are the changes since version 1.0.0-alpha0. If you are upgrading from an older version,
please also refer to the change logs of previous versions, especially 1.0.0-alpha0.
Additionally, here is a PR that can serve as a reference for upgrading from older versions to 1.0.0-*
, hoping it will be helpful.
Update
- feat: support constructors in contract creation via
InvokeHostFunctionOperation.createContractOperationBuilder
. - feat: add support for Soroban PRC's
getVersionInfo
API. - feat: add
txHash
toGetTransactionResponse
andGetTransactionsResponse.Transaction
.
Breaking changes
- refactor!: remove the constructor from
KeyPair
, useKeyPair.fromSecretSeed
orKeyPair.fromAccountId
instead. - fix!: fix bug with signing auth entries in multi-sig scenarios.
- feat!: support constructors in contract creation via
InvokeHostFunctionOperation.createContractOperationBuilder
, the signature of the function has been changed. - refactor!: remove
amount
andnumAccounts
fromAssetResponse
. - refactor!: remove
cost
fromSimulateTransactionResponse
, the correct resource costs can now be retrieved from thetransactionData
. - refactor!: remove
pagingToken
fromGetEventsResponse.EventInfo
, useGetEventsResponse.cursor
instead. - refactor!: The
protocolVersion
in the response is now represented as anInteger
.