Skip to content
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

Closed
12 of 14 tasks
kazupon opened this issue Jun 28, 2024 Discussed in #2814 · 10 comments
Closed
12 of 14 tasks

Roadmap for v9 #3002

kazupon opened this issue Jun 28, 2024 Discussed in #2814 · 10 comments

Comments

@kazupon
Copy link
Collaborator

kazupon commented Jun 28, 2024

Discussed in #2814

Originally posted by BobbieGoede February 20, 2024

[!NOTE]
This list is incomplete and a work in progress, feel free to suggest features, topics or issues that you think should be included in v9.

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

  • support vue-i18n v10
  • support nuxt 4

Bug Fixes

  • support v-t fully SSR

Breaking changes

Postponed

Considering

  • Change locales configuration
    • Remove file, only accepting files array instead, simplifies options merging.
@kazupon kazupon pinned this issue Jun 28, 2024
@kazupon kazupon changed the title Roadmap discussion for v9 Roadmap for v9 Jun 28, 2024
@MinecraftStorage1
Copy link

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.

@kazupon kazupon mentioned this issue Jul 2, 2024
9 tasks
@MuhammadM1998
Copy link
Contributor

MuhammadM1998 commented Jul 2, 2024

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

@kazupon
Copy link
Collaborator Author

kazupon commented Jul 2, 2024

@MuhammadM1998
Thanks comment!

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.

@NordsKingArt
Copy link

@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.

@BobbieGoede
Copy link
Collaborator

@MinecraftStorage1 @NordsKingArt
Please open a separate issue describing this feature (or add details to an issue specific to it if it already exists).

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.

@BobbieGoede
Copy link
Collaborator

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.

@kazupon
Copy link
Collaborator Author

kazupon commented Sep 13, 2024

@BobbieGoede
I agree.
I don't have a good idea for config flat, so let's postpone that and focus on Nuxt4 support first!

@BobbieGoede
Copy link
Collaborator

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 💪

@kazupon
Copy link
Collaborator Author

kazupon commented Sep 21, 2024

Well done!

I'm currently a bit busy with preparations for Vue Fes Japan, so I'll leave the release to you!
It will be your first experience of releasing a major release!

@BobbieGoede
Copy link
Collaborator

Closing this as we have made the breaking changes needed and published the first release candidate. (This release has an issue for projects using npm #3152)

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 💪

@BobbieGoede BobbieGoede unpinned this issue Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants