-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(astro)!: update i18n.redirectToDefaultLocale default
#14406
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
Conversation
🦋 Changeset detectedLatest commit: 5ae77cf The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is blocked because it contains a major changeset. A reviewer will merge this at the next release if approved.
| type RunHookBuildDone = { | ||
| settings: AstroSettings; | ||
| pages: string[]; | ||
| // TODO: remove in Astro 6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We forgot to add this todo while doing https://docs.astro.build/en/guides/upgrade-to/v5/#deprecated-routes-on-astrobuilddone-hook-integration-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gah, this had been pending 😅
Co-authored-by: Sarah Rainsberger <[email protected]>
Changes
i18n.routing.redirectToDefaultLocalefromtruetofalse, becomes by default in v5 it may cause an infinite loop. Found in feat: move astro config validation after astro:config:setup #13482, temporarily fixed in fix(i18n): incorrect validation #13552Testing
Updated, should pass
Docs
withastro/docs#12353, changeset TBD