Doctrine Extensions v3.9.0 Release Notes
Release Date: 2022-09-22 // over 1 year ago-
๐ 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()
Previous changes from v3.8.0
-
โ 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