Install
Works with Drupal: ^10.2 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Maintenance and feature release resolving 34 issues, notably adding translatable patterns for multilingual alias support, converting to OOP hooks, restoring compatibility with Drupal core 11.3.4 (UUID schema change) and PHP 8.5, plus numerous fixes around alias generation, deletion, and cache invalidation.
Upgrade note: after updating to 8.x-1.15, run update.php (or drush updatedb) to apply pathauto_post_update_remove_uuid_config_key(). See #2895873 for details.
Contributors (63)
Abdullah Yassin, Hydra, Lingamurthy, NexusNovaz, Sonal Gyanani, adeshsharma, akalam, alessons, alex.skrypnyk, andregp, anweshasinha, anybody, ayush.khare, berdir, borisson_, codebymikey, damienmckenna, danflanagan8, deviantintegral, fanton, fisherman90, grevil, harlor, hydra, idebr, james.williams, jamesoakley, jameswilliams, jeroent, joachim, jrsouth, karlshea, kekkis, lrwebks, mably, meeni_dhobale, meichr, minirobot, morvaim, mxr576, nedjo, neslee canil pinto, nexusnovaz, ngkoutsaik, nicxvan, nikolay shapovalov, pobster, quadrexdev, rajab natshah, rcodina, ressa, richard.walker.ardc, ricksta, rinku jacob 13, shayaanmiyy, shubham rathore, shubhamrathore01, solideogloria, srijeeta, vtkachenko, yahyaalhamad, zniki.ru, zserno
Changelog
Issues: 34 issues resolved.
Changes since 8.x-1.14 (compare):
Bug
- #3313566 strlen(): Passing null to parameter #1 when using PHP 8.1
- #3367067 All aliases are deleted if entity with url is deleted
- #2728725 Special characters like tab or spaces in pattern can break alias generation
- #2212891 Check if drupalSetSummary method is defined in pathauto.js
- #3072876 Pattern not removed when deleting the corresponding entity
- #3577286 Drupal core 11.3.4 removed uuid from condition plugin schema which causes schema errors in pathauto pattern configuration
- #3267989 "The alias is already in use in this language" should not be thrown when "automatic URL alias" is enabled
- #3247809 Notice of updated alias when there was no change
- #3285655 preg_match() compilation failed: range out of order
- #2662044 Cache not invalidated after bulk alias generation or deletion
- #3187945 Fix hooks and documentation to alter source path
Feature
- #2827121 Make pattern property translatable for multilingual alias support
- #3181986 Add support for unicode soft hyphens on punctuation logic
- #3217226 Allow contexts to be altered in hook_pathauto_pattern_alter
- #2895873 UUID is regenerated every time a pattern is saved
Task
- #3550710 Convert to OOP hooks
- #3553071 Attributes and other deprecations
- #3571828 Fix failing kernel test
- #3330512 Update README.md file according to README.md template
- #3571880 Global phpcs fixes
- #3411805 Fix eslint violations
- #3571922 cspell fixes
- #3571944 phpstan fixes
- #3572617 Add Tugboat support
- #3124089 t() calls should be avoided in classes
- #3387049 Increase the default maximum alias length
- #3306538 PathAutoGenerator: @todo convert to multi-exception handling in PHP 7.1.
- #3524445 UPDATE_ACTION_DELETE should document that it works by updating the alias entity
- #3573353 Improve flaky tests
- #3254157 Inline comments mentioning backslash when meaning (forward) slash
- #3419907 Improve status message on alias create/update
- #3576435 PHP 8.5 deprecation
- #3582321 Failing test on previous minor/major due to forum/history dependency