10000 minor #17583 Introduce 3.1 and 4.0 upgrade files (xabbuh) · symfony/symfony@8f3c06b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f3c06b

Browse files
committed
minor #17583 Introduce 3.1 and 4.0 upgrade files (xabbuh)
This PR was merged into the 3.1-dev branch. Discussion ---------- Introduce 3.1 and 4.0 upgrade files | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- f68e94a introduce 3.1 and 4.0 upgrade files
2 parents 5b59703 + f68e94a commit 8f3c06b

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

UPGRADE-3.1.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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
8+
deprecated and will raise an exception in Symfony 4.0.
9+
10+
* Using unsupported options to configure service aliases has been deprecated
11+
and will raise an exception in Symfony 4.0.
12+
13+
Form
14+
----
15+
16+
* The `choices_as_values` option of the `ChoiceType` has been deprecated and
17+
will be removed in Symfony 4.0.
18+
19+
Serializer
20+
----------
21+
22+
* Passing a Doctrine `Cache` instance to the `ClassMetadataFactory` has been
23+
deprecated and will not be supported in Symfony 4.0. You should use the
24+
`CacheClassMetadataFactory` class instead.
25+
26+
Yaml
27+
----
28+
29+
* The `!!php/object` tag to indicate dumped PHP objects has been deprecated
30+
and will be removed in Symfony 4.0. Use the `!php/object` tag instead.

UPGRADE-4.0.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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
8+
exception.
9+
10+
* Using unsupported options to configure service aliases raises an exception.
11+
12+
Form
13+
----
14+
15+
* The `choices_as_values` option of the `ChoiceType` has been removed.
16+
17+
Serializer
18+
----------
19+
20+
* The ability to pass a Doctrine `Cache` instance to the `ClassMetadataFactory`
21+
class has been removed. You should use the `CacheClassMetadataFactory` class
22+
instead.
23+
24+
Yaml
25+
----
26+
27+
* The `!!php/object` tag to indicate dumped PHP objects was removed in favor of
28+
the `!php/object` tag.

0 commit comments

Comments
 (0)
0