[HttpFoundation] Add missing changelog/upgrade notes
This commit is contained in:
parent
db6784bb09
commit
a44f19c5f1
@ -18,3 +18,15 @@ FrameworkBundle
|
|||||||
|
|
||||||
* Not passing the project directory to the constructor of the `AssetsInstallCommand` is deprecated. This argument will
|
* Not passing the project directory to the constructor of the `AssetsInstallCommand` is deprecated. This argument will
|
||||||
be mandatory in 5.0.
|
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.
|
||||||
|
@ -172,6 +172,14 @@ HttpFoundation
|
|||||||
* The `getSession()` method of the `Request` class throws an exception when session is null.
|
* The `getSession()` method of the `Request` class throws an exception when session is null.
|
||||||
* The default value of the "$secure" and "$samesite" arguments of Cookie's constructor
|
* The default value of the "$secure" and "$samesite" arguments of Cookie's constructor
|
||||||
changed respectively from "false" to "null" and from "null" to "lax".
|
changed respectively from "false" to "null" and from "null" to "lax".
|
||||||
|
* The `MimeTypeGuesserInterface` and `ExtensionGuesserInterface` interfaces have been removed,
|
||||||
|
use `Symfony\Component\Mime\MimeTypesInterface` instead.
|
||||||
|
* The `MimeType` and `MimeTypeExtensionGuesser` classes have been removed,
|
||||||
|
use `Symfony\Component\Mime\MimeTypes` instead.
|
||||||
|
* The `FileBinaryMimeTypeGuesser` class has been removed,
|
||||||
|
use `Symfony\Component\Mime\FileBinaryMimeTypeGuesser` instead.
|
||||||
|
* The `FileinfoMimeTypeGuesser` class has been removed,
|
||||||
|
use `Symfony\Component\Mime\FileinfoMimeTypeGuesser` instead.
|
||||||
|
|
||||||
HttpKernel
|
HttpKernel
|
||||||
----------
|
----------
|
||||||
|
@ -1,6 +1,14 @@
|
|||||||
CHANGELOG
|
CHANGELOG
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
4.3.0
|
||||||
|
-----
|
||||||
|
|
||||||
|
* deprecated `MimeTypeGuesserInterface` and `ExtensionGuesserInterface` in favor of `Symfony\Component\Mime\MimeTypesInterface`.
|
||||||
|
* deprecated `MimeType` and `MimeTypeExtensionGuesser` in favor of `Symfony\Component\Mime\MimeTypes`.
|
||||||
|
* deprecated `FileBinaryMimeTypeGuesser` in favor of `Symfony\Component\Mime\FileBinaryMimeTypeGuesser`.
|
||||||
|
* deprecated `FileinfoMimeTypeGuesser` in favor of `Symfony\Component\Mime\FileinfoMimeTypeGuesser`.
|
||||||
|
|
||||||
4.2.0
|
4.2.0
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
@ -11,12 +11,12 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\HttpFoundation\File\MimeType;
|
namespace Symfony\Component\HttpFoundation\File\MimeType;
|
||||||
|
|
||||||
use Symfony\Component\Mime\MimeTypes;
|
use Symfony\Component\Mime\MimeTypesInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Guesses the file extension corresponding to a given mime type.
|
* Guesses the file extension corresponding to a given mime type.
|
||||||
*
|
*
|
||||||
* @deprecated since Symfony 4.3, use {@link MimeTypes} instead
|
* @deprecated since Symfony 4.3, use {@link MimeTypesInterface} instead
|
||||||
*/
|
*/
|
||||||
interface ExtensionGuesserInterface
|
interface ExtensionGuesserInterface
|
||||||
{
|
{
|
||||||
|
@ -13,14 +13,14 @@ namespace Symfony\Component\HttpFoundation\File\MimeType;
|
|||||||
|
|
||||||
use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
|
use Symfony\Component\HttpFoundation\File\Exception\AccessDeniedException;
|
||||||
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
|
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
|
||||||
use Symfony\Component\Mime\MimeTypes;
|
use Symfony\Component\Mime\MimeTypesInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Guesses the mime type of a file.
|
* Guesses the mime type of a file.
|
||||||
*
|
*
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||||
*
|
*
|
||||||
* @deprecated since Symfony 4.3, use {@link MimeTypes} instead
|
* @deprecated since Symfony 4.3, use {@link MimeTypesInterface} instead
|
||||||
*/
|
*/
|
||||||
interface MimeTypeGuesserInterface
|
interface MimeTypeGuesserInterface
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user