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 11.18.0 to 16.4.0 #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-io[bot]
Copy link

@snyk-io snyk-io bot commented Aug 14, 2024

snyk-top-banner

Snyk has created this PR to upgrade stripe from 11.18.0 to 16.4.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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 137 versions ahead of your current version.

  • The recommended version was released on 22 days ago.

Release notes
Package name: stripe
  • 16.4.0 - 2024-07-23
    • #2138 Update generated code
      • Add support for customer on ConfirmationToken.payment_method_preview
      • Add support for new value issuing_dispute.funds_rescinded on enum Event.type
      • Add support for new value multibanco 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 new value stripe_s700 on enums Terminal.Reader.device_type and Terminal.ReaderListParams.device_type
      • Add support for new value issuing_dispute.funds_rescinded on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
    • #2136 Update changelog

    See the changelog for more details.

  • 16.4.0-beta.1 - 2024-07-11
    • #2128 Update generated code for beta
      • Change ConfirmationToken.payment_method_options and CustomerSession.components.payment_element to be required
      • Add support for new value not_qualified on enum Dispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3.status
    • #2134 Fix merge conflicts

    See the changelog for more details.

  • 16.3.0-beta.1 - 2024-07-05
    • #2126 Update generated code for beta
      • ⚠️ Remove support for payment_method_update on CustomerSession.components.payment_element.features and CustomerSessionCreateParams.components.payment_element.features. Users are expected to completely migrate from using payment_method_update.
      • Add support for new resource FinancialConnections.Institution
      • Add support for list and retrieve methods on resource Institution
      • Add support for institution on Checkout.Session.payment_method_options.us_bank_account.financial_connections.filters, FinancialConnections.Session.filters, FinancialConnections.SessionCreateParams.filters, Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntent.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters, SetupIntent.payment_method_options.us_bank_account.financial_connections.filters, SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters, SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters, SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters, Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, and SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters
      • Add support for payment_method_allow_redisplay_filters, payment_method_redisplay_limit, payment_method_redisplay, and payment_method_save_usage on CustomerSession.components.payment_element.features and CustomerSessionCreateParams.components.payment_element.features
      • Add support for new value balance on enums FinancialConnections.Account.subscriptions[], FinancialConnections.AccountSubscribeParams.features[], and FinancialConnections.AccountUnsubscribeParams.features[]

    See the changelog for more details.

  • 16.2.0 - 2024-07-05
    • #2125 Update generated code
      • Add support for add_lines, remove_lines, and update_lines methods on resource Invoice
      • Add support for new value payment_intent_fx_quote_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
      • Add support for posted_at on Tax.TransactionCreateFromCalculationParams and Tax.Transaction

    See the changelog for more details.

  • 16.2.0-beta.1 - 2024-06-27
    • #2110 Update generated code for beta
      • Remove support for payment_method_set_as_default on CustomerSession.components.payment_element.features and CustomerSessionCreateParams.components.payment_element.features
      • Add support for new value ch_uid on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].type
      • Add support for new value ch_uid on enum Order.tax_details.tax_ids[].type

    See the changelog for more details.

  • 16.1.0 - 2024-06-27
    • #2120 Update generated code
      • Add support for filters on Checkout.Session.payment_method_options.us_bank_account.financial_connections, Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections, InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, PaymentIntent.payment_method_options.us_bank_account.financial_connections, PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections, PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections, PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections, SetupIntent.payment_method_options.us_bank_account.financial_connections, SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections, SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections, SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections, Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections, SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, and SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
      • Add support for email_type on CreditNoteCreateParams, CreditNotePreviewLinesParams, and CreditNotePreviewParams
      • Add support for account_subcategories on FinancialConnections.Session.filters and FinancialConnections.SessionCreateParams.filters
      • Add support for new values multibanco, twint, and zip on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
      • Add support for reboot_window on Terminal.ConfigurationCreateParams, Terminal.ConfigurationUpdateParams, and Terminal.Configuration

    See the changelog for more details.

  • 16.0.0 - 2024-06-24
    • #2113

      This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

      ⚠️ Breaking changes

      • Remove the unused resource PlatformTaxFee
      • Rename volume_decimal to quantity_decimal on
        • Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel,
        • Issuing.Transaction.purchase_details.fuel,
        • Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, and
        • Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
      • Capabilities.Requirements.disabled_reason and Capabilities.Requirements.disabled_reason are now enums with the below values
        • other
        • paused.inactivity
        • pending.onboarding
        • pending.review
        • platform_disabled
        • platform_paused
        • rejected.inactivity
        • rejected.other
        • rejected.unsupported_business
        • requirements.fields_needed

      Additions

      • Add support for new values charging_minute, imperial_gallon, kilogram, kilowatt_hour, and pound on enums Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit
      • Add support for new values card_canceled, card_expired, cardholder_blocked, insecure_authorization_method, and pin_blocked on enum Issuing.Authorization.request_history[].reason
      • Add support for finalize_amount test helper method on resource Issuing.Authorization
      • Add support for new value ch_uid on enums Checkout.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, and TaxId.type
      • Add support for new value ch_uid on enums CustomerCreateParams.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, and TaxIdCreateParams.type
      • Add support for fleet on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details, Issuing.AuthorizationCreateParams.testHelpers, Issuing.Authorization, Issuing.Transaction.purchase_details, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details
      • Add support for fuel on Issuing.AuthorizationCreateParams.testHelpers and Issuing.Authorization
      • Add support for industry_product_code and quantity_decimal on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel, Issuing.Transaction.purchase_details.fuel, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel
      • Add support for new value 2024-06-20 on enum WebhookEndpointCreateParams.api_version
    • #2118 Use worker module in Bun

    See the changelog for more details.

  • 15.12.0 - 2024-06-17
    • #2109 Update generated code
      • Add support for new value mobilepay on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
      • Add support for tax_id_collection on PaymentLinkUpdateParams
    • #2111 Where params are union of types, merge the types instead of having numbered suffixes in type names
      • Change type of PaymentIntentConfirmParams.mandate_data from Stripe.Emptyable<PaymentIntentConfirmParams.MandateData1 | PaymentIntentConfirmParams.MandateData2> to Stripe.Emptyable<PaymentIntentConfirmParams.MandateData> where the new MandateData is a union of all the properties of MandateData1 and MandateData2
      • Change type of PaymentMethodCreateParams.card from PaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2 to PaymentMethodCreateParams.Card where the new Card is a union of all the properties of Card1 and Card2
      • Change type of SetupIntentConfirmParams.mandate_data from Stripe.Emptyable<SetupIntentConfirmParams.MandateData1 | SetupIntentConfirmParams.MandateData2> to Stripe.Emptyable<SetupIntentConfirmParams.MandateData> where the new MandateData is a union of all the properties of MandateData1 and MandateData2

    See the changelog for more details.

  • 15.12.0-beta.1 - 2024-06-13
    • #2103 Update generated code for beta
      • Add support for new value de_stn on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].type
      • Add support for new value de_stn on enum Order.tax_details.tax_ids[].type

    See the changelog for more details.

  • 15.11.0 - 2024-06-13
  • 15.11.0-beta.1 - 2024-06-06
  • 15.10.0 - 2024-06-06
  • 15.10.0-beta.1 - 2024-05-30
  • 15.9.0 - 2024-06-03
  • 15.8.0 - 2024-05-23
  • 15.7.0 - 2024-05-16
  • 15.7.0-beta.1 - 2024-05-09
  • 15.6.0 - 2024-05-09
  • 15.6.0-beta.1 - 2024-05-02
  • 15.5.0 - 2024-05-02
  • 15.5.0-beta.1 - 2024-04-25
  • 15.4.0 - 2024-04-25
  • 15.4.0-beta.1 - 2024-04-18
  • 15.3.0 - 2024-04-18
  • 15.2.0 - 2024-04-16
  • 15.2.0-beta.1 - 2024-04-12
  • 15.1.0 - 2024-04-11
  • 15.0.0 - 2024-04-10
  • 14.25.0 - 2024-04-09
  • 14.25.0-beta.1 - 2024-04-04
  • 14.24.0 - 2024-04-04
  • 14.24.0-beta.1 - 2024-03-28
  • 14.23.0 - 2024-03-28
  • 14.23.0-beta.1 - 2024-03-21
  • 14.22.0 - 2024-03-21
  • 14.22.0-beta.1 - 2024-03-14
  • 14.21.0 - 2024-03-14
  • 14.21.0-beta.1 - 2024-03-08
  • 14.20.0 - 2024-03-07
  • 14.20.0-beta.1 - 2024-02-29
  • 14.19.0 - 2024-02-29
  • 14.19.0-beta.1 - 2024-02-22
  • 14.18.0 - 2024-02-22
  • 14.18.0-beta.1 - 2024-02-16
  • 14.17.0 - 2024-02-16
  • 14.17.0-beta.1 - 2024-02-08
  • 14.16.0 - 2024-02-08
  • 14.15.0 - 2024-02-05
  • 14.15.0-beta.2 - 2024-02-02
  • 14.15.0-beta.1 - 2024-01-25
  • 14.14.0 - 2024-01-25
  • 14.14.0-beta.1 - 2024-01-18
  • 14.13.0 - 2024-01-18
  • 14.13.0-beta.1 - 2024-01-12
  • 14.12.0 - 2024-01-12
  • 14.12.0-beta.1 - 2024-01-04
  • 14.11.0 - 2024-01-04
  • 14.11.0-beta.1 - 2023-12-22
  • 14.10.0 - 2023-12-22
  • 14.10.0-beta.1 - 2023-12-15
  • 14.9.0 - 2023-12-14
  • 14.9.0-beta.1 - 2023-12-08
  • 14.8.0 - 2023-12-07
  • 14.8.0-beta.1 - 2023-11-30
  • 14.7.0 - 2023-11-30
  • 14.7.0-beta.2 - 2023-11-27
  • 14.7.0-beta.1 - 2023-11-21
  • 14.6.0 - 2023-11-30
  • 14.6.0-beta.1 - 2023-11-17
  • 14.5.0 - 2023-11-17
  • 14.5.0-beta.1 - 2023-11-10
  • 14.4.0 - 2023-11-09
  • 14.4.0-beta.1 - 2023-11-02
  • 14.3.0 - 2023-11-02
  • 14.3.0-beta.1 - 2023-10-26
  • 14.2.0 - 2023-10-26
  • 14.2.0-beta.1 - 2023-10-17
  • 14.1.0 - 2023-10-17
  • 14.0.0 - 2023-10-16
  • 13.12.0-beta.1 - 2023-10-16
  • 13.11.0 - 2023-10-16
  • 13.11.0-beta.1 - 2023-10-11
  • 13.10.0 - 2023-10-11
  • 13.10.0-beta.1 - 2023-10-05
  • 13.9.0 - 2023-10-05
  • 13.9.0-beta.1 - 2023-09-29
  • 13.8.0 - 2023-09-28
  • 13.8.0-beta.1 - 2023-09-21
  • 13.7.0 - 2023-09-21
  • 13.7.0-beta.1 - 2023-09-15
  • 13.6.0 - 2023-09-15
  • 13.6.0-beta.1 - 2023-09-07
  • 13.5.0 - 2023-09-07
  • 13.5.0-beta.1 - 2023-09-01
  • 13.4.0 - 2023-08-31
  • 13.3.0 - 2023-08-24
  • 13.2.0 - 2023-08-17
  • 13.1.0 - 2023-08-17
  • 13.0.0 - 2023-08-16
  • 13.0.0-beta.1 - 2023-08-24
  • 12.19.0-beta.1 - 2023-08-11
  • 12.18.0 - 2023-08-11
  • 12.18.0-beta.1 - 2023-08-03
  • 12.17.0 - 2023-08-03
  • 12.17.0-beta.1 - 2023-07-28
  • 12.16.0 - 2023-07-28
  • 12.15.0 - 2023-07-27
  • 12.14.0 - 2023-07-20
  • 12.14.0-beta.1 - 2023-07-13
  • 12.13.0 - 2023-07-13
  • 12.12.0 - 2023-07-06
  • 12.12.0-beta.1 - 2023-06-30
  • 12.11.0 - 2023-06-29
  • 12.11.0-beta.1 - 2023-06-22
  • 12.10.0 - 2023-06-22
  • 12.10.0-beta.2 - 2023-06-15
  • 12.10.0-beta.1 - 2023-06-08
  • 12.9.0 - 2023-06-08
  • 12.9.0-beta.1 - 2023-06-01
  • 12.8.0 - 2023-06-01
  • 12.8.0-beta.1 - 2023-05-25
  • 12.7.0 - 2023-05-25
  • 12.7.0-beta.1 - 2023-05-19
  • 12.6.0 - 2023-05-19
  • 12.6.0-beta.1 - 2023-05-11
  • 12.5.0 - 2023-05-11
  • 12.5.0-beta.1 - 2023-05-05
  • 12.4.0 - 2023-05-04
  • 12.4.0-beta.1 - 2023-04-27
  • 12.3.0 - 2023-04-27
  • 12.3.0-beta.1 - 2023-04-20
  • 12.2.0 - 2023-04-20
  • 12.2.0-beta.1 - 2023-04-13
  • 12.1.1 - 2023-04-13
  • 12.1.0 - 2023-04-13
  • 12.1.0-beta.1 - 2023-04-06
  • 12.0.0 - 2023-04-06
  • 11.18.0 - 2023-04-06
from stripe GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • 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.

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 11.18.0 to 16.4.0.

See this package in npm:
stripe

See this project in Snyk:
https://app.snyk.io/org/cachiman/project/c0a94bdf-9b32-40d6-a587-0a45b5778d80?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
Copy link

google-cla bot commented Aug 14, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

0 participants