Skip to content

v2.0.1

Choose a tag to compare

@BrunosCode BrunosCode released this 31 Mar 09:36
· 18 commits to main since this release

Bug fixes

  • CannotCombineNavigationBuilderWithLegacyConfig exception on install. Apps using the TwillNavigation builder API would crash at boot because the package unconditionally registered the Translations entries via the legacy twill-navigation config 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.0

Set 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 after composer require.
  • Tests added for both flag states (legacy-twill-navigation = true/false), verifying that the twill-navigation config is populated or left untouched accordingly, and that routes remain registered in both cases.