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

[Snyk] Upgrade stripe from 15.4.0 to 15.5.0 #73

Merged
merged 1 commit into from
Jun 22, 2024

Conversation

Rossen27
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade stripe from 15.4.0 to 15.5.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 2 versions ahead of your current version.

  • The recommended version was released on 22 days ago.

Release notes
Package name: stripe
  • 15.5.0 - 2024-05-02
    • #2072 Update generated code
      • Add support for new value shipping_address_invalid on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
      • Fix properties incorrectly marked as required in the OpenAPI spec.
        • Change Apps.Secret.payload, BillingPortal.Configuration.features.subscription_update.products, Charge.refunds, ConfirmationToken.payment_method_preview.klarna.dob, Identity.VerificationReport.document.dob, Identity.VerificationReport.document.expiration_date, Identity.VerificationReport.document.number, Identity.VerificationReport.id_number.dob, Identity.VerificationReport.id_number.id_number, Identity.VerificationSession.provided_details, Identity.VerificationSession.verified_outputs.dob, Identity.VerificationSession.verified_outputs.id_number, Identity.VerificationSession.verified_outputs, Issuing.Dispute.balance_transactions, Issuing.Transaction.purchase_details, PaymentMethod.klarna.dob, Tax.Calculation.line_items, Tax.CalculationLineItem.tax_breakdown, Tax.Transaction.line_items, Treasury.FinancialAccount.financial_addresses[].aba.account_number, Treasury.ReceivedCredit.linked_flows.source_flow_details, Treasury.Transaction.entries, Treasury.Transaction.flow_details, and Treasury.TransactionEntry.flow_details to be optional
      • Add support for paypal on Dispute.payment_method_details
      • Change type of Dispute.payment_method_details.type from literal('card') to enum('card'|'paypal')
      • Change type of Entitlements.FeatureUpdateParams.metadata from map(string: string) to emptyable(map(string: string))
      • Add support for payment_method_types on PaymentIntentConfirmParams
      • Add support for ship_from_details on Tax.CalculationCreateParams, Tax.Calculation, and Tax.Transaction
      • Add support for bh, eg, ge, ke, kz, ng, and om on Tax.Registration.country_options and Tax.RegistrationCreateParams.country_options
    • #2077 Deprecate Node methods and params based on OpenAPI spec
      • Mark as deprecated the approve and decline methods on Issuing.Authorization. Instead, respond directly to the webhook request to approve an authorization.
      • Mark as deprecated the persistent_token property on ConfirmationToken.PaymentMethodPreview.Link, PaymentIntent.PaymentMethodOptions.Link, PaymentIntentResource.PaymentMethodOptions.Link, PaymentMethod.Link.persistent_token. SetupIntents.PaymentMethodOptions.Card.Link.persistent_token, SetupIntentsResource.persistent_token. This is a legacy parameter that no longer has any function.
    • #2074 Add a more explicit comment on limit param in autoPagingToArray

    See the changelog for more details.

  • 15.5.0-beta.1 - 2024-04-25
    • #2070 Update generated code for beta
      • Add support for payment_method_settings on AccountSessionCreateParams.components
      • Add support for cancel_subscription_schedule on QuoteCreateParams.lines[], QuoteLine, and QuoteUpdateParams.lines[]

    See the changelog for more details.

  • 15.4.0 - 2024-04-25
    • #2071 Update generated code
      • Add support for setup_future_usage on Checkout.Session.payment_method_options.amazon_pay, Checkout.Session.payment_method_options.revolut_pay, PaymentIntent.payment_method_options.amazon_pay, and PaymentIntent.payment_method_options.revolut_pay
      • Change type of Entitlements.ActiveEntitlement.feature from string to expandable(Entitlements.Feature)
      • Remove support for inadvertently released identity verification features email and phone on Identity.VerificationSessionCreateParams.options and Identity.VerificationSessionUpdateParams.options
      • Change Identity.VerificationSession.provided_details, Identity.VerificationSession.verified_outputs.email, and Identity.VerificationSession.verified_outputs.phone to be required
      • Add support for new values amazon_pay and revolut_pay on enums Invoice.payment_settings.payment_method_types[], InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], Subscription.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
      • Add support for amazon_pay and revolut_pay on Mandate.payment_method_details and SetupAttempt.payment_method_details
      • Add support for ending_before, limit, and starting_after on PaymentMethodConfigurationListParams
      • Add support for mobilepay on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • #2061 Make cloudflare package export

    See the changelog for more details.

from stripe GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Snyk has automatically assigned this pull request, set who gets assigned.

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:

Snyk has created this PR to upgrade stripe from 15.4.0 to 15.5.0.

See this package in npm:
stripe

See this project in Snyk:
https://app.snyk.io/org/rossen27/project/9e3a019e-bf67-4105-9471-59db0768fe5c?utm_source=github&utm_medium=referral&page=upgrade-pr
@Rossen27 Rossen27 self-assigned this May 24, 2024
@Rossen27 Rossen27 merged commit 620ad35 into master Jun 22, 2024
1 check passed
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.

2 participants