From 61d9e4d8ae0b6d44d30bd6ab9315b8cb45e56d22 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Tue, 24 Jun 2025 12:21:41 -0700 Subject: [PATCH 1/4] Fix freezing recursion --- stripe/_api_version.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stripe/_api_version.py b/stripe/_api_version.py index bced0a8d9..442d12055 100644 --- a/stripe/_api_version.py +++ b/stripe/_api_version.py @@ -2,3 +2,4 @@ # File generated from our OpenAPI spec class _ApiVersion: CURRENT = "2025-05-28.basil" + CURRENT_MAJOR = "basil" From a90ce5b34c55561fe4c4de34b3b48ec8b7a3e6a1 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Tue, 24 Jun 2025 12:24:44 -0700 Subject: [PATCH 2/4] Revert "Fix freezing recursion" This reverts commit 61d9e4d8ae0b6d44d30bd6ab9315b8cb45e56d22. --- stripe/_api_version.py | 1 - 1 file changed, 1 deletion(-) diff --git a/stripe/_api_version.py b/stripe/_api_version.py index 442d12055..bced0a8d9 100644 --- a/stripe/_api_version.py +++ b/stripe/_api_version.py @@ -2,4 +2,3 @@ # File generated from our OpenAPI spec class _ApiVersion: CURRENT = "2025-05-28.basil" - CURRENT_MAJOR = "basil" From 44711b8797e19042fdccad5658bb1a5ba71b44b5 Mon Sep 17 00:00:00 2001 From: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com> Date: Wed, 25 Jun 2025 13:09:40 -0700 Subject: [PATCH 3/4] Link to the /changelog page instead of /upgrades (#1529) --- CHANGELOG.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e187eda41..6a1313307 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -398,7 +398,7 @@ This release changes the pinned API version to `2025-04-30.basil`. ## 11.0.0 - 2024-10-01 * [#1404](https://github.com/stripe/stripe-python/pull/1404) Support for APIs in the new API version 2024-09-30.acacia - This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-09-30.acacia) and carefully review the API changes before upgrading. + This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Changelog](https://docs.stripe.com/changelog/acacia#2024-09-30.acacia) and carefully review the API changes before upgrading. ### ⚠️ Breaking changes due to changes in the API @@ -553,7 +553,7 @@ This release changes the pinned API version to `2025-04-30.basil`. ## 10.0.0 - 2024-06-24 * [#1350](https://github.com/stripe/stripe-python/pull/1350) Update generated code - This release changes the pinned API version to 2024-06-20. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading. + This release changes the pinned API version to 2024-06-20. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-06-20) and carefully review the API changes before upgrading. ### ⚠️ Breaking changes @@ -724,7 +724,7 @@ This release changes the pinned API version to `2025-04-30.basil`. ## 9.0.0 - 2024-04-10 * [#1286](https://github.com/stripe/stripe-python/pull/1286) - * This release changes the pinned API version to `2024-04-10`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-04-10) and carefully review the API changes before upgrading. + * This release changes the pinned API version to `2024-04-10`. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-04-10) and carefully review the API changes before upgrading. ### ⚠️ Breaking changes @@ -1181,7 +1181,7 @@ This release changes the pinned API version to `2025-04-30.basil`. # Changelog ## 7.0.0 - 2023-10-16 -* This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-python`. +* This release changes the pinned API version to `2023-10-16`. Please read the [API Changelog](https://docs.stripe.com/changelog/2023-10-16) and carefully review the API changes before upgrading `stripe-python`. * [#1085](https://github.com/stripe/stripe-python/pull/1085) Update generated code - Updated pinned API version @@ -1300,7 +1300,7 @@ This release changes the pinned API version to `2025-04-30.basil`. ## 5.0.0 - 2022-11-16 -Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15. +Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-11-15. "⚠️" symbol highlights breaking changes. @@ -1352,7 +1352,7 @@ Breaking changes that arose during code generation of the library that we postpo ## 4.0.0 - 2022-08-02 -Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v4. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01. +Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v4. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-08-01. "⚠️" symbol highlights breaking changes. From 14780e03971f570277464c0745620bc1a0da21a1 Mon Sep 17 00:00:00 2001 From: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com> Date: Thu, 26 Jun 2025 13:35:05 -0400 Subject: [PATCH 4/4] Added lint ignore instruction for deprecated import (#1532) --- stripe/_stripe_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stripe/_stripe_client.py b/stripe/_stripe_client.py index e39f39534..e6fb417c9 100644 --- a/stripe/_stripe_client.py +++ b/stripe/_stripe_client.py @@ -24,7 +24,7 @@ from stripe._api_version import _ApiVersion from stripe._stripe_object import StripeObject from stripe._stripe_response import StripeResponse -from stripe._util import _convert_to_stripe_object, get_api_mode, deprecated +from stripe._util import _convert_to_stripe_object, get_api_mode, deprecated # noqa: F401 from stripe._webhook import Webhook, WebhookSignature from stripe._event import Event from stripe.v2._event import ThinEvent