All Versions
32
Latest Version
Avg Release Cycle
50 days
Latest Release
943 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v3.9.0 Changes
September 22, 2022๐ Fixed
- Tree: Allow sorting children by a ManyToOne relation (#2492)
- Tree: Fix passing
null
toabs()
function - ๐ Timestampable: Use an attribute in Timestampable attribute docs
- โก๏ธ Sortable: Fix duplicated positions when manually updating position on more than one object
๐ Deprecated
- Tree: Passing
null
as argument 8 toNested::shiftRangeRL()
-
v3.8.0 Changes
July 17, 2022โ Added
- ๐ Sluggable: Add support for
DateTimeImmutable
fields - Tree: [NestedSet]
childrenQueryBuilder()
to allow specifying sort order separately for each field - Tree: [NestedSet] Added option to reorder only direct children in
reorder()
method
๐ Changed
- ๐ Tree: In
ClosureTreeRepository::removeFromTree()
andNestedTreeRepository::removeFromTree()
when something fails in the transaction, it uses thecode
from the original exception to construct the\Gedmo\Exception\RuntimeException
instance instead ofnull
.
๐ Fixed
- Sluggable: Cast slug to string before passing it as argument 2 to
preg_match()
(#2473) - Sortable: [SortableGroup] Fix sorting date columns in SQLite (#2462).
- ๐ PHPDoc of
AbstractMaterializedPath::removeNode()
andAbstractMaterializedPath::getChildren()
- ๐ Retrieving the proper metadata cache from Doctrine when using a CacheWarmer.
- ๐ Sluggable: Add support for
-
v3.7.0 Changes
May 17, 2022โ Added
- โ Add support for doctrine/persistence 3
๐ Changed
- โ Removed call to deprecated
ClassMetadataFactory::getCacheDriver()
method. - โฌ๏ธ Dropped support for doctrine/mongodb-odm < 2.3.
- ๐ Make doctrine/cache an optional dependency.
๐ Fixed
- Loggable: Fix
appendNumber
renaming for files without extension (#2228)
-
v3.6.1 Changes
July 26, 2022๐ Fixed
- ๐ Sortable: Fix issue with add+delete position synchronization (#1932) ```
-
v3.6.0 Changes
March 19, 2022โ Added
- ๐ Translatable: Add defaultTranslationValue option to allow null or string value (#2167). TranslatableListener can hydrate object properties with null value, but it may cause a Type error for non-nullable getter upon a missing translation.
๐ Fixed
- Uploadable:
FileInfoInterface::getSize()
return type declaration (#2413). - Tree: Setting a new Tree Root when Tree Parent is
null
. - โก๏ธ Tree: update cache key used by Closure to match Doctrine's one (#2416).
- Tree: persist order does not affect entities on Closure (#2432)
-
v3.5.0 Changes
January 10, 2022โ Added
- ๐ SoftDeleteable: Support to use annotations as attributes on PHP >= 8.0.
- ๐ Blameable: Support to use annotations as attributes on PHP >= 8.0.
- ๐ IpTraceable: Support to use annotations as attributes on PHP >= 8.0.
- ๐ Sortable: Support to use annotations as attributes on PHP >= 8.0.
- ๐ Sluggable: Support to use annotations as attributes on PHP >= 8.0.
- ๐ Uploadable: Support to use annotations as attributes on PHP >= 8.0.
- ๐ Tree: Support to use annotations as attributes on PHP >= 8.0.
- ๐ References: Support to use annotations as attributes on PHP >= 8.0.
- ๐ ReferenceIntegrity: Support to use annotations as attributes on PHP >= 8.0.
- ๐ SoftDeleteable: Support for custom column types (like Carbon).
- ๐ Timestampable: Support for custom column types (like Carbon).
- ๐ Translatable: Added an index to
Translation
entity to speed up searches usingGedmo\Translatable\Entity\Repository\TranslationRepository::findTranslations()
method. Gedmo\Mapping\Event\AdapterInterface::getObject()
method.
๐ Fixed
- ๐ง Blameable, IpTraceable, Timestampable: Type handling for the tracked field values configured in the origin field.
- Loggable: Using only PHP 8 attributes.
- ๐ References: Avoid deprecations using LazyCollection with PHP 8.1
- Tree: Association mapping problems using Closure tree strategy (by manually defining mapping on the closure entity).
- Wrong PHPDoc type declarations.
- ๐ Avoid calling deprecated
AbstractClassMetadataFactory::getCacheDriver()
method. - ๐ Avoid deprecations using
doctrine/mongodb-odm
>= 2.2 - ๐ Translatable:
Gedmo\Translatable\Document\Repository\TranslationRepository::findObjectByTranslatedField()
method accessing a non-existing key.
๐ Deprecated
- ๐ Tree: When using Closure tree strategy, it is deprecated not defining the mapping associations of the closure entity.
- ๐ฒ
Gedmo\Tool\Logging\DBAL\QueryAnalizer
class without replacement. - ๐ Using YAML mapping is deprecated, you SHOULD migrate to attributes, annotations or XML.
Gedmo\Mapping\Event\AdapterInterface::__call()
method.Gedmo\Tool\Wrapper\AbstractWrapper::clear()
method.Gedmo\Tool\Wrapper\WrapperInterface::populate()
method.
๐ Changed
- ๐ง In order to use a custom cache for storing configuration of an extension, the user has to call
setCacheItemPool()
on the extension listener passing an instance ofPsr\Cache\CacheItemPoolInterface
.
-
v3.4.0 Changes
December 05, 2021โ 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.
๐ Changed
- ๐ Translatable: Dropped support for other values than "true", "false", "1" and "0" in the
fallback
attribute of thetranslatable
element in the XML mapping. - ๐ Tree: Dropped support for other values than "true", "false", "1" and "0" in the
activate-locking
attribute of thetree
element in the XML mapping. - Tree: Dropped support for other values than "true", "false", "1" and "0" in the
append_id
,starts_with_separator
andends_with_separator
attributes of thetree-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 aDoctrine\ORM\Mapping\ClassMetadata
instance.
-
v3.3.1 Changes
November 18, 2021๐ Fixed
- Translatable: Using ORM/ODM attribute mapping and translatable annotations.
- ๐ Tree: Missing support for
tree-path-hash
fields in XML mapping. - โก๏ธ Tree: Check for affected rows at
ClosureTreeRepository::cleanUpClosure()
andClosure::updateNode()
. Gedmo\Mapping\Driver\Xml::_loadMappingFile()
behavior in scenarios wherelibxml_disable_entity_loader(true)
was previously called.- ๐ Loggable: Missing support for
versioned
fields atattribute-override
in XML mapping.
-
v3.3.0 Changes
November 15, 2021โ Added
- ๐ Support to use Translatable annotations as attributes on PHP >= 8.0.
๐ Deprecated
- ๐
Gedmo\Mapping\Driver\File::$_paths
property andGedmo\Mapping\Driver\File::setPaths()
method are deprecated and will be removed in version 4.0, as they are not used.
๐ Fixed
- Value passed in the
--config
option tofix-cs
Composer script. - Return value for
replaceRelative()
andreplaceInverseRelative()
atGedmo\Sluggable\Mapping\Event\Adapter\ODM
if the query result does not implementDoctrine\ODM\MongoDB\Iterator\Iterator
. - โช Restored compatibility with doctrine/orm >= 2.10.2 (#2272).
Since doctrine/orm 2.10,
Doctrine\ORM\UnitOfWork
relies on SPL object IDs instead of hashes, thus we need to adapt our codebase in order to be compatible with this change. AsDoctrine\ODM\MongoDB\UnitOfWork
from doctrine/mongodb-odm still usesspl_object_hash()
, allspl_object_hash()
calls were replaced byspl_object_id()
to make it work with both ORM and ODM managers.
-
v3.2.0 Changes
October 05, 2021โ Added
- PHP 8 Attributes for Doctrine ORM to entities & traits (#2251)
๐ Fixed
- โ Removed legacy checks targeting older versions of PHP (#2201)
- โ Added missing XSD definitions (#2244)
- Replaced undefined constants from
Doctrine\DBAL\Types\Type
atGedmo\Translatable\Mapping\Event\Adapter\ORM::foreignKey()
(#2250) - โ Add conflict against "doctrine/orm" >=2.10 in order to guarantee the schema extension (see https://github.com/doctrine/orm/pull/8852) (#2255)