Skip to content

Releases: StellarCN/py-stellar-base

9.0.0-beta0

20 Sep 13:01
5a3e556
Compare
Choose a tag to compare

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

16 Sep 10:06
b444030
Compare
Choose a tag to compare
9.0.0-alpha2 Pre-release
Pre-release

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

28 Aug 08:56
1be4099
Compare
Choose a tag to compare
9.0.0-alpha1 Pre-release
Pre-release

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

27 Aug 04:58
91cc4fd
Compare
Choose a tag to compare
9.0.0-alpha0 Pre-release
Pre-release

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 and aiohttp-sse-client as optional dependencies. (#765)
  • Publishing to PyPI with a Trusted Publisher. (#767)
  • Update dependencies.

Breaking changes

  • Remove ValueError, TypeError and AttributeError from stellar_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

22 Jun 11:46
0e0faed
Compare
Choose a tag to compare

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

15 Mar 04:29
bc992a4
Compare
Choose a tag to compare

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

12 Oct 10:58
5a2bfbc
Compare
Choose a tag to compare

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

13 Jun 14:49
560519d
Compare
Choose a tag to compare

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

04 Jun 06:30
09fb761
Compare
Choose a tag to compare

Update

  • Make some amount fields accept Decimal. (#597)
  • Regenerate xdr files with the latest xdrgen. (#595)

PyPi Package: https://pypi.org/project/stellar-sdk/8.0.1/
Documentation: https://stellar-sdk.readthedocs.io/en/8.0.1/

8.0.0

07 May 07:45
5c97fa0
Compare
Choose a tag to compare

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 use Transaction.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/