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

Update dependency stripe to v16 #3710

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
stripe ^15.8.0 -> ^16.0.0 age adoption passing confidence

Release Notes

stripe/stripe-node (stripe)

v16.10.0

Compare Source

  • #​2158 Update generated code
    • Add support for subscription_item and subscription on Billing.AlertCreateParams.filter
    • Change Terminal.ReaderProcessSetupIntentParams.customer_consent_collected to be optional

v16.9.0

Compare Source

  • #​2163 Generate SDK for OpenAPI spec version 1230
    • Change AccountLinkCreateParams.collection_options.fields and LineItem.description to be optional
    • Add support for new value hr_oib 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 hr_oib 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 new value issuing_regulatory_reporting on enums File.purpose and FileListParams.purpose
    • Add support for new value issuing_regulatory_reporting on enum FileCreateParams.purpose
    • Change Issuing.Card.shipping.address_validation to be required
    • Add support for status_details on TestHelpers.TestClock

v16.8.0

Compare Source

  • #​2155 Update generated code
    • Add support for authorization_code on Charge.payment_method_details.card
    • Add support for wallet on Charge.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card_present, PaymentMethod.card.generated_from.payment_method_details.card_present, and PaymentMethod.card_present
    • Add support for mandate_options on PaymentIntent.payment_method_options.bacs_debit, PaymentIntentConfirmParams.payment_method_options.bacs_debit, PaymentIntentCreateParams.payment_method_options.bacs_debit, and PaymentIntentUpdateParams.payment_method_options.bacs_debit
    • Add support for bacs_debit on SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_options
    • Add support for chips on Treasury.OutboundPayment.tracking_details.us_domestic_wire, Treasury.OutboundPaymentUpdateParams.testHelpers.tracking_details.us_domestic_wire, Treasury.OutboundTransfer.tracking_details.us_domestic_wire, and Treasury.OutboundTransferUpdateParams.testHelpers.tracking_details.us_domestic_wire
    • Change type of Treasury.OutboundPayment.tracking_details.us_domestic_wire.imad and Treasury.OutboundTransfer.tracking_details.us_domestic_wire.imad from string to string | null

v16.7.0

Compare Source

  • #​2147 Update generated code
    • Add support for activate, archive, create, deactivate, list, and retrieve methods on resource Billing.Alert
    • Add support for retrieve method on resource Tax.Calculation
    • Add support for new value invalid_mandate_reference_prefix_format 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 type on Charge.payment_method_details.card_present.offline, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present.offline, PaymentMethod.card.generated_from.payment_method_details.card_present.offline, and SetupAttempt.payment_method_details.card_present.offline
    • Add support for offline on ConfirmationToken.payment_method_preview.card_present and PaymentMethod.card_present
    • Add support for related_customer on Identity.VerificationSessionCreateParams, Identity.VerificationSessionListParams, and Identity.VerificationSession
    • Change InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.count, InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.interval, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.count, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.interval, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.count, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.interval, PaymentIntentCreateParams.payment_method_options.card.installments.plan.count, PaymentIntentCreateParams.payment_method_options.card.installments.plan.interval, PaymentIntentUpdateParams.payment_method_options.card.installments.plan.count, and PaymentIntentUpdateParams.payment_method_options.card.installments.plan.interval to be optional
    • Add support for new value girocard on enums PaymentIntent.payment_method_options.card.network, PaymentIntentConfirmParams.payment_method_options.card.network, PaymentIntentCreateParams.payment_method_options.card.network, PaymentIntentUpdateParams.payment_method_options.card.network, SetupIntent.payment_method_options.card.network, SetupIntentConfirmParams.payment_method_options.card.network, SetupIntentCreateParams.payment_method_options.card.network, SetupIntentUpdateParams.payment_method_options.card.network, Subscription.payment_settings.payment_method_options.card.network, SubscriptionCreateParams.payment_settings.payment_method_options.card.network, and SubscriptionUpdateParams.payment_settings.payment_method_options.card.network
    • Add support for new value financial_addresses.aba.forwarding on enums Treasury.FinancialAccount.active_features[], Treasury.FinancialAccount.pending_features[], and Treasury.FinancialAccount.restricted_features[]

v16.6.0

Compare Source

  • #​2144 Update generated code
    • Add support for new resources Billing.AlertTriggered and Billing.Alert
    • Add support for new value charge_exceeds_transaction_limit on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • ⚠️ Remove support for authorization_code on Charge.payment_method_details.card. This was accidentally released last week.
    • Add support for new value billing.alert.triggered on enum Event.type
    • Add support for new value billing.alert.triggered on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v16.5.0

Compare Source

  • #​2143 Update generated code
    • Add support for tax_registrations and tax_settings on AccountSession.components and AccountSessionCreateParams.components
  • #​2140 Update generated code
    • Add support for update method on resource Checkout.Session
    • Add support for transaction_id on Charge.payment_method_details.affirm
    • Add support for buyer_id on Charge.payment_method_details.blik
    • Add support for authorization_code on Charge.payment_method_details.card
    • Add support for brand_product on Charge.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card_present, PaymentMethod.card.generated_from.payment_method_details.card_present, and PaymentMethod.card_present
    • Add support for network_transaction_id on Charge.payment_method_details.card_present, Charge.payment_method_details.interac_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, and PaymentMethod.card.generated_from.payment_method_details.card_present
    • Add support for case_type on Dispute.payment_method_details.card
    • Add support for new values invoice.overdue and invoice.will_be_due on enum Event.type
    • Add support for twint on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
    • Add support for new values invoice.overdue and invoice.will_be_due on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

v16.4.0

Compare Source

  • #​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

v16.2.0

Compare Source

  • #​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

v16.1.0

Compare Source

  • #​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

v16.0.0

Compare Source

  • #​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

Configuration

📅 Schedule: Branch creation - "on sunday before 6:00am" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Sep 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat-database ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2024 4:51pm
lobe-chat-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2024 4:51pm

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 1, 2024
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Sep 1, 2024
@lobehubbot
Copy link
Member

👍 @renovate[bot]

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

Copy link

codecov bot commented Sep 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.73%. Comparing base (d12bf4c) to head (88c2999).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3710   +/-   ##
=======================================
  Coverage   91.73%   91.73%           
=======================================
  Files         481      481           
  Lines       34215    34215           
  Branches     3297     3297           
=======================================
  Hits        31388    31388           
  Misses       2827     2827           
Flag Coverage Δ
app 91.73% <ø> (ø)
server 97.36% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant