coopflow / fastify-stripe

Stripe Node.js Library instance initialization and encapsulation in fastify framework.
MIT License
22 stars 4 forks source link

chore(deps-dev): bump stripe from 8.222.0 to 11.2.0 #117

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps stripe from 8.222.0 to 11.2.0.

Release notes

Sourced from stripe's releases.

v11.2.0

  • #1632 API Updates
    • Add support for flow_data on BillingPortalSessionCreateParams
    • Add support for flow on BillingPortal.Session
  • #1631 API Updates
    • Add support for india_international_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for invoice_creation on Checkout.Session and CheckoutSessionCreateParams
    • Add support for invoice on Checkout.Session
    • Add support for metadata on SubscriptionSchedule.phases[].items[], SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]
  • #1630 Remove BASIC_METHODS from TS definitions
  • #1629 Narrower type for stripe.invoices.retrieveUpcoming()
  • #1627 remove unneeded IIFE
  • #1625 Remove API version from the path
  • #1626 Move child resource method params next to method declarations
  • #1624 Split resource and service types

See the changelog for more details.

v11.1.0

  • #1623 API Updates
    • Add support for hosted_instructions_url on PaymentIntent.next_action.wechat_pay_display_qr_code
  • #1622 API Updates
    • Add support for custom_text on Checkout.Session, CheckoutSessionCreateParams, PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for hosted_instructions_url on PaymentIntent.next_action.paynow_display_qr_code

See the changelog for more details.

v11.0.0

Major version release for API version 2022-11-15. Default API version changed to "2022-11-15".

This release includes breaking changes resulting from moving to use the new API version "2022-11-15". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-11-15

  • #1608 Next major release changes
  • #1619 Annotate prototypes with types
  • #1612 Add type information here and there
  • #1615 API Updates

See the changelog for more details.

v10.18.0-beta.1

  • Updated stable APIs to the latest version
  • Add discount_end to Discount.
  • Add url to MerchantData.

v10.17.0

  • #1610 API Updates
    • Add support for new values eg_tin, ph_tin, and tr_tin on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Order.tax_details.tax_ids[].type, and TaxId.type
    • Add support for new values eg_tin, ph_tin, and tr_tin on enums CustomerCreateParams.tax_id_data[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, OrderCreateParams.tax_details.tax_ids[].type, OrderUpdateParams.tax_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for reason_message on Issuing.Authorization.request_history[]
    • Add support for new value webhook_error on enum Issuing.Authorization.request_history[].reason

... (truncated)

Changelog

Sourced from stripe's changelog.

11.2.0 - 2022-12-06

  • #1632 API Updates
    • Add support for flow_data on BillingPortalSessionCreateParams
    • Add support for flow on BillingPortal.Session
  • #1631 API Updates
    • Add support for india_international_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for invoice_creation on Checkout.Session and CheckoutSessionCreateParams
    • Add support for invoice on Checkout.Session
    • Add support for metadata on SubscriptionSchedule.phases[].items[], SubscriptionScheduleCreateParams.phases[].items[], and SubscriptionScheduleUpdateParams.phases[].items[]
  • #1630 Remove BASIC_METHODS from TS definitions
  • #1629 Narrower type for stripe.invoices.retrieveUpcoming()
  • #1627 remove unneeded IIFE
  • #1625 Remove API version from the path
  • #1626 Move child resource method params next to method declarations
  • #1624 Split resource and service types

11.1.0 - 2022-11-17

  • #1623 API Updates
    • Add support for hosted_instructions_url on PaymentIntent.next_action.wechat_pay_display_qr_code
  • #1622 API Updates
    • Add support for custom_text on Checkout.Session, CheckoutSessionCreateParams, PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
    • Add support for hosted_instructions_url on PaymentIntent.next_action.paynow_display_qr_code

11.0.0 - 2022-11-16

This release includes breaking changes resulting from moving to use the new API version "2022-11-15". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-11-15

"⚠️" symbol highlights breaking changes.

  • #1608 Next major release changes
  • #1619 Annotate prototypes with types
  • #1612 Add type information here and there
  • #1615 API Updates
    • ⚠️ Remove support for tos_shown_and_accepted on CheckoutSessionCreateParams.payment_method_options.paynow. The property was mistakenly released and never worked.

⚠️ Changed

  • Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
  • Change StripeSignatureVerificationError to have header and payload fields instead of detail. To access these properties, use err.header and err.payload instead of err.detail.header and err.detail.payload. (#1574)

⚠️ Removed

  • Remove Orders resource. (#1580)

  • Remove SKU resource (#1583)

  • Remove deprecated CheckoutSessionCreateParams.subscription_data.items. (#1580)

  • Remove deprecated configuration setter methods (setHost, setProtocol, setPort, setApiVersion, setApiKey, setTimeout, setAppInfo, setHttpAgent, setMaxNetworkRetries, and setTelemetryEnabled). (#1597)

    Use the config object to set these options instead, for example:

    const stripe = Stripe('sk_test_...', {
      apiVersion: '2019-08-08',
    

... (truncated)

Commits
  • a91857a Bump version to 11.2.0
  • 1267069 Merge pull request #1632 from stripe/latest-codegen-master
  • 1309e79 Codegen for openapi v212
  • 0f6fa9e Merge pull request #1631 from stripe/latest-codegen-master
  • 71d1240 Codegen for openapi v211
  • dae38f9 Remove BASIC_METHODS from TS definitions (#1630)
  • 247c35e Merge pull request #1629 from stripe/richardm-upcoming-invoice-narrower-type
  • f8fa70b Update types/UpcomingInvoices.d.ts
  • c6b9b93 Update types/UpcomingInvoices.d.ts
  • c85072c index.d.ts
  • Additional commits viewable in compare view


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 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 1 year ago

Superseded by #118.