From 8ab34a64788d9ef31518cd8eef34a14ca4f98eec Mon Sep 17 00:00:00 2001 From: Jun Luo <4catcode@gmail.com> Date: Tue, 16 Jul 2024 17:38:23 +0800 Subject: [PATCH] release: 11.0.0 (#957) --- CHANGELOG.md | 23 +++++++++++++++-------- pyproject.toml | 2 +- stellar_sdk/__version__.py | 2 +- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fe5ffec..10f2f095 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,19 +2,26 @@ Release History ============== ### Pending + +### Version 11.0.0 + +Released on July 16, 2024 + #### Update -- feat: `SorobanServer.send_transaction` supports sending FeeBumpTransactionEnvelope. -- fix: Corrected the issue where `TransactionBuilder.from_xdr` could not properly parse transactions containing Soroban operations. -- fix: Corrected the issue where `FeeBumpTransactionEnvelope.from_xdr` could not properly parse transactions containing Soroban operations. -- refactor: `TransactionBuilder.from_xdr` previously could return `TransactionBuilder` or `FeeBumpTransactionEnvelope`. Now it will no longer return `TransactionBuilder`, but will return `TransactionEnvelope` or `FeeBumpTransactionEnvelope`. -- feat: `TransactionBuilder.build_fee_bump_transaction` now supports transactions containing Soroban operations. +- feat: `SorobanServer.send_transaction` supports sending FeeBumpTransactionEnvelope. ([#956](https://github.com/StellarCN/py-stellar-base/pull/956)) +- fix: Corrected the issue where `TransactionBuilder.from_xdr` could not properly parse transactions containing Soroban operations. ([#957](https://github.com/StellarCN/py-stellar-base/pull/957)) +- fix: Corrected the issue where `FeeBumpTransactionEnvelope.from_xdr` could not properly parse transactions containing Soroban operations. ([#957](https://github.com/StellarCN/py-stellar-base/pull/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](https://github.com/StellarCN/py-stellar-base/pull/957)) +- feat: `TransactionBuilder.build_fee_bump_transaction` now supports transactions containing Soroban operations. ([#957](https://github.com/StellarCN/py-stellar-base/pull/957)) +- fix: fix the issue where invoking `SorobanServer.prepare_transaction` for transactions that have already set `SorobanData` could result in unexpected high fees. ([#957](https://github.com/StellarCN/py-stellar-base/pull/957)) +- chore: bump dependencies. #### Breaking changes -- refactor: `FeeBumpTransactionEnvelope.base_fee` has been removed. Please use `FeeBumpTransactionEnvelope.fee instead`. Note that their meanings are different: +- refactor: `FeeBumpTransactionEnvelope.base_fee` has been removed. Please use `FeeBumpTransactionEnvelope.fee instead`. Note that their meanings are different: ([#957](https://github.com/StellarCN/py-stellar-base/pull/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`. -- refactor: `helpers.parse_transaction_envelope_from_xdr` has been marked as deprecated. Please use the refactored `TransactionEnvelope.from_xdr` instead. +- refactor: `TransactionBuilder.from_xdr` previously could return `TransactionBuilder` or `FeeBumpTransactionEnvelope`. Now it will no longer return `TransactionBuilder`, but will return `TransactionEnvelope` or `FeeBumpTransactionEnvelope`. ([#957](https://github.com/StellarCN/py-stellar-base/pull/957)) +- refactor: `helpers.parse_transaction_envelope_from_xdr` has been marked as deprecated. Please use the refactored `TransactionEnvelope.from_xdr` instead. ([#957](https://github.com/StellarCN/py-stellar-base/pull/957)) ### Version 10.0.0 diff --git a/pyproject.toml b/pyproject.toml index 2165fc2a..b3ce66b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "stellar-sdk" -version = "10.0.0" +version = "11.0.0" description = "The Python Stellar SDK library provides APIs to build transactions and connect to Horizon and Soroban-RPC server." authors = [ "overcat <4catcode@gmail.com>", diff --git a/stellar_sdk/__version__.py b/stellar_sdk/__version__.py index ba9019a6..bc7b1712 100644 --- a/stellar_sdk/__version__.py +++ b/stellar_sdk/__version__.py @@ -11,7 +11,7 @@ __description__ = "The Python Stellar SDK library provides APIs to build transactions and connect to Horizon and Soroban-RPC server." __url__ = "https://github.com/StellarCN/py-stellar-base" __issues__ = f"{__url__}/issues" -__version__ = "10.0.0" +__version__ = "11.0.0" __author__ = "Eno, overcat" __author_email__ = "appweb.cn@gmail.com, 4catcode@gmail.com" __license__ = "Apache License 2.0"