diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index 846d2400..a0fc6757 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -25,6 +25,7 @@ jobs: phpunit-version: "8.5" phpunit-flags: "-v --coverage-text" symfony-version: "^4.4" + composer-require: "doctrine/annotations: '1.*'" - php-version: "7.4" phpunit-version: "8.5" diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f24cfa1..a3da8f18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ Changelog Version 2 ========= +2.5.1 +----- + +* Fix dependencies: phpcr-odm 2.0 has BC breaks not supported by this legacy version of the bundle. + To use phpcr-odm `2.*`, please use version 3 of this bundle. + 2.5.0 ----- diff --git a/composer.json b/composer.json index 91c10175..d133f043 100644 --- a/composer.json +++ b/composer.json @@ -36,8 +36,9 @@ "twig/twig": "< 1.42.3" }, "require-dev": { + "doctrine/annotations": "^1.0 || ^2.0", "doctrine/doctrine-bundle": "^1.8 || ^2.0", - "doctrine/phpcr-odm": "^1.5.2 || ^2.0", + "doctrine/phpcr-odm": "^1.5.2", "jackalope/jackalope-doctrine-dbal": "^1.3", "matthiasnoback/symfony-dependency-injection-test": "^4.1", "symfony/asset": "^4.3 || ^5.0 || ^6.0",