Skip to content

Conversation

prathmesh-stripe
Copy link
Contributor

What?

We introduced V1 namespace to improve code organization in Stripe SDKs in our last release.

Changelog

  • ⚠️ Deprecated the V1 service accessors living directly under StripeClient(e.g. customers, products) as they were copied under the new V1 service in our last release. Service accessors living directly under StripeClient(e.g. customers, products) will be removed from StripeClient in a future release. E.g.
client = StripeClient("sk_test...")

# Accessing V1 Stripe services on a StripeClient should be through the V1 namespace
- client.customers.list() 
+ client.v1.customers.list()

Refer to the migration guide for help upgrading.

@prathmesh-stripe prathmesh-stripe requested a review from a team as a code owner September 23, 2025 01:01
@prathmesh-stripe prathmesh-stripe requested review from helenye-stripe and removed request for a team September 23, 2025 01:01
@prathmesh-stripe prathmesh-stripe changed the title Deprecate services living directly under StripeClient Deprecate V1 services living directly under StripeClient Sep 23, 2025
@prathmesh-stripe prathmesh-stripe changed the title Deprecate V1 services living directly under StripeClient Deprecate and move V1 services living directly under StripeClient Sep 23, 2025
@prathmesh-stripe prathmesh-stripe force-pushed the prathmesh/v1-namespaces-with-deprecations-final branch from f721268 to 5c0fb91 Compare September 24, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants