From 28d807189faf19c68b996ac99ca9ee9fd4b161b0 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 26 May 2020 09:20:45 +0200 Subject: [PATCH 1/4] updated CHANGELOG for 5.1.0-RC2 --- CHANGELOG-5.1.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/CHANGELOG-5.1.md b/CHANGELOG-5.1.md index 0d4ccefcd1..5f1269de03 100644 --- a/CHANGELOG-5.1.md +++ b/CHANGELOG-5.1.md @@ -7,6 +7,41 @@ in 5.1 minor versions. To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v5.1.0...v5.1.1 +* 5.1.0-RC2 (2020-05-26) + + * bug #36966 Fix extra SQL support in Doctrine migrations (fabpot) + * bug #36960 [HttpClient] fix management of shorter-than-requested timeouts with AmpHttpClient (nicolas-grekas) + * bug #36947 [Mime] Allow email message to have "To", "Cc", or "Bcc" header to be valid (Ernest Hymel) + * bug #36943 [FrameworkBundle] Fix MicroKernelTrait for php 8 (derrabus) + * bug #36938 Don't call method_exists() with non-objects. (derrabus) + * bug #36936 [FrameworkBundle] don't use abstract methods in MicroKernelTrait, their semantics changed in PHP 8 (nicolas-grekas) + * bug #36935 [HttpClient] Adjust AmpResponse to the stricter trait handling in php 8 (derrabus) + * bug #36914 Parse and render anonymous classes correctly on php 8 (derrabus) + * bug #36921 [OptionsResolver][Serializer] Remove calls to deprecated ReflectionParameter::getClass() (derrabus) + * feature #36918 [Security] Removed "services" prototype node from "custom_authenticator" (wouterj) + * bug #36920 [VarDumper] fix PHP 8 support (nicolas-grekas) + * bug #36917 [Cache] Accessing undefined constants raises an Error in php8 (derrabus) + * bug #36891 Address deprecation of ReflectionType::getClass() (derrabus) + * bug #36899 [VarDumper] ReflectionFunction::isDisabled() is deprecated (derrabus) + * bug #36905 [Validator] Catch expected ValueError (derrabus) + * bug #36915 [DomCrawler] Catch expected ValueError (derrabus) + * bug #36908 [Cache][HttpClient] Made method signatures compatible with their corresponding traits (derrabus) + * bug #36906 [DomCrawler] Catch expected ValueError (derrabus) + * bug #36904 [PropertyAccess] Parse php 8 TypeErrors correctly (derrabus) + * bug #36839 [BrowserKit] Raw body with custom Content-Type header (azhurb) + * bug #36869 [Form] don't add the inputmode attribute on fields whose type is the same (MatTheCat) + * feature #36886 [Validator] Make ExpressionLanguageSyntax validator usable with annotation (jderusse) + * bug #36896 [Config] Removed implicit cast of ReflectionProperty to string (derrabus) + * bug #35944 [Security/Core] Fix wrong roles comparison (thlbaut) + * bug #36873 [Messenger] Fixed check for allowed options in AwsSqs configuration (kroshilin) + * bug #36882 [PhpUnitBridge] fix installing under PHP >= 8 (nicolas-grekas) + * bug #36859 [Validator] allow passing a validator to Validation::createCallable() (nicolas-grekas) + * bug #36833 [HttpKernel] Fix that the `Store` would not save responses with the X-Content-Digest header present (mpdude) + * bug #36867 [PhpUnitBridge] fix bad detection of unsilenced deprecations (nicolas-grekas) + * bug #36862 [Security] Unserialize $parentData, if needed, to avoid errors (rfaivre) + * bug #36855 [HttpKernel] Fix error logger when stderr is redirected to /dev/null (fabpot) + * bug #36838 [HttpKernel] Bring back the debug toolbar (derrabus) + * 5.1.0-RC1 (2020-05-16) * bug #36832 [Security] Improved upgrade path for custom remember me services (wouterj) From 5715e6e4f0150fa5be53474a1cdb4747709c68cb Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 26 May 2020 09:22:08 +0200 Subject: [PATCH 2/4] updated VERSION for 5.1.0-RC2 --- src/Symfony/Component/HttpKernel/Kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index c5313ee24f..b06cb82389 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -73,12 +73,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl private static $freshCache = []; - const VERSION = '5.1.0-DEV'; + const VERSION = '5.1.0-RC2'; const VERSION_ID = 50100; const MAJOR_VERSION = 5; const MINOR_VERSION = 1; const RELEASE_VERSION = 0; - const EXTRA_VERSION = 'DEV'; + const EXTRA_VERSION = 'RC2'; const END_OF_MAINTENANCE = '01/2021'; const END_OF_LIFE = '01/2021'; From 9a16c8ef270b4b99a903778b3841cb112341c7e1 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 26 May 2020 09:39:17 +0200 Subject: [PATCH 3/4] bumped Symfony version to 5.1.0 --- src/Symfony/Component/HttpKernel/Kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index b06cb82389..c5313ee24f 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -73,12 +73,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl private static $freshCache = []; - const VERSION = '5.1.0-RC2'; + const VERSION = '5.1.0-DEV'; const VERSION_ID = 50100; const MAJOR_VERSION = 5; const MINOR_VERSION = 1; const RELEASE_VERSION = 0; - const EXTRA_VERSION = 'RC2'; + const EXTRA_VERSION = 'DEV'; const END_OF_MAINTENANCE = '01/2021'; const END_OF_LIFE = '01/2021'; From 5db0a8bf4b87c26b511fff1950266ca0f513d305 Mon Sep 17 00:00:00 2001 From: Dmitriy Derepko Date: Wed, 27 May 2020 10:34:32 +0200 Subject: [PATCH 4/4] [Contracts/Deprecation] fix composer.json for PHP 8 --- src/Symfony/Contracts/Deprecation/composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Contracts/Deprecation/composer.json b/src/Symfony/Contracts/Deprecation/composer.json index de77c26ae8..c8ace825c3 100644 --- a/src/Symfony/Contracts/Deprecation/composer.json +++ b/src/Symfony/Contracts/Deprecation/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": "^7.1" + "php": ">=7.1" }, "autoload": { "files": [