-
-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roadmap for v9 #3002
Comments
Can you also add support for custom routing? So that routes defined in router.options.js file are also prefixed. Many big websites prefer custom routing because of the greater flexibility it offers. But as I18n doesn't support auto prefixing for custom routes, it makes the module almost obsolete for such applications. |
Thanks for the great effort🙏 I'd suggest flattening the modules & vue-i18n configs as it's confusing. Abstracting vue-i18n config and exposing relevant options to the module's config would be a better imo |
@MuhammadM1998 As mentioned here, the config flattening of nuxt-i18n and vue-i18n is on this roadmap. However, that's a rather disruptive change. So we may postpone it to the next major version as we have to prioritise nuxt4. |
@kazupon are you going to ignore the comment by @MinecraftStorage1? I think it quite makes sense adding support for custom routes. I thought even if there is no support for auto prefixing, maybe you will make it possible to use composables like useLocalePath or useSwitchLocalePath? Right now only limited functionalities are available for custom routing. |
@MinecraftStorage1 @NordsKingArt The changes in v9 are mostly focused on deprecating and removing old features and updating dependencies to their next majors (e.g. Nuxt 4, Vue I18n v10) since these usually introduce breaking changes. |
I think I will postpone the flattening/merging of nuxt-i18n and vue-i18n for a later major version, I don't have a clear approach on how to do this and there's larger structural changes I would like to make that could make it easier. The main priorities will be supporting Nuxt 4 and smaller (long-standing) breaking changes. |
@BobbieGoede |
I think we can publish a first release candidate soon, and if all goes well, I estimate we'll have a stable release somewhere in October 💪 |
Well done! I'm currently a bit busy with preparations for Vue Fes Japan, so I'll leave the release to you! |
Closing this as we have made the breaking changes needed and published the first release candidate. (This release has an issue for projects using I have opened an issue (#3163) to track one of the possible changes I originally wanted to make for v9, but I believe it can be made in a non-breaking way so it can still be implemented during v9's development. I hope the typescript improvements should attract more users to try out the release candidate, feedback is all we need to determine v9's stability and whether it's time for a stable major release 💪 |
Discussed in #2814
Originally posted by BobbieGoede February 20, 2024
There's still plenty of issues open for v8 and we'll continue to work on fixing those, this roadmap is simply to plan and discuss changes that would be breaking. There is currently no estimate or deadline for the next major version, you don't have to worry about migrating (again) anytime soon.
Features
Bug Fixes
v-t
fully SSRBreaking changes
iso
tolanguage
locales
#2449 (comment) to allow for easier transitionruntimeConfig
keyslocales
todomainLocales
andconfigLocales
tolocales
(refactor: pass generated options throughruntimeConfig
#2828 (comment))jit
option) https://i18n.nuxtjs.org/docs/options/compilation#jituseLocaleHead
anduseSetI18nParams
argument defaultsPostponed
defineI18nRoute
as described in fix: custom child route localization #2743 (comment)app.config.ts
and extending(@nuxt/schema).AppConfig
#1985Considering
locales
configurationfile
, only acceptingfiles
array instead, simplifies options merging.The text was updated successfully, but these errors were encountered: