stripe-samples / subscription-use-cases

Create subscriptions with fixed prices or usage based billing.
https://stripe.com/docs/billing
MIT License
797 stars 400 forks source link

chore(deps): bump stripe from 14.3.0 to 16.0.0 in /fixed-price-subscriptions/server/node #1096

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps stripe from 14.3.0 to 16.0.0.

Release notes

Sourced from stripe's releases.

v16.0.0

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

v15.12.0

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

... (truncated)

Changelog

Sourced from stripe's changelog.

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

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

15.11.0 - 2024-06-13

  • #2102 Update generated code
    • Add support for multibanco_payments and twint_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities

... (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)
dependabot[bot] commented 4 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.