File tree 5 files changed +32
-4
lines changed
src/Symfony/Component/HttpFoundation 5 files changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -18,3 +18,15 @@ FrameworkBundle
18
18
19
19
* Not passing the project directory to the constructor of the ` AssetsInstallCommand ` is deprecated. This argument will
20
20
be mandatory in 5.0.
21
+
22
+ HttpFoundation
23
+ --------------
24
+
25
+ * The ` MimeTypeGuesserInterface ` and ` ExtensionGuesserInterface ` interfaces have been deprecated,
26
+ use ` Symfony\Component\Mime\MimeTypesInterface ` instead.
27
+ * The ` MimeType ` and ` MimeTypeExtensionGuesser ` classes have been deprecated,
28
+ use ` Symfony\Component\Mime\MimeTypes ` instead.
29
+ * The ` FileBinaryMimeTypeGuesser ` class has been deprecated,
30
+ use ` Symfony\Component\Mime\FileBinaryMimeTypeGuesser ` instead.
31
+ * The ` FileinfoMimeTypeGuesser ` class has been deprecated,
32
+ use ` Symfony\Component\Mime\FileinfoMimeTypeGuesser ` instead.
Original file line number Diff line number Diff line change @@ -172,6 +172,14 @@ HttpFoundation
172
172
* The `getSession()` method of the `Request` class throws an exception when session is null.
173
173
* The default value of the "$secure" and "$samesite" arguments of Cookie's constructor
174
174
changed respectively from "false" to "null" and from "null" to "lax".
175
+ * The `MimeTypeGuesserInterface` and `ExtensionGuesserInterface` interfaces have been removed,
176
+ use `Symfony\Component\Mime\MimeTypesInterface` instead.
177
+ * The `MimeType` and `MimeTypeExtensionGuesser` classes have been removed,
178
+ use `Symfony\Component\Mime\MimeTypes` instead.
179
+ * The `FileBinaryMimeTypeGuesser` class has been removed,
180
+ use `Symfony\Component\Mime\FileBinaryMimeTypeGuesser` instead.
181
+ * The `FileinfoMimeTypeGuesser` class has been removed,
182
+ use `Symfony\Component\Mime\FileinfoMimeTypeGuesser` instead.
175
183
176
184
HttpKernel
177
185
----------
Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
+ 4.3.0
5
+ -----
6
+
7
+ * deprecated ` MimeTypeGuesserInterface ` and ` ExtensionGuesserInterface ` in favor of ` Symfony\Component\Mime\MimeTypesInterface ` .
8
+ * deprecated ` MimeType ` and ` MimeTypeExtensionGuesser ` in favor of ` Symfony\Component\Mime\MimeTypes ` .
9
+ * deprecated ` FileBinaryMimeTypeGuesser ` in favor of ` Symfony\Component\Mime\FileBinaryMimeTypeGuesser ` .
10
+ * deprecated ` FileinfoMimeTypeGuesser ` in favor of ` Symfony\Component\Mime\FileinfoMimeTypeGuesser ` .
11
+
4
12
4.2.0
5
13
-----
6
14
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \HttpFoundation \File \MimeType ;
13
13
14
- use Symfony \Component \Mime \MimeTypes ;
14
+ use Symfony \Component \Mime \MimeTypesInterface ;
15
15
16
16
/**
17
17
* Guesses the file extension corresponding to a given mime type.
18
18
*
19
- * @deprecated since Symfony 4.3, use {@link MimeTypes } instead
19
+ * @deprecated since Symfony 4.3, use {@link MimeTypesInterface } instead
20
20
*/
21
21
interface ExtensionGuesserInterface
22
22
{
Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Component \HttpFoundation \File \Exception \AccessDeniedException ;
15
15
use Symfony \Component \HttpFoundation \File \Exception \FileNotFoundException ;
16
- use Symfony \Component \Mime \MimeTypes ;
16
+ use Symfony \Component \Mime \MimeTypesInterface ;
17
17
18
18
/**
19
19
* Guesses the mime type of a file.
20
20
*
21
21
* @author Bernhard Schussek <bschussek@gmail.com>
22
22
*
23
- * @deprecated since Symfony 4.3, use {@link MimeTypes } instead
23
+ * @deprecated since Symfony 4.3, use {@link MimeTypesInterface } instead
24
24
*/
25
25
interface MimeTypeGuesserInterface
26
26
{
You can’t perform that action at this time.
0 commit comments