[Snyk] Upgrade stripe from 15.12.0 to 17.1.0 #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade stripe from 15.12.0 to 17.1.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 25 versions ahead of your current version.
The recommended version was released on 23 days ago.
Release notes
Package name: stripe
Margin
that was accidentally made public in the last releaseSee the changelog for more details.
#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.usage_threshold_config
tousage_threshold
onBilling.AlertCreateParams
andBilling.Alert
filter
onBilling.AlertCreateParams
andBilling.Alert
. Use the filters on theusage_threshold
insteadcustomer_consent_collected
onTerminal.ReaderProcessSetupIntentParams
.1
->2
2
->5
Additions
custom_unit_amount
onProductCreateParams.default_price_data
allow_redisplay
onTerminal.ReaderProcessPaymentIntentParams.process_config
andTerminal.ReaderProcessSetupIntentParams
international_transaction
on enumTreasury.ReceivedCredit.failure_code
2024-09-30.acacia
on enumWebhookEndpointCreateParams.api_version
Billing.MeterEvent
,Billing.MeterEventAdjustments
,Billing.MeterEventSession
,Billing.MeterEventStream
and the new Events APICore.Events
in the v2 namespaceparseThinEvent()
on theStripe
class to parse thin events.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
BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates
andBillingPortal.ConfigurationCreateParams.features.subscription_update.products
to be optionalSee the changelog for more details.
QuotePhase
list_line_items
andretrieve
methods on resourceQuotePhase
send_money
andtransfer_balance
onAccountSessionCreateParams.components.financial_account.features
rechnung
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
Quote.subscription_data_overrides[].end_behavior
to be optionalSee the changelog for more details.
international_transaction
on enumTreasury.ReceivedDebit.failure_code
verification_supportability
on enumsAccount.future_requirements.errors[].code
,Account.requirements.errors[].code
,BankAccount.future_requirements.errors[].code
, andBankAccount.requirements.errors[].code
terminal_reader_invalid_location_for_activation
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
payer_details
onCharge.payment_method_details.klarna
amazon_pay
onDispute.payment_method_details
amazon_pay
on enumDispute.payment_method_details.type
automatically_finalizes_at
onInvoice
state_sales_tax
onTax.Registration.country_options.us
andTax.RegistrationCreateParams.country_options.us
See the changelog for more details.
Issuing.DisputeSettlementDetail
andIssuing.Settlement
list
andretrieve
methods on resourceDisputeSettlementDetail
list
method on resourceQuotePhase
rechnung
on enumCheckout.SessionCreateParams.payment_method_types[]
issuing_dispute_settlement_detail.created
,issuing_dispute_settlement_detail.updated
,issuing_settlement.created
, andissuing_settlement.updated
on enumEvent.type
settlement
onIssuing.TransactionListParams
andIssuing.Transaction
issuing_dispute_settlement_detail.created
,issuing_dispute_settlement_detail.updated
,issuing_settlement.created
, andissuing_settlement.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
See the changelog for more details.
InvoiceRenderingTemplate
archive
,list
,retrieve
, andunarchive
methods on resourceInvoiceRenderingTemplate
required
onCheckout.Session.tax_id_collection
,Checkout.SessionCreateParams.tax_id_collection
,PaymentLink.tax_id_collection
,PaymentLinkCreateParams.tax_id_collection
, andPaymentLinkUpdateParams.tax_id_collection
template
onCustomer.invoice_settings.rendering_options
,CustomerCreateParams.invoice_settings.rendering_options
,CustomerUpdateParams.invoice_settings.rendering_options
,Invoice.rendering
,InvoiceCreateParams.rendering
, andInvoiceUpdateParams.rendering
template_version
onInvoice.rendering
,InvoiceCreateParams.rendering
, andInvoiceUpdateParams.rendering
submitted
on enumIssuing.Card.shipping.status
TestHelpers.TestClock.status_details
to be requiredSee the changelog for more details.
Billing.MeterErrorReport
andTerminal.ReaderCollectedData
retrieve
method on resourceReaderCollectedData
recipients
onAccountSessionCreateParams.components
terminal_reader_collected_data_invalid
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
mb_way
on enumCheckout.SessionCreateParams.payment_method_types[]
business_name
,email
,phone
, andtax_ids
onCheckout.Session.collected_information
billing.meter_error_report.triggered
on enumEvent.type
regulatory_reporting_file
onIssuing.CreditUnderwritingRecordCorrectParams
,Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams
,Issuing.CreditUnderwritingRecordReportDecisionParams
, andIssuing.CreditUnderwritingRecord
mb_way
on enumsPaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
rechnung
onPaymentMethodUpdateParams
billing.meter_error_report.triggered
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
See the changelog for more details.
subscription_item
andsubscription
onBilling.AlertCreateParams.filter
Terminal.ReaderProcessSetupIntentParams.customer_consent_collected
to be optionalSee the changelog for more details.
AccountLinkCreateParams.collection_options.fields
andLineItem.description
to be optionalhr_oib
on enumsCheckout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
hr_oib
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
issuing_regulatory_reporting
on enumsFile.purpose
andFileListParams.purpose
issuing_regulatory_reporting
on enumFileCreateParams.purpose
Issuing.Card.shipping.address_validation
to be requiredstatus_details
onTestHelpers.TestClock
See the changelog for more details.
mb_way_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
mb_way
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
mb_way
on enumsConfirmationTokenCreateParams.testHelpers.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
mb_way
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
mb_way
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
accepted
,partner_rejected
, andsubmitted
from enumDispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3.status
hr_oib
on enumsOrderCreateParams.tax_details.tax_ids[].type
andOrderUpdateParams.tax_details.tax_ids[].type
hr_oib
on enumOrder.tax_details.tax_ids[].type
phases
onQuoteCreateParams
andQuoteUpdateParams
from_schedule
onQuoteCreateParams.subscription_data
See the changelog for more details.
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: