Packages

@stripe/react-stripe-js

7.1.0 · 13 Nov 2026MIT14M / weekRepositorynpmAtom feed

Upgrading @stripe/react-stripe-js From 3.11.0 to 4.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.11.0Latest7.1.0
  1. 3.11.0yours
  2. 4.0.0target
1
change to make
0
advisories fixed
0
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking4.0.0
5 other lines we could not sort, mostly version bumps
  • Update useCheckout to return loading/error states

    4.0.0
  • CheckoutProvider renders children if initCheckout succeeded, and null otherwise.

    4.0.0
  • useCheckout() returns the SDK if initCheckout succeeded, and throws an error otherwise.

    4.0.0
  • CheckoutProvider renders children unconditionally.

    4.0.0
  • useCheckout() returns a disjoint union describing the asynchronous state. The new return value now looks like:

    4.0.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.