The Wire · Showcase
LARAVEL 13.x REFACTORS ARTISAN CORE, ADDS IMAGE COLOR DETECTION
By RepoJournal · Filed · About Laravel
Laravel is shipping its biggest command infrastructure cleanup in years, consolidating Artisan signatures while adding dominant color detection to the image driver.
Lucas Michot landed a major refactor consolidating Artisan command `$name`, `getArguments()`, and `getOptions()` into a single `$signature` string [1], backed by characterization tests that verify zero behavior change across the entire command stack. In parallel, the framework now supports dominant color detection in images [2], computing the average color by downsampling to 1x1 and exposing it as a new `dominantColor()` method and `'dominant'` background option for `contain()` and `rotate()` transformations. A critical fix landed for relation constraints during eager loading [3], preventing `BelongsTo` and `MorphTo` relationships from skipping primary key filters when `noConstraints()` is active. Documentation kept pace with three new features documented: Telescope CSP nonce support [5], the new `array_keys` validation rule [6], and Rector rules for if-statement simplification [4]. Sail also tightened Meilisearch upgrades by enabling dumpless migrations, preventing container crashes on version pulls [7].
One email a day. Unsubscribe in one click.
Keep up with Laravel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review Artisan signature consolidation if you maintain custom commands laravel/framework [plan]
- → Test image dominant color in your transformations laravel/framework [monitor]
- → Pull Sail docs for Meilisearch dumpless upgrade settings laravel/sail [plan]
References
- [1] [13.x] Consolidate Artisan command $name/getArguments()/getOptions() into $signature (#60926) laravel/framework
- [2] [13.x] Adds dominant color detection to image driver ↗ laravel/framework
- [3] [13.x] Preserve relation constraints when resolving attributes during noConstraints ↗ laravel/framework
- [4] [13.x] Add if-related rector rules ↗ laravel/framework
- [5] [13.x] Document Telescope CSP nonce support ↗ laravel/docs
- [6] [13.x] Document the new array_keys validation rule ↗ laravel/docs
- [7] Enable dumpless upgrades for Meilisearch ↗ laravel/sail