Releases: StellarCN/py-stellar-base
Releases · StellarCN/py-stellar-base
13.2.1
13.2.0
Update:
- feat: add SEP-45 (Stellar Web Authentication for Contract Accounts) support. Check
stellar_sdk.sep.stellar_soroban_web_authenticationfor more details. - fix: remove
diagnostic_events_xdrfromstellar_sdk.soroban_rpc.Events, usestellar_sdk.soroban_rpc.GetTransactionResponse.diagnostic_events_xdrandstellar_sdk.soroban_rpc.Transaction.diagnostic_events_xdrinstead. (#1086) - chore: drop support for Python 3.9.
- chore: update outdated documentation.
13.1.0
13.0.0
This release adds support for Protocol 23.
This release contains the exact same content as 13.0.0-beta1. Below is the changelog since 12.3.0.
Update:
- feat: add liquidity pool and claimable balance support to
StrKey. (#1060) - feat: add med25519 public keys to
StrKey. (#1061) - feat: add muxed account, liquidity pool and claimable balance support to
Address. (#1062) - feat: implement message signing and verification according to SEP-53, check
Keypair.sign_messageandKeypair.verify_messagefor more details. (#1067) - feat: add a
poll_transactionfunction to Soroban RPC client. (#1038) - refactor: use
tomllibinstead oftomllibrary in Python 3.11 and above. (#1047) - refactor: optimize the user experience of
call_builder.stream. (#1050) - fix: add error handling for incomplete federation responses. (#1051)
- feat: add support for non-root authorization in
SorobanServer[Async].simulate_transaction. (#1069) - feat: update transaction meta handling to support v4 in protocol 23. (#1074)
- fix: correct comparison for
Uint32inxdr.AuthenticatedMessage. (#1076)
Breaking changes
- chore!: upgrade generated XDR definitions to Protocol 23. (#1057)
- chore!: drop support for Python 3.8. (#1065)
- refactor!: rename
read_bytestodisk_read_bytesinSorobanDataBuilderand related methods. (#1058)- In
SorobanDataBuilder, all occurrences ofread_byteshave been replaced withdisk_read_bytes. This includes method names, variable names, etc. TransactionBuilder.append_payment_to_contract_opnow usesdisk_read_bytesinstead ofread_bytesin its function signature.TransactionBuilder.append_restore_asset_balance_entry_opnow usesdisk_read_bytesinstead ofread_bytesin its function signature.
- In
- refactor!:
StrKey.decode_muxed_accountandStrKey.encode_muxed_accounthave been marked as deprecated, please usestellar_sdk.MuxedAccountinstead. They will be removed in the next major release. (#1061) - refactor!: when an invalid account ID is passed into the
MuxedAccount.from_account, it raises aValueErrornow. (#1063) - feat!: adapt to the changes in the Stellar Soroban RPC v23
getEventsinterface. (#1070)- drop
paging_tokenfromEventInfo, usecursorinGetEventsResponseinstead. in_successful_contract_callinEventInfohas been marked as deprecated now.- add
operation_indexandtransaction_indextoEventInfo. - add
oldest_ledger,latest_ledger_close_timeandoldest_ledger_close_timetoGetEventsResponse.
- drop
- feat!: adapt to the changes in the Stellar RPC Soroban v23
getTransactionandgetTransactionsinterface. (#1068)diagnosticEventsinGetTransactionsResponse.transactionshas been marked as deprecated now, useGetTransactionsResponse.transactions[{id}].eventsinstead.
Full Changelog: 12.3.0...13.0.0
13.0.0-beta1
Update:
- feat: update transaction meta handling to support v4 in protocol 23. (#1074)
- fix: correct comparison for
Uint32inxdr.AuthenticatedMessage. (#1076) - fix: fix muxed account handling in
Addressclass. (#1077)
Full Changelog: 13.0.0-beta0...13.0.0-beta1
13.0.0-beta0
This release adds support for Protocol 23.
Update:
- feat: add liquidity pool and claimable balance support to
StrKey. (#1060) - feat: add med25519 public keys to
StrKey. (#1061) - feat: add muxed account, liquidity pool and claimable balance support to
Address. (#1062) - feat: implement message signing and verification according to SEP-53, check
Keypair.sign_messageandKeypair.verify_messagefor more details. (#1067) - feat: add a
poll_transactionfunction to Soroban RPC client. (#1038) - refactor: use
tomllibinstead oftomllibrary in Python 3.11 and above. (#1047) - refactor: optimize the user experience of
call_builder.stream. (#1050) - fix: add error handling for incomplete federation responses. (#1051)
- feat: add support for non-root authorization in
SorobanServer[Async].simulate_transaction. (#1069)
Breaking changes
- chore!: upgrade generated XDR definitions to Protocol 23. (#1057)
- chore!: drop support for Python 3.8. (#1065)
- refactor!: rename
read_bytestodisk_read_bytesinSorobanDataBuilderand related methods. (#1058)- In
SorobanDataBuilder, all occurrences ofread_byteshave been replaced withdisk_read_bytes. This includes method names, variable names, etc. TransactionBuilder.append_payment_to_contract_opnow usesdisk_read_bytesinstead ofread_bytesin its function signature.TransactionBuilder.append_restore_asset_balance_entry_opnow usesdisk_read_bytesinstead ofread_bytesin its function signature.
- In
- refactor!:
StrKey.decode_muxed_accountandStrKey.encode_muxed_accounthave been marked as deprecated, please usestellar_sdk.MuxedAccountinstead. They will be removed in the next major release. (#1061) - refactor!: when an invalid account ID is passed into the
MuxedAccount.from_account, it raises aValueErrornow. (#1063) - feat!: adapt to the changes in the Stellar Soroban RPC v23
getEventsinterface. (#1070)- drop
paging_tokenfromEventInfo, usecursorinGetEventsResponseinstead. in_successful_contract_callinEventInfohas been marked as deprecated now.- add
operation_indexandtransaction_indextoEventInfo. - add
oldest_ledger,latest_ledger_close_timeandoldest_ledger_close_timetoGetEventsResponse.
- drop
- feat!: adapt to the changes in the Stellar RPC Soroban v23
getTransactionandgetTransactionsinterface. (#1068)diagnosticEventsinGetTransactionsResponse.transactionshas been marked as deprecated now, useGetTransactionsResponse.transactions[{id}].eventsinstead.
12.3.0
12.2.1
Update
- fix: fix the issue where sending assets using
Transaction.append_payment_to_contract_opfails when the sender's account is the same as the asset issuer's account. (#1029) - fix: allow
SorobanServer.get_events(),.get_transactions(), and.get_ledgers()to be paginated by making thestart_ledgerargument optional. (#1032)
New Contributors
Full Changelog: 12.2.0...12.2.1
12.2.0
Update
- feat: add
TransactionBuilder.append_payment_to_contract_opandTransactionBuilder.append_restore_asset_balance_entry_opto send assets to contract accounts without relying on Stellar RPC. (#1023) - refactor:
AssembledTransaction.simulateandAssembledTransactionAsync.simulatewill no longer restore the state for read-only transactions. (#1026)