Skip to content

v3.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Aug 17:11
· 358 commits to main since this release

Features

New config: autoI18n (5c2f455)

This new config is a direct replacement of autoAlternativeLangPrefixes with the intent of providing more contextual data so pages can be constructed properly.

This new feature comes with better support for i18n routes with:

  • Filtered routes (include, exclude)
  • Dynamic routes

⚠️ autoAlternativeLangPrefixes is deprecated, you should rename it to autoI18n.

export default defineNuxtConfig({
  sitemap: {
-    autoAlternativeLangPrefixes: true,
+    autoI18n: true
  }
})

i18n Sitemap Index

When sitemaps is left empty and you're using the @nuxtjs/i18n module, it will now generate an index sitemap grouped by each locale. This should make testing your sitemaps much easier.

To opt-out of this behavior, you can explicitly pass sitemaps: false.

image

Bug Fixes