Releases: StellarCN/py-stellar-base
9.0.0-beta0
WARN: Please get this SDK from PyPi instead of the soroban branch. The soroban branch will be deleted later.
Update
- feat: add helper functions to sign authorization entries. (#776)
- feat: add
SorobanServerAsync
to support asynchronous requests. (#782)
PyPi Package: https://pypi.org/project/stellar-sdk/9.0.0b0/
Documentation: https://stellar-sdk.readthedocs.io/en/9.0.0-beta0/
9.0.0-alpha2
This version is not compatible with Soroban Preview 10.
Update
- feat: add support for Soroban Preview 11 (#777)
PyPi Package: https://pypi.org/project/stellar-sdk/9.0.0a2/
Documentation: https://stellar-sdk.readthedocs.io/en/9.0.0-alpha2/
9.0.0-alpha1
Update
- fix: fix the issue where soroban data is not correctly set when building a transaction through TransactionBuilder. (#770)
PyPi Package: https://pypi.org/project/stellar-sdk/9.0.0a1/
Documentation: https://stellar-sdk.readthedocs.io/en/9.0.0-alpha1/
9.0.0-alpha0
Add
- feat: add support for Soroban Preview 10. Please check the examples in the
examples
folder to learn how to use it.
Update
- Runtime type checking has now been removed. Please use tools like mypy for type checking. (#706)
- Add
__hash__
to the xdr classes. (#757) - Make
aiohttp
andaiohttp-sse-client
as optional dependencies. (#765) - Publishing to PyPI with a Trusted Publisher. (#767)
- Update dependencies.
Breaking changes
- Remove
ValueError
,TypeError
andAttributeError
fromstellar_sdk.exceptions
. (#763)
PyPi Package: https://pypi.org/project/stellar-sdk/9.0.0a0/
Documentation: https://stellar-sdk.readthedocs.io/en/9.0.0-alpha0/
8.2.1
Add
- feat: add comparison operators to Price class. (#741)
PyPi Package: https://pypi.org/project/stellar-sdk/8.2.1/
Documentation: https://stellar-sdk.readthedocs.io/en/8.2.1/
8.2.0
Add
- feat: add support for SEP-0035. (#711)
Note
- Python 3.6 is no longer supported.
PyPi Package: https://pypi.org/project/stellar-sdk/8.2.0/
Documentation: https://stellar-sdk.readthedocs.io/en/8.2.0/
8.1.1
Update
- docs: correct the horizon address of the public network (#611)
- deps: update dependencies.
Note
The default branch of this repository was changed to main
.
PyPi Package: https://pypi.org/project/stellar-sdk/8.1.1/
Documentation: https://stellar-sdk.readthedocs.io/en/8.1.1/
8.1.0
Add
- feat: allow custom headers to be set in
stellar_sdk.client.requests_client.RequestsClient
. (#600, thank you @RohitK89!) - feat: allow custom headers to be set in
stellar_sdk.client.aiohttp_client.AiohttpClient
. (#601)
PyPi Package: https://pypi.org/project/stellar-sdk/8.1.0/
Documentation: https://stellar-sdk.readthedocs.io/en/8.1.0/
8.0.1
Update
PyPi Package: https://pypi.org/project/stellar-sdk/8.0.1/
Documentation: https://stellar-sdk.readthedocs.io/en/8.0.1/
8.0.0
This release includes breaking changes.
This release adds support for Protocol 19.
It includes CAP-21 (new transaction preconditions) and CAP-40 (signed payload signers).
Breaking changes
Transaction.time_bounds
has been removed, please useTransaction.preconditions.time_bounds
instead.- No longer sets "now" as the default cursor for AiohttpClient.stream (#591)
- Some breaking updates are included in XDR, you can check the changes here.
Add
-
Support for converting signed payloads (CAP-40) to and from their StrKey (
P...
) representation, you can find the example here. -
Support for creating transactions with the new preconditions (CAP-21) via
TransactionBuilder
, you can find the example here.-
TransactionBuilder.set_ledger_bounds(min_ledger: int, max_ledger: int)
-
TransactionBuilder.set_min_sequence_number(min_sequence_number: int)
-
TransactionBuilder.set_min_sequence_age(min_sequence_age: int)
-
TransactionBuilder.set_min_sequence_ledger_gap(min_sequence_ledger_gap: int)
-
TransactionBuilder.add_extra_signer(signer_key: Union[SignerKey, SignedPayloadSigner, str])
-
-
Support for Signing transactions containing the ed25519 payload extra signer, you can find the example here.
Keypair.sign_payload_decorated(data: bytes)
TransactionEnvelope.sign_extra_signers_payload(signer: Union[Keypair, str])
-
Support for CAP-21 has been added to
stellar_sdk.sep.txrep
.
Update
-
feat: you can turn off runtime type checking by configuring
STELLAR_SDK_RUNTIME_TYPE_CHECKING=0
in environment variables. (#589)In order to make the program more rigorous and novice friendly, we previously introduced runtime type checking, but this would cause a significant performance penalty, so now we allow users to turn it off.
-
refactor: remove runtime type checking in
stellar_sdk.xdr
package (#584)
PyPi Package: https://pypi.org/project/stellar-sdk/8.0.0/
Documentation: https://stellar-sdk.readthedocs.io/en/8.0.0/