v2.0.1
Bug fixes
CannotCombineNavigationBuilderWithLegacyConfigexception on install. Apps using theTwillNavigationbuilder API would crash at boot because the package unconditionally registered the Translations entries via the legacytwill-navigationconfig array. Both APIs cannot coexist in Twill 3.
New config flag: legacy-twill-navigation
// config/translation-handler.php
'legacy-twill-navigation' => true, // default — behaviour unchanged from v2.0Set to false if your app uses the TwillNavigation builder and register the navigation entries yourself. See the Navigation section in the README for both approaches.
Other changes
- Package migrations are now auto-loaded via
loadMigrationsFrom()— no manual step required aftercomposer require. - Tests added for both flag states (
legacy-twill-navigation = true/false), verifying that thetwill-navigationconfig is populated or left untouched accordingly, and that routes remain registered in both cases.