Skip to content

Conversation

prathmesh-stripe
Copy link
Contributor

@prathmesh-stripe prathmesh-stripe commented Aug 14, 2025

What?

We are introducing a V1 namespace to improve code organization in Stripe SDKs.

Changelog

  • Introduced V1 service in StripeClient. All the existing V1 StripeClient services(eg. customers, products) are copied under the new V1 service. Service accessors living directly under StripeClient will be marked as deprecated in the next major release and will be removed in a future release. Eg.
StripeClient client = new 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 changed the title Introduced V1 namespaces Introduce V1 namespaces in StripeClient Aug 14, 2025
@prathmesh-stripe prathmesh-stripe marked this pull request as ready for review August 21, 2025 04:34
@prathmesh-stripe prathmesh-stripe requested a review from a team as a code owner August 21, 2025 04:34
@prathmesh-stripe prathmesh-stripe requested review from xavdid-stripe and removed request for a team August 21, 2025 04:34
@prathmesh-stripe prathmesh-stripe force-pushed the prathmesh/introduce-v1-namespaces branch from 8293701 to 510f7b4 Compare August 21, 2025 04:34
Copy link
Contributor

@helenye-stripe helenye-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mark the changelog with ⚠️ ?

@prathmesh-stripe
Copy link
Contributor Author

We have used that for breaking changes in the past. This is not a breaking change.

@prathmesh-stripe prathmesh-stripe merged commit 1fe5cbc into master Aug 21, 2025
13 checks passed
@prathmesh-stripe prathmesh-stripe deleted the prathmesh/introduce-v1-namespaces branch August 21, 2025 15:31
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