Skip to content

Commit

Permalink
3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed Dec 5, 2021
1 parent 535bdcb commit 85d58c2
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 27 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
46 changes: 23 additions & 23 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "gedmo/doctrine-extensions",
"type": "library",
"description": "Doctrine2 behavioral extensions",
"license": "MIT",
"type": "library",
"keywords": [
"behaviors",
"doctrine2",
Expand All @@ -17,8 +18,6 @@
"blameable",
"uploadable"
],
"homepage": "http://gediminasm.org/",
"license": "MIT",
"authors": [
{
"name": "Gediminas Morkevicius",
Expand All @@ -33,6 +32,11 @@
"email": "[email protected]"
}
],
"homepage": "http://gediminasm.org/",
"support": {
"email": "[email protected]",
"wiki": "https://github.com/Atlantic18/DoctrineExtensions/tree/main/doc"
},
"require": {
"php": "^7.2 || ^8.0",
"behat/transliterator": "~1.2",
Expand All @@ -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",
Expand All @@ -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/"
Expand All @@ -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": "[email protected]",
"wiki": "https://github.com/Atlantic18/DoctrineExtensions/tree/main/doc"
}
}
2 changes: 1 addition & 1 deletion src/DoctrineExtensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85d58c2

Please sign in to comment.