From 214636dd192e559cdd53f981f19bec362c16ecec Mon Sep 17 00:00:00 2001 From: taylorotwell <463230+taylorotwell@users.noreply.github.com> Date: Tue, 10 Mar 2026 20:25:22 +0000 Subject: [PATCH 1/4] Update CHANGELOG --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41432396..6c4f28ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v12.12.0...12.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v12.12.1...12.x) + +## [v12.12.1](https://github.com/laravel/laravel/compare/v12.12.0...v12.12.1) - 2026-03-10 + +* [12.x] Makes imports consistent by [@nunomaduro](https://github.com/nunomaduro) in https://github.com/laravel/laravel/pull/6760 ## [v12.12.0](https://github.com/laravel/laravel/compare/v12.11.2...v12.12.0) - 2026-03-09 From cd2bde56a0ee391bfcab3e23f5882af291e0e030 Mon Sep 17 00:00:00 2001 From: Hamed EL-Asma <35032996+hamedelasma@users.noreply.github.com> Date: Wed, 11 Mar 2026 16:14:03 +0200 Subject: [PATCH 2/4] [12.x] Add `APP_NAME` fallback in Slack log channel username (#6762) The Slack log channel username falls back to the generic "Laravel Log" when unset. This updates the fallback to use `APP_NAME` instead, making it easier to identify which application is sending logs when multiple Laravel apps post to the same Slack channel. Follows the same pattern as #6755 which added an `APP_NAME` fallback in the mail config. --- config/logging.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/logging.php b/config/logging.php index 9e998a49..b09cb25d 100644 --- a/config/logging.php +++ b/config/logging.php @@ -76,7 +76,7 @@ return [ 'slack' => [ 'driver' => 'slack', 'url' => env('LOG_SLACK_WEBHOOK_URL'), - 'username' => env('LOG_SLACK_USERNAME', 'Laravel Log'), + 'username' => env('LOG_SLACK_USERNAME', env('APP_NAME', 'Laravel')), 'emoji' => env('LOG_SLACK_EMOJI', ':boom:'), 'level' => env('LOG_LEVEL', 'critical'), 'replace_placeholders' => true, From 945f4e5a9fd3695dc0ee512f497c650fb82cfbb8 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 14 Mar 2026 11:54:00 -0500 Subject: [PATCH 3/4] Revert index --- database/migrations/0001_01_01_000002_create_jobs_table.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/database/migrations/0001_01_01_000002_create_jobs_table.php b/database/migrations/0001_01_01_000002_create_jobs_table.php index 967fbf5e..425e7058 100644 --- a/database/migrations/0001_01_01_000002_create_jobs_table.php +++ b/database/migrations/0001_01_01_000002_create_jobs_table.php @@ -13,14 +13,12 @@ return new class extends Migration { Schema::create('jobs', function (Blueprint $table) { $table->id(); - $table->string('queue'); + $table->string('queue')->index(); $table->longText('payload'); $table->unsignedTinyInteger('attempts'); $table->unsignedInteger('reserved_at')->nullable(); $table->unsignedInteger('available_at'); $table->unsignedInteger('created_at'); - - $table->index(['queue', 'reserved_at', 'available_at']); }); Schema::create('job_batches', function (Blueprint $table) { From 77da0b9a8db30e3858f626d4980224936c37b960 Mon Sep 17 00:00:00 2001 From: taylorotwell <463230+taylorotwell@users.noreply.github.com> Date: Sat, 14 Mar 2026 16:54:44 +0000 Subject: [PATCH 4/4] Update CHANGELOG --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c4f28ca..a4a4f982 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v12.12.1...12.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v12.12.2...12.x) + +## [v12.12.2](https://github.com/laravel/laravel/compare/v12.12.1...v12.12.2) - 2026-03-14 + +* [12.x] Add `APP_NAME` fallback in Slack log channel username by [@hamedelasma](https://github.com/hamedelasma) in https://github.com/laravel/laravel/pull/6762 ## [v12.12.1](https://github.com/laravel/laravel/compare/v12.12.0...v12.12.1) - 2026-03-10