Skip to content

v0.10.0

Choose a tag to compare

@niels-numbers niels-numbers released this 30 Apr 14:50
· 60 commits to main since this release

[0.10.0] - 2026-04-30

Changed

  • SetLocale now strips {locale} from the matched route's parameter bag after resolving the locale. Laravel passes bound route parameters to controller methods positionally; leaving {locale} in the bag meant a controller like index($country = null) would receive 'de' (the locale) instead of null on /de/users. The locale is still available via App::getLocale() and URL::defaults(). Behaviour change: anyone who declared $locale as the first controller argument as a workaround will now receive the actual first URI parameter - drop the $locale argument.