Aktualizacja sitemap z 9.x do 10.x
Porównanie publicznego API sitemap 9.0.1 i 10.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 1 |
| Zmienione sygnatury | 2 |
| Usunięte składowe klas lub interfejsów | 4 |
| Zmienione składowe klas lub interfejsów | 6 |
| Nowo wycofane | 3 |
| Zmiany wymagań (engines, zależności peer) | 1 |
| Nowe eksporty | 5 |
Usunięte eksporty
| import | export | kind | Przed |
|---|---|---|---|
sitemap | UndefinedTargetFolder | class | class |
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
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> |
Usunięte składowe klas lub interfejsów
| member | import | Przed |
|---|---|---|
SitemapStream.smiStream | sitemap | any |
SitemapAndIndexStream.currentSitemap | sitemap | any |
SitemapAndIndexStream.isCreatingSitemap | sitemap | any |
SitemapAndIndexStream.currentSitemapPipeline | sitemap | any |
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
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 |
Nowo wycofane
| 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 |
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
engines.node | >=20.19.5 | >=22.22.1 |
Nowe eksporty (5)
| import | export | kind |
|---|---|---|
sitemap | Logger | type |
sitemap | InvalidURLError | class |
sitemap | InvalidVideoYesNo | class |
sitemap | InvalidLinkHreflang | class |
sitemap | SaxParserStreamOptions | interface |
Przekaż te dane swojemu agentowi AI
Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie
Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji sitemap z 9 do 10?
Między sitemap 9.0.1 a 10.0.0 Vigia znalazła 1 usuniętych eksportów, 2 zmienionych sygnatur i 10 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w sitemap 10?
3 eksportów lub składowych oznaczono w sitemap 10.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/sitemap/upgrade?from=9.0.1&to=10.0.0