Vigia

Actualizar stripe de 22.x a 23.x

Comparación de la API pública de stripe 22.6.2 y 23.0.0, calculada automáticamente a partir de sus tipos TypeScript. Una firma modificada es un posible cambio incompatible, no una certeza.

Resumen

Rutas de importación eliminadas0
Exports eliminados0
Firmas modificadas0
Miembros de clases o interfaces eliminados2
Miembros de clases o interfaces modificados2
Nuevas deprecaciones0
Cambios de requisitos (engines, dependencias peer)2
Exports nuevos0

Exports eliminados

No se detectaron.

Firmas modificadas

No se detectaron.

Miembros de clases o interfaces eliminados

memberimportAntes
Stripe.constructEventWithoutVerificationstripe(payload: string): Event
default.constructEventWithoutVerificationstripe(payload: string): Event

Miembros de clases o interfaces modificados

memberAntesDespués
Stripe.static API_VERSION"2026-08-26.dahlia""2026-09-30.endive"
default.static API_VERSION"2026-08-26.dahlia""2026-09-30.endive"

Nuevas deprecaciones

No se detectaron.

Cambios de requisitos (engines, dependencias peer)

AntesDespués
engines.node>=18>=20
peerDependencies.@types/node>=18>=20

Changelog entre estas versiones

Texto publicado por los autores del paquete, mostrado tal cual.

23.0.0
This release changes the pinned API version to `2026-09-30.endive`.

* [#2844](https://github.com/stripe/stripe-node/pull/2844) Support `EventNotification`s with singleton related objects
* [#2853](https://github.com/stripe/stripe-node/pull/2853) Allow suppressing Stripe notices

  Set the `STRIPE_SUPPRESS_NOTICES` environment variable to `true` to suppress Stripe notices in test and sandbox environments when not running under a detected AI agent. Notices remain enabled by default and continue to be shown to AI agents.
* [#2850](https://github.com/stripe/stripe-node/pull/2850) Fix account scoping for `EventNotificationHandler` callback clients
  - Fix callback clients to use the event's Stripe context and preserve client telemetry.
  - Fix 400 errors when using an `EventNotificationHandler` with a `StripeClient` configured with `stripeAccount`.
* ⚠️ [#2856](https://github.com/stripe/stripe-node/pull/2856) Remove V1-only fields from V2 list response types

  Remove the V1-only `object`, `has_more`, and `url` fields from `Stripe.V2List<T>`. These fields were never populated and were added only to maintain type compatibility when correcting the V2 list response type in a minor release.
* ⚠️ [#2862](https://github.com/stripe/stripe-node/pull/2862) Remove Stripe.constructEventWithoutVerification

  Removed the function `Stripe.constructEventWithoutVerification()` that was mistakenly added in version 22.5.0 of this package. The same functionality can be achieved via stripe.webhooks.constructEventWithoutVerification(payload);
* ⚠️ Generate operation-specific address parameters for V2 requests
  - Change V2 request address properties from shared V1 address parameter types to operation-specific V2 interfaces.
* ⚠️ [#2865](https://github.com/stripe/stripe-node/pull/2865) Remove `ErrorType` export

  Remove the ErrorType interface from the top level client. Users can use .errors instead since it works as both a type and a value
* ⚠️ [#2868](https://github.com/stripe/stripe-node/pull/2868) Classify incomplete response bodies as connection errors
  - Responses that stall or are severed before the body is complete now throw `StripeConnectionError` instead of `StripeAPIError`.
* Fix `NodeHttpClient` compatibility with HTTP request interceptors
  - Fix `NodeHttpClient` requests hanging when using Nock 14 or MSW interceptors ([#2211](https://github.com/stripe/stripe-node/issues/2211)).
* ⚠️ Drop support for Node 18

  Drop support for Node.js 18. Node.js 20 is now the minimum supported version.
* ⚠️ [#2876](https://github.com/stripe/stripe-node/pull/2876) Update verifyHeader and verifyHeaderAsync methods to use DEFAULT_TOLERANCE

  `stripe.webhooks.signature.verifyHeader()` and `verifyHeaderAsync()` previously skipped timestamp tolerance verification when the `tolerance` argument was omitted. They now default to `Webhook.DEFAULT_TOLERANCE`

  Passing 0 to stripe.webhooks.constructEvent now properly skips timestamp tolerance verification. Previously, passing 0 wou

Dale estos datos a tu agente de IA

Vigia es un servidor MCP gratuito: tu agente de programación verifica versiones, cambios incompatibles y vulnerabilidades antes de escribir código. Sin registro ni clave de API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Agregar a CursorAgregar a VS Code★ Estrella en GitHub

Cualquier otro cliente MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill para agentes (SKILL.md): le indica al agente cuándo usar Vigia · GitHub Action para pull requests

Preguntas frecuentes

¿Cuáles son los cambios incompatibles al actualizar stripe de 22 a 23?

Entre stripe 22.6.2 y 23.0.0, Vigia encontró 0 exports eliminados, 0 firmas modificadas y 4 miembros de clases o interfaces eliminados o modificados.

¿Qué quedó deprecado en stripe 23?

0 exports o miembros quedaron marcados como deprecados en stripe 23.0.0.

Para agentes

GET https://vigia.coredls.cloud/v1/packages/npm/stripe/upgrade?from=22.6.2&to=23.0.0