Repository navigation
Releases
Releases · ashraftalha/laravel-opconsole
v1.12.2
Fixed
- Run security scan from the Operations tab failed with
The command "opconsole:security" does not existunder PHP-FPM, Herd orartisan 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 phpline failed) or a home directory. The scan now passesPATH, andHOME/COMPOSER_HOMEwhen available, falling back tostorage/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
Security
- Failed-job retries always require the run Gate at the route. The retry route has no
{action}parameter, soopconsole.authorize:runlooked up an empty action name, and anauthorization.action_gatesentry keyed''could replacerun_gatethere. Routes without an action now always checkrun_gate; the controller still also checks the Gate mapped toqueue_retry.
Fixed
- The Retry button on the Failed jobs tab now appears only when both the run Gate and the
queue_retrycheck allow it, matching the endpoint. A user allowed by a mappedqueue_retryGate but denied byrun_gatepreviously saw a button that returned403. - Reload Octane workers failed with
The command "octane:reload" does not exist. Octane registers its Artisan commands only in the console, and its workers setAPP_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 needrun_gateplusqueue_retrywhen 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
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.