Skip to content

Releases: StellarCN/py-stellar-base

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/

8.0.0-beta4

24 Apr 11:58
0ea525c
Compare
Choose a tag to compare
8.0.0-beta4 Pre-release
Pre-release

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

24 Apr 10:47
94aff37
Compare
Choose a tag to compare
8.0.0-beta3 Pre-release
Pre-release

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

24 Apr 09:56
ed2d2ed
Compare
Choose a tag to compare

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

20 Apr 02:38
3a76d0b
Compare
Choose a tag to compare
8.0.0-beta2 Pre-release
Pre-release

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/