Releases: StellarCN/py-stellar-base
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/
8.0.0-beta4
Breaking changes
- refactor: no longer sets "now" as the default cursor for AiohttpClient.stream (#591)
PyPi Package: https://pypi.org/project/stellar-sdk/8.0.0b4/
Documentation: https://stellar-sdk.readthedocs.io/en/8.0.0-beta4/
8.0.0-beta3
Add
- feat: add
server.offers().for_account(account_id)
to retrieve the account's offers. (#590)
PyPi Package: https://pypi.org/project/stellar-sdk/8.0.0b3/
Documentation: https://stellar-sdk.readthedocs.io/en/8.0.0-beta3/
7.0.3
Add
- feat: add
server.offers().for_account(account_id)
to retrieve the account's offers. (#590)
PyPi Package: https://pypi.org/project/stellar-sdk/7.0.3/
Documentation: https://stellar-sdk.readthedocs.io/en/7.0.3/
8.0.0-beta2
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.
PyPi Package: https://pypi.org/project/stellar-sdk/8.0.0b2/
Documentation: https://stellar-sdk.readthedocs.io/en/8.0.0-beta2/