Skip to content

Releases: StellarCN/py-stellar-base

10.0.0

15 May 02:03
e49a2f6
Compare
Choose a tag to compare

What's Changed

Update

  • improve: The function in stellar_xdr.scval can accept sc_val of base64 and bytes types. (#932)
  • feat: add support for Soroban-RPC 21. (#933)
  • refactor: use __repr__ instead of __str__ in classes. (#936)
  • feat: add a helper function to convert SCVal to native types. (#937)
  • chore: updated various dependencies.

Breaking changes

  • feat: add support for Soroban-RPC 21, you need to upgrade Soroban PRC to version v21 or above. (#933)

Full Changelog: 9.4.0...10.0.0

9.4.0

01 May 01:48
b0043eb
Compare
Choose a tag to compare

What's Changed

  • chore: The generated XDR has been upgraded to match the upcoming Protocol 21, namely stellar/stellar-xdr@v21.1. (#927)
  • chore: updated various dependencies.

Full Changelog: 9.3.0...9.4.0

9.3.0

13 Mar 02:46
6917e57
Compare
Choose a tag to compare

What's Changed

  • feat: Add Asset.contract_id() for calculating the id of the asset contract. (#901)
  • chore: throw an exception when the API does not provide streaming support. (#878)
  • chore: bump dependencies.

Full Changelog: 9.2.0...9.3.0

9.2.0

14 Jan 08:29
531bbf6
Compare
Choose a tag to compare

What's Changed

  • feat: add scv.to_void and scv.from_void. by @overcat in #863
  • feat: Support for the new, optional diagnostic_events_xdr field on the SorobanServer.send_transaction method. by @overcat in #866
  • fix: fix docs. by @overcat in #860
  • chore: bump types-requests from 2.31.0.20231231 to 2.31.0.20240106 by @dependabot in #862
  • release: 9.2.0 by @overcat in #867

Full Changelog: 9.1.3...9.2.0

9.1.3

03 Jan 03:42
a24008b
Compare
Choose a tag to compare

What's Changed

  • fix: fix the way of exporting modules to resolve pyright warnings. by @overcat in #858
  • chore: bump types-requests from 2.31.0.10 to 2.31.0.20231231 by @dependabot in #856
  • chore: bump pytest from 7.4.3 to 7.4.4 by @dependabot in #855
  • chore: bump mypy from 1.7.1 to 1.8.0 by @dependabot in #851
  • chore: bump pytest-asyncio from 0.23.2 to 0.23.3 by @dependabot in #857

Full Changelog: 9.1.2...9.1.3

9.1.2

26 Dec 13:24
5927b65
Compare
Choose a tag to compare

Update

  • fix: mark GetTransactionResponse.create_at as Optional. (#854)

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

9.1.1

16 Dec 08:59
2d2ccf4
Compare
Choose a tag to compare

Update

  • improve: add the missing create_at field to GetTransactionResponse. (#849)

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

9.1.0

16 Dec 04:10
f8a091d
Compare
Choose a tag to compare

Update

  • feat: support resource leeway parameter when simulating Soroban transactions. (#846)
  • refactor: the type of GetEventsRequest.start_ledger has changed from str to int. (#847)

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

9.0.0

09 Dec 11:25
7b2b069
Compare
Choose a tag to compare

If you are upgrading from 8.x to this version, please refer to CHANGELOG.md for all the changelogs. The following logs only include changes from 9.0.0-beta1 until now.

Update

  • fix: fix the issue of incorrect handling of special horizon links on the Windows platform. (#825)
  • chore: add support for Python 3.12. (#799)
  • chore: SorobanServer uses testnet instead of futurenet by default (#831)

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

9.0.0-beta1

15 Nov 08:51
266233f
Compare
Choose a tag to compare

Update

  • refactor: make the parameters parameter in TransactionBuilder.append_invoke_contract_function_op optional. (#789)
  • improve: sort the dictionary based on the key when calling scval.to_struct. (#817)

Breaking changes

  • chore: drop support for Python 3.7. (#813)
  • refactor: replace stellar-base-sseclient with requests-sse to improve the stability of the stream. Previously, when encountering an error, it would throw a ConnectionError, but now it will throw a StreamClientError. (#814)
  • feat: update the SDK to the stable Protocol 20 release, this contains some breaking updates, please check #808 for more information. (#809)

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