From 121f4598b171992495df735b86e849bc3ca15568 Mon Sep 17 00:00:00 2001 From: Jun Luo <4catcode@gmail.com> Date: Fri, 1 Nov 2024 15:37:20 +0800 Subject: [PATCH] pre-release: 12.0.0-beta1 (#991) --- CHANGELOG.md | 18 +++++++++++------- pyproject.toml | 2 +- stellar_sdk/__version__.py | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68c8c3aa..4fb50c7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,12 @@ Release History ### Pending +### Version 12.0.0-beta1 + +Released on November 01, 2024 + #### 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. +- 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](https://github.com/StellarCN/py-stellar-base/pull/990)) ### Version 12.0.0-beta0 @@ -14,14 +18,14 @@ This is the first release that supports Protocol 22. While the network has not u 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`. +- feat: add support for Soroban PRC's `getVersionInfo` API interfaces. ([#984](https://github.com/StellarCN/py-stellar-base/pull/984)) +- feat: Add `transaction_hash` to `GetTransactionResponse` and `GetTransactionsResponse`. ([#984](https://github.com/StellarCN/py-stellar-base/pull/984)) #### 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. +- refactor!: The `paging_token` field has been removed from `EventInfo`, use the `cursor` in `GetEventsResponse` instead. (Reverted in 12.0.0-beta1) ([#984](https://github.com/StellarCN/py-stellar-base/pull/984)) +- refactor!: The legacy `cost` field has been removed from `SimulateTransactionResponse`, parse it from `transaction_data` instead. ([#984](https://github.com/StellarCN/py-stellar-base/pull/984)) +- feat!: support constructors in contract creation via `TransactionBuilder.append_create_contract_op`, the signature of the function has been changed. ([#979](https://github.com/StellarCN/py-stellar-base/pull/979)) +- refactor!: Updated `signer` parameter in auth to accept a callable returning (public_key, signatures) instead of just public_key. ([#982](https://github.com/StellarCN/py-stellar-base/pull/982)) ### Version 11.1.0 diff --git a/pyproject.toml b/pyproject.toml index 75a094c4..7eb7c779 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "stellar-sdk" -version = "12.0.0b0" +version = "12.0.0b1" 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 f21486ca..a7d14a34 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__ = "12.0.0b0" +__version__ = "12.0.0b1" __author__ = "Eno, overcat" __author_email__ = "appweb.cn@gmail.com, 4catcode@gmail.com" __license__ = "Apache License 2.0"