8000 Introduce 3.1 and 4.0 upgrade files by xabbuh · Pull Request #17583 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Introduce 3.1 and 4.0 upgrade files #17583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 29, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions UPGRADE-3.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
UPGRADE FROM 3.0 to 3.1
=======================

DependencyInjection
-------------------

* Using unsupported configuration keys in YAML configuration files has been
deprecated and will raise an exception in Symfony 4.0.

* Using unsupported options to configure service aliases has been deprecated
and will raise an exception in Symfony 4.0.

Form
----

* The `choices_as_values` option of the `ChoiceType` has been deprecated and
will be removed in Symfony 4.0.

Serializer
----------

* Passing a Doctrine `Cache` instance to the `ClassMetadataFactory` has been
deprecated and will not be supported in Symfony 4.0. You should use the
`CacheClassMetadataFactory` class instead.

Yaml
----

* The `!!php/object` tag to indicate dumped PHP objects has been deprecated
and will be removed in Symfony 4.0. Use the `!php/object` tag instead.
28 changes: 28 additions & 0 deletions UPGRADE-4.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
UPGRADE FROM 3.x to 4.0
=======================

DependencyInjection
-------------------

* Using unsupported configuration keys in YAML configuration files raises an
exception.

* Using unsupported options to configure service aliases raises an exception.

Form
----

* The `choices_as_values` option of the `ChoiceType` has been removed.

Serializer
----------

* The ability to pass a Doctrine `Cache` instance to the `ClassMetadataFactory`
class has been removed. You should use the `CacheClassMetadataFactory` class
instead.

Yaml
----

* The `!!php/object` tag to indicate dumped PHP objects was removed in favor of
the `!php/object` tag.
0