diff --git a/CHANGELOG-4.3.md b/CHANGELOG-4.3.md index 8f905cd7af..29037980b3 100644 --- a/CHANGELOG-4.3.md +++ b/CHANGELOG-4.3.md @@ -7,6 +7,46 @@ in 4.3 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/v4.3.0...v4.3.1 +* 4.3.1 (2019-06-06) + + * bug #31894 Fix wrong requirements for ocramius/proxy-manager in root composer.json (henrikvolmer) + * bug #31865 [Form] Fix wrong DateTime on outdated ICU library (aweelex) + * bug #31893 [HttpKernel] fix link to source generation (nicolas-grekas) + * bug #31880 [FrameworkBundle] fix BC-breaking property in WebTestAssertionsTrait (nicolas-grekas) + * bug #31881 [FramworkBundle][HttpKernel] fix KernelBrowser BC layer (nicolas-grekas) + * bug #31879 [Cache] Pass arg to get callback everywhere (fancyweb) + * bug #31874 [Doctrine Bridge] Check field type before adding Length constraint (belinde) + * bug #31872 [Messenger] Add missing runtime check for ext redis version (chalasr) + * bug #31864 [Cache] Fixed undefined variable in ArrayTrait (eXtreme) + * bug #31863 [HttpFoundation] Fixed case-sensitive handling of cache-control header in RedirectResponse constructor (Ivo) + * bug #31850 [HttpClient] add $response->cancel() (nicolas-grekas) + * bug #31871 [HttpClient] revert bad logic around JSON_THROW_ON_ERROR (nicolas-grekas) + * bug #31869 Fix json-encoding when JSON_THROW_ON_ERROR is used (nicolas-grekas) + * bug #31868 [HttpKernel] Fix handling non-catchable fatal errors (nicolas-grekas) + * bug #31834 [HttpClient] Don't throw InvalidArgumentException on bad Location header (nicolas-grekas) + * bug #31846 [Mailer] Set default crypto method (bpolaszek) + * bug #31849 [Console] Add check for Konsole/Yakuake to disable hyperlinks (belinde) + * bug #31854 Rename the Symfony Mailer service implementation to avoid conflict with SwitMailer (tgalopin) + * bug #31856 [VarDumper] fix dumping the cloner itself (nicolas-grekas) + * bug #31861 [HttpClient] work around PHP 7.3 bug related to json_encode() (nicolas-grekas) + * bug #31860 [HttpFoundation] work around PHP 7.3 bug related to json_encode() (nicolas-grekas) + * bug #31852 [Form] add missing symfony/service-contracts dependency (nicolas-grekas) + * bug #31836 [DoctrineBridge] do not process private properties from parent class (xabbuh) + * bug #31790 [Messenger] set amqp content_type based on serialization format (Tobion) + * bug #31832 [HttpClient] fix unregistering the debug buffer when using curl (nicolas-grekas) + * bug #31407 [Security] added support for updated "distinguished name" format in x509 authentication (Robert Kopera) + * bug #31774 [Mailer] Fix the possibility to set a From header from MessageListener (fabpot) + * bug #31811 [DoctrineBridge] don't add embedded properties to wrapping class metadata (xabbuh) + * bug #31786 [Translation] Fixed case sensitivity of lint:xliff command (javiereguiluz) + * bug #31815 [Translator] Collect locale details earlier in the process (pierredup) + * bug #31761 [TwigBridge] suggest Translation Component when TranslationExtension is used (nicolas-grekas) + * bug #31748 [Messenger] Inject RoutableMessageBus instead of bus locator (chalasr) + * bug #31763 [Security\Core] Make SodiumPasswordEncoder validate BCrypt-ed passwords (nicolas-grekas) + * bug #31744 [Validator] Fix TimezoneValidator default option (ro0NL) + * bug #31749 [DoctrineBridge][Validator] do not enable validator auto mapping by default (xabbuh) + * bug #31757 [DomCrawler] Fix type error with null Form::$currentUri (chalasr) + * bug #31721 [PHPUnitBridge] Use a more appropriate group when deprecating mode (greg0ire) + * 4.3.0 (2019-05-30) * bug #31654 [HttpFoundation] Do not set X-Accel-Redirect for paths outside of X-Accel-Mapping (vilius-g) diff --git a/UPGRADE-4.2.md b/UPGRADE-4.2.md index 90cd04d01e..3b1f238fa6 100644 --- a/UPGRADE-4.2.md +++ b/UPGRADE-4.2.md @@ -385,7 +385,7 @@ Validator * The `symfony/translation` dependency has been removed - run `composer require symfony/translation` if you need the component * The `checkMX` and `checkHost` options of the `Email` constraint are deprecated * The component is now decoupled from `symfony/translation` and uses `Symfony\Contracts\Translation\TranslatorInterface` instead - * The `ValidatorBuilderInterface` has been deprecated and `ValidatorBuilder` made final + * The `ValidatorBuilderInterface` has been deprecated and `ValidatorBuilder::setTranslator()` has been made final * Deprecated validating instances of `\DateTimeInterface` in `DateTimeValidator`, `DateValidator` and `TimeValidator`. Use `Type` instead or remove the constraint if the underlying model is type hinted to `\DateTimeInterface` already. * Using the `Bic`, `Country`, `Currency`, `Language` and `Locale` constraints without `symfony/intl` is deprecated * Using the `Email` constraint in strict mode without `egulias/email-validator` is deprecated diff --git a/UPGRADE-5.0.md b/UPGRADE-5.0.md index 78bcb71f29..b848189513 100644 --- a/UPGRADE-5.0.md +++ b/UPGRADE-5.0.md @@ -437,7 +437,7 @@ Validator * Calling `EmailValidator::__construct()` method with a boolean parameter has been removed, use `EmailValidator("strict")` instead. * Removed the `checkDNS` and `dnsMessage` options from the `Url` constraint. * The component is now decoupled from `symfony/translation` and uses `Symfony\Contracts\Translation\TranslatorInterface` instead - * The `ValidatorBuilderInterface` has been removed and `ValidatorBuilder` is now final + * The `ValidatorBuilderInterface` has been removed * Removed support for validating instances of `\DateTimeInterface` in `DateTimeValidator`, `DateValidator` and `TimeValidator`. Use `Type` instead or remove the constraint if the underlying model is type hinted to `\DateTimeInterface` already. * The `symfony/intl` component is now required for using the `Bic`, `Country`, `Currency`, `Language` and `Locale` constraints * The `egulias/email-validator` component is now required for using the `Email` constraint in strict mode diff --git a/src/Symfony/Component/HttpKernel/HttpKernelBrowser.php b/src/Symfony/Component/HttpKernel/HttpKernelBrowser.php index ab52df14ed..e413634755 100644 --- a/src/Symfony/Component/HttpKernel/HttpKernelBrowser.php +++ b/src/Symfony/Component/HttpKernel/HttpKernelBrowser.php @@ -11,6 +11,9 @@ namespace Symfony\Component\HttpKernel; +use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\HttpFoundation\Response; + /** * Client simulates a browser and makes requests to an HttpKernel instance. * diff --git a/src/Symfony/Component/Validator/CHANGELOG.md b/src/Symfony/Component/Validator/CHANGELOG.md index 3bf22b7211..56ff079f46 100644 --- a/src/Symfony/Component/Validator/CHANGELOG.md +++ b/src/Symfony/Component/Validator/CHANGELOG.md @@ -32,7 +32,7 @@ CHANGELOG * added `DivisibleBy` constraint * decoupled from `symfony/translation` by using `Symfony\Contracts\Translation\TranslatorInterface` * deprecated `ValidatorBuilderInterface` - * made `ValidatorBuilder` final + * made `ValidatorBuilder::setTranslator()` final * marked `format` the default option in `DateTime` constraint * deprecated validating instances of `\DateTimeInterface` in `DateTimeValidator`, `DateValidator` and `TimeValidator`. * deprecated using the `Bic`, `Country`, `Currency`, `Language` and `Locale` constraints without `symfony/intl` diff --git a/src/Symfony/Component/Validator/ValidatorBuilder.php b/src/Symfony/Component/Validator/ValidatorBuilder.php index 0766a2e9f3..a65cca4c3d 100644 --- a/src/Symfony/Component/Validator/ValidatorBuilder.php +++ b/src/Symfony/Component/Validator/ValidatorBuilder.php @@ -38,8 +38,6 @@ use Symfony\Contracts\Translation\TranslatorTrait; * The default implementation of {@link ValidatorBuilderInterface}. * * @author Bernhard Schussek - * - * @final since Symfony 4.2 */ class ValidatorBuilder implements ValidatorBuilderInterface { @@ -255,6 +253,8 @@ class ValidatorBuilder implements ValidatorBuilderInterface /** * {@inheritdoc} + * + * @final since Symfony 4.2 */ public function setTranslator(LegacyTranslatorInterface $translator) {