Introduction
The v6 represents hopefully the last major that the module will undergo. It brings many underlying
logic improvements which aim to solve stability and performance issues and set up the module to support
chunked multi-sitemaps in the future.
🚨 Breaking Change
Google Search Console
If you're using multi-sitemaps it's important to check Google Search Console after the update and verify you haven't submitted the old multi-sitemap paths. If so, you should update them.
Sitemap Output
Please verify your sitemap output after the update. Many changes have been made to the underlying logic and it's important to verify that your sitemap is still being generated correctly.
Changelog
🚨 Breaking Changes
- Rewrite i18n resolving and url normalizing - by @harlan-zw in #319 (fab7e)
- New multi sitemaps paths - by @harlan-zw in #320 (bb7d9)
🚀 Features
sitemapsPathPrefix
config - by @harlan-zw in #325 (4b94c)- Add minify xml option - by @Henvy-Mango in #336 (f9197)
- i18n: Support Nuxt I18n v9 - by @harlan-zw in #351 (92d96)
🐞 Bug Fixes
- Better filtering of file URLs - by @harlan-zw (27a95)
- Check for
robots
route rules - by @harlan-zw in #321 (ae455) - Map
include
,exclude
to i18n pages - by @harlan-zw in #322 (a7c04) - Fallback to prerender sitemap on vercel edge - by @harlan-zw (33598)
- Support
SERVER_PRESET
to detect env - by @harlan-zw (295c9) - Handle null
loc
's - by @harlan-zw (c0666) useNitroApp
import warning - by @harlan-zw (f5ab8)- Preset not being resolved when using
--target
- by @harlan-zw (2f6bc) - Broken regex for
<NuxtImage>
components - by @harlan-zw (469e7) - Ensure
loc
is always a string - by @harlan-zw (de9ec) - Improve entry
loc
normalizing - by @harlan-zw in #354 (6ef8d) - i18n:
- Support excluded locales - by @Xenossolitarius and ipesic in #331 (f9ba0)
- Reverse only locales logic - by @Xenossolitarius and ipesic in #346 (cc86a)
- Broken trailing slashes config when using
differentDomains
- by @harlan-zw (e8799) - Broken dedupe of loc and alternatives - by @harlan-zw in #352 (2b164)
- module:
- Prevent false positive warning about ignored root keys - by @madebyfabian in #338 (e4543)
- prerendering:
- Prefer runtime site url validation - by @harlan-zw (779d1)