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
andstellar_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
toGetTransactionResponse
andGetTransactionsResponse
. (#984) - feat:
scval.from_enum
andscval.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 thecursor
inGetEventsResponse
instead. (#984) - refactor!: The legacy
cost
field has been removed fromSimulateTransactionResponse
, parse it fromtransaction_data
instead. (#984) - refactor!: Updated
signer
parameter in auth to accept a callable returning (public_key, signatures) instead of just public_key. (#982)