sitemap को 9.x से 10.x पर अपग्रेड करना
sitemap 9.0.1 और 10.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 1 |
| बदले गए सिग्नेचर | 2 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 4 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 6 |
| नए डिप्रिकेटेड | 3 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 1 |
| नए एक्सपोर्ट | 5 |
हटाए गए एक्सपोर्ट
| import | export | kind | पहले |
|---|---|---|---|
sitemap | UndefinedTargetFolder | class | class |
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
sitemap · LIMITS | { readonly MAX_URL_LENGTH: 2048; readonly URL_PROTOCOL_REGEX: RegExp; readonly MIN_SITEMAP_ITEM_LIMIT: 1; readonly MAX_SITEMAP_ITEM_LIMIT: 50000; readonly MAX_VIDEO_TITLE_LENGTH: 100; readonly MAX_VIDEO_DESCRIPTION_LENGTH: 2048; readonly MAX_VIDEO_CATEGORY_LENGTH: 256; readonly MAX_TAGS_PER_VIDEO: 32; readonly MAX_NEWS_TITLE_LENGTH: 200; readonly MAX_NEWS_NAME_LENGTH: 256; readonly MAX_IMAGE_CAPTION_LENGTH: 512; readonly MAX_IMAGE_TITLE_LENGTH: 512; readonly MAX_IMAGES_PER_URL: 1000; readonly MAX_VIDEOS_PER_URL: 100; readonly MAX_LINKS_PER_URL: 100; readonly MAX_URL_ENTRIES: 50000; readonly IS… | { readonly MAX_URL_LENGTH: 2048; readonly URL_PROTOCOL_REGEX: RegExp; readonly MIN_SITEMAP_ITEM_LIMIT: 1; readonly MAX_SITEMAP_ITEM_LIMIT: 50000; readonly MIN_PRIORITY: 0; readonly MAX_PRIORITY: 1; readonly PRIORITY_STRING_REGEX: RegExp; readonly MIN_VIDEO_DURATION: 0; readonly MAX_VIDEO_DURATION: 28800; readonly MIN_VIDEO_RATING: 0; readonly MAX_VIDEO_RATING: 5; readonly MIN_VIDEO_VIEW_COUNT: 0; readonly MAX_VIDEO_TITLE_LENGTH: 100; readonly MAX_VIDEO_DESCRIPTION_LENGTH: 2048; readonly MAX_VIDEO_CATEGORY_LENGTH: 256; readonly MAX_TAGS_PER_VIDEO: 32; readonly MAX_NEWS_TITLE_LENGTH: 200; readon… |
sitemap · simpleSitemapAndIndex | ({ hostname, sitemapHostname, sourceData, destinationDir, limit, gzip, publicBasePath, xslUrl, }: SimpleSitemapAndIndexOptions): Promise<void> | ({ hostname, sitemapHostname, sourceData, destinationDir, limit, gzip, publicBasePath, xslUrl, logger, }: SimpleSitemapAndIndexOptions): Promise<void> |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
| member | import | पहले |
|---|---|---|
SitemapStream.smiStream | sitemap | any |
SitemapAndIndexStream.currentSitemap | sitemap | any |
SitemapAndIndexStream.isCreatingSitemap | sitemap | any |
SitemapAndIndexStream.currentSitemapPipeline | sitemap | any |
क्लास या इंटरफ़ेस के बदले गए सदस्य
| member | पहले | बाद में |
|---|---|---|
SitemapStream.errorHandler | ErrorHandler | undefined | (error: Error, level: ErrorLevel): void |
InvalidAttrValue.constructor | (key: string, val: any, validator: RegExp): InvalidAttrValue | (key: string, val: any, validator: RegExp, url?: string | undefined): InvalidAttrValue |
SitemapItemLoose.priority | number | undefined | string | number | undefined |
XMLToSitemapItemStream.err | any | (msg: string): void |
XMLToSitemapItemStream.logger | (level: "log" | "warn" | "error" | "info", ...message: any): void | (level: "log" | "warn" | "error" | "info", ...message: any[]): void |
XMLToSitemapIndexStream.err | any | (msg: string): void |
नए डिप्रिकेटेड
| export | @deprecated |
|---|---|
sitemap · EmptySitemap | No longer thrown: since 10.0.0, `SitemapStream` emits an empty `<urlset>` when it ends without items. Kept so existing imports still resolve. |
sitemap · SitemapStream.xmlNS | Use `xmlns` |
sitemap · XMLToSitemapItemStream.urlCount | Use entryCount |
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
| पहले | बाद में | |
|---|---|---|
engines.node | >=20.19.5 | >=22.22.1 |
नए एक्सपोर्ट (5)
| import | export | kind |
|---|---|---|
sitemap | Logger | type |
sitemap | InvalidURLError | class |
sitemap | InvalidVideoYesNo | class |
sitemap | InvalidLinkHreflang | class |
sitemap | SaxParserStreamOptions | interface |
अपने 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
अक्सर पूछे जाने वाले प्रश्न
sitemap को 9 से 10 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
sitemap 9.0.1 और 10.0.0 के बीच Vigia को 1 हटाए गए एक्सपोर्ट, 2 बदले गए सिग्नेचर और 10 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
sitemap 10 में क्या डिप्रिकेट हुआ?
sitemap 10.0.0 में 3 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/sitemap/upgrade?from=9.0.1&to=10.0.0