All Versions
30
Latest Version
Avg Release Cycle
66 days
Latest Release
138 days ago

Changelog History
Page 1

  • v3.7.0

    May 17, 2022
  • 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 using Gedmo\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 of Psr\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 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 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.
  • 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() and Closure::updateNode().
    • Gedmo\Mapping\Driver\Xml::_loadMappingFile() behavior in scenarios where libxml_disable_entity_loader(true) was previously called.
    • ๐Ÿ‘ Loggable: Missing support for versioned fields at attribute-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 and Gedmo\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 to fix-cs Composer script.
    • Return value for replaceRelative() and replaceInverseRelative() at Gedmo\Sluggable\Mapping\Event\Adapter\ODM if the query result does not implement Doctrine\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. As Doctrine\ODM\MongoDB\UnitOfWork from doctrine/mongodb-odm still uses spl_object_hash(), all spl_object_hash() calls were replaced by spl_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 at Gedmo\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)
  • v3.1.0 Changes

    June 22, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Allow installing doctrine/cache 2.0 (thanks @alcaeus!)
    • ๐Ÿ‘‰ Make doctrine/cache a dev dependency
  • v3.0.5 Changes

    April 23, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ‘‰ Use path_separator when removing children (#2217)