From b6c5eec4bc6c241df51c56865afb34c0c8fb6a2a Mon Sep 17 00:00:00 2001 From: David Brownman <1231935+xavdid@users.noreply.github.com> Date: Mon, 3 Aug 2026 08:47:32 -0700 Subject: [PATCH 1/3] add user-facing way to access API release (#1863) --- stripe/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stripe/__init__.py b/stripe/__init__.py index ec8c10d93..dd958d504 100644 --- a/stripe/__init__.py +++ b/stripe/__init__.py @@ -30,6 +30,7 @@ upload_api_base: str = DEFAULT_UPLOAD_API_BASE meter_events_api_base: str = DEFAULT_METER_EVENTS_API_BASE api_version: str = _ApiVersion.CURRENT +major_api_version: str = _ApiVersion.CURRENT_MAJOR verify_ssl_certs: bool = True proxy: Optional[str] = None default_http_client: Optional["HTTPClient"] = None From fb0bf899d1e5958abda3082b1a9d28749bb5ffcc Mon Sep 17 00:00:00 2001 From: jar-stripe Date: Tue, 4 Aug 2026 10:58:26 -0700 Subject: [PATCH 2/3] added v2-event-imports section to static _event. this matches the (#1861) file format used in beta and private-preview --- stripe/v2/core/_event.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stripe/v2/core/_event.py b/stripe/v2/core/_event.py index 6b84908dd..4a8cb159d 100644 --- a/stripe/v2/core/_event.py +++ b/stripe/v2/core/_event.py @@ -2,6 +2,8 @@ import json from typing import Any, ClassVar, Dict, Optional, cast +# v2-event-imports: The beginning of the section generated from our OpenAPI spec +# v2-event-imports: The end of the section generated from our OpenAPI spec from typing_extensions import Literal, TYPE_CHECKING From 38d30e12ba46b889f36be1d04872dd166af0b6c5 Mon Sep 17 00:00:00 2001 From: zacchua-stripe Date: Tue, 4 Aug 2026 12:57:02 -0700 Subject: [PATCH 3/3] Update changelog with open enum (#1864) --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3cd8df59..7f25c1887 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,7 @@ This release changes the pinned API version to 2026-07-29.dahlia. * Add support for `additional_addresses` on `V2.Core.Account.Identity.BusinessDetail`, `v2.core.AccountCreateParamsIdentityBusinessDetail`, `v2.core.AccountModifyParamsIdentityBusinessDetail`, and `v2.core.AccountTokenCreateParamsIdentityBusinessDetail` * Add support for snapshot events `financial_connections.account.expected_deactivation_date_updated`, `financial_connections.account.supported_payment_method_types_updated`, and `financial_connections.account.upcoming_deactivation` with resource `financial_connections.Account` * Add support for snapshot events `financial_connections.authorization.expected_deactivation_date_updated` and `financial_connections.authorization.upcoming_deactivation` with resource `financial_connections.Authorization` + * Enum type annotations for non-exhaustive ("open") enums are now typed as `Union[Literal[...], str]` instead of plain `Literal[...]`. Many Stripe enums are open, meaning new values may appear in new versions of the API. This change ensures these fields have the correct type for both the values known at SDK release time and other values that may be added later. Refer to the [API Reference](https://docs.stripe.com) for the latest set of allowed values. * [#1853](https://github.com/stripe/stripe-python/pull/1853) Fix intermittent Windows test flake in async httpx integration tests * [#1849](https://github.com/stripe/stripe-python/pull/1849) Use ip address directly instead of localhost to speed up windows tests