From e464182760dfae06f68347f3f56ec4baec6e0c60 Mon Sep 17 00:00:00 2001 From: Philo Hermans Date: Fri, 19 Mar 2021 15:53:34 +0100 Subject: [PATCH 1/3] Add prohibited validation rule (#5569) --- 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 0f861e32..49e3388b 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -104,6 +104,7 @@ return [ 'required_with_all' => 'The :attribute field is required when :values are present.', 'required_without' => 'The :attribute field is required when :values is not present.', 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'prohibited' => 'The :attribute field is prohibited.', 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', 'same' => 'The :attribute and :other must match.', From f5cac881c98df3a4b81588f97bb87a7dd062e725 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Sun, 21 Mar 2021 14:38:50 +0100 Subject: [PATCH 2/3] Re-order composer.json (#5570) --- composer.json | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 3795a6db..cd7641be 100644 --- a/composer.json +++ b/composer.json @@ -2,10 +2,7 @@ "name": "laravel/laravel", "type": "project", "description": "The Laravel Framework.", - "keywords": [ - "framework", - "laravel" - ], + "keywords": ["framework", "laravel"], "license": "MIT", "require": { "php": "^7.3|^8.0", @@ -23,16 +20,6 @@ "nunomaduro/collision": "^5.0", "phpunit/phpunit": "^9.3.3" }, - "config": { - "optimize-autoloader": true, - "preferred-install": "dist", - "sort-packages": true - }, - "extra": { - "laravel": { - "dont-discover": [] - } - }, "autoload": { "psr-4": { "App\\": "app/", @@ -45,8 +32,6 @@ "Tests\\": "tests/" } }, - "minimum-stability": "dev", - "prefer-stable": true, "scripts": { "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", @@ -58,5 +43,17 @@ "post-create-project-cmd": [ "@php artisan key:generate --ansi" ] - } + }, + "extra": { + "laravel": { + "dont-discover": [] + } + }, + "config": { + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true + }, + "minimum-stability": "dev", + "prefer-stable": true } From 6bc0b1cfcbc35d89b3e4ec31d83d7b409f9bf595 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 23 Mar 2021 18:25:11 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef1c2904..f55469d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Release Notes -## [Unreleased](https://github.com/laravel/laravel/compare/v8.5.14...8.x) +## [Unreleased](https://github.com/laravel/laravel/compare/v8.5.15...8.x) + + +## [v8.5.15 (2021-03-23)](https://github.com/laravel/laravel/compare/v8.5.14...v8.5.15) + +### Changed +- Add prohibited validation rule ([#5569](https://github.com/laravel/laravel/pull/5569)) +- Re-order composer.json ([#5570](https://github.com/laravel/laravel/pull/5570)) ## [v8.5.14 (2021-03-16)](https://github.com/laravel/laravel/compare/v8.5.13...v8.5.14)