Releases: nuxt-modules/i18n
v10.0.1
🐞 Bug Fixes
- Correct root redirection with query params - by @lutejka and @BobbieGoede in #3734 (1690a)
- Root redirection on root with query parameters - by @BobbieGoede in #3737 (2203c)
- Prevent vite resolve dependency failure warnings - by @BobbieGoede in #3738 (5e0f0)
- Prevent unset
baseUrlwarning when using domain configuration - by @BobbieGoede in #3740 (68b79)
View changes on GitHub
v10.0.0
We're excited to announce the stable release of Nuxt I18n v10. This update brings new features, performance improvements and better DX.
🌟 Highlights
- Improved Nuxt 4 Support: Better compatibility with the latest features in Nuxt v4.
- Reliable Server-Side Redirection: We've improved how server-side redirections are handled.
- Custom Routes with
definePageMeta: A more flexible way to define custom routes for your localized pages. - Strict SEO Head Management: An experimental feature for more precise control over SEO head tags.
- Vue I18n: Upgraded to
vue-i18nv11.
See the New Features page for more details.
⚡ Preview: Translation Key Stripping
This release includes progress on a feature that strips unused translation keys from the server-rendered HTML at runtime. This makes your HTML response smaller, leading to faster response times.
Note
This feature is experimental and undocumented, to try it out see the configuration option types.
🛠️ Under the Hood
A lot of time was spent on refactors which should make the module easier to maintain and contribute to.
This also works towards the vision outlined in the I18n Routing RFC, with the aim to make the routing logic more portable and potentially part of Nuxt's core in the future.
⬆️ Migrating to v10
The upgrade path should be straightforward for most users. Breaking changes in this version are mostly removals of deprecated options and the stabilization of previously experimental features.
For a complete list of breaking changes, please see the Migration Guide.
🙏 Sponsors
Thank you for your support!
View changes on GitHub
v10.0.0-rc.3
🐞 Bug Fixes
- Support nuxt 4 tsconfig structure - by @BobbieGoede in #3728 (1d76d)
View changes on GitHub
v10.0.0-rc.2
🚨 Breaking Changes
- Throw error on invalid config with
strictSeoenabled - by @BobbieGoede in #3718 (2015e)
🐞 Bug Fixes
- Remove conflicting
PageMetatype workaround - by @BobbieGoede in #3714 (3777f) - Message type generation - by @BobbieGoede in #3717 (fd341)
View changes on GitHub
v10.0.0-rc.1
We are excited to publish the first release candidate of v10! Share your feedback and experience so we can land v10 as stable and as soon as possible 🙏
🚨 Breaking changes
Please take time to view the Migration Guide for v10 page for an overview of changes and migration steps required.
🚀 New features
The New Features page details some notable changes and improvements included in this major release.
ℹ️ Additional notes
You may need to refresh lockfiles before installing to ensure the correct subdependencies are installed.
At stable release we will include a proper overview of the improvements we have made in this major version.
View changes on GitHub
v10.0.0-beta.12
🚀 Features
- Add
redirectStatusCodeoption - by @MarlonWiss2212 and @BobbieGoede in #3685 (2a18b)
🐞 Bug Fixes
- Populate domainLocales based on module config - by @cjpearson in #3694 and #3705 (ad613)
View changes on GitHub
v9.5.6
🐞 Bug Fixes
- Replace
_generateproperty usage - by @BobbieGoede (e3fba) - GetDefaultLocaleForDomain should respect runtime config - by @cjpearson and @BobbieGoede in #3693 (89c5f)
- Populate domainLocales based on module config - by @cjpearson and @BobbieGoede in #3694 and #3695 (76b13)
- Reuse nuxt instance at plugin setup - by @BobbieGoede in #3690 (0067f)
View changes on GitHub
v10.0.0-beta.11
🚨 Breaking Changes
- Server-side localized redirection - by @BobbieGoede in #3687 (4dfa3)
🐞 Bug Fixes
- Reuse server-side locale detection - by @BobbieGoede in #3684 (e8bd2)
- Prevent adding multiple
x-defaultalternate links - by @BobbieGoede (a37a7) - Safely handle error for seo tags on bad routes - by @BobbieGoede (cb880)
- Replace
_generateproperty usage - by @BobbieGoede (feb46) - Locale detection should respect runtime-configured domains - by @cjpearson in #2931 and #3697 (1529c)
View changes on GitHub
v10.0.0-beta.10
🐞 Bug Fixes
- Wrap default
<NuxtLink>in<NuxtLinkLocale>- by @BobbieGoede in #3658 (49b97) - Remove unused runtime config property types - by @BobbieGoede in #3662 (29012)
- Use
nuxt-defineto setup compiler constants - by @BobbieGoede in #3680 (edbf6) - Clear message cache on server startup - by @BobbieGoede in #3683 (0bfbb)
View changes on GitHub
v10.0.0-beta.9
🚨 Breaking Changes
- Deprecate function support for
baseUrloption - by @BobbieGoede in #3656 (a226a)
🐞 Bug Fixes
- Assign correct context property in hook argument - by @BobbieGoede (b0d6f)
- Prevent esbuild warning due to compile time constant - by @BobbieGoede (e1ba6)
- Incorrect
localestype narrowing - by @BobbieGoede (727d7)