8000 introduce 3.1 and 4.0 upgrade files · symfony/symfony@3cf5588 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3cf5588

Browse files
committed
introduce 3.1 and 4.0 upgrade files
1 parent 5b59703 commit 3cf5588

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

UPGRADE-3.1.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
UPGRADE FROM 3.0 to 3.1
2+
=======================
3+
4+
DependencyInjection
5+
-------------------
6+
7+
* Using unsupported configuration keys in YAML configuration files has been deprecated and will raise an exception in Symfony 4.0.
8+
9+
* Using unsupported options to configure service aliases has been deprecated and will raise an exception in Symfony 4.0.
10+
11+
Form
12+
----
13+
14+
* The `choices_as_values` option of the `ChoiceType` has been deprecated and will be removed in Symfony 4.0.
15+
16+
Serializer
17+
----------
18+
19+
* Passing a Doctrine `Cache` instance to the `ClassMetadataFactory` has been deprecated and will not be supported in Symfony
20+
4.0. You should use the `CacheClassMetadataFactory` class instead.
21+
22+
Yaml
23+
----
24+
25+
* The `!!php/object` tag to indicate dumped PHP objects has been deprecated and will be removed in Symfony 4.0. Use the
26+
`!php/object` tag instead.

UPGRADE-4.0.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
UPGRADE FROM 3.x to 4.0
2+
=======================
3+
4+
DependencyInjection
5+
-------------------
6+
7+
* Using unsupported configuration keys in YAML configuration files raises an exception.
8+
9+
* Using unsupported options to configure service aliases raises an exception.
10+
11+
Form
12+
----
13+
14+
* The `choices_as_values` option of the `ChoiceType` has been removed.
15+
16+
Serializer
17+
----------
18+
19+
* The ability to pass a Doctrine `Cache` instance to the `ClassMetadataFactory` class has been removed. You should use
20+
the `CacheClassMetadataFactory` class instead.
21+
22+
Yaml
23+
----
24+
25+
* The `!!php/object` tag to indicate dumped PHP objects was removed in favor of the `!php/object` tag.

0 commit comments

Comments
 (0)
0