Skip to content

v10.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Jul 14:05

✨ Custom paths via definePageMeta() in all modes

Custom paths set with definePageMeta() are now used in all customRoutes modes instead of only in 'meta' mode. If a route has custom paths from multiple sources the definePageMeta() value takes precedence and a warning is logged during build, this makes it possible to migrate from the pages option or the deprecated defineI18nRoute() macro one page at a time.

Route meta is now the canonical source of custom paths at build time, this allows projects and modules to set custom paths on routes they add or change in the pages:extend hook, see Hooks and modules.

🛠️ Under the hood

The logic behind differentDomains and multiDomainLocales now shares a single implementation, we're exploring whether these can be combined under a single config option in v11.

Please try it out and let me know if you run into any issues 🙏


   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub