FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build(deps): bump @stripe/react-stripe-js from 3.9.2 to 4.0.2 by dependabot[bot] · Pull Request #4389 · code-watch/sentry · GitHub

forked from getsentry/sentry

build(deps): bump @stripe/react-stripe-js from 3.9.2 to 4.0.2 - #4389

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/stripe/react-stripe-js-4.0.2
Open

build(deps): bump @stripe/react-stripe-js from 3.9.2 to 4.0.2#4389
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/stripe/react-stripe-js-4.0.2

Conversation

dependabot Bot commented on behalf of github Jul 18, 2026
edited
Loading

Copy link
Copy Markdown

Bumps @stripe/react-stripe-js from 3.9.2 to 4.0.2.

Release notes

Sourced from @​stripe/react-stripe-js's releases.

v4.0.2

Changed

  • Add release candidate logic to publish script (#618)

v4.0.1

Fixes

  • Fix Shipping/BillingAddressElement Render (#616)

Changed

  • Bump sha.js from 2.4.11 to 2.4.12 (#610)
  • Bump cipher-base from 1.0.4 to 1.0.6 (#614)

v4.0.0

Changed

  • [breaking] split out custom checkout imports (#609)
  • Update useCheckout to return loading/error states (#606)

Upgrade guidance

Import changes

Checkout paths changed: Note: this only applies to Elements with Checkout Sessions API integrations.

import {useCheckout, PaymentElement} from '@stripe/react-stripe-js';

to

import {useCheckout, PaymentElement} from '@stripe/react-stripe-js/checkout';

useCheckout changes

Previously:

  • CheckoutProvider renders children if initCheckout succeeded, and null otherwise.
  • useCheckout() returns the SDK if initCheckout succeeded, and throws an error otherwise.

Now (>= v4.0.0):

  • CheckoutProvider renders children unconditionally.
  • useCheckout() returns a disjoint union describing the asynchronous state. The new return value now looks like:
type useCheckout = () =>
  | {type: 'loading'}
  | {
      type: 'success';
</tr></table> 

... (truncated)

Commits

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 18, 2026
dependabot Bot force-pushed the dependabot/npm_and_yarn/stripe/react-stripe-js-4.0.2 branch from 071ebf9 to ccd417f Compare July 20, 2026 19:55
Bumps [@stripe/react-stripe-js](https://github.com/stripe/react-stripe-js) from 3.9.2 to 4.0.2.
- [Release notes](https://github.com/stripe/react-stripe-js/releases)
- [Changelog](https://github.com/stripe/react-stripe-js/blob/master/CHANGELOG.md)
- [Commits](stripe/react-stripe-js@v3.9.2...v4.0.2)

---
updated-dependencies:
- dependency-name: "@stripe/react-stripe-js"
  dependency-version: 4.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot Bot force-pushed the dependabot/npm_and_yarn/stripe/react-stripe-js-4.0.2 branch from ccd417f to b051d6e Compare August 6, 2026 07:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Development

Successfully merging this pull request may close these issues.

0 participants


Back | FazBrowse Home | New Git URL