Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): bump stripe from 8.222.0 to 12.0.0 #797

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2023

Bumps stripe from 8.222.0 to 12.0.0.

Release notes

Sourced from stripe's releases.

v12.0.0

  • #1743 Remove Stripe.default and Stripe.Stripe This was added to maintain backwards compatibility during the transition of stripe-node to a dual ES module / CommonJS package, and should not be functionally necessary.

  • #1742 Pin latest API version as the default ⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️

    In this release, Stripe API Version 2022-11-15 (the latest at time of release) will be sent by default on all requests. The previous default was to use your Stripe account's default API version.

    To successfully upgrade to stripe-node v12, you must either

    1. (Recommended) Upgrade your integration to be compatible with API Version 2022-11-15.

      Please read the API Changelog carefully for each API Version from 2022-11-15 back to your Stripe account's default API version. Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe Test Mode before deploying them to production.

      You can read the v12 migration guide for more detailed instructions.

    2. (Alternative option) Specify a version other than 2022-11-15 when initializing stripe-node.

      If you were previously initializing stripe-node without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your Stripe account's default API version. For example:

      - const stripe = require('stripe')('sk_test_...'); 
      + const stripe = require('stripe')('sk_test_...', {
      +   apiVersion: 'YYYY-MM-DD' // Determine your default version from https://dashboard.stripe.com/developers
      + })

      If you were already initializing stripe-node with an explicit API Version, upgrading to v12 will not affect your integration.

      Read the v12 migration guide for more details.

    Going forward, each major release of this library will be pinned by default to the latest Stripe API Version at the time of release. That is, instead of upgrading stripe-node and separately upgrading your Stripe API Version through the Stripe Dashboard. whenever you upgrade major versions of stripe-node, you should also upgrade your integration to be compatible with the latest Stripe API version.

See the changelog for more details.

v11.18.0

  • #1738 Update generated code
    • Add support for new value link on enums Charge.payment_method_details.card.wallet.type and PaymentMethod.card.wallet.type
    • Change IssuingCardholderCreateParams.type to be optional
    • Add support for country on PaymentMethod.link
    • Add support for status_details on PaymentMethod.us_bank_account
  • #1747 (Typescript) remove deprecated properties

See the changelog for more details.

v11.18.0-beta.1

  • #1735 Update generated code
    • Add support for new value ioss on enums Tax.Registration.type and TaxRegistrationCreateParams.type
    • Change TerminalReaderCollectInputsParams.inputs[].custom_text.description to be optional

... (truncated)

Changelog

Sourced from stripe's changelog.

12.0.0 - 2023-04-06

  • #1743 Remove Stripe.default and Stripe.Stripe This was added to maintain backwards compatibility during the transition of stripe-node to a dual ES module / CommonJS package, and should not be functionally necessary.

  • #1742 Pin latest API version as the default ⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️

    In this release, Stripe API Version 2022-11-15 (the latest at time of release) will be sent by default on all requests. The previous default was to use your Stripe account's default API version.

    To successfully upgrade to stripe-node v12, you must either

    1. (Recommended) Upgrade your integration to be compatible with API Version 2022-11-15.

      Please read the API Changelog carefully for each API Version from 2022-11-15 back to your Stripe account's default API version. Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe Test Mode before deploying them to production.

      You can read the v12 migration guide for more detailed instructions.

    2. (Alternative option) Specify a version other than 2022-11-15 when initializing stripe-node.

      If you were previously initializing stripe-node without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your Stripe account's default API version. For example:

      - const stripe = require('stripe')('sk_test_...'); 
      + const stripe = require('stripe')('sk_test_...', {
      +   apiVersion: 'YYYY-MM-DD' // Determine your default version from https://dashboard.stripe.com/developers
      + })

      If you were already initializing stripe-node with an explicit API Version, upgrading to v12 will not affect your integration.

      Read the v12 migration guide for more details.

    Going forward, each major release of this library will be pinned by default to the latest Stripe API Version at the time of release. That is, instead of upgrading stripe-node and separately upgrading your Stripe API Version through the Stripe Dashboard. whenever you upgrade major versions of stripe-node, you should also upgrade your integration to be compatible with the latest Stripe API version.

11.18.0 - 2023-04-06

  • #1738 Update generated code
    • Add support for new value link on enums Charge.payment_method_details.card.wallet.type and PaymentMethod.card.wallet.type
    • Change IssuingCardholderCreateParams.type to be optional
    • Add support for country on PaymentMethod.link
    • Add support for status_details on PaymentMethod.us_bank_account
  • #1747 (Typescript) remove deprecated properties

11.17.0 - 2023-03-30

  • #1734 Update generated code
    • Remove support for create method on resource Tax.Transaction
      • This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the createFromCalculation method.
    • Add support for export_license_id and export_purpose_code on Account.company, AccountCreateParams.company, AccountUpdateParams.company, and TokenCreateParams.account.company
    • Remove support for value deleted from enum Invoice.status
      • This is not a breaking change, as deleted was never returned or accepted as input.
    • Add support for amount_tip on TerminalReaderPresentPaymentMethodParams.testHelpers

... (truncated)

Commits
  • 26e730a Bump version to 12.0.0
  • 634b7dc Merge pull request #1744 from stripe/sdk-release/next-major
  • 4560e06 Merge branch 'master' into sdk-release/next-major
  • 81881e5 Bump version to 11.18.0
  • 74c41e3 Merge pull request #1738 from stripe/latest-codegen-master
  • d7b4abe Merge branch 'master' into latest-codegen-master
  • cac2f25 Update generated code for v294
  • 07d5376 Merge pull request #1747 from stripe/anniel-remove-deprecated-types
  • e8a594a Merge branch 'master' into anniel-remove-deprecated-types
  • 9c237a3 Merge pull request #1745 from stripe/richardm-autopagination-cleanup
  • 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)

Bumps [stripe](https://github.com/stripe/stripe-node) from 8.222.0 to 12.0.0.
- [Release notes](https://github.com/stripe/stripe-node/releases)
- [Changelog](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-node@v8.222.0...v12.0.0)

---
updated-dependencies:
- dependency-name: stripe
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@netlify
Copy link

netlify bot commented Apr 7, 2023

Deploy Preview for wolfweez canceled.

Name Link
🔨 Latest commit 4c6c620
🔍 Latest deploy log https://app.netlify.com/sites/wolfweez/deploys/642f6b117ee8c30008f140db

@netlify
Copy link

netlify bot commented Apr 7, 2023

Deploy Preview for wolfweez-preview canceled.

Name Link
🔨 Latest commit 4c6c620
🔍 Latest deploy log https://app.netlify.com/sites/wolfweez-preview/deploys/642f6b117fd7b60008b7d536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants