UBA-GCOEN / StichHub

We bridge the physical gap between a tailor and the customers through our platform. Providing customers a choice of the tailors and the tailors with an increased reach for customers.
https://stichhub.vercel.app
MIT License
77 stars 96 forks source link

Bump stripe from 12.13.0 to 17.0.0 in /server #664

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 1 month ago

Bumps stripe from 12.13.0 to 17.0.0.

Release notes

Sourced from stripe's releases.

v17.0.0

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

    ⚠️ Breaking changes due to changes in the Stripe API

    • Rename usage_threshold_config to usage_threshold on Billing.AlertCreateParams and Billing.Alert
    • Remove support for filter on Billing.AlertCreateParams and Billing.Alert. Use the filters on the usage_threshold instead
    • Remove support for customer_consent_collected on Terminal.ReaderProcessSetupIntentParams.

    ⚠️ Other Breaking changes in the SDK

    • Adjusted default values around reties for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
      • max retries: 1 -> 2
      • max timeout (seconds): 2 -> 5

    Additions

    • Add support for custom_unit_amount on ProductCreateParams.default_price_data
    • Add support for allow_redisplay on Terminal.ReaderProcessPaymentIntentParams.process_config and Terminal.ReaderProcessSetupIntentParams
    • Add support for new value international_transaction on enum Treasury.ReceivedCredit.failure_code
    • Add support for new value 2024-09-30.acacia on enum WebhookEndpointCreateParams.api_version
    • Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events in the v2 namespace
    • Add method parseThinEvent() on the Stripe class to parse thin events.
    • Add method rawRequest() on the 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

    • Change BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates and BillingPortal.ConfigurationCreateParams.features.subscription_update.products to be optional

See the changelog for more details.

v16.13.0-beta.1

  • #2178 Update generated code for beta
    • Remove support for resource QuotePhase
    • Remove support for list_line_items and retrieve methods on resource QuotePhase
    • Add support for send_money and transfer_balance on AccountSessionCreateParams.components.financial_account.features
    • Add support for new value rechnung on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
    • Change Quote.subscription_data_overrides[].end_behavior to be optional

See the changelog for more details.

v16.12.0

  • #2177 Update generated code
    • Add support for new value international_transaction on enum Treasury.ReceivedDebit.failure_code
  • #2175 Update generated code
    • Add support for new value verification_supportability on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, and BankAccount.requirements.errors[].code
    • Add support for new value terminal_reader_invalid_location_for_activation 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 payer_details on Charge.payment_method_details.klarna
    • Add support for amazon_pay on Dispute.payment_method_details
    • Add support for new value amazon_pay on enum Dispute.payment_method_details.type

... (truncated)

Changelog

Sourced from stripe's changelog.

17.0.0 - 2024-10-01

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

    ⚠️ Breaking changes due to changes in the Stripe API

    • Rename usage_threshold_config to usage_threshold on Billing.AlertCreateParams and Billing.Alert
    • Remove support for filter on Billing.AlertCreateParams and Billing.Alert. Use the filters on the usage_threshold instead
    • Remove support for customer_consent_collected on Terminal.ReaderProcessSetupIntentParams.

    ⚠️ Other Breaking changes in the SDK

    • Adjusted default values around reties for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
      • max retries: 1 -> 2
      • max timeout (seconds): 2 -> 5

    Additions

    • Add support for custom_unit_amount on ProductCreateParams.default_price_data
    • Add support for allow_redisplay on Terminal.ReaderProcessPaymentIntentParams.process_config and Terminal.ReaderProcessSetupIntentParams
    • Add support for new value international_transaction on enum Treasury.ReceivedCredit.failure_code
    • Add support for new value 2024-09-30.acacia on enum WebhookEndpointCreateParams.api_version
    • Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events in the v2 namespace
    • Add method parseThinEvent() on the Stripe class to parse thin events.
    • Add method rawRequest() on the 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

    • Change BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates and BillingPortal.ConfigurationCreateParams.features.subscription_update.products to be optional
  • #2195 Remove parseSnapshotEvent

  • #2188 Revert "Add raw_request (#2185)"

  • #2185 Add raw_request Adds the ability to make raw requests to the Stripe API, by providing an HTTP method and url.

    Example:

    import Stripe from 'stripe';
    const stripe = new Stripe('sk_test_...');
    

    const response = await stripe.rawRequest( 'POST', '/v1/beta_endpoint', { param: 123 }, { apiVersion: '2022-11-15; feature_beta=v3' } );

16.12.0 - 2024-09-18

  • #2177 Update generated code
    • Add support for new value international_transaction on enum Treasury.ReceivedDebit.failure_code
  • #2175 Update generated code

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
stichhub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 1, 2024 7:41pm
stichhub-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 1, 2024 7:41pm
UBA-GCOEN commented 1 month ago

Hello @dependabot[bot]! Thank you for submitting this pull request Your pull request will be reviewed by maintainers shortly. Meanwhile make sure you have referenced the respected issue in this pr Your pr will not be merged if it does not have reference to respected issue please read our Contributing Guidelines https://github.com/UBA-GCOEN/StichHub/blob/main/CONTRIBUTING.md And Code of Conduct https://github.com/UBA-GCOEN/StichHub/blob/main/CODE_OF_CONDUCT.md

dependabot[bot] commented 1 week ago

Superseded by #672.