Skip to content

Releases: StellarCN/py-stellar-base

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/

8.0.0-beta1

19 Apr 01:18
53cfcd1
Compare
Choose a tag to compare
8.0.0-beta1 Pre-release
Pre-release

Update

  • refactor: remove runtime type checking in stellar_sdk.xdr package (#584)

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

8.0.0-beta0

13 Apr 06:47
c1a0418
Compare
Choose a tag to compare
8.0.0-beta0 Pre-release
Pre-release

This is a pre-release version, please do not use it in production.

It includes CAP-21 (new transaction preconditions) and CAP-40 (signed payload signers).

Breaking changes

  • Transaction.time_bounds is moved to Transaction.preconditions.time_bounds.
  • 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.

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

7.0.2

07 Apr 06:24
00c24e0
Compare
Choose a tag to compare

Update

  • fix: fixed-length arrays pack/unpack should not include length, but the previous releases incorrectly include it. (#581)

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

7.0.1

23 Feb 12:00
3c07a14
Compare
Choose a tag to compare

Update

  • feat: make stellar_sdk.Asset hashable. (#576)

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

7.0.0

12 Jan 07:54
00a6638
Compare
Choose a tag to compare

This update includes breaking changes.

This release introduces unconditional support for muxed accounts. (#574)

Breaking changes

  • In v4.0.0, we introduced opt-in support for muxed accounts, you would need to set ENABLE_SEP_0023 to true in the environment variable to enable support for this feature. In the new release, this feature will be enabled by default. (#574)

Add

  • Introduced a helper function which lets you pre-determine the hex claimable balance ID of a CreateClaimableBalance operation prior to submission to the network: (#575)

    class Transaction:
        def get_claimable_balance_id(self, operation_index: int) -> str:
            pass

Update

  • When the user builds a transaction through TransactionBuilder but does not set TimeBounds, the SDK will give a warning. (#565)
  • stellar_sdk.xdr module adds some validation to the data. (#564)

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

6.1.1

24 Nov 00:55
d39fa89
Compare
Choose a tag to compare

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

Some users encountered an error when initializing RequestsClient, this release may be able to solve this issue.

Update

  • Specify the version of urllib3 >= 1.26.7 and < 2.0.0. (#563)