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
feat(schema): enable opt-in to Nuxt v4 features/flags with future. compatibilityVersion
#26925
Conversation
Run & review this pull request in StackBlitz Codeflow. |
@danielroe could we have a more gradual approach so v4 could be set to |
Good idea. Note that we probably do need to have granular control over things that we plan to allow people to configure on v4+, e.g. directory structure. But others will fully go away. I think I'll move this to |
While others might go away, it might help with migration to toggle changes "step by step". Grouping some smaller ones is also fine IMO but that could make migration easier. |
future.v4
future. compatibilityVersion
Great solution to have both, a "progressive" flag enabling more future's by default and the detail-level in case something doesn't work or break 👏 |
🔗 Linked issue
📚 Description
This enables users (for testing purposes) to opt-in to the following coming changes:
compileTemplate
for kit v4 #25332{ deep: false }
by default for data fetching composables #26443templateUtils
#25338builder:watch
hook #25339... with potentially more to come in the next weeks.
Usage