From f88449e8e55a9ee7b0bb1272147dc80fc5a0aafd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20R?= Date: Mon, 18 Feb 2019 10:41:28 +0100 Subject: [PATCH] Prepare 1.5, including updating requirements to reduce memory consumption --- INSTALL.md | 13 +++++-------- README.md | 13 +++++++++---- composer.json | 14 +++++++------- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 3ae69569..f00c0f48 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,9 +1,7 @@ # Installing the eZ Platform legacy bridge -Unlike eZ Publish 5.x, eZ Platform does not include the Legacy stack by default. - -Even though it is not recommended for use on new installs, eZ Publish Legacy can easily be installed -on top of Platform using Composer to provide a more up-to-date platform to migrate your code to eZ Platform with. +Instructions below will take you true installing legacy bridge and implicit legacy on top of a eZ Platform 1.13.x - 2.x +install. ### Add the composer `legacy post-*-scripts` @@ -28,7 +26,7 @@ Edit `composer.json`, and add those lines to both `post-update-cmd` and `post-in } ``` -Example: In the case of stock eZ Platform 1.11 and higher that would specifically be: +Example: In the case of stock eZ Platform 1.13 that would specifically be: ``` "scripts": { "legacy-scripts": [ @@ -99,12 +97,11 @@ _Tip:_ ### Install `ezsystems/legacy-bridge` -`ezsystems/legacy-bridge` contains the libraries previously included in `ezsystems/ezpublish-kernel` in version 5.x. -It must be installed using Composer. Take care to use `^1.3.0` as version constraint, since previous versions lack some important fixes for newer versions of eZ Platform: +Package can be installed using Composer in the following way: ``` -composer require --update-no-dev "ezsystems/legacy-bridge:^1.3.0" +composer require --update-no-dev "ezsystems/legacy-bridge:^1.5.0" ``` ### Optional: Add missing legacy extensions diff --git a/README.md b/README.md index b0fe803c..9db29269 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,21 @@ [![Latest version](https://img.shields.io/packagist/v/ezsystems/legacy-bridge.svg?style=flat-square)](https://packagist.org/packages/ezsystems/legacy-bridge) [![License](https://img.shields.io/packagist/l/ezsystems/legacy-bridge.svg?style=flat-square)](LICENSE) -This package integrates eZ Publish Legacy into eZ Platform. It is an extract of the Legacy backwards compatibility -features that were part of eZ Publish 5.x. +This package integrates eZ Publish Legacy into eZ Platform. It is an enhanced version of LegacyBundle that were part of +eZ Publish 5.x, providing even more features to simplify running Platform stack and legacy together. -It is meant to be installed as an addition to eZ Platform, starting from version 15.01. +It is meant to be installed as an addition to eZ Platform 1.13.x - 2.x installs when you need legacy for migration. + +** NOTE: Legacy bridge will not be supported for eZ Platform 3.x** +_eZ Platform 3.x aims to finally start improving database schema again, which will break legacy comparability. +Recommendation is to use eZ Platform / Platform Enterprise 2.5LTS to handle migration needs, and once done evaluate 3.x upgrade._ See [INSTALL.md](INSTALL.md) for the installation procedure. ### Reporting issues -As Legacy Bridge is co-maintained by the community and eZ Engineering *(as active community members)*, issues found can be reported directly here on Github. There is no SLA on fixes, this is all on voluntary basis, and we welcome you in contributing to issues in any form you you are capable of. +As Legacy Bridge is co-maintained by the community and eZ Engineering *(as active community members)*, issues found can be reported directly here on Github. +There is no SLA on fixes, this is all on voluntary basis, and we welcome you in contributing to issues in any form you you are capable of. ##### For Enterprise Customers diff --git a/composer.json b/composer.json index adb60ae8..36bfa2f1 100644 --- a/composer.json +++ b/composer.json @@ -12,14 +12,14 @@ "minimum-stability": "stable", "require": { "ezsystems/ezpublish-legacy-installer": "^2.0.4", - "ezsystems/ezpublish-legacy": ">=2017.08@dev", - "ezsystems/ezpublish-kernel": "^6.11@dev", - "sensio/distribution-bundle": "^3.0.36|^4.0.6|^5.0.6", - "twig/twig": "^1.27 | ^2.0" + "ezsystems/ezpublish-legacy": "^2017.12", + "ezsystems/ezpublish-kernel": "^6.13.4", + "sensio/distribution-bundle": "^3.0.36 | ^4.0.40 | ^5.0.23", + "twig/twig": "^1.36 | ^2.5" }, "require-dev": { - "matthiasnoback/symfony-dependency-injection-test": "^1.0", - "phpunit/phpunit": "^5.7", + "matthiasnoback/symfony-dependency-injection-test": "^1.1", + "phpunit/phpunit": "^5.7.27", "mikey179/vfsStream": "~1.1.0" }, "autoload": { @@ -34,7 +34,7 @@ "extra": { "ezpublish-legacy-dir": "ezpublish_legacy", "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-master": "1.5.x-dev" } } }