Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

fix(deps): update dependency stripe to v22 - #169

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/stripe-22.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/stripe-22.x

Conversation

@renovate

@renovate renovate Bot commented Apr 3, 2026 •

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
stripe ^21.0.0 → ^22.0.0 age confidence

Release Notes

stripe/stripe-node (stripe)

v22.0.0

Compare Source

This release uses the same pinned API version to 2026-03-25.dahlia as the last major release. The breaking changes in this release are prefixed with ⚠️ below. There's also a detailed migration guide to simplify your upgrade process.

  • #​2619 Improved TypeScript support in the Node SDK
    • Moved the types from the partially manually maintained and partially generated types folder to be inline with the implementation in TypeScript files.
    • Removed top-level “stripe” ambient module. This allows import aliasing for the stripe package.
    • ⚠️ Stripe.StripeContext is no longer exported as a type. Use Stripe.StripeContextType instead.
    • ⚠️ Stripe.errors.StripeError is no longer a type. Use typeof Stripe.errors.StripeError or Stripe.ErrorType instead.
    • ⚠️ CJS entry point no longer exports .default or .Stripe as separate properties.
    • ⚠️ Stripe import is now a true ES6 class. Use new Stripe() to create a StripeClient instead of calling it:
// Before
const stripeClient = Stripe("sk_test_...");

// After
const stripeClient = new Stripe("sk_test_...");
  • #​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 ⚠️ 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


Configuration

📅 Schedule: Branch creation - "after 9am and before 5pm on monday,tuesday,wednesday,thursday,friday" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Apr 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
karate-debug-api Ready Ready Preview, Comment Apr 28, 2026 7:29pm

Request Review

@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 6d27bc2 to 6b54e14 Compare April 3, 2026 21:57
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 6b54e14 to 6ae0971 Compare April 4, 2026 01:43
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 6ae0971 to 6752ef7 Compare April 4, 2026 05:09
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 6752ef7 to 35b27d7 Compare April 4, 2026 08:47
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 35b27d7 to e4daf58 Compare April 6, 2026 21:06
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from e4daf58 to 623c32d Compare April 7, 2026 00:58
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 623c32d to 9920fc5 Compare April 7, 2026 20:48
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 9920fc5 to 1579424 Compare April 8, 2026 01:34
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 1579424 to 5250b48 Compare April 8, 2026 04:27
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 5250b48 to c9595cd Compare April 8, 2026 20:00
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from c9595cd to f3ef267 Compare April 8, 2026 23:55
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from f3ef267 to 7d13793 Compare April 9, 2026 00:45
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 7d13793 to bac04a7 Compare April 9, 2026 20:55
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from bac04a7 to 7acb64e Compare April 10, 2026 02:09
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 64b6f6c to 4759e24 Compare April 14, 2026 00:43
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 4759e24 to 81aefc9 Compare April 14, 2026 04:57
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 81aefc9 to adc1130 Compare April 16, 2026 15:49
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from adc1130 to d5bb297 Compare April 16, 2026 20:42
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from d5bb297 to 1f7b7e1 Compare April 17, 2026 00:15
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 1f7b7e1 to e617f2b Compare April 21, 2026 01:12
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from e617f2b to 36525af Compare April 21, 2026 05:35
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 36525af to 5b0855b Compare April 21, 2026 21:53
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 5b0855b to d3fe717 Compare April 23, 2026 18:42
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from d3fe717 to 92b0ab4 Compare April 23, 2026 23:17
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 92b0ab4 to 7cf8424 Compare April 24, 2026 01:31
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 7cf8424 to 89cdb8f Compare April 27, 2026 22:56
@renovate
renovate Bot force-pushed the renovate/stripe-22.x branch from 89cdb8f to dce9b7a Compare April 28, 2026 06:32

This branch was successfully deployed

1 active deployment
Preview — 98533a8b Deployed Apr 28, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants