Skip to content

build(deps): bump stripe from 21.0.1 to 22.0.0#3377

Merged
PierreBrisorgueil merged 1 commit into
masterfrom
dependabot/npm_and_yarn/stripe-22.0.0
Apr 5, 2026
Merged

build(deps): bump stripe from 21.0.1 to 22.0.0#3377
PierreBrisorgueil merged 1 commit into
masterfrom
dependabot/npm_and_yarn/stripe-22.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 3, 2026

Copy link
Copy Markdown
Contributor

Bumps stripe from 21.0.1 to 22.0.0.

Release notes

Sourced from stripe's releases.

v22.0.0

  • #2642 Update README.md

  • #2645 ⚠️ Remove stripeMethod and standardize how function args are handled (including removing callback support)

    • ⚠️ Refactor how incoming method arguments are parsed. Type signatures for API methods should be much more accurate and reliable now
      • ⚠️ Remove support for providing callbacks to API methods. Use async / await instead
      • ⚠️ Remove support for passing a plain API key as a function arg. If supplied on a per-request basis, it should be in the RequestOptions under the apiKey property
      • ⚠️ Keys from params and options objects are no longer mixed. If present on a method, RequestParams must always come first and RequestOptions must always come second. To supply options without params, pass undefined as the first argument explicitly
      • ⚠️ Removed methods from StripeResource: createFullPath, createResourcePathWithSymbols, extend, method and _joinUrlParts. These were mostly intended for internal use and we no longer need them

    As a result, the following call patterns are no longer supported:

    stripe.customers.retrieve('cus_123', 'sk_test_123')
    stripe.customers.create({name: 'david', host: 'example.com'}, 'sk_test_123')
    stripe.customers.create({apiKey: 'sk_test_123'})
    stripe.customers.list(customers => {
      // do something with customers
    })

    If those look familiar, head over to the migration guide to update your code.

  • #2643 ⚠️ remove support for overriding host per-request

    • ⚠️ Removed per-request host override. To use a custom host, set it in the client configuration. All requests from that client will use that host.

    Before:

    import Stripe from 'stripe';
    const stripe = new Stripe('sk_test_...');
    const customer = await stripe.customers.create({
    email: 'customer@example.com',
    }, {host: 'example.com'});

    After:

    import Stripe from 'stripe';
    const stripe = new Stripe('sk_test_...', {host: 'example.com'});
    // goes to example.com
    const customer = await stripe.customers.create({
    email: 'customer@example.com',
    });

  • #2619 Improved TypeScript support in the Node SDK

  • #2638 Converted V2/Amount.ts to V2/V2Amount.ts

  • #2635 Updated stripe.spec.ts test and constructEvent.tolerance type

... (truncated)

Changelog

Sourced from stripe's changelog.

22.0.0 - 2026-04-02

  • #2642 Update README.md

  • #2645 ⚠️ Remove stripeMethod and standardize how function args are handled (including removing callback support)

    • ⚠️ Refactor how incoming method arguments are parsed. Type signatures for API methods should be much more accurate and reliable now
      • ⚠️ Remove support for providing callbacks to API methods. Use async / await instead
      • ⚠️ Remove support for passing a plain API key as a function arg. If supplied on a per-request basis, it should be in the RequestOptions under the apiKey property
      • ⚠️ Keys from params and options objects are no longer mixed. If present on a method, RequestParams must always come first and RequestOptions must always come second. To supply options without params, pass undefined as the first argument explicitly
      • ⚠️ Removed methods from StripeResource: createFullPath, createResourcePathWithSymbols, extend, method and _joinUrlParts. These were mostly intended for internal use and we no longer need them

    As a result, the following call patterns are no longer supported:

    stripe.customers.retrieve('cus_123', 'sk_test_123')
    stripe.customers.create({name: 'david', host: 'example.com'}, 'sk_test_123')
    stripe.customers.create({apiKey: 'sk_test_123'})
    stripe.customers.list(customers => {
      // do something with customers
    })

    If those look familiar, head over to the migration guide to update your code.

  • #2643 ⚠️ remove support for overriding host per-request

    • ⚠️ Removed per-request host override. To use a custom host, set it in the client configuration. All requests from that client will use that host.

    Before:

    import Stripe from 'stripe';
    const stripe = new Stripe('sk_test_...');
    const customer = await stripe.customers.create({
    email: 'customer@example.com',
    }, {host: 'example.com'});

    After:

    import Stripe from 'stripe';
    const stripe = new Stripe('sk_test_...', {host: 'example.com'});
    // goes to example.com
    const customer = await stripe.customers.create({
    email: 'customer@example.com',
    });

  • #2619 Improved TypeScript support in the Node SDK

  • #2638 Converted V2/Amount.ts to V2/V2Amount.ts

  • #2635 Updated stripe.spec.ts test and constructEvent.tolerance type

Commits
  • 210de11 Bump version to 22.0.0
  • f0c33bd Update README.md (#2642)
  • cd52c83 ⚠️ Remove stripeMethod and standardize how function args are handled (inclu...
  • dafc32c ⚠️ remove support for overriding host per-request (#2643)
  • e395b7d Converted V2/Amount.ts to V2/V2Amount.ts (#2638)
  • c00ce64 Updated stripe.spec.ts test and constructEvent.tolerance type (#2635)
  • 8d8bd30 Improved TypeScript support in the Node SDK (#2619)
  • See full diff 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 show <dependency name> 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)

Bumps [stripe](https://github.com/stripe/stripe-node) from 21.0.1 to 22.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@v21.0.1...v22.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 3, 2026
@PierreBrisorgueil
PierreBrisorgueil merged commit f77c3a1 into master Apr 5, 2026
2 checks passed
@PierreBrisorgueil
PierreBrisorgueil deleted the dependabot/npm_and_yarn/stripe-22.0.0 branch April 5, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant