Skip to content

Releases: StellarCN/py-stellar-base

11.1.0

18 Sep 01:50
3043a27
Compare
Choose a tag to compare

Update

  • feat: add support for Soroban PRC's getTransactions and getFeeStats API interfaces. (#960)
  • feat: add support for Horizon's transactions_async API interfaces. (#961)
  • fix: fix authorize_entry to use the correct public key when passing Keypair as signer. (#971)
  • feat: Expose stellar_sdk.address.AddressType for easy importing. (#973)
  • chore: bump dependencies.

11.0.0

16 Jul 09:43
8ab34a6
Compare
Choose a tag to compare

Update

  • feat: SorobanServer.send_transaction supports sending FeeBumpTransactionEnvelope. (#956)
  • fix: Corrected the issue where TransactionBuilder.from_xdr could not properly parse transactions containing Soroban operations. (#957)
  • fix: Corrected the issue where FeeBumpTransactionEnvelope.from_xdr could not properly parse transactions containing Soroban operations. (#957)
  • refactor: TransactionBuilder.from_xdr previously could return TransactionBuilder or FeeBumpTransactionEnvelope. Now it will no longer return TransactionBuilder, but will return TransactionEnvelope or FeeBumpTransactionEnvelope. (#957)
  • feat: TransactionBuilder.build_fee_bump_transaction now supports transactions containing Soroban operations. (#957)
  • fix: fix the issue where invoking SorobanServer.prepare_transaction for transactions that have already set SorobanData could result in unexpected high fees. (#957)
  • chore: bump dependencies.

Breaking changes

  • refactor: FeeBumpTransactionEnvelope.base_fee has been removed. Please use FeeBumpTransactionEnvelope.fee instead. Note that their meanings are different: (#957)
    • FeeBumpTransactionEnvelope.base_fee represented the maximum fee you were willing to pay per operation for this transaction.
    • FeeBumpTransactionEnvelope.fee represents the maximum fee you are willing to pay for this transaction.
  • refactor: TransactionBuilder.from_xdr previously could return TransactionBuilder or FeeBumpTransactionEnvelope. Now it will no longer return TransactionBuilder, but will return TransactionEnvelope or FeeBumpTransactionEnvelope. (#957)
  • refactor: helpers.parse_transaction_envelope_from_xdr has been marked as deprecated. Please use the refactored TransactionEnvelope.from_xdr instead. (#957)

Full Changelog: 10.0.0...11.0.0

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/[email protected]. (#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/