diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cfdd281..bf1802c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v8.4.1...master) +## [Unreleased](https://github.com/laravel/laravel/compare/v8.4.2...master) + + +## [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) 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) { + // + }); } } 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' => [ 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' => ['*'], 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