Vigia

stripe को 22.x से 23.x पर अपग्रेड करना

stripe 22.6.2 और 23.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।

सारांश

हटाए गए इम्पोर्ट पाथ0
हटाए गए एक्सपोर्ट0
बदले गए सिग्नेचर0
क्लास या इंटरफ़ेस के हटाए गए सदस्य2
क्लास या इंटरफ़ेस के बदले गए सदस्य2
नए डिप्रिकेटेड0
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)2
नए एक्सपोर्ट0

हटाए गए एक्सपोर्ट

कुछ नहीं मिला।

बदले गए सिग्नेचर

कुछ नहीं मिला।

क्लास या इंटरफ़ेस के हटाए गए सदस्य

memberimportपहले
Stripe.constructEventWithoutVerificationstripe(payload: string): Event
default.constructEventWithoutVerificationstripe(payload: string): Event

क्लास या इंटरफ़ेस के बदले गए सदस्य

memberपहलेबाद में
Stripe.static API_VERSION"2026-08-26.dahlia""2026-09-30.endive"
default.static API_VERSION"2026-08-26.dahlia""2026-09-30.endive"

नए डिप्रिकेटेड

कुछ नहीं मिला।

आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)

पहलेबाद में
engines.node>=18>=20
peerDependencies.@types/node>=18>=20

इन संस्करणों के बीच का changelog

पैकेज के लेखकों द्वारा प्रकाशित पाठ, जैसा है वैसा दिखाया गया।

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

अपने AI एजेंट को ये तथ्य दें

Vigia एक मुफ़्त MCP सर्वर है: आपका कोडिंग एजेंट कोड लिखने से पहले वर्ज़न, ब्रेकिंग बदलाव और कमज़ोरियाँ जाँचता है। न साइनअप, न API कुंजी।

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

Cursor में जोड़ेंVS Code में जोड़ें★ GitHub पर स्टार दें

कोई भी दूसरा MCP क्लाइंट
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

एजेंट स्किल (SKILL.md): एजेंट को बताती है कि Vigia कब इस्तेमाल करना है · पुल रिक्वेस्ट के लिए GitHub Action

अक्सर पूछे जाने वाले प्रश्न

stripe को 22 से 23 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?

stripe 22.6.2 और 23.0.0 के बीच Vigia को 0 हटाए गए एक्सपोर्ट, 0 बदले गए सिग्नेचर और 4 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।

stripe 23 में क्या डिप्रिकेट हुआ?

stripe 23.0.0 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।

एजेंटों के लिए

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