github nWidart/laravel-modules v13.6.0

one hour ago

Upgrade notes

Most apps need no changes. Open the block if you use the actuator or have module names whose case differs from modules_statuses.json.

Show upgrade notes

Behaviour changes

  • The file activator matches modules_statuses.json keys regardless of case. A module whose module.json name differs in case from its status key (blog vs Blog) now reads that key's status, so it may be enabled where it showed disabled. Check your statuses. module:enable and module:disable update the existing key and remove other case-variant duplicates, keeping the key that matches the module folder name (#2313)
  • Two module.json files whose names differ only in case boot only one module: the last one scanned, the one Module::find() returns. Before, both could boot. Rename one of them (#2313)
  • Scheduled tasks registered in a module's configureSchedules() carry a module tag on the actuator scheduledtasks endpoint. Update nwidart/laravel-actuator to ^1.5 to get the tags. Older versions keep working without them, and tasks in routes/console.php have no tag (#2311)

Extending the package

  • FileActivator::enable(), disable() and setActive() no longer call setActiveByName(). If a subclass overrides setActiveByName() to hook writes, override these three methods too (#2313)

Features

  • actuator: Tag the scheduled tasks of each module on the scheduledtasks endpoint (#2311) (083f06c)

Bug Fixes

  • activator: Match module statuses case-insensitively (#2313) (2bed858)

Don't miss a new laravel-modules release

NewReleases is sending notifications on new releases.