-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# UPGRADE FROM 1.x to 2.0 | ||
|
||
* Support for eZ Publish kernel 6.x has been dropped. Minimum supported version | ||
is now 7.0 | ||
|
||
* Support for PHP 5.x and 7.0 has been dropped. Minimum supported version is | ||
now 7.1 | ||
|
||
* All `*.class` parameters were removed from DI container. Use compiler passes | ||
to set the new class or service decorators if you need to override any | ||
services from legacy bridge. | ||
|
||
* Most of the services have been marked as private in Symfony DI container. | ||
You should not fetch them from container directly any more, instead, inject | ||
them as constructor arguments into your services. | ||
|
||
* HTTP 404 error conversion in legacy mode `false` siteaccesses is now turned | ||
on, without the possibility to turn it off. If you have any error pages | ||
implemented in such siteaccesses in eZ Publish Legacy, you will need to | ||
re-implement them in Symfony stack. | ||
|
||
* Deprecated Twig tag `ez_legacy_include` which rendered an eZ Publish Legacy | ||
template from a Twig template has been removed. Use the native Twig `include` | ||
tag instead. | ||
|
||
Before: | ||
|
||
``` | ||
{% ez_legacy_include "design:my/old_template.tpl" with {"someVar": "someValue"} %} | ||
``` | ||
|
||
After: | ||
|
||
``` | ||
{% include "design:my/old_template.tpl" with {"someVar": "someValue"} %} | ||
``` |