PhoenixKit 1.7.8: Admin addresses no longer mistaken for languages
PhoenixKit 1.7.8 fixes the order of PhoenixKit’s routes, so admin addresses are no longer read as a language.
The routes with a language prefix came first, so an address such as /admin/dashboard could match /:locale/dashboard with “admin” taken as the language. Routes without a prefix now come first, in the PhoenixKit routes and in scopes built with its locale helper.
The sitemap of a multilingual site is now built for all languages in parallel, and the cache keeps the list of URLs rather than finished XML, so the table, cards and minimal styles share one cache. The Last Generated time in the sitemap settings now shows in the site’s time zone and date and time format. The SEO settings page no longer fails on one of its links.
Full release notes: PhoenixKit 1.7.8
1.7.8 · 22 December 2025
Route Priority Fix
- Non-localized routes first - Fixed 105 route conflicts where paths like
/adminwere incorrectly matched as/:locale/dashboardwithlocale="admin" - Locale scope ordering - Non-localized scope now comes before localized scope in router macros
Sitemap Performance Improvements
- Parallel language collection - Multilingual sitemap generation now runs in parallel using
Task.async_stream, reducing generation time from N×T to ~T for N languages - Style-independent caching - Cache URL entries instead of full XML, allowing different XSL styles (table/cards/minimal) to share the same cache
- Fast HTTP responses - Sitemap.xml now responds in ~10ms with cached entries vs seconds for full regeneration
Sitemap Fixes
- Timezone display - “Last Generated” timestamp now displays in system timezone from Settings
- Date/time format - Apply user’s date_format and time_format preferences to timestamps
Other Fixes
- Fix Routes.path call in SEO settings to use keyword list
PhoenixKit 1.7.8. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.