Repository navigation
6.0.0
Added
-
New File Activator feature. PR #790 from @ryssbowh
This feature changes how modules are activated and de-activated. Currently module statuses are stored on disk, this features adds the possibility of storing this status information in a database.
Use the command
php artisan module:v6:migrateto have old modules active status migrated to the new system.
Changed
-
Alternate way to define the namespace of modules in PR #776 by @daison12006013
This allows to have the content of the module under an
src/folder for example. -
BREAKING New way to handle active and inactive modules.
Modules don't store their active status in their module.json file anymore, but in a file under the storage folder.
Runphp artisan module:v6:migrateto use the new system. -
BREAKING Renamed method
enabledtoisEnabledin\Nwidart\Modules\Module. -
BREAKING Renamed method
disabledtoisDisabledin\Nwidart\Modules\Module. -
BREAKING Renamed method
enabledtoisEnabledin\Nwidart\Modules\FileRepository. -
BREAKING Renamed method
disabledtoisDisabledin\Nwidart\Modules\FileRepository. -
BREAKING Removed the
__getmagic method on the\Nwidart\Modules\Moduleclass. Useget()orjson()->get()instead. -
The
module:make-listenercommand now correctly uses the namespace configuration -
The generated Factories now has type hints for the
\Illuminate\Database\Eloquent\Factoryclass -
Improved foreign key constraint generation
-
Exception handling in the
SeedCommandhas been improved