Skip to content

Latest commit

 

History

History
101 lines (80 loc) · 3.36 KB

CHANGELOG.md

File metadata and controls

101 lines (80 loc) · 3.36 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[3.0.2] - 2023-12-18

  • Add Drupal 10 compatibility

[3.0.1] - 2021-01-25

Fixed

  • Fix alias dependencies with type pid not working anymore in Drupal 9 due to aliases becoming entities
    • Dependencies with type pid are changed to dependencies with type entity
    • EntityAliasDependencyInterface::TYPE_PATH_ALIAS is removed
    • EntityAliasDependencyCollectionInterface::getAliases is removed
    • EntityAliasDependencyCollectionInterface::addPathAlias is removed
    • PatternTokenDependencyProviderBase::getEntityAlias(EntityInterface $entity): ?array is replaced with PatternTokenDependencyProviderBase::getPathAliasByEntity(EntityInterface $entity): ?PathAliasInterface
  • Collect & update dependencies on entity translation insert
  • Add dependencies for all translations of existing entities as well
  • Fix wmsingles token parser adding wrong path alias as dependency

Changed

  • During module install, add dependencies for all existing entities using a queue to prevent delays and/or memory issues. Make sure to run cron after install if that doesn't happen automatically.

[3.0.0] - 2020-07-23

Fixed

  • Prevent errors when entity_alias_dependency schema is not yet installed

Changed

  • Streamline annotation/interface names

Removed

  • Remove hook_event_dispatcher dependency

[2.0.1] - 2020-06-19

Fixed

  • Fix too narrow typehint

[2.0.0] - 2020-03-26

Added

  • Add dependencies for all existing entities after module installation
  • Add support for entity reference field tokens

Changed

  • Change dependencies to be entities instead of key_value entries
  • Rename most classes to be more logical

Fixed

  • Add an entity's own menu link as dependency when it has menu link parent(s) tokens
  • Re-resolve dependencies from a menu link's referenced entity after updating this menu link, since the menu link tree might have changed
  • Delete dependencies when the path, config or entity they are referencing are deleted
  • Fix error when creating unrouted menu link
  • Fix base fields not being installed during module install

[1.3.0] - 2020-02-04

Added

  • Add PatternDependencyStorage service
  • Automatically add new menu links as dependencies of their referenced entities

Fixed

  • Fix Call to undefined function Drupal\wmpathauto\Plugin\PatternTokenDependencies\_token_menu_link_best_match()

[1.2.0] - 2020-01-24

Added

  • Add menu link & url token support

Changed

  • Pass options array to dependency collectors
  • Change keyvalue key

Fixed

  • Call parents in SystemDate & SystemSite constructors

[1.1.0] - 2020-01-24

Added

  • Add support for entity & config dependencies
  • Add support for chained tokens
  • Add PatternDependencyCollection, a wrapper object for pattern dependencies
  • Add node, system date & system site token dependency handlers

Changed

  • PatternTokenDependencies now handle arrays of tokens instead of individual tokens

Fixed

  • Add missing hook_event_dispatcher dependency
  • Add missing pathauto Composer dependency
  • Add Drupal 8.8 requirement
  • Lowered PHP dependency to 7.1

Removed

  • Remove composer.lock

[1.0.0] - 2020-01-23

Initial release