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 to abs() 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 to Nested::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() and NestedTreeRepository::removeFromTree() when something fails in the transaction, it uses the code from the original exception to construct the \Gedmo\Exception\RuntimeException instance instead of null.

    ๐Ÿ›  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() and AbstractMaterializedPath::getChildren()
    • ๐Ÿ“‡ Retrieving the proper metadata cache from Doctrine when using a CacheWarmer.