kernvalley / whiskey-flat-days

Map and events app for Whiskey Flat Days
https://whiskeyflatdays.com
MIT License
0 stars 1 forks source link

Bump stripe from 16.12.0 to 17.0.0 #738

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps stripe from 16.12.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.

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' } );

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)