From 85d58c24584a50db3872357ab6a68e3479ae7590 Mon Sep 17 00:00:00 2001 From: Javier Spagnoletti Date: Sat, 4 Dec 2021 19:53:52 -0300 Subject: [PATCH] 3.4.0 --- CHANGELOG.md | 9 +++++--- composer.json | 46 +++++++++++++++++++------------------- src/DoctrineExtensions.php | 2 +- 3 files changed, 30 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4d668288e..fba0c9cf15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,17 +19,20 @@ a release. --- ## [Unreleased] + +## [3.4.0] - 2021-12-05 ### Added - PHP 8 Attributes support for Doctrine MongoDB to document & traits. - Support for doctrine/dbal >=3.2. - Timestampable: Support to use annotations as attributes on PHP >= 8.0. - Loggable: Support to use annotations as attributes on PHP >= 8.0. -### Changes -- Translatable: Dropped support for other values than "true", "false", "1" and "0" in the `fallback` attribute of the XML mapping. +### Changed +- Translatable: Dropped support for other values than "true", "false", "1" and "0" in the `fallback` attribute of the `translatable` + element in the XML mapping. - Tree: Dropped support for other values than "true", "false", "1" and "0" in the `activate-locking` attribute of the `tree` element in the XML mapping. - Tree: Dropped support for other values than "true", "false", "1" and "0" in the `append_id`, `starts_with_separator` and +- Tree: Dropped support for other values than "true", "false", "1" and "0" in the `append_id`, `starts_with_separator` and `ends_with_separator` attributes of the `tree-path` element in the XML mapping. - Dropped support for doctrine/dbal < 2.13.1. - The third argument of `Gedmo\SoftDeleteable\Query\TreeWalker\Exec\MultiTableDeleteExecutor::__construct()` requires a `Doctrine\ORM\Mapping\ClassMetadata` instance. diff --git a/composer.json b/composer.json index 0ea179e396..436c621c73 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,8 @@ { "name": "gedmo/doctrine-extensions", - "type": "library", "description": "Doctrine2 behavioral extensions", + "license": "MIT", + "type": "library", "keywords": [ "behaviors", "doctrine2", @@ -17,8 +18,6 @@ "blameable", "uploadable" ], - "homepage": "http://gediminasm.org/", - "license": "MIT", "authors": [ { "name": "Gediminas Morkevicius", @@ -33,6 +32,11 @@ "email": "david@liip.ch" } ], + "homepage": "http://gediminasm.org/", + "support": { + "email": "gediminas.morkevicius@gmail.com", + "wiki": "https://github.com/Atlantic18/DoctrineExtensions/tree/main/doc" + }, "require": { "php": "^7.2 || ^8.0", "behat/transliterator": "~1.2", @@ -42,13 +46,6 @@ "doctrine/event-manager": "^1.0", "doctrine/persistence": "^1.3.3 || ^2.0" }, - "conflict": { - "doctrine/cache": "<1.11", - "doctrine/dbal": "<2.13.1 || ^3.0 <3.2", - "doctrine/mongodb-odm": "<2.0", - "doctrine/orm": "<2.10.2", - "sebastian/comparator": "<2.0" - }, "require-dev": { "doctrine/cache": "^1.11 || ^2.0", "doctrine/dbal": "^2.13.1 || ^3.2", @@ -64,20 +61,18 @@ "symfony/console": "^4.4 || ^5.3 || ^6.0", "symfony/yaml": "^4.4 || ^5.3 || ^6.0" }, + "conflict": { + "doctrine/cache": "<1.11", + "doctrine/dbal": "<2.13.1 || ^3.0 <3.2", + "doctrine/mongodb-odm": "<2.0", + "doctrine/orm": "<2.10.2", + "sebastian/comparator": "<2.0" + }, "suggest": { "doctrine/mongodb-odm": "to use the extensions with the MongoDB ODM", "doctrine/orm": "to use the extensions with the ORM", "symfony/cache": "to cache parsed annotations" }, - "config": { - "bin-dir": "bin", - "sort-packages": true - }, - "extra": { - "branch-alias": { - "dev-main": "3.4-dev" - } - }, "autoload": { "psr-4": { "Gedmo\\": "src/" @@ -88,11 +83,16 @@ "Gedmo\\Tests\\": "tests/Gedmo/" } }, + "config": { + "bin-dir": "bin", + "sort-packages": true + }, + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + } + }, "scripts": { "fix-cs": "php-cs-fixer fix --config=.php-cs-fixer.dist.php" - }, - "support": { - "email": "gediminas.morkevicius@gmail.com", - "wiki": "https://github.com/Atlantic18/DoctrineExtensions/tree/main/doc" } } diff --git a/src/DoctrineExtensions.php b/src/DoctrineExtensions.php index 0ecd3c663a..975da1f8ee 100644 --- a/src/DoctrineExtensions.php +++ b/src/DoctrineExtensions.php @@ -32,7 +32,7 @@ final class DoctrineExtensions /** * Current version of extensions */ - public const VERSION = '3.3.1'; + public const VERSION = '3.4.0'; /** * Hooks all extension metadata mapping drivers into