Releases: nWidart/laravel-modules
Releases · nWidart/laravel-modules
9.0.6
9.0.5
Added
- @alissn add command show model information #1429
- @JaberWiki add optional flag for seeder or request in model generator command #1431
Changed
- @alissn updated command style to new version of artisan #1430
- @ChauDucGiang updated Feature/cache driver #1443
Fixed
- @ajayfroiden fixed module:disable #1438
- @inovar-tecnologia fixed DisableCommand.php#1435
9.0.4
9.0.1
9.0.0
8.3.0
In the config there's a breaking change for existing config files (fresh published configs are okay)
To manually fix this import the commands class:
use Nwidart\Modules\Commands;
then update the commands array to prefix the command:
'commands' => [
Commands\CommandMakeCommand::class,
Commands\ComponentClassMakeCommand::class,
Commands\ComponentViewMakeCommand::class,
Commands\ControllerMakeCommand::class,
Commands\DisableCommand::class,
Commands\DumpCommand::class,
Commands\EnableCommand::class,
Commands\EventMakeCommand::class,
Commands\JobMakeCommand::class,
Commands\ListenerMakeCommand::class,
Commands\MailMakeCommand::class,
Commands\MiddlewareMakeCommand::class,
Commands\NotificationMakeCommand::class,
Commands\ProviderMakeCommand::class,
Commands\RouteProviderMakeCommand::class,
Commands\InstallCommand::class,
Commands\ListCommand::class,
Commands\ModuleDeleteCommand::class,
Commands\ModuleMakeCommand::class,
Commands\FactoryMakeCommand::class,
Commands\PolicyMakeCommand::class,
Commands\RequestMakeCommand::class,
Commands\RuleMakeCommand::class,
Commands\MigrateCommand::class,
Commands\MigrateRefreshCommand::class,
Commands\MigrateResetCommand::class,
Commands\MigrateRollbackCommand::class,
Commands\MigrateStatusCommand::class,
Commands\MigrationMakeCommand::class,
Commands\ModelMakeCommand::class,
Commands\PublishCommand::class,
Commands\PublishConfigurationCommand::class,
Commands\PublishMigrationCommand::class,
Commands\PublishTranslationCommand::class,
Commands\SeedCommand::class,
Commands\SeedMakeCommand::class,
Commands\SetupCommand::class,
Commands\UnUseCommand::class,
Commands\UpdateCommand::class,
Commands\UseCommand::class,
Commands\ResourceMakeCommand::class,
Commands\TestMakeCommand::class,
Commands\LaravelModulesV6Migrator::class,
],
Fixed
- The ability to override commands via config file.
- Incorrectly placed config key
- Class name when special characters are used in the rule name
- Fix error on anonymous migration
Changed
- Changed
View/Component
toView/Components
- Updated test snapshots for the MakeCommand test snapshots
- Command stub signature from
signature
toname
- Revert PR1171 which causes tests to fail
Added
- Added comands make class component and make view component
- Test against php 8.0
- Merge config in register method
- Added optional controller flag to model generator command
- Set module for make-controller command
- Added tests for generating controller in model generator command
- Added test for check if migration and controller flag are both present
- Laravel mix v6 support
8.2.0
8.1.0
Added
- Command management via configuration file
- Laravel 8 Factories compatibility
- New improved way to define controller types.
--web
,--api
and--plain
options. - New configuration option to make compose run in silent mode
Changed
- New generated commands now use the
$signature
property instead of$name
- Fixed issue where
order
was used instead ofpriority