stripe: 22.x sürümünden 23.x sürümüne yükseltme
stripe 22.6.2 ve 23.0.0 sürümlerinin genel API karşılaştırması, TypeScript tiplerinden otomatik olarak hesaplanır. Değişen bir imza olası bir uyumsuz değişikliktir, kesinlik değildir.
Özet
| Kaldırılan içe aktarma yolları | 0 |
|---|---|
| Kaldırılan dışa aktarımlar | 0 |
| Değişen imzalar | 0 |
| Kaldırılan sınıf veya arayüz üyeleri | 2 |
| Değişen sınıf veya arayüz üyeleri | 2 |
| Yeni kullanımdan kaldırılanlar | 0 |
| Gereksinim değişiklikleri (engines, peer bağımlılıkları) | 2 |
| Yeni dışa aktarımlar | 0 |
Kaldırılan dışa aktarımlar
Tespit edilmedi.
Değişen imzalar
Tespit edilmedi.
Kaldırılan sınıf veya arayüz üyeleri
| member | import | Önce |
|---|---|---|
Stripe.constructEventWithoutVerification | stripe | (payload: string): Event |
default.constructEventWithoutVerification | stripe | (payload: string): Event |
Değişen sınıf veya arayüz üyeleri
| member | Önce | Sonra |
|---|---|---|
Stripe.static API_VERSION | "2026-08-26.dahlia" | "2026-09-30.endive" |
default.static API_VERSION | "2026-08-26.dahlia" | "2026-09-30.endive" |
Yeni kullanımdan kaldırılanlar
Tespit edilmedi.
Gereksinim değişiklikleri (engines, peer bağımlılıkları)
| Önce | Sonra | |
|---|---|---|
engines.node | >=18 | >=20 |
peerDependencies.@types/node | >=18 | >=20 |
Bu sürümler arasındaki changelog
Paket yazarlarının yayımladığı metin, olduğu gibi gösterilir.
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 wouBu verileri yapay zekâ ajanınıza verin
Vigia ücretsiz bir MCP sunucusudur: kodlama ajanınız kod yazmadan önce sürümleri, uyumsuz değişiklikleri ve güvenlik açıklarını kontrol eder. Kayıt ve API anahtarı gerekmez.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor'a ekleVS Code'a ekle★ GitHub'da yıldız ver
Diğer tüm MCP istemcileri
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Ajan becerisi (SKILL.md): ajana Vigia'yı ne zaman kullanacağını söyler · Pull request için GitHub Action
Sık sorulan sorular
stripe paketini 22 sürümünden 23 sürümüne yükseltirken uyumsuz değişiklikler nelerdir?
stripe 22.6.2 ile 23.0.0 arasında Vigia 0 kaldırılan dışa aktarım, 0 değişen imza ve 4 kaldırılan veya değişen sınıf ya da arayüz üyesi buldu.
stripe 23 sürümünde neler kullanımdan kaldırıldı?
stripe 23.0.0 sürümünde 0 dışa aktarım veya üye yeni olarak kullanımdan kaldırılmış işaretlendi.
Ajanlar için
GET https://vigia.coredls.cloud/v1/packages/npm/stripe/upgrade?from=22.6.2&to=23.0.0