Skip to content
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

Add upgrade files #963

Merged
merged 1 commit into from May 10, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
35 changes: 35 additions & 0 deletions UPGRADE-1.11.md
@@ -0,0 +1,35 @@
UPGRADE FROM 1.10 to 1.11
=========================

PHP and Symfony version support
-------------------------------

* Support for PHP 5.5, 5.6 and 7.0 was dropped
* Support for unsupported Symfony versions was dropped. The bundle now supports
Symfony 3.4 LTS and 4.1 or newer.
* Support for Twig 1.34 and below as well as 2.4 and below (for 2.x) releases
was dropped.

Commands
--------

* Deprecated instantiating `Doctrine\Bundle\DoctrineBundle\Command` without a
`ManagerRegistry` instance.
* Deprecated `setContainer` and `getContainer` in
`Doctrine\Bundle\DoctrineBundle\Command`.
* `Doctrine\Bundle\DoctrineBundle\Command` no longer implements
`ContainerAwareInterface`.

Mapping
-------

* Renamed `ContainerAwareEntityListenerResolver` to
`ContainerEntityListenerResolver`.

Types
-----

* Marking types as commented in the configuration is deprecated. Instead, mark
them commented using the `requiresSQLCommentHint()` method of the type.
* The `commented` configuration option for types will be dropped in a future
release. You should avoid using it.
36 changes: 36 additions & 0 deletions UPGRADE-2.0.md
@@ -0,0 +1,36 @@
UPGRADE FROM 1.x to 2.0
=======================

PHP and Symfony version support
-------------------------------

* Support for PHP 5.5, 5.6 and 7.0 was dropped
* Support for unsupported Symfony versions was dropped. The bundle now supports
Symfony 3.4 LTS and 4.1 or newer.
* Support for Twig 1.34 and below as well as 2.4 and below (for 2.x) releases
was dropped.

Commands
--------

* `Doctrine\Bundle\DoctrineBundle\Command` requires a `ManagerRegistry`
instance when instantiating.
* Dropped `setContainer` and `getContainer` in
`Doctrine\Bundle\DoctrineBundle\Command`.
* `Doctrine\Bundle\DoctrineBundle\Command` no longer implements
`ContainerAwareInterface`.

Mapping
-------

* Dropped `ContainerAwareEntityListenerResolver`, use
`ContainerEntityListenerResolver` instead.

Types
-----

* Marking types as commented in the configuration is no longer supported.
Instead, mark them commented using the `requiresSQLCommentHint()` method of
the type.
* The `commented` configuration option for types will be dropped in a future
release. You should not use it.