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.0.0 #111

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps stripe from 8.222.0 to 11.0.0.

Release notes

Sourced from stripe's releases.

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

See the changelog for more details.

v10.16.0

  • #1596 API Updates
    • Add support for on_behalf_of on CheckoutSessionCreateParams.subscription_data, SubscriptionCreateParams, SubscriptionSchedule.default_settings, SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.default_settings, SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.default_settings, SubscriptionScheduleUpdateParams.phases[], SubscriptionUpdateParams, and Subscription
    • Add support for tax_behavior and tax_code on InvoiceItemCreateParams, InvoiceItemUpdateParams, InvoiceUpcomingLinesParams.invoice_items[], and InvoiceUpcomingParams.invoice_items[]

See the changelog for more details.

v10.16.0-beta.2

  • #1598 API Updates for beta branch
    • Updated beta APIs to the latest stable version
    • Add support for cashappPayments and zipPayments on Account.
    • Add support for cashapp and zip on Charge, PaymentMethod.
    • Add support for trialSettings on SubscriptionSchedule.

See the changelog for more details.

v10.16.0-beta.1

  • #1589 API Updates for beta branch
    • Updated stable APIs to the latest version
    • Add support for new value revoked on enum CapitalFinancingOfferListParams.status
    • Add support for paypal on Charge.payment_method_details and Source
    • Add support for network_data on Issuing.Transaction
    • Add support for new value paypal on enum Source.type
    • Add support for billing_cycle_anchor on SubscriptionScheduleAmendParams.amendments[]

... (truncated)

Changelog

Sourced from stripe's changelog.

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',
      maxNetworkRetries: 1,
      httpAgent: new ProxyAgent(process.env.http_proxy),
      timeout: 1000,
      host: 'api.example.com',
      port: 123,
      telemetry: true,
    });
    
  • Remove deprecated basic method definitions. (#1600) Use basic methods defined on the resource instead.

    // Before
    basicMethods: true
    

    // After create: stripeMethod({ method: 'POST', fullPath: '/v1/resource', }), list: stripeMethod({ method: 'GET', methodType: 'list', fullPath: '/v1/resource', }),

... (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 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 #114.