From 4bc502bba6b7bcbc8007c061621266fe8f989e07 Mon Sep 17 00:00:00 2001 From: underwood Date: Thu, 9 Dec 2021 16:09:19 -0600 Subject: [PATCH 1/6] Delete web.config (#5744) During a security audit one of the few recommendations they made was to remove or limit access to web.config. Since this is mainly used by Microsoft IIS server it isn't necessary for most Laravel projects and could be added if someone is using Microsoft server. --- public/web.config | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 public/web.config diff --git a/public/web.config b/public/web.config deleted file mode 100644 index 323482f1..00000000 --- a/public/web.config +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - From e999e1d07c9f56b0d18cce8fa9addc736339e904 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Wed, 15 Dec 2021 14:49:21 +0100 Subject: [PATCH 2/6] Update composer.json (#5750) --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8fc7406e..2b0c1155 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "php": "^7.3|^8.0", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.0.1", - "laravel/framework": "^8.65", + "laravel/framework": "^8.75", "laravel/sanctum": "^2.11", "laravel/tinker": "^2.5" }, From 472d31e5f2f6ce36e1b4146bfae0eb77f15ac0c0 Mon Sep 17 00:00:00 2001 From: Zeros Developer <33526722+ZerosDev@users.noreply.github.com> Date: Thu, 16 Dec 2021 22:06:59 +0700 Subject: [PATCH 3/6] Simplify the maintenance file call (#5752) * Simplify the maintenance file call * Update index.php Co-authored-by: Taylor Otwell --- public/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.php b/public/index.php index 002ee24d..1d69f3a2 100644 --- a/public/index.php +++ b/public/index.php @@ -16,8 +16,8 @@ | */ -if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) { - require __DIR__.'/../storage/framework/maintenance.php'; +if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) { + require $maintenance; } /* From 1ea351916efb0e6d96c5761996fcd361dee4630c Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 17 Dec 2021 15:40:10 +0100 Subject: [PATCH 4/6] Update validation.php (#5753) --- resources/lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index ba42c8d9..f4961e00 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -45,6 +45,7 @@ 'distinct' => 'The :attribute field has a duplicate value.', 'email' => 'The :attribute must be a valid email address.', 'ends_with' => 'The :attribute must end with one of the following: :values.', + 'enum' => 'The selected :attribute is invalid.', 'exists' => 'The selected :attribute is invalid.', 'file' => 'The :attribute must be a file.', 'filled' => 'The :attribute field must have a value.', From f79296dcd548c0ced169f6453d75f231fee407fc Mon Sep 17 00:00:00 2001 From: Bilal Al-Massry <33354606+bilalalmassry@users.noreply.github.com> Date: Mon, 20 Dec 2021 17:12:28 +0200 Subject: [PATCH 5/6] Add mac_address validation message (#5754) --- resources/lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index f4961e00..87fb437c 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -68,6 +68,7 @@ 'ip' => 'The :attribute must be a valid IP address.', 'ipv4' => 'The :attribute must be a valid IPv4 address.', 'ipv6' => 'The :attribute must be a valid IPv6 address.', + 'mac_address' => 'The :attribute must be a valid MAC address.', 'json' => 'The :attribute must be a valid JSON string.', 'lt' => [ 'numeric' => 'The :attribute must be less than :value.', From 56a73db2e34f5aa8befffcce40aaaa92e2d7393c Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Wed, 22 Dec 2021 11:07:28 +0100 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eabd7a59..0c859aa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.9...8.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.10...8.x) + + +## [v8.6.10 (2021-12-22)](https://github.com/laravel/laravel/compare/v8.6.9...v8.6.10) + +### Changed +- Bump Laravel to v8.75 ([#5750](https://github.com/laravel/laravel/pull/5750)) +- Simplify the maintenance file call ([#5752](https://github.com/laravel/laravel/pull/5752)) +- Add enum translation ([#5753](https://github.com/laravel/laravel/pull/5753)) +- Add mac_address validation message ([#5754](https://github.com/laravel/laravel/pull/5754)) + +### Removed +- Delete web.config ([#5744](https://github.com/laravel/laravel/pull/5744)) ## [v8.6.9 (2021-12-07)](https://github.com/laravel/laravel/compare/v8.6.8...v8.6.9)