Nuxt Sitemap v5.0.0
馃毃 Breaking Changes
Package renamed to @nuxtjs/sitemap. This module is now the official Sitemap module for Nuxt. To properly
reflect this, the package has been renamed to @nuxtjs/sitemap from nuxt-simple-sitemap and
the GitHub repository has been moved to nuxt-modules/sitemap.
- Update the dependency
{
"dependencies": {
- "nuxt-simple-sitemap": "*"
+ "@nuxtjs/sitemap": "^5.0.0"
}
}- Update your
nuxt.config.
export default defineNuxtConfig({
modules: [
- 'nuxt-simple-sitemap'
+ '@nuxtjs/sitemap'
]
})聽聽聽馃悶 Bug Fixes
Improved Cache Debugging
- Set browser cache time to match
cacheMaxAgeSeconds聽-聽 by @harlan-zw (00d17) - Iso timestamp for debugging cache 聽-聽 by @harlan-zw (db3f3)
- Cache headers for prerendered sitemap 聽-聽 by @harlan-zw (57bef)
- More explicit caching 聽-聽 by @harlan-zw (328b7)
More Consistent DevTools UI
The DevTools has been updated to match the branding of the other Nuxt SEO module DevTools. (bc4ae)
Others
- Redirect multi sitemap
sitemap.xmlusing route rules 聽-聽 by @harlan-zw (e1bee)
聽聽聽聽View changes on GitHub
Was this page helpful?