[Snyk] Upgrade stripe from 10.17.0 to 17.2.1 #204
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 10.17.0 to 17.2.1.
ℹ️ 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 196 versions ahead of your current version.
The recommended version was released on 21 days ago.
Release notes
Package name: stripe
#2210 update object tags for meter-related classes
object
property of theMeterEvent
,MeterEventAdjustment
, andMeterEventSession
didn't match the server.#2208 Update signature verification docs link
See the changelog for more details.
fetchRelatedObject
is added to events retrieved usingstripe.v2.core.events
and can be used to easily fetch the Stripe object related to a retrieved eventSee the changelog for more details.
submit_card
test helper method on resourceIssuing.Card
groups
onAccountCreateParams
,AccountUpdateParams
, andAccount
disable_stripe_user_authentication
onAccountSession.components.account_management.features
,AccountSession.components.account_onboarding.features
,AccountSession.components.balances.features
,AccountSession.components.notification_banner.features
,AccountSession.components.payouts.features
,AccountSessionCreateParams.components.account_management.features
,AccountSessionCreateParams.components.account_onboarding.features
,AccountSessionCreateParams.components.balances.features
,AccountSessionCreateParams.components.financial_account.features
,AccountSessionCreateParams.components.notification_banner.features
, andAccountSessionCreateParams.components.payouts.features
card_spend_dispute_management
andspend_control_management
onAccountSessionCreateParams.components.issuing_cards_list.features
payout_statement_descriptor_profanity
on enumsInvoice.last_finalization_error.code
,PaymentIntent.last_payment_error.code
,SetupAttempt.setup_error.code
,SetupIntent.last_setup_error.code
, andStripeError.code
kakao_pay
andkr_card
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.testHelpers.payment_method_data
,Mandate.payment_method_details
,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
,SetupAttempt.payment_method_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
naver_pay
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
,PaymentMethodUpdateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
payco
andsamsung_pay
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
kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsCheckout.SessionCreateParams.payment_method_types[]
,CustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
on enumsCheckout.Session.collected_information.tax_ids[].type
,Checkout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Order.tax_details.tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
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
kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsConfirmationToken.payment_method_preview.type
andPaymentMethod.type
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,OrderCreateParams.tax_details.tax_ids[].type
,OrderUpdateParams.tax_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
refund.failed
on enumEvent.type
metadata
onForwarding.Request
retail_delivery_fee
on enumsInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
,Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type
,Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type
,Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
,TaxRate.tax_type
,TaxRateCreateParams.tax_type
, andTaxRateUpdateParams.tax_type
expired
on enumsIssuing.Authorization.status
andIssuing.AuthorizationListParams.status
line_items
onOrder.payment.settings.payment_method_options.paypal
,OrderCreateParams.payment.settings.payment_method_options.paypal
,OrderUpdateParams.payment.settings.payment_method_options.paypal
,PaymentIntent.payment_method_options.paypal
,PaymentIntentConfirmParams.payment_method_options.paypal
,PaymentIntentCreateParams.payment_method_options.paypal
, andPaymentIntentUpdateParams.payment_method_options.paypal
flat_amount
andrate_type
onTax.Calculation.tax_breakdown[].tax_rate_details
andTaxRate
by
,cr
,ec
,ma
,md
,rs
,ru
,tz
, anduz
onTax.Registration.country_options
andTax.RegistrationCreateParams.country_options
state_retail_delivery_fee
on enumsTax.Registration.country_options.us.type
andTax.RegistrationCreateParams.country_options.us.type
refund.failed
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
See the changelog for more details.
reporting_chart
onAccountSessionCreateParams.components
from_schedule
onQuote.subscription_data
allow_redisplay
onTerminal.ReaderCollectPaymentMethodParams.collect_config
See the changelog for more details.
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.
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: