@stripe/stripe-js breaking changes
Updated December 4, 2026
On this page
Latest version 10.5.0, released December 1, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 9.16.0 to 10.3.0: 35 breaking changes in 5 versions.
- From 3.0.0 to 10.3.0: 419 breaking changes in 59 versions.
@stripe/stripe-js 10.3.0 breaking changes
- Signature changed
StripePaymentElement
Was type StripePaymentElement = StripeElementBase & {on(eventType: 'change', handler: (event: StripePaymentElementChangeEvent) => any): StripePaymentElement; once(eventType: 'change', handler: (event: StripePaymentElementChangeEvent) =>... npmjs.com
@stripe/stripe-js 10.2.1 breaking changes
- Signature changed
ExternalTaxIdType
Was type ExternalTaxIdType = | 'eu_vat' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ba_tin' | 'bb_tin' | 'bs_tin' | 'cd_nif' | 'cl_tin' | 'tr_tin' | 'th_vat' | 'gn_nif' | 'kh_tin' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'np_pan' | 'pe_ruc' | 'sa_vat' |... npmjs.com - Signature changed
StripeCheckoutTaxIdType
Was type StripeCheckoutTaxIdType = | 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'bg_uic' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' |... npmjs.com - Signature changed
TaxIdType
Was type TaxIdType = | 'al_tin' | 'am_tin' | 'ao_tin' | 'at_vat' | 'ba_tin' | 'bb_tin' | 'be_vat' | 'bg_vat' | 'bs_tin' | 'cd_nif' | 'cl_tin' | 'tr_tin' | 'cy_vat' | 'cz_vat' | 'de_vat' | 'dk_vat' | 'ee_vat' | 'es_vat' | 'fi_vat' |... npmjs.com
@stripe/stripe-js 10.2.0 breaking changes
- Removed
PaymentElement.update
The defaultCollapsed and paymentMethodLogoPosition layout options are no longer accepted in the update() types for PaymentElement. Remove them from update() calls. github.com - Signature changed
ApplyPromotionCodeError
Was type ApplyPromotionCodeError = | {message: string; code: 'invalidCode'} | AnyBuyerError; now type ApplyPromotionCodeError = | {message: string; code: 'invalidCode'} | {message: string; code: 'promotionCodeAmountInsufficient'} |... npmjs.com - Signature changed
StripeCheckoutFormLoadActionsSuccess
Was type StripeCheckoutFormLoadActionsSuccess = Omit<StripeCheckoutLoadActionsSuccess, | 'updateEmail' | 'updatePhoneNumber' | 'updateShippingAddress' | 'updateBillingAddress' | 'updateTaxIdInfo'>; now type... npmjs.com - Signature changed
StripeCheckoutLoadActionsSuccess
Was type StripeCheckoutLoadActionsSuccess = {applyPromotionCode: (promotionCode: string) => Promise<StripeCheckoutApplyPromotionCodeResult>; removePromotionCode: () => Promise<StripeCheckoutRemovePromotionCodeResult>... npmjs.com - Signature changed
StripePaymentElementUpdateOptions
Was type StripePaymentElementUpdateOptions = Pick<StripePaymentElementOptions, | 'defaultValues' | 'business' | 'paymentMethodOrder' | 'fields' | 'readOnly' | 'terms' | 'layout' | 'applePay' | 'walletOptions'>; now type... npmjs.com - Signature changed
StripePaymentElementUpdateOptions.layout
Was layout?: Layout | LayoutObject; now layout?: Layout | PaymentElementLayoutObjectUpdateOptions. npmjs.com - Signature changed
StripePaymentMethodMessagingElementOptions.currency
Was currency: | 'AUD' | 'CAD' | 'CHF' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'NOK' | 'NZD' | 'PLN' | 'SEK' | 'USD'; now currency: | 'AUD' | 'CAD' | 'CHF' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'NOK' | 'NZD' | 'PLN' | 'RON' | 'SEK' | 'USD'. npmjs.com
@stripe/stripe-js 10.1.0 breaking changes
- Signature changed
Appearance.variables
Was variables?: {fontFamily?: string; fontSmooth?: string; fontVariantLigatures?: string; fontVariationSettings?: string; fontLineHeight?: string; fontSizeBase?: string; fontSizeSm?: string; fontSizeXs?: string; fontSize2Xs?: string... npmjs.com - Signature changed
ConfirmWechatPayPaymentData.payment_method_options
Was payment_method_options?: {wechat_pay: {client?: 'web';};}; now payment_method_options?: {wechat_pay: {client?: 'web' | 'mobile_web';};}. npmjs.com - Signature changed
ConfirmWechatPayPaymentData.payment_method_options.wechat_pay
Was wechat_pay: {client?: 'web';}; now wechat_pay: {client?: 'web' | 'mobile_web';}. npmjs.com - Signature changed
ConfirmWechatPayPaymentData.payment_method_options.wechat_pay.client
Was client?: 'web'; now client?: 'web' | 'mobile_web'. npmjs.com
@stripe/stripe-js 10.0.0 breaking changes
- Removed
The payment request button was removed for Endive. Code that renders or depends on it must stop using it. github.com - Removed
paymentMethodTypes
The Elements paymentMethodTypes option was removed from the types for Endive. Code that references it must be updated. github.com - Removed
StripeElementsOptionsModeBase.payment_method_types
StripeElementsOptionsModeBase.payment_method_types was removed in @stripe/stripe-js 10.0.0 npmjs.com - Removed
StripeElementsOptionsModeBase.paymentMethodTypes
StripeElementsOptionsModeBase.paymentMethodTypes was removed in @stripe/stripe-js 10.0.0 npmjs.com - Removed
StripeElementsOptionsModePayment.payment_method_types
StripeElementsOptionsModePayment.payment_method_types was removed in @stripe/stripe-js 10.0.0 npmjs.com - Removed
StripeElementsOptionsModePayment.paymentMethodTypes
StripeElementsOptionsModePayment.paymentMethodTypes was removed in @stripe/stripe-js 10.0.0 npmjs.com - Removed
StripeElementsOptionsModeSetup.payment_method_types
StripeElementsOptionsModeSetup.payment_method_types was removed in @stripe/stripe-js 10.0.0 npmjs.com - Removed
StripeElementsOptionsModeSetup.paymentMethodTypes
StripeElementsOptionsModeSetup.paymentMethodTypes was removed in @stripe/stripe-js 10.0.0 npmjs.com - Removed
StripeElementsOptionsModeSubscription.payment_method_types
StripeElementsOptionsModeSubscription.payment_method_types was removed in @stripe/stripe-js 10.0.0 npmjs.com - Removed
StripeElementsOptionsModeSubscription.paymentMethodTypes
StripeElementsOptionsModeSubscription.paymentMethodTypes was removed in @stripe/stripe-js 10.0.0 npmjs.com
And 10 more in this version. Sign up to see every change
@stripe/stripe-js 9.16.0 breaking changes
- Signature changed
StripeCheckoutLineItem
Was type StripeCheckoutLineItem = {id: string; name: string; discount: StripeCheckoutAmount; subtotal: StripeCheckoutAmount; total: StripeCheckoutAmount; taxExclusive: StripeCheckoutAmount; taxInclusive: StripeCheckoutAmount; unitAmount... npmjs.com - Signature changed
StripeElement
Was type StripeElement = | StripeAddressElement | StripeAuBankAccountElement | StripeCardElement | StripeCardNumberElement | StripeCardExpiryElement | StripeCardCvcElement | StripeIbanElement | StripeContactDetailsElement |... npmjs.com - Signature changed
StripeElementType
Was type StripeElementType = | 'address' | 'auBankAccount' | 'card' | 'cardNumber' | 'cardExpiry' | 'cardCvc' | 'contactDetails' | 'currencySelector' | 'expressCheckout' | 'iban' | 'payment' | 'paymentForm' | 'paymentMethodMessaging' |... npmjs.com - Signature changed
ValidateElementsValidationError
Was type ValidateElementsValidationError = {message: string; element: | 'payment' | 'checkoutForm' | 'contactDetails' | 'shippingAddress' | 'billingAddress' | 'taxId' | 'terms' | 'linkAuthentication';}; now type... npmjs.com - Signature changed
ValidateElementsValidationError.element
Was element: | 'payment' | 'checkoutForm' | 'contactDetails' | 'shippingAddress' | 'billingAddress' | 'taxId' | 'terms' | 'linkAuthentication'; now element: | 'payment' | 'checkoutForm' | 'contactDetails' | 'shippingAddress' |... npmjs.com
Older versions
54 older versions, each with its first changes. Sign up to see every change
Show 54 older versions
@stripe/stripe-js 9.15.0 breaking changes
- Signature changed
Appearance.variables
Was variables?: {fontFamily?: string; fontSmooth?: string; fontVariantLigatures?: string; fontVariationSettings?: string; fontLineHeight?: string; fontSizeBase?: string; fontSizeSm?: string; fontSizeXs?: string; fontSize2Xs?: string... npmjs.com
@stripe/stripe-js 9.14.0 breaking changes
- Signature changed
CustomPaymentMethod.options
Was options: {type: 'static'; subtitle?: string;}; now options?: {type: 'static' | 'embedded'; subtitle?: string; embedded?: {handleRender: (container: HTMLDivElement) => void; handleDestroy?: () => void;};}. npmjs.com - Signature changed
CustomPaymentMethod.options.type
Was type: 'static'; now type: 'static' | 'embedded'. npmjs.com
And 3 more in this version.
@stripe/stripe-js 9.13.0 breaking changes
- Signature changed
StripeCheckoutFormOptions
Was type StripeCheckoutFormOptions = {layout?: 'expanded' | 'compact'; contacts?: ContactOption[]; expressCheckout?: {buttonHeight?: number; buttonTheme?: PaymentFormWalletButtonTheme; paymentMethods?... npmjs.com - Signature changed
StripePaymentElement
Was type StripePaymentElement = StripeElementBase & {on(eventType: 'change', handler: (event: StripePaymentElementChangeEvent) => any): StripePaymentElement; once(eventType: 'change', handler: (event: StripePaymentElementChangeEvent) =>... npmjs.com
And 1 more in this version.
@stripe/stripe-js 9.12.0 breaking changes
- Signature changed
StripeCheckoutLineItem
Was type StripeCheckoutLineItem = {id: string; name: string; discount: StripeCheckoutAmount; subtotal: StripeCheckoutAmount; total: StripeCheckoutAmount; taxExclusive: StripeCheckoutAmount; taxInclusive: StripeCheckoutAmount; unitAmount... npmjs.com - Signature changed
StripeCheckoutLoadActionsSuccess
Was type StripeCheckoutLoadActionsSuccess = {applyPromotionCode: (promotionCode: string) => Promise<StripeCheckoutApplyPromotionCodeResult>; removePromotionCode: () => Promise<StripeCheckoutRemovePromotionCodeResult>... npmjs.com
@stripe/stripe-js 9.10.0 breaking changes
- Removed
StripeCheckoutFormChangeEvent.value.adaptivePricing
StripeCheckoutFormChangeEvent.value.adaptivePricing was removed in @stripe/stripe-js 9.10.0 npmjs.com - Removed
StripeCheckoutFormChangeEvent.value.billingAddress
StripeCheckoutFormChangeEvent.value.billingAddress was removed in @stripe/stripe-js 9.10.0 npmjs.com
And 21 more in this version.
@stripe/stripe-js 9.9.0 breaking changes
- Removed
StripeCheckoutLineItem.recurring.isProrated
The isProrated property was moved to StripeCheckoutRecurring. Code that reads or types isProrated from its previous location should be updated to use StripeCheckoutRecurring. npmjs.com - Signature changed
FieldsOption
Was interface FieldsOption; now type FieldsOption = {billingDetails?: BillingDetailsFieldsOption;} & {[K in PaymentElementPaymentMethodType]?: {billingDetails?: BillingDetailsFieldsOption;};}. npmjs.com
And 4 more in this version.
@stripe/stripe-js 9.8.0 breaking changes
- Signature changed
Appearance.variables
Was variables?: {fontFamily?: string; fontSmooth?: string; fontVariantLigatures?: string; fontVariationSettings?: string; fontLineHeight?: string; fontSizeBase?: string; fontSizeSm?: string; fontSizeXs?: string; fontSize2Xs?: string... npmjs.com - Signature changed
StripeCheckoutLineItem
Was type StripeCheckoutLineItem = {id: string; name: string; discount: StripeCheckoutAmount; subtotal: StripeCheckoutAmount; total: StripeCheckoutAmount; taxExclusive: StripeCheckoutAmount; taxInclusive: StripeCheckoutAmount; unitAmount... npmjs.com
@stripe/stripe-js 9.7.0 breaking changes
- Signature changed
StripeCheckoutFormOptions
Was type StripeCheckoutFormOptions = {layout?: 'expanded' | 'compact'; contacts?: ContactOption[]; expressCheckout?: {buttonTheme?: PaymentFormWalletButtonTheme; paymentMethods?: ExpressCheckoutPaymentMethodsOption;};}; now type... npmjs.com - Signature changed
StripeCheckoutFormOptions.expressCheckout
Was expressCheckout?: {buttonTheme?: PaymentFormWalletButtonTheme; paymentMethods?: ExpressCheckoutPaymentMethodsOption;}; now expressCheckout?: {buttonHeight?: number; buttonTheme?: PaymentFormWalletButtonTheme; paymentMethods?... npmjs.com
@stripe/stripe-js 9.6.0 breaking changes
- Signature changed
StripeCheckoutTotalSummary
Was type StripeCheckoutTotalSummary = {appliedBalance: StripeCheckoutAmount; balanceAppliedToNextInvoice: boolean; discount: StripeCheckoutAmount; shippingRate: StripeCheckoutAmount; subtotal: StripeCheckoutAmount; taxExclusive... npmjs.com
@stripe/stripe-js 9.5.0 breaking changes
- Signature changed
StripeExpressCheckoutElement
Was type StripeExpressCheckoutElement = StripeElementBase & {on(eventType: 'ready', handler: (event: StripeExpressCheckoutElementReadyEvent) => any): StripeExpressCheckoutElement; once(eventType: 'ready', handler: (event... npmjs.com - Signature changed
StripePaymentElement
Was type StripePaymentElement = StripeElementBase & {on(eventType: 'change', handler: (event: StripePaymentElementChangeEvent) => any): StripePaymentElement; once(eventType: 'change', handler: (event: StripePaymentElementChangeEvent) =>... npmjs.com
@stripe/stripe-js 9.3.1 breaking changes
- Removed
Client-only actions were removed from the form SDK in this release. Code relying on those actions in the form SDK must be updated. github.com - Removed
LoadActionsSuccess
LoadActionsSuccess was removed in @stripe/stripe-js 9.3.1 npmjs.com
And 2 more in this version.
@stripe/stripe-js 9.3.0 breaking changes
- Signature changed
StripeCheckoutFormChangeEvent.value
Was value: {customerDetails: {email: string; name?: string; businessName?: string;}; shippingOption?: {id: string; displayName: string; amount: string;}; shippingAddress?: {name: string; address: CheckoutFormAddress;}; billingAddress?... npmjs.com - Signature changed
StripeCheckoutFormChangeEvent.value.customerDetails
Was customerDetails: {email: string; name?: string; businessName?: string;}; now customerDetails: {email: string; name?: string; businessName?: string; phone?: string;}. npmjs.com
And 2 more in this version.
@stripe/stripe-js 9.2.0 breaking changes
- Signature changed
StripeElement
Was type StripeElement = | StripeAddressElement | StripeAuBankAccountElement | StripeCardElement | StripeCardNumberElement | StripeCardExpiryElement | StripeCardCvcElement | StripeIbanElement | StripeCurrencySelectorElement |... npmjs.com - Signature changed
StripeElementType
Was type StripeElementType = | 'address' | 'auBankAccount' | 'card' | 'cardNumber' | 'cardExpiry' | 'cardCvc' | 'currencySelector' | 'expressCheckout' | 'iban' | 'payment' | 'paymentForm' | 'paymentMethodMessaging' | 'paymentRequestButton'... npmjs.com
@stripe/stripe-js 9.1.0 breaking changes
- Signature changed
StripeCheckoutLineItem
Was type StripeCheckoutLineItem = {id: string; name: string; discount: StripeCheckoutAmount; subtotal: StripeCheckoutAmount; total: StripeCheckoutAmount; taxExclusive: StripeCheckoutAmount; taxInclusive: StripeCheckoutAmount; unitAmount... npmjs.com - Signature changed
StripeCheckoutTaxAmount
Was type StripeCheckoutTaxAmount = StripeCheckoutAmount & {inclusive: boolean; displayName: string;}; now type StripeCheckoutTaxAmount = StripeCheckoutAmount & {inclusive: boolean; displayName: string; percentage?: number;}. npmjs.com
@stripe/stripe-js 9.0.0 breaking changes
- Removed
CreateSourceData
CreateSourceData was removed in @stripe/stripe-js 9.0.0 npmjs.com - Removed
RetrieveSourceParam
RetrieveSourceParam was removed in @stripe/stripe-js 9.0.0 npmjs.com
And 25 more in this version.
@stripe/stripe-js 8.11.0 breaking changes
- Removed
StripeCheckoutPaymentFormElementOptions.wallets
The wallets option on the Payment Form Element is renamed to expressCheckout. Update code that passes wallets to use expressCheckout instead. npmjs.com - Signature changed
StripeCheckoutPaymentFormElementOptions
Was type StripeCheckoutPaymentFormElementOptions = {layout?: 'expanded' | 'compact'; contacts?: ContactOption[]; wallets?: {buttonTheme?: PaymentFormWalletButtonTheme;};}; now type StripeCheckoutPaymentFormElementOptions = {layout?... npmjs.com
@stripe/stripe-js 8.9.0 breaking changes
- Signature changed
Appearance.variables
Was variables?: {fontFamily?: string; fontSmooth?: string; fontVariantLigatures?: string; fontVariationSettings?: string; fontLineHeight?: string; fontSizeBase?: string; fontSizeSm?: string; fontSizeXs?: string; fontSize2Xs?: string... npmjs.com - Signature changed
StripePaymentFormElement
Was type StripePaymentFormElement = StripeElementBase & {on(eventType: 'ready', handler: (event: {elementType: 'paymentForm'}) => any): StripePaymentFormElement; once(eventType: 'ready', handler: (event: {elementType: 'paymentForm'}) =>... npmjs.com
@stripe/stripe-js 8.8.0 breaking changes
- Signature changed
CreatePaymentMethodData
Was type CreatePaymentMethodData = | CreatePaymentMethodAcssDebitData | CreatePaymentMethodAffirmData | CreatePaymentMethodAfterpayClearpayData | CreatePaymentMethodAlipayData | CreatePaymentMethodAuBecsDebitData |... npmjs.com - Signature changed
ExternalTaxIdType
Was type ExternalTaxIdType = | 'eu_vat' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ba_tin' | 'bb_tin' | 'bs_tin' | 'cd_nif' | 'cl_tin' | 'tr_tin' | 'th_vat' | 'gn_nif' | 'kh_tin' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'np_pan' | 'pe_ruc' | 'sa_vat' |... npmjs.com
And 13 more in this version.
@stripe/stripe-js 8.7.0 breaking changes
- Signature changed
StripePaymentFormElementChangeEvent.value
Was value: {customerDetails: {email: string;}; shippingOption?: {id: string; displayName: string; amount: string;}; shippingAddress?: PaymentFormAddress; billingAddress?: PaymentFormAddress; tax?: {businessName: string; taxId: string... npmjs.com - Signature changed
StripePaymentFormElementChangeEvent.value.billingAddress
Was billingAddress?: PaymentFormAddress; now billingAddress?: {name: string; address: PaymentFormAddress;}. npmjs.com
And 1 more in this version.
@stripe/stripe-js 8.6.4 breaking changes
- Signature changed
StripeCheckout.createPaymentFormElement
Was createPaymentFormElement(): StripePaymentFormElement; now createPaymentFormElement(options?: StripeCheckoutPaymentFormElementOptions): StripePaymentFormElement. npmjs.com - Signature changed
StripeCheckoutOptions.defaultValues
Was defaultValues?: {billingAddress?: StripeCheckoutContact; shippingAddress?: StripeCheckoutContact;}; now defaultValues?: {billingAddress?: StripeCheckoutContact; shippingAddress?: StripeCheckoutContact; email?: string; phoneNumber?... npmjs.com
And 1 more in this version.
@stripe/stripe-js 8.6.0 breaking changes
- Signature changed
PaymentMethodOptions
Was type PaymentMethodOptions = {card?: {require_cvc_recollection?: boolean}; us_bank_account?: {financial_connections?: {permissions?: Array<'balances' | 'ownership' | 'payment_method' | 'transactions'>;}; verification_method?... npmjs.com - Signature changed
PaymentMethodOptions.card
Was card?: {require_cvc_recollection?: boolean}; now card?: {require_cvc_recollection?: boolean; setup_future_usage?: 'none' | 'on_session' | 'off_session';}. npmjs.com
And 2 more in this version.
@stripe/stripe-js 8.5.3 breaking changes
- Signature changed
LoadActionsSuccess
Was type LoadActionsSuccess = {applyPromotionCode: (promotionCode: string) => Promise<StripeCheckoutApplyPromotionCodeResult>; removePromotionCode: () => Promise<StripeCheckoutRemovePromotionCodeResult>; updateShippingAddress... npmjs.com - Signature changed
LoadActionsSuccess.confirm
Was confirm: (args?: {returnUrl?: string; redirect?: StripeCheckoutRedirectBehavior; paymentMethod?: string; savePaymentMethod?: boolean; email?: string; phoneNumber?: string; billingAddress?: StripeCheckoutContact; shippingAddress?... npmjs.com
@stripe/stripe-js 8.5.2 breaking changes
- Signature changed
StripeElementType
Was type StripeElementType = | 'address' | 'auBankAccount' | 'card' | 'cardNumber' | 'cardExpiry' | 'cardCvc' | 'currencySelector' | 'expressCheckout' | 'iban' | 'payment' | 'paymentMethodMessaging' | 'paymentRequestButton' |... npmjs.com
@stripe/stripe-js 8.5.1 breaking changes
- Signature changed
StripeElement
Was type StripeElement = | StripeAddressElement | StripeAuBankAccountElement | StripeCardElement | StripeCardNumberElement | StripeCardExpiryElement | StripeCardCvcElement | StripeIbanElement | StripeCurrencySelectorElement |... npmjs.com
@stripe/stripe-js 8.4.0 breaking changes
- Signature changed
StripeCheckoutPaymentElementOptions
Was type StripeCheckoutPaymentElementOptions = {layout?: Layout | LayoutObject; paymentMethodOrder?: Array<string>; readOnly?: boolean; terms?: TermsOption; fields?: FieldsOption;}; now type StripeCheckoutPaymentElementOptions = {layout?... npmjs.com
@stripe/stripe-js 8.1.0 breaking changes
- Removed
StripeElementsOptionsModeBase.currency
StripeElementsOptionsModeBase.currency was removed in @stripe/stripe-js 8.1.0 npmjs.com - Signature changed
StripeElementsOptionsModePayment
Was type StripeElementsOptionsModePayment = StripeElementsOptionsModeBase & {mode: 'payment'; amount: number;}; now type StripeElementsOptionsModePayment = StripeElementsOptionsModeBase & {mode: 'payment'; amount: number; currency... npmjs.com
And 3 more in this version.
@stripe/stripe-js 8.0.0 breaking changes
- Removed
elements
Clover elements were removed from the package, so code using them will no longer have types or work. github.com - Removed
PaymentMethod.AcssDebit.account_number
PaymentMethod.AcssDebit.account_number was removed in @stripe/stripe-js 8.0.0 npmjs.com
And 84 more in this version.
@stripe/stripe-js 7.10.0 breaking changes
- Signature changed
StripeElement
Was type StripeElement = | StripeAddressElement | StripeAffirmMessageElement | StripeAfterpayClearpayMessageElement | StripeAuBankAccountElement | StripeCardElement | StripeCardNumberElement | StripeCardExpiryElement | StripeCardCvcElement... npmjs.com - Signature changed
StripeElementType
Was type StripeElementType = | 'address' | 'affirmMessage' | 'afterpayClearpayMessage' | 'auBankAccount' | 'card' | 'cardNumber' | 'cardExpiry' | 'cardCvc' | 'currencySelector' | 'epsBank' | 'expressCheckout' | 'fpxBank' | 'iban' |... npmjs.com
@stripe/stripe-js 7.9.0 breaking changes
- Signature changed
Appearance.variables
Was variables?: {fontFamily?: string; fontSmooth?: string; fontVariantLigatures?: string; fontVariationSettings?: string; fontLineHeight?: string; fontSizeBase?: string; fontSizeSm?: string; fontSizeXs?: string; fontSize2Xs?: string... npmjs.com
@stripe/stripe-js 7.7.0 breaking changes
- Signature changed
StripeElementType
Was type StripeElementType = | 'address' | 'affirmMessage' | 'afterpayClearpayMessage' | 'auBankAccount' | 'card' | 'cardNumber' | 'cardExpiry' | 'cardCvc' | 'currencySelector' | 'epsBank' | 'expressCheckout' | 'fpxBank' | 'iban' |... npmjs.com
@stripe/stripe-js 7.6.1 breaking changes
- Signature changed
StripeElement
Was type StripeElement = | StripeAddressElement | StripeAffirmMessageElement | StripeAfterpayClearpayMessageElement | StripeAuBankAccountElement | StripeCardElement | StripeCardNumberElement | StripeCardExpiryElement | StripeCardCvcElement... npmjs.com - Signature changed
StripeElementType
Was type StripeElementType = | 'address' | 'affirmMessage' | 'afterpayClearpayMessage' | 'auBankAccount' | 'card' | 'cardNumber' | 'cardExpiry' | 'cardCvc' | 'currencySelector' | 'epsBank' | 'expressCheckout' | 'fpxBank' | 'iban' |... npmjs.com
@stripe/stripe-js 7.5.0 breaking changes
- Signature changed
CreatePaymentMethodData
Was type CreatePaymentMethodData = | CreatePaymentMethodAcssDebitData | CreatePaymentMethodAffirmData | CreatePaymentMethodAfterpayClearpayData | CreatePaymentMethodAlipayData | CreatePaymentMethodAuBecsDebitData |... npmjs.com - Signature changed
StripeCheckoutExpressCheckoutElement
Was type StripeCheckoutExpressCheckoutElement = StripeElementBase & {on(eventType: 'ready', handler: (event: StripeExpressCheckoutElementReadyEvent) => any): StripeCheckoutExpressCheckoutElement; once(eventType: 'ready', handler: (event... npmjs.com
And 1 more in this version.
@stripe/stripe-js 7.4.0 breaking changes
- Signature changed
PaymentRequestOptions.applePay
Was applePay?: ApplePayOption; now applePay?: ApplePayOption & {cardFunding?: 'supportsCredit' | 'supportsDebit';}. npmjs.com - Signature changed
PaymentRequestUpdateOptions.applePay
Was applePay?: ApplePayOption; now applePay?: ApplePayOption & {cardFunding?: 'supportsCredit' | 'supportsDebit';}. npmjs.com
@stripe/stripe-js 7.3.0 breaking changes
- Signature changed
AvailablePaymentMethods
Was type AvailablePaymentMethods = {amazonPay: boolean; applePay: boolean; googlePay: boolean; link: boolean; paypal: boolean;}; now type AvailablePaymentMethods = {amazonPay: boolean; applePay: boolean; googlePay: boolean; link: boolean... npmjs.com - Signature changed
ExpressCheckoutPaymentMethodsOption
Was type ExpressCheckoutPaymentMethodsOption = {amazonPay?: ExpressCheckoutPaymentMethodOption; applePay?: ExpressCheckoutPaymentMethodOptionWithAlways; googlePay?: ExpressCheckoutPaymentMethodOptionWithAlways; link?... npmjs.com
And 1 more in this version.
@stripe/stripe-js 7.2.0 breaking changes
- Signature changed
StripePaymentMethodMessagingElementOptions.countryCode
Was countryCode: | 'US' | 'CA' | 'AU' | 'NZ' | 'GB' | 'IE' | 'FR' | 'ES' | 'DE' | 'AT' | 'BE' | 'DK' | 'FI' | 'IT' | 'NL' | 'NO' | 'SE'; now countryCode?: | 'AT' | 'AU' | 'BE' | 'CA' | 'CH' | 'CZ' | 'DE' | 'DK' | 'ES' | 'FI' | 'FR' | 'GB'... npmjs.com - Signature changed
StripePaymentMethodMessagingElementOptions.currency
Was currency: | 'USD' | 'GBP' | 'EUR' | 'DKK' | 'NOK' | 'SEK' | 'AUD' | 'CAD' | 'NZD'; now currency: | 'AUD' | 'CAD' | 'CHF' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'NOK' | 'NZD' | 'PLN' | 'SEK' | 'USD'. npmjs.com
@stripe/stripe-js 7.0.0 breaking changes
- Signature changed
StripeCheckoutApplyPromotionCodeResult
Was type StripeCheckoutApplyPromotionCodeResult = | {type: 'success'; success: StripeCheckoutSession} | {type: 'error'; error: ApplyPromotionCodeError}; now type StripeCheckoutApplyPromotionCodeResult = | {type: 'success'; session... npmjs.com - Signature changed
StripeCheckoutConfirmResult
Was type StripeCheckoutConfirmResult = | {type: 'success'; success: StripeCheckoutSession} | {type: 'error'; error: ConfirmError}; now type StripeCheckoutConfirmResult = | {type: 'success'; session: StripeCheckoutSession} | {type: 'error'... npmjs.com
And 10 more in this version.
@stripe/stripe-js 6.1.0 breaking changes
- Removed
StripeCheckout.createElement
StripeCheckout.createElement was removed in @stripe/stripe-js 6.1.0 npmjs.com - Removed
StripeCheckout.getElement
StripeCheckout.getElement was removed in @stripe/stripe-js 6.1.0 npmjs.com
And 32 more in this version.
@stripe/stripe-js 5.8.0 breaking changes
- Signature changed
StripeExpressCheckoutElementConfirmEvent.paymentFailed
Was paymentFailed: (payload?: {reason?: 'fail' | 'invalid_shipping_address';}) => void; now paymentFailed: (payload?: {reason?: | 'fail' | 'invalid_shipping_address' | 'invalid_billing_address' | 'invalid_payment_data' |... npmjs.com
@stripe/stripe-js 5.6.0 breaking changes
- Signature changed
RunServerUpdateFunction
Was type RunServerUpdateFunction = (session: StripeCheckoutSession) => Promise<void>; now type RunServerUpdateFunction = () => Promise<unknown>. npmjs.com
@stripe/stripe-js 5.5.0 breaking changes
- Signature changed
ButtonTypeOption
Was type ButtonTypeOption = {applePay?: ApplePayButtonType; googlePay?: GooglePayButtonType;}; now type ButtonTypeOption = {applePay?: ApplePayButtonType; googlePay?: GooglePayButtonType; paypal?: PayPalButtonType;}. npmjs.com
@stripe/stripe-js 5.3.0 breaking changes
- Signature changed
StripeElementsOptionsMode.capture_method
Was capture_method?: 'manual' | 'automatic'; now capture_method?: 'manual' | 'automatic' | 'automatic_async'. npmjs.com - Signature changed
StripeElementsOptionsMode.captureMethod
Was captureMethod?: 'manual' | 'automatic'; now captureMethod?: 'manual' | 'automatic' | 'automatic_async'. npmjs.com
And 2 more in this version.
@stripe/stripe-js 5.2.0 breaking changes
- Removed
StripeCheckoutResult
StripeCheckoutResult was removed in @stripe/stripe-js 5.2.0 npmjs.com - Signature changed
StripeCheckout.updateShippingOption
Was updateShippingOption: (shippingOption: string) => Promise<StripeCheckoutResult>; now updateShippingOption: (shippingOption: string) => Promise<StripeCheckoutUpdateShippingOptionResult>. npmjs.com
@stripe/stripe-js 5.1.0 breaking changes
- Signature changed
StripeCheckout.confirm
Was confirm: (args?: {returnUrl?: string; redirect?: StripeCheckoutRedirectBehavior; paymentMethod?: string; savePaymentMethod?: boolean;}) => Promise<StripeCheckoutConfirmResult>; now confirm: (args?: {returnUrl?: string; redirect?... npmjs.com
@stripe/stripe-js 5.0.0 breaking changes
- Removed
Stripe.initCustomCheckout
Stripe.initCustomCheckout was removed in @stripe/stripe-js 5.0.0 npmjs.com - Removed
StripeCustomCheckout
StripeCustomCheckout was removed in @stripe/stripe-js 5.0.0 npmjs.com
And 38 more in this version.
@stripe/stripe-js 4.10.0 breaking changes
- Removed
CardBrand
CardBrand was removed in @stripe/stripe-js 4.10.0 npmjs.com - Removed
CardFunding
CardFunding was removed in @stripe/stripe-js 4.10.0 npmjs.com
And 33 more in this version.
@stripe/stripe-js 4.9.0 breaking changes
- Signature changed
StripeCustomCheckout.confirm
Was confirm: (args?: {return_url?: string; returnUrl?: string; redirect?: StripeCustomCheckoutRedirectBehavior; paymentMethod?: string; savePaymentMethod?: boolean;}) => Promise<StripeCustomCheckoutResult>; now confirm: (args?... npmjs.com - Signature changed
StripeCustomCheckout.updateEmail
Was updateEmail: (email: string) => void; now updateEmail: (email: string) => Promise<StripeCustomCheckoutResult>. npmjs.com
And 6 more in this version.
@stripe/stripe-js 4.8.0 breaking changes
- Signature changed
FieldsOption.billingDetails
Was billingDetails?: | FieldOption | {name?: FieldOption; email?: FieldOption; phone?: FieldOption; address?: | FieldOption | {country?: FieldOption; postalCode?: FieldOption; state?: FieldOption; city?: FieldOption; line1?: FieldOption... npmjs.com - Signature changed
StripePaymentElement
Was type StripePaymentElement = StripeElementBase & {on(eventType: 'change', handler: (event: StripePaymentElementChangeEvent) => any): StripePaymentElement; once(eventType: 'change', handler: (event: StripePaymentElementChangeEvent) =>... npmjs.com
@stripe/stripe-js 4.5.0 breaking changes
- Configuration changed
paymentMethodTypes
The paymentMethodTypes option on payment method messaging element types is now optional. Code that relied on it being required may need to review how it configures the element. github.com - Signature changed
StripePaymentMethodMessagingElementOptions.paymentMethodTypes
Was paymentMethodTypes: Array<'afterpay_clearpay' | 'klarna' | 'affirm'>; now paymentMethodTypes?: Array<'afterpay_clearpay' | 'klarna' | 'affirm'>. npmjs.com
@stripe/stripe-js 4.4.0 breaking changes
- Signature changed
ExpressPaymentType
Was type ExpressPaymentType = 'google_pay' | 'apple_pay' | 'link' | 'paypal'; now type ExpressPaymentType = | 'google_pay' | 'apple_pay' | 'amazon_pay' | 'link' | 'paypal'. npmjs.com
@stripe/stripe-js 4.3.0 breaking changes
- Signature changed
StripeElements.getElement
Was getElement(elementType: 'address'): StripeAddressElement | null; now getElement(elementType: 'address', options?: StripeAddressElementGetElementOptions): StripeAddressElement | null. npmjs.com
@stripe/stripe-js 4.2.0 breaking changes
- Signature changed
StripeCustomCheckout.confirm
Was confirm: (args?: {return_url?: string;}) => Promise<StripeCustomCheckoutResult>; now confirm: (args?: {return_url?: string; returnUrl?: string; redirect?: StripeCustomCheckoutRedirectBehavior; paymentMethod?: string... npmjs.com
@stripe/stripe-js 4.1.0 breaking changes
- Signature changed
StripePaymentElementChangeEvent.value
Was value: {type: string}; now value: {type: string; payment_method?: {id: string; type: string; billing_details: {address: {city: null | string; country: null | string; line1: null | string; line2: null | string; postal_code: null |... npmjs.com
@stripe/stripe-js 4.0.0 breaking changes
- Removed
ExpressCheckoutWalletOption
The ExpressCheckoutWalletOption type is removed. Replace its usage with ExpressCheckoutPaymentMethodOptionWithAlways. npmjs.com - Signature changed
ButtonThemeOption
Was type ButtonThemeOption = {applePay?: ApplePayButtonTheme; googlePay?: GooglePayButtonTheme;}; now type ButtonThemeOption = {applePay?: ApplePayButtonTheme; googlePay?: GooglePayButtonTheme; paypal?: PayPalButtonTheme;}. npmjs.com
And 3 more in this version.
@stripe/stripe-js 3.0.0 breaking changes
- Behavior changed
This major release fixes ES module imports, and users must update their imports to match when upgrading. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.