Releases: StellarCN/py-stellar-base
Releases · StellarCN/py-stellar-base
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
9.1.3
What's Changed
- fix: fix the way of exporting modules to resolve pyright warnings. by @overcat in #858
- chore: bump types-requests from 2.31.0.10 to 2.31.0.20231231 by @dependabot in #856
- chore: bump pytest from 7.4.3 to 7.4.4 by @dependabot in #855
- chore: bump mypy from 1.7.1 to 1.8.0 by @dependabot in #851
- chore: bump pytest-asyncio from 0.23.2 to 0.23.3 by @dependabot in #857
Full Changelog: 9.1.2...9.1.3
9.1.2
Update
- fix: mark GetTransactionResponse.create_at as Optional. (#854)
PyPi Package: https://pypi.org/project/stellar-sdk/9.1.2/
Documentation: https://stellar-sdk.readthedocs.io/en/9.1.2/
9.1.1
Update
- improve: add the missing
create_at
field toGetTransactionResponse
. (#849)
PyPi Package: https://pypi.org/project/stellar-sdk/9.1.1/
Documentation: https://stellar-sdk.readthedocs.io/en/9.1.1/
9.1.0
Update
- feat: support resource leeway parameter when simulating Soroban transactions. (#846)
- refactor: the type of
GetEventsRequest.start_ledger
has changed fromstr
toint
. (#847)
PyPi Package: https://pypi.org/project/stellar-sdk/9.1.0/
Documentation: https://stellar-sdk.readthedocs.io/en/9.1.0/