Skip to content

Releases

v1.12.2

Choose a tag to compare

@ashraftalha ashraftalha released this 11 Nov 20:27

Fixed

  • Run security scan from the Operations tab failed with The command "opconsole:security" does not exist under PHP-FPM, Herd or artisan serve: OpConsole registered its Artisan commands only when running in the console. They are now registered for web requests too.
  • The scan then reported "Composer 2.4 or later is required" from web requests although the CLI scan worked: Composer was started without PATH (so its #!/usr/bin/env php line failed) or a home directory. The scan now passes PATH, and HOME/COMPOSER_HOME when available, falling back to storage/framework/cache/opconsole/composer.

Upgrade: no migrations, config, view or asset changes; run composer update ashraftalha/laravel-opconsole. If your published config/opconsole.php predates the scan, add security_scan to its actions list. See the upgrade guide.

v1.12.1

Choose a tag to compare

@ashraftalha ashraftalha released this 11 Nov 18:56

Security

  • Failed-job retries always require the run Gate at the route. The retry route has no {action} parameter, so opconsole.authorize:run looked up an empty action name, and an authorization.action_gates entry keyed '' could replace run_gate there. Routes without an action now always check run_gate; the controller still also checks the Gate mapped to queue_retry.

Fixed

  • The Retry button on the Failed jobs tab now appears only when both the run Gate and the queue_retry check allow it, matching the endpoint. A user allowed by a mapped queue_retry Gate but denied by run_gate previously saw a button that returned 403.
  • Reload Octane workers failed with The command "octane:reload" does not exist. Octane registers its Artisan commands only in the console, and its workers set APP_RUNNING_IN_CONSOLE=false, so the command was missing from web requests. OpConsole now registers Octane's own reload command before running it.
  • On narrow screens the scrolling tab strip widened the whole page, so the dashboard could be dragged sideways. The tab bar now clips its horizontal overflow; republish assets (php artisan vendor:publish --tag=opconsole-assets --force) to pick up the change.

Changed

  • Documentation: an effective permission matrix on the Authentication & Authorization page lists the Gates each route checks. Mapped Gates for normal actions replace run_gate; retries need run_gate plus queue_retry when mapped.
  • The Composer package no longer ships the documentation site's tooling files (package.json, package-lock.json, .nvmrc, DEPLOYMENT.md, RELEASE-CHECKLIST.md).

Upgrade: no migrations or config changes. Republish assets with php artisan vendor:publish --tag=opconsole-assets --force, and remove any authorization.action_gates entry keyed ''. See the upgrade guide.

v1.12.0

Choose a tag to compare

@ashraftalha ashraftalha released this 10 Nov 23:01

Added

  • Run one migration at a time: the Run migrations card lists every pending migration in apply order, each with a Run only this button (migrate --force --isolated --path=… --realpath), next to Run all. Only names of currently pending migrations are accepted; the path comes from the migrator. The audit row records the migration name.

Changed

  • The Run migrations card spans the full row so long migration names are readable, and shows every pending migration instead of the first eight.
  • Documentation moved to a VitePress site under docs/ (guide, features, advanced and reference sections). README and docs screenshots retaken in light mode with generic demo data.

Upgrade: no migrations or config changes. Republish assets with php artisan vendor:publish --tag=opconsole-assets --force. See the upgrade guide.