Upgrade notes
Security release for Laravel 12. v12.0.5 and earlier are affected: update with composer update nwidart/laravel-modules. Most apps need no other change.
Show upgrade notes
Behaviour changes
module:install exits 1 when an install fails and skips module:update for that module. It exited 0 before. With modules.json, the remaining entries still install. (#2280)
module:install rejects an empty version, a version that starts with -, and a --type that resolves to no repository URL. (#2280)
Extending the package
Security
- install:
module:installno longer passes the module name, version, path or repository URL through the shell, which allowed command injection from the CLI or a committedmodules.json.module:updateescapes the packages it reads from a module'scomposer.json. Backport of #2174, released in v13.1.0 (#2280, db2d7da)
Full Changelog: v12.0.5...v12.0.6