This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/UPGRADE-4.3.md

33 lines
1.1 KiB
Markdown
Raw Normal View History

2018-12-01 09:28:10 +00:00
UPGRADE FROM 4.2 to 4.3
=======================
BrowserKit
----------
2019-01-14 14:42:11 +00:00
* Marked `Response` final.
* Deprecated `Response::buildHeader()`
* Deprecated `Response::getStatus()`, use `Response::getStatusCode()` instead
2018-12-01 09:28:10 +00:00
Config
------
* Deprecated using environment variables with `cannotBeEmpty()` if the value is validated with `validate()`
FrameworkBundle
---------------
* Not passing the project directory to the constructor of the `AssetsInstallCommand` is deprecated. This argument will
be mandatory in 5.0.
HttpFoundation
--------------
* The `MimeTypeGuesserInterface` and `ExtensionGuesserInterface` interfaces have been deprecated,
use `Symfony\Component\Mime\MimeTypesInterface` instead.
* The `MimeType` and `MimeTypeExtensionGuesser` classes have been deprecated,
use `Symfony\Component\Mime\MimeTypes` instead.
* The `FileBinaryMimeTypeGuesser` class has been deprecated,
use `Symfony\Component\Mime\FileBinaryMimeTypeGuesser` instead.
* The `FileinfoMimeTypeGuesser` class has been deprecated,
use `Symfony\Component\Mime\FileinfoMimeTypeGuesser` instead.