github nWidart/laravel-modules v12.0.6

one hour ago

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

  • Installer::getProcess() and FileRepository::install() can throw InvalidArgumentException for those inputs. (#2280)
  • getCommandLine() on a git install process shows a placeholder template. The values are in getEnv(). (#2280)

Security

  • install: module:install no longer passes the module name, version, path or repository URL through the shell, which allowed command injection from the CLI or a committed modules.json. module:update escapes the packages it reads from a module's composer.json. Backport of #2174, released in v13.1.0 (#2280, db2d7da)

Full Changelog: v12.0.5...v12.0.6

Don't miss a new laravel-modules release

NewReleases is sending notifications on new releases.