#2192 Support for APIs in the new API version 2024-09-30.acacia
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 due to changes in the Stripe API
Rename usage_threshold_config to usage_threshold on Billing.AlertCreateParams and Billing.Alert
Remove support for filter on Billing.AlertCreateParams and Billing.Alert. Use the filters on the usage_threshold instead
Remove support for customer_consent_collected on Terminal.ReaderProcessSetupIntentParams.
⚠️ Other Breaking changes in the SDK
Adjusted default values around reties for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
max retries: 1 -> 2
max timeout (seconds): 2 -> 5
Additions
Add support for custom_unit_amount on ProductCreateParams.default_price_data
Add support for allow_redisplay on Terminal.ReaderProcessPaymentIntentParams.process_config and Terminal.ReaderProcessSetupIntentParams
Add support for new value international_transaction on enum Treasury.ReceivedCredit.failure_code
Add support for new value 2024-09-30.acacia on enum WebhookEndpointCreateParams.api_version
Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events in the v2 namespace
Add method parseThinEvent() on the Stripe class to parse thin events.
Add method rawRequest() on the Stripe 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.
Changes
Change BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates and BillingPortal.ConfigurationCreateParams.features.subscription_update.products to be optional
Remove support for list_line_items and retrieve methods on resource QuotePhase
Add support for send_money and transfer_balance on AccountSessionCreateParams.components.financial_account.features
Add support for new value rechnung on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
Change Quote.subscription_data_overrides[].end_behavior to be optional
#2192 Support for APIs in the new API version 2024-09-30.acacia
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 due to changes in the Stripe API
Rename usage_threshold_config to usage_threshold on Billing.AlertCreateParams and Billing.Alert
Remove support for filter on Billing.AlertCreateParams and Billing.Alert. Use the filters on the usage_threshold instead
Remove support for customer_consent_collected on Terminal.ReaderProcessSetupIntentParams.
⚠️ Other Breaking changes in the SDK
Adjusted default values around reties for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
max retries: 1 -> 2
max timeout (seconds): 2 -> 5
Additions
Add support for custom_unit_amount on ProductCreateParams.default_price_data
Add support for allow_redisplay on Terminal.ReaderProcessPaymentIntentParams.process_config and Terminal.ReaderProcessSetupIntentParams
Add support for new value international_transaction on enum Treasury.ReceivedCredit.failure_code
Add support for new value 2024-09-30.acacia on enum WebhookEndpointCreateParams.api_version
Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events in the v2 namespace
Add method parseThinEvent() on the Stripe class to parse thin events.
Add method rawRequest() on the Stripe 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.
Changes
Change BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates and BillingPortal.ConfigurationCreateParams.features.subscription_update.products to be optional
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps stripe from 16.12.0 to 17.0.0.
Release notes
Sourced from stripe's releases.
Changelog
Sourced from stripe's changelog.
Commits
2399b97
Bump version to 17.0.03511d7f
Remove parseSnapshotEvent (#2195)ed3d49a
Support for APIs in the new API version 2024-09-30.acacia (#2192)1b5ff05
Revert "Add raw_request (#2185)" (#2188)6d3cef2
Add raw_request (#2185)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show