Skip to content

Releases: StellarCN/py-stellar-base

12.0.0-beta3

14 Nov 11:29
a81ed83
Compare
Choose a tag to compare
12.0.0-beta3 Pre-release
Pre-release

Several hours ago, I released version 12.0.0-beta2, which added support for the Soroban RPC's getLedgers API interface.
However, some field names in the implementation need to be renamed.

Update

  • refactor: rename LedgerInfo.ledger_header to LedgerInfo.header_xdr, LedgerInfo.ledger_metadata to LedgerInfo.metadata_xdr. (#994)

12.0.0-beta2

14 Nov 03:59
fb566cb
Compare
Choose a tag to compare
12.0.0-beta2 Pre-release
Pre-release

Update

  • feat: add support for Soroban PRC's getLedgers API interface. (#992)

12.0.0-beta1

01 Nov 07:47
121f459
Compare
Choose a tag to compare
12.0.0-beta1 Pre-release
Pre-release

Update

  • refactor: add paging_token back to EventInfo. This is to ensure compatibility with older versions of Soroban-RPC. We still recommend using the GetEventsResponse.cursor field after upgrading Soroban-RPC. (#990)

12.0.0-beta0

14 Oct 06:50
8d5d426
Compare
Choose a tag to compare
12.0.0-beta0 Pre-release
Pre-release

This is the first release that supports Protocol 22. While the network has not upgraded yet,
you can start integrating the new features into your codebase if you want a head start.

Update

  • feat: add support for Soroban PRC's getVersionInfo API interfaces.
  • feat: add transaction_hash to GetTransactionResponse and GetTransactionsResponse.

Breaking changes

  • refactor!: the paging_token field has been removed from EventInfo, use the cursor in GetEventsResponse instead.
  • refactor!: the legacy cost field has been removed from SimulateTransactionResponse, parse it from transaction_data instead.
  • feat!: support constructors in contract creation via TransactionBuilder.append_create_contract_op, the signature of the function has been changed.
  • refactor!: updated signer parameter in auth to accept a callable returning (public_key, signatures) instead of just public_key.

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