# What changed in @stripe/react-stripe-js

> 37 changes in @stripe/react-stripe-js 2 to 7 from its official release notes, upgrade guides and advisories: 9 breaking, 1 deprecations, 19 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/@stripe/react-stripe-js/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @stripe/react-stripe-js 7

### Breaking changes

- Removed the payment request button for Endive. (7.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v7.0.0)

### New APIs and options

- Adds fieldchange types. (7.1.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v7.1.0)
- Adds PricingProvider and related hooks to the /pricing export. (7.1.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v7.1.0)

### Behavior and default changes

- Upgraded to React 19, which may affect the React version used with this package. (7.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v7.0.0)

### Fixes and other changes

- Fixes EmbeddedCheckoutProvider not registering react-stripe-js with Stripe.js. (7.0.1) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v7.0.1)

## @stripe/react-stripe-js 6

### Breaking changes

- The minimum supported peer version is now 9.10.0. (6.9.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.9.0)
- Renames the embedded checkout page API to createEmbeddedCheckoutPage. (6.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.0.0)

### Deprecations

- Deprecated in favor of useCheckoutElements and useCheckoutForm; it continues working under both providers for backward compatibility and is planned for removal in v7.0.0. (6.3.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.3.0)

### New APIs and options

- Adds the TreasuryDisclosure component for application developers to use. (6.12.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.12.0)
- Adds React wrappers for the Link Signup Element. (6.10.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.10.0)
- Adds the Terms Element to @stripe/react-stripe-js. (6.8.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.8.0)
- CSE was added to the base types in react-stripe-js. (6.6.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.6.0)
- The Checkout ExpressCheckoutElement now exposes an onCancel prop. (6.5.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.5.0)
- Adds availablepaymentmethodschange functionality. (6.4.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.4.0)
- Added a hook to use inside CheckoutElementsProvider. (6.3.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.3.0)
- Added a hook to use inside CheckoutFormProvider. (6.3.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.3.0)
- Adds the contactDetails element for developers to use. (6.2.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.2.0)
- Adds React components for Stripe Issuing Elements. (6.1.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.1.0)

### Performance

- Checkout hook results are memoized, which can help avoid unnecessary updates when their references are used by consumers. (6.11.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.11.0)

### Behavior and default changes

- The wrapper now returns the event handler result. (6.5.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.5.0)

### Fixes and other changes

- Checkout provider initialization failures are handled. (6.11.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.11.0)
- Both new hooks throw a clear runtime error when called under the wrong provider. (6.3.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v6.3.0)

## @stripe/react-stripe-js 5

### Breaking changes

- Updates CheckoutProvider to use a new shape, which may require changes to existing usage. (5.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v5.0.0)
- Removes Clover element types. (5.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v5.0.0)

### New APIs and options

- Adds full props and options support for PaymentFormElement. (5.5.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v5.5.0)
- Exports disclosure components with typing. (5.4.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v5.4.0)
- Adds the PaymentForm Element. (5.4.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v5.4.0)
- Adds an Issuing disclosure React component. (5.3.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v5.3.0)
- Adds onChange to the Shipping and Billing Address Elements. (5.3.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v5.3.0)
- Exports StripeCheckoutValue from the checkout entrypoint. (5.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v5.0.0)

### Behavior and default changes

- Publishing now fails fast when hub GitHub authentication is invalid, so maintainers discover the authentication problem sooner. (5.6.1) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v5.6.1)
- Removes the beta comment from the CurrencySelector element. (5.4.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v5.4.0)

## @stripe/react-stripe-js 4

### Breaking changes

- CheckoutProvider now renders children unconditionally, including while checkout initialization is pending or has failed. (4.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v4.0.0)
- useCheckout() now returns a disjoint union for loading, success, and error states instead of returning the SDK or throwing an error. (4.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v4.0.0)

### New APIs and options

- Checkout Sessions API integrations should import useCheckout and PaymentElement from this subpath instead of the package root. (4.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v4.0.0)

## @stripe/react-stripe-js 3

### Breaking changes

- CustomCheckoutProvider was renamed to CheckoutProvider; update code using the old name. (3.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v3.0.0)

## @stripe/react-stripe-js 2

### Breaking changes

- Renames PayButtonElement to ExpressCheckoutElement; update code using the old name. (2.0.0) — [release notes](https://github.com/stripe/react-stripe-js/releases/tag/v2.0.0)
