Update drupal/redirect from 1.11.0 to 1.12.0

If you have a high test coverage index, and your tests for this pull request are passing, it should be both safe and recommended to merge this update.

Updated packages

Some times an update also needs new or updated dependencies to be installed. Even if this branch is for updating one dependency, it might contain other installs or updates. All of the updates in this branch can be found here:

  • drupal/redirect: 1.12.0 (updated from 1.11.0)
  • phpunit/php-code-coverage: 11.0.11 (updated from 11.0.10)
  • phpunit/phpunit: 11.5.35 (updated from 11.5.34)

Release notes

Here are the release notes for all versions released between your current running version, and the version this PR updates the package to.

List of release notes

Changed files

Here is a list of changed files between the version you use, and the version this pull request updates to:

List of changed files
  .cspell-project-words.txt
  .gitlab-ci.yml
  config/install/views.view.redirect.yml
  migrations/d7_path_redirect.yml
  modules/redirect_404/redirect_404.info.yml
  modules/redirect_404/redirect_404.module
  modules/redirect_404/src/Controller/Fix404IgnoreController.php
  modules/redirect_404/src/Form/RedirectFix404Form.php
  modules/redirect_404/src/SqlRedirectNotFoundStorage.php
  modules/redirect_404/tests/src/Functional/Fix404RedirectUITest.php
  modules/redirect_404/tests/src/Unit/SqlRedirectNotFoundStorageTest.php
  modules/redirect_domain/redirect_domain.info.yml
  modules/redirect_domain/redirect_domain.module
  modules/redirect_domain/src/Form/RedirectDomainForm.php
  modules/redirect_domain/tests/src/Unit/DomainRedirectRequestSubscriberTest.php
  phpstan-baseline.neon
  phpstan.neon
  redirect.api.php
  redirect.info.yml
  redirect.install
  redirect.module
  redirect.services.yml
  src/Entity/Redirect.php
  src/EventSubscriber/RedirectRequestSubscriber.php
  src/EventSubscriber/RouteNormalizerRequestSubscriber.php
  src/Form/RedirectDeleteForm.php
  src/Form/RedirectForm.php
  src/Form/RedirectSettingsForm.php
  src/Plugin/Field/FieldType/RedirectSourceItem.php
  src/Plugin/Field/FieldWidget/RedirectSourceWidget.php
  src/Plugin/Validation/Constraint/SourceLinkTypeConstraint.php
  src/Plugin/Validation/Constraint/UniqueHash.php
  src/Plugin/Validation/Constraint/UniqueHashValidator.php
  src/Plugin/migrate/source/d7/PathRedirect.php
  src/RedirectChecker.php
  src/RedirectRepository.php
  tests/modules/redirect_test/redirect_test.module
  tests/src/Functional/AssertRedirectTrait.php
  tests/src/Functional/GlobalRedirectTest.php
  tests/src/Functional/RedirectCacheTest.php
  tests/src/Functional/RedirectUILanguageTest.php
  tests/src/Functional/RedirectUITest.php
  tests/src/FunctionalJavascript/RedirectJavascriptTest.php
  tests/src/Kernel/Migrate/d7/PathRedirectSourceTest.php
  tests/src/Kernel/RedirectAPITest.php
  tests/src/Unit/RedirectCheckerTest.php
  tests/src/Unit/RedirectRequestSubscriberTest.php
  tests/src/Unit/RouteNormalizerRequestSubscriberTest.php

Changelog

Here is a list of changes between the version you use, and the version this pull request updates to:

  • 156ced4 Issue #3542970 by alexpott, anirudhsingh19, berdir: MatchingRouteNotFoundException is deprecated and is not thrown so why are we catching it
  • 22ce0d7 Issue #3525919 by alexpott, krystalcode: Validate hash using entity constraint instead of form validation
  • 66b252d Issue #3451531 by alexpott, ankitv18: PHPStan issue report in gitlab
  • d49bc29 Issue #3539165 by mglaman: Check if site is in maintenance mode before checking if user has access to maintenance mode
  • 3226109 Issue #3525927 by alexpott, krystalcode: Handle NULL source field value
  • 64d7fbf Issue #3424962 by amateescu, steven jones, alexpott: Allow redirects to be 'disabled'
  • 5db5bd3 Issue #3324524 by alexpott, samit.310@gmail.com: Fix the issues reported by phpcs
  • b23c1f3 Issue #3541107 by alexpott: Drop Drupal 9 and PHP 7 support
  • b38998f Issue #3525917 by alexpott, krystalcode: Invalidate cached responses when new redirects are added
  • c7446fc Issue #3540774 by alexpott: MakingCSpell pass and fail in future
  • 411b02f Issue #3525918 by alexpott, krystalcode: Form validation should return the entity
  • 4df4c3a Issue #3525915 by alexpott, krystalcode: Duplicate function call when processing source path
  • 7a395d3 Issue #3540719 by alexpott: Fix PathRedirectSourceTest and RouteNormalizerRequestSubscriberTest on 11.2.x and up

Working with this branch

If you find you need to update the codebase to be able to merge this branch (for example update some tests or rebuild some assets), please note that violinist will force push to this branch to keep it up to date. This means you should not work on this branch directly, since you might lose your work. Read more about branches created by violinist.io here.


This is an automated pull request from Violinist: Continuously and automatically monitor and update your composer dependencies. Have ideas on how to improve this message? All violinist messages are open-source, and can be improved here.

Merge request reports

Loading