Releases: StellarCN/py-stellar-base
Releases · StellarCN/py-stellar-base
12.0.0-beta3
Several hours ago, I released version 12.0.0-beta2, which added support for the Soroban RPC's getLedgers API interface.
However, some field names in the implementation need to be renamed.
Update
- refactor: rename
LedgerInfo.ledger_header
toLedgerInfo.header_xdr
,LedgerInfo.ledger_metadata
toLedgerInfo.metadata_xdr
. (#994)
12.0.0-beta2
Update
- feat: add support for Soroban PRC's
getLedgers
API interface. (#992)
12.0.0-beta1
Update
- refactor: add
paging_token
back toEventInfo
. This is to ensure compatibility with older versions of Soroban-RPC. We still recommend using theGetEventsResponse.cursor
field after upgrading Soroban-RPC. (#990)
12.0.0-beta0
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.
Update
- feat: add support for Soroban PRC's
getVersionInfo
API interfaces. - feat: add
transaction_hash
toGetTransactionResponse
andGetTransactionsResponse
.
Breaking changes
- refactor!: the
paging_token
field has been removed fromEventInfo
, use thecursor
inGetEventsResponse
instead. - refactor!: the legacy
cost
field has been removed fromSimulateTransactionResponse
, parse it fromtransaction_data
instead. - feat!: support constructors in contract creation via
TransactionBuilder.append_create_contract_op
, the signature of the function has been changed. - refactor!: updated
signer
parameter in auth to accept a callable returning (public_key, signatures) instead of just public_key.
11.1.0
Update
- feat: add support for Soroban PRC's
getTransactions
andgetFeeStats
API interfaces. (#960) - feat: add support for Horizon's
transactions_async
API interfaces. (#961) - fix: fix
authorize_entry
to use the correct public key when passingKeypair
as signer. (#971) - feat: Expose
stellar_sdk.address.AddressType
for easy importing. (#973) - chore: bump dependencies.
11.0.0
Update
- feat:
SorobanServer.send_transaction
supports sending FeeBumpTransactionEnvelope. (#956) - fix: Corrected the issue where
TransactionBuilder.from_xdr
could not properly parse transactions containing Soroban operations. (#957) - fix: Corrected the issue where
FeeBumpTransactionEnvelope.from_xdr
could not properly parse transactions containing Soroban operations. (#957) - refactor:
TransactionBuilder.from_xdr
previously could returnTransactionBuilder
orFeeBumpTransactionEnvelope
. Now it will no longer returnTransactionBuilder
, but will returnTransactionEnvelope
orFeeBumpTransactionEnvelope
. (#957) - feat:
TransactionBuilder.build_fee_bump_transaction
now supports transactions containing Soroban operations. (#957) - fix: fix the issue where invoking
SorobanServer.prepare_transaction
for transactions that have already setSorobanData
could result in unexpected high fees. (#957) - chore: bump dependencies.
Breaking changes
- refactor:
FeeBumpTransactionEnvelope.base_fee
has been removed. Please useFeeBumpTransactionEnvelope.fee instead
. Note that their meanings are different: (#957)FeeBumpTransactionEnvelope.base_fee
represented the maximum fee you were willing to pay per operation for this transaction.FeeBumpTransactionEnvelope.fee
represents the maximum fee you are willing to pay for this transaction.
- refactor:
TransactionBuilder.from_xdr
previously could returnTransactionBuilder
orFeeBumpTransactionEnvelope
. Now it will no longer returnTransactionBuilder
, but will returnTransactionEnvelope
orFeeBumpTransactionEnvelope
. (#957) - refactor:
helpers.parse_transaction_envelope_from_xdr
has been marked as deprecated. Please use the refactoredTransactionEnvelope.from_xdr
instead. (#957)
Full Changelog: 10.0.0...11.0.0
10.0.0
What's Changed
Update
- improve: The function in
stellar_xdr.scval
can acceptsc_val
ofbase64
andbytes
types. (#932) - feat: add support for Soroban-RPC 21. (#933)
- refactor: use
__repr__
instead of__str__
in classes. (#936) - feat: add a helper function to convert SCVal to native types. (#937)
- chore: updated various dependencies.
Breaking changes
- feat: add support for Soroban-RPC 21, you need to upgrade Soroban PRC to version v21 or above. (#933)
Full Changelog: 9.4.0...10.0.0
9.4.0
What's Changed
- chore: The generated XDR has been upgraded to match the upcoming Protocol 21, namely stellar/[email protected]. (#927)
- chore: updated various dependencies.
Full Changelog: 9.3.0...9.4.0
9.3.0
9.2.0
What's Changed
- feat: add
scv.to_void
andscv.from_void
. by @overcat in #863 - feat: Support for the new, optional
diagnostic_events_xdr
field on theSorobanServer.send_transaction
method. by @overcat in #866 - fix: fix docs. by @overcat in #860
- chore: bump types-requests from 2.31.0.20231231 to 2.31.0.20240106 by @dependabot in #862
- release: 9.2.0 by @overcat in #867
Full Changelog: 9.1.3...9.2.0