From aa6d3660114c93e537a52e0ba3c03071a7f3e67f Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 10 Nov 2020 14:18:52 -0600 Subject: [PATCH 1/5] add sanctum cookie endpoint to default cors paths --- config/cors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cors.php b/config/cors.php index 558369dc..8a39e6da 100644 --- a/config/cors.php +++ b/config/cors.php @@ -15,7 +15,7 @@ return [ | */ - 'paths' => ['api/*'], + 'paths' => ['api/*', 'sanctum/csrf-cookie'], 'allowed_methods' => ['*'], From 3adc2196f79fa4d8470d41d5a7584f2b0432a6fc Mon Sep 17 00:00:00 2001 From: Iman Date: Thu, 12 Nov 2020 17:25:54 +0330 Subject: [PATCH 2/5] Modify the cache.php docblocks (#5468) In new versions of laravel we do not directly specify the "cache driver" anymore but rather a "cache store", so it does not make sense to mention the drivers up there since laravel supports any arbitrary values defined below it by the user. --- config/cache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/cache.php b/config/cache.php index 4f41fdf9..7d5976ed 100644 --- a/config/cache.php +++ b/config/cache.php @@ -13,9 +13,6 @@ return [ | using this caching library. This connection is used when another is | not explicitly specified when executing a given caching function. | - | Supported: "apc", "array", "database", "file", - | "memcached", "redis", "dynamodb" - | */ 'default' => env('CACHE_DRIVER', 'file'), @@ -29,6 +26,9 @@ return [ | well as their drivers. You may even define multiple stores for the | same cache driver to group types of items stored in your caches. | + | Supported drivers: "apc", "array", "database", "file", + | "memcached", "redis", "dynamodb" + | */ 'stores' => [ From 4931af14006610bf8fd1f860cea1117c68133e94 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 14 Nov 2020 09:17:41 -0600 Subject: [PATCH 3/5] add stub handler --- app/Exceptions/Handler.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 7e40d735..f9644add 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -3,6 +3,7 @@ namespace App\Exceptions; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; +use Throwable; class Handler extends ExceptionHandler { @@ -32,6 +33,8 @@ class Handler extends ExceptionHandler */ public function register() { - // + $this->reportable(function (Throwable $e) { + // + }); } } From 9957559dc507a306ef42851abdb950f3c5c7af72 Mon Sep 17 00:00:00 2001 From: A-Maged Date: Tue, 17 Nov 2020 16:57:20 +0200 Subject: [PATCH 4/5] closed @auth correctly (#5471) --- resources/views/welcome.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index ed7110bb..e305e336 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -32,7 +32,7 @@ @if (Route::has('register')) Register @endif - @endif + @endauth @endif From e8498122a22745cf13e2d293e2160d914c04abbd Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 17 Nov 2020 17:40:17 +0100 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9543d618..fa89039e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v8.4.1...8.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v8.4.2...8.x) + + +## [v8.4.2 (2020-11-17)](https://github.com/laravel/laravel/compare/v8.4.1...v8.4.2) + +### Changed +- Add sanctum cookie endpoint to default cors paths ([aa6d3660](https://github.com/laravel/laravel/commit/aa6d3660114c93e537a52e0ba3c03071a7f3e67f)) +- Modify the `cache.php` docblocks ([#5468](https://github.com/laravel/laravel/pull/5468)) +- Add stub handler ([4931af1](https://github.com/laravel/laravel/commit/4931af14006610bf8fd1f860cea1117c68133e94)) + +### Fixed +- Closed @auth correctly ([#5471](https://github.com/laravel/laravel/pull/5471)) ## [v8.4.1 (2020-11-10)](https://github.com/laravel/laravel/compare/v8.4.0...v8.4.1)