#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
Remove the support for resource Margin that was accidentally made public in the last release
17.0.0 - 2024-10-01
#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
Add support for new value verification_supportability on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, and BankAccount.requirements.errors[].code
Add support for new value terminal_reader_invalid_location_for_activation on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
Add support for payer_details on Charge.payment_method_details.klarna
Add support for amazon_pay on Dispute.payment_method_details
Add support for new value amazon_pay on enum Dispute.payment_method_details.type
Add support for automatically_finalizes_at on Invoice
Add support for state_sales_tax on Tax.Registration.country_options.us and Tax.RegistrationCreateParams.country_options.us
Add support for new resource InvoiceRenderingTemplate
Add support for archive, list, retrieve, and unarchive methods on resource InvoiceRenderingTemplate
Add support for required on Checkout.Session.tax_id_collection, Checkout.SessionCreateParams.tax_id_collection, PaymentLink.tax_id_collection, PaymentLinkCreateParams.tax_id_collection, and PaymentLinkUpdateParams.tax_id_collection
Add support for template on Customer.invoice_settings.rendering_options, CustomerCreateParams.invoice_settings.rendering_options, CustomerUpdateParams.invoice_settings.rendering_options, Invoice.rendering, InvoiceCreateParams.rendering, and InvoiceUpdateParams.rendering
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 15.8.0 to 17.1.0.
Release notes
Sourced from stripe's releases.
... (truncated)
Changelog
Sourced from stripe's changelog.
... (truncated)
Commits
64238dd
Bump version to 17.1.0035c5f8
Update generated code (#2199)d9a09ee
Remove entries for the follow ups from CHANGELOG.md (#2196)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)dd48563
Bump version to 16.12.068ac7cf
Update generated code (#2177)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