Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for APIs in the new API version 2024-09-30.acacia #1756

Merged
merged 10 commits into from
Oct 1, 2024

Conversation

ramya-stripe
Copy link
Contributor

@ramya-stripe ramya-stripe commented Sep 27, 2024

Changelog

This release changes the pinned API version to 2024-09-30.acacia. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

⚠️ Breaking changes

  • Rename usage_threshold_config to usage_threshold on Billing.Alert
  • Remove support for filter on Billing.Alert. Use the filters on the usage_threshold instead

Additions

  • Add support for new value international_transaction on enum Treasury.ReceivedCredit.failure_code
  • Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events under the v2 namespace
  • Add new method parseThinEvent() on the StripeClient class to parse thin events.
  • Add a new method rawRequest() on the StripeClient class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.

stripe-openapi bot and others added 6 commits September 26, 2024 11:35
* added new example template and instructions on how to create more

* Revert "added new example template and instructions on how to create more"

This reverts commit 002550f.

* Update generated code for v1268

* Update generated code for v1268

---------

Co-authored-by: Jesse Rosalia <jar@stripe.com>
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
* Fixed event object type to v2.core.event

* lint fix
* Fix type of Billing Meter Event

* Added link to jira
* Fix related object fetch

* Fix phpstan
@ramya-stripe ramya-stripe changed the title Support for APIs in the new API version 2024-09-30 Support for APIs in the new API version 2024-09-30.acacia Oct 1, 2024
prathmesh-stripe and others added 2 commits October 1, 2024 10:26
* Better property descriptions for thin event class

* Removed Reason and Livemode from ThinEvent

* Added better description for class

* Fixed test

* lint fix
@ramya-stripe ramya-stripe merged commit b12bec9 into master Oct 1, 2024
43 checks passed
@ramya-stripe ramya-stripe deleted the sdk-release/next-major branch October 1, 2024 16:33
prathmesh-stripe added a commit that referenced this pull request Oct 3, 2024
* added new example template and instructions on how to create more

* Revert "added new example template and instructions on how to create more"

This reverts commit 002550f.

* Support for APIs in the new API version 2024-09-30.acacia (#1756)

* Removed parseSnapshotEvent (#1764)

* Bump version to 16.0.0

* Updated the class names

* Fixed PHPcsfixer

---------

Co-authored-by: Jesse Rosalia <jar@stripe.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
Co-authored-by: Ramya Rao <ramya@stripe.com>
Co-authored-by: Prathmesh Ranaut <prathmesh@stripe.com>
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.

4 participants