minor #29942 [HttpFoundation] Add missing changelog/upgrade notes (chalasr)
This PR was merged into the 4.3-dev branch.
Discussion
----------
[HttpFoundation] Add missing changelog/upgrade notes
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Commits
-------
a44f19c5f1
[HttpFoundation] Add missing changelog/upgrade notes
This commit is contained in:
commit
a9f8ca57af
@ -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