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.
- Add Drupal 10 compatibility
- 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 typeentity
EntityAliasDependencyInterface::TYPE_PATH_ALIAS
is removedEntityAliasDependencyCollectionInterface::getAliases
is removedEntityAliasDependencyCollectionInterface::addPathAlias
is removedPatternTokenDependencyProviderBase::getEntityAlias(EntityInterface $entity): ?array
is replaced withPatternTokenDependencyProviderBase::getPathAliasByEntity(EntityInterface $entity): ?PathAliasInterface
- Dependencies with type
- 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
- 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.
- Prevent errors when entity_alias_dependency schema is not yet installed
- Streamline annotation/interface names
- Remove hook_event_dispatcher dependency
- Fix too narrow typehint
- Add dependencies for all existing entities after module installation
- Add support for entity reference field tokens
- Change dependencies to be entities instead of key_value entries
- Rename most classes to be more logical
- 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
- Add PatternDependencyStorage service
- Automatically add new menu links as dependencies of their referenced entities
- Fix
Call to undefined function Drupal\wmpathauto\Plugin\PatternTokenDependencies\_token_menu_link_best_match()
- Add menu link & url token support
- Pass options array to dependency collectors
- Change keyvalue key
- Call parents in SystemDate & SystemSite constructors
- 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
- PatternTokenDependencies now handle arrays of tokens instead of individual tokens
- Add missing hook_event_dispatcher dependency
- Add missing pathauto Composer dependency
- Add Drupal 8.8 requirement
- Lowered PHP dependency to 7.1
- Remove composer.lock
Initial release