Skip to content

1.0.0-beta0

Pre-release
Pre-release
Compare
Choose a tag to compare
@overcat overcat released this 14 Oct 07:04
· 20 commits to master since this release
23920b9

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 to GetTransactionResponse and GetTransactionsResponse.Transaction.

Breaking changes

  • refactor!: remove the constructor from KeyPair, use KeyPair.fromSecretSeed or KeyPair.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 and numAccounts from AssetResponse.
  • refactor!: remove cost from SimulateTransactionResponse, the correct resource costs can now be retrieved from the transactionData.
  • refactor!: remove pagingToken from GetEventsResponse.EventInfo, use GetEventsResponse.cursor instead.
  • refactor!: The protocolVersion in the response is now represented as an Integer.