Skip to content

12.0.0

Latest
Compare
Choose a tag to compare
@overcat overcat released this 28 Nov 03:34
· 1 commit to main since this release
ae0ade2

This is the first stable 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.

If you are using this SDK to call Soroban contracts, please check stellar-contract-bindings, which can automatically generate contract binding code for you, making it incredibly easy to call contracts.

The following log is the changes since 11.1.0:

Update

  • feat: add stellar_sdk.contract.ContractClient and stellar_sdk.contract.ContractClientAsync, this greatly reduces the difficulty of calling contracts, and you can learn more through the documentation and examples. (#998)
  • feat: add support for Soroban PRC's getLedgers API interfaces. (#992)
  • feat: add support for Soroban PRC's getVersionInfo API interfaces. (#984)
  • feat: Add transaction_hash to GetTransactionResponse and GetTransactionsResponse. (#984)
  • feat: scval.from_enum and scval.to_enum now support multiple values. (#1004)

Breaking changes

  • feat!: support constructors in contract creation via TransactionBuilder.append_create_contract_op, the signature of the function has been changed. (#979)
  • refactor!: The EventInfo.paging_token field has been marked as deprecated, use the cursor in GetEventsResponse instead. (#984)
  • refactor!: The legacy cost field has been removed from SimulateTransactionResponse, parse it from transaction_data instead. (#984)
  • refactor!: Updated signer parameter in auth to accept a callable returning (public_key, signatures) instead of just public_key. (#982)