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
This commit is contained in:
Fabien Potencier 2016-01-29 09:15:08 +01:00
commit 8f3c06bb14
2 changed files with 58 additions and 0 deletions

30
UPGRADE-3.1.md Normal file
View File

@ -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
UPGRADE-4.0.md Normal file
View File

@ -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.