unstale

npm / @stripe/stripe-js

@stripe/stripe-js

What changed in @stripe/stripe-js 2 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-15.

13 breaking1 deprecations13 new APIs and options1 performance1 behavior and defaults1 tooling6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

@stripe/stripe-js 1016 changes

Breaking changes 5

  • Removes defaultCollapsed from update() types because this layout option cannot be updated.

    10.2.0release notes

  • Removes paymentMethodLogoPosition from update() types because this layout option cannot be updated.

    10.2.0release notes

  • Removed Elements paymentMethodTypes from the types for Endive.

    10.0.0release notes

  • The loader now retries.

    10.0.0release notes

  • Removed the payment request button for Endive.

    10.0.0release notes

New APIs and options 7

  • Adds public types for the pe fieldchange event, making its types available to developers.

    10.3.0release notes

  • Canary Islands NIF was added to the Checkout and Tax ID Element types.

    10.2.1release notes

  • Types were added for the Pricing SDK beta.

    10.2.1release notes

  • EwCS types add update actions for individual and business names.

    10.2.0release notes

  • EwCS types add nameCollection.

    10.2.0release notes

  • Adds new appearance variables for accordion triggers.

    10.1.0release notes

  • Adds the mobile_web client option for WeChat Pay.

    10.1.0release notes

Performance 1

  • Concurrent loadStripe calls now share an in-flight Stripe.js load.

    10.1.0release notes

Fixes and other changes 3

@stripe/stripe-js 91 changes

New APIs and options 1

@stripe/stripe-js 88 changes

Breaking changes 4

  • Types for the Checkout SDK were updated in a breaking change.

    8.0.0release notes

  • Clover elements were removed.

    8.0.0release notes

  • Optional mode parameters for stripe.elements were replaced with a discriminated union.

    8.0.0release notes

  • Types for redirectToCheckout were removed in a breaking change.

    8.0.0release notes

New APIs and options 2

Fixes and other changes 2

  • Types were added for the metadata field.

    8.0.0release notes

  • Types for PaymentMethod were fixed for all GA-ed LPMs.

    8.0.0release notes

@stripe/stripe-js 72 changes

Tooling 1

Fixes and other changes 1

  • Elements types were modified to support Checkout Session types for GA.

    7.0.0release notes

@stripe/stripe-js 61 changes

Behavior and default changes 1

@stripe/stripe-js 52 changes

Breaking changes 1

New APIs and options 1

@stripe/stripe-js 44 changes

Breaking changes 1

  • Removed as a type; replace its usage with ExpressCheckoutPaymentMethodOptionWithAlways.

    4.0.0release notes

Deprecations 1

  • The wallets option is deprecated; use paymentMethods instead.

    4.0.0release notes

New APIs and options 2

  • Extended to include themes for PayPal for Express Checkout Element.

    4.0.0release notes

  • Added to StripeExpressCheckoutElementOptions, extending the original wallets with link, paypal, and amazonPay.

    4.0.0release notes

@stripe/stripe-js 31 changes

Breaking changes 1

  • Fixes ES module imports; update imports when moving to this major release.

    3.0.0release notes

@stripe/stripe-js 21 changes

Breaking changes 1