Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

xavdid-stripe
Copy link
Member

@xavdid-stripe xavdid-stripe commented Sep 26, 2025

Why?

In 2024-09-30.acacia (docs), we released our new V2 Event system, found under the /v2/core/events API endpoint. When we put them in our in SDKs, for presentation reasons, we put these new resources in the Stripe.V2.Event namespace.

We've realized that dropping Core from the SDK namespace adds more confusion than good, so we're putting the v2 Event resource into the Stripe.V2.Core namespace, where you'd expect to find it in the first place.

There's no change to specific event classes, like V1BillingMeterErrorReportTriggeredEvent. Those are, and will continue to be, under Stripe.Events.

What?

  • moved all resources from V2.Events to V2.Core.Events
  • updated tests

Changelog

  • ⚠️ Move all V2 Event-related resources (Event, RelatedObject, etc) from Stripe\V2 to Stripe\V2\Core. They now correctly match their API path and are in line with all other resources. To update your code:
-Stripe\V2\Event
+Stripe\V2\Core\Event
  • Existing event types (like Stripe\Events\V1BillingMeterErrorReportTriggeredEvent) haven't moved.

@xavdid-stripe xavdid-stripe marked this pull request as ready for review September 26, 2025 23:40
@xavdid-stripe xavdid-stripe requested a review from a team as a code owner September 26, 2025 23:40
@xavdid-stripe xavdid-stripe requested review from helenye-stripe and mbroshi-stripe and removed request for a team September 26, 2025 23:40
@xavdid-stripe xavdid-stripe enabled auto-merge (squash) September 27, 2025 02:03
@xavdid-stripe xavdid-stripe merged commit e56309a into master Sep 29, 2025
27 checks passed
@xavdid-stripe xavdid-stripe deleted the jar/move-v2-event-resources branch September 29, 2025 12:41
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.