Install

Works with Drupal: ^10.3 || ^11 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 244.6 KB
MD5: 159b2a94e224d5fc176a892d3693974d
SHA-1: d7d10202e6494f16746ec255782bac71db38db4a
SHA-256: 718b7d9e518909615784a023531c1261984605a729da16ebba0bcac6c0c8e5f7
Download zip 314.5 KB
MD5: b71b36f7f8880f3c193edd722457163a
SHA-1: cd291362ec930a11af52ba601ad60c89ed66b925
SHA-256: 41eff33af7c4523217b7e812398a1d31dc470fe38bfe41292e9e561cf030fbfc

Release notes

First release candidate for 2.2.0. It adds Drupal 12 support, requires Drupal 10.3 or later, and includes a large set of fixes for reliability, memory use and the link index. Please test it on a staging copy and report any regressions in #3624551: [meta] Plan for 2.2.0 release.

Highlights

Before you upgrade

  • Run drush updb. Update 8008 changes linkchecker_index.entity_id to a string and rebuilds the table's primary key, which can take a while on sites with a large link index. Post-updates move existing settings to the new structure, for example filter_blacklist becomes filter_blocklist.
  • Drupal 10.3 or later is required.
  • Developers: links are extracted when the request ends, not during $entity->save(). Several services and plugins have API changes; see the change records below.

Contributors (61)

AndreRB, Anybody, Project-Update-Bot, VladimirAus, alexh, alorenc, andras_szilagyi, andrerb, anybody, ashbeeb, bburg, bgilhome, bond708, c-logemann, cgoffin, claudiu.cristea, claudiucristea, codebymikey, daniel_j, davidburns, dimilias, divya.sejekan, dozz, eiriksm, enchufe, ericgsmith, fengtan, gngn, groendijk, gugalamaciek, hass, huzooka, idflood, joelpittet, joseph.olstad, joshf, jurgenhaas, jwilson3, kala4ek, lambert, lee.cocklin, liam morland, mably, marc.bau, mdranove, mgugala, naidim, nitinkumar_7, patrickharris, quadrexdev, rosk0, rp7, saidatom, schlaukopf, scotwith1t, shivam_tiwari, solideogloria, vistree, vladimiraus, webflo, xjkwak

Changelog

Issues: 37 issues resolved.

Changes since 2.1.0 (compare):

Bug

  • feat: #3580971 Remove VERSION from libraries.yml
  • #3572942: Fix 'recent log entries' link url.
  • fix: #3607990 Trim whitespace from link URLs to prevent MalformedUriException halting link checks
  • fix: #3567956 linkchecker_index table does not support entities with string IDs
  • fix: #3469263 Links never checked
  • fix: #3620347 checkParentEntityAccess() passes "update" into a field access check that only expects "view"/"edit"
  • fix: #3604202 Invalid href attribute value in WYSIWYG field causes fatal error during link checking
  • fix: #3622994 Uncaught MalformedUriException from Guzzle crashes cron when a link's URL is malformed
  • fix: #3616774 Text format filters are not taken into account
  • fix: #3543895 Deferred link extraction still runs for entities deleted in the same request
  • fix: #3624900 Link cleanup fails when the queue table does not exist
  • fix: #3369063 Database exception: Unknown column 'base.' when using entity types without bundle
  • fix: #3615891 Link extraction status can be wrong when the source field is removed
  • fix: #3626810 Convert parent_entity_id entity field from integer to string to match entity_id
  • fix: #3625860 Errors messages logged while running cron are confusing
  • fix: #3626994 Queued entities of different types with the same ID overwrite each other
  • fix: #3607810 Missing index on parent_entity_type_id+parent_entity_id and url hash
  • fix: #3482160 "The link *** will be checked on next cron run" on every redirect
  • fix: #3627255 Memory issues when scanning for links
  • fix: #3609786 Allow broken links report users to view linkchecker link entities

Feature

  • feat: #3622264 Avoid expensive operations while client waits for response
  • feat: #3539894 Add parent entity relationship
  • feat: #3614972 Provide option to only check links found in default translation
  • feat: #3313343 Add option to disable cron activity
  • feat: #3135654 Allow nested entities (like Paragraphs) in 'Page entity label' and 'Page entity link' Views fields
  • feat: #2958196 Status code 308 for Permanent Redirect

Misc

  • Edit LinkExtractorBatch.php to add new query tag.

Task

  • fix: #3582328 Fix broken tests blocking CI pipeline success
  • task: #3616020 Fix PHPStan errors for deprecated user loading and entity storage injection
  • task: #3334562 Missing "own broken links report"
  • task: #3562339 Use PHP attributes instead of annotations for plugins
  • task: #3402569 Handling "Unhandled link error" on SSL cert problem
  • task: #3468342 Change "Default URL scheme" to HTTPS
  • Resolve #3629131 "Require drupal 10.3"
  • task: #3633184 Parent field updates can leave Linkchecker schema changes pending
  • task: #3441943 Allow non-standard response codes like 418 to be ignored
  • task: #3601409 Drupal 12 compatibility
  • fix: #3634428 Views bulk form throws TypeError when access to a link action is denied

Change Records

Created by: joelpittet
Created on: 30 Oct 2026 at 23:25 UTC
Last updated: 30 Oct 2026 at 23:25 UTC
Bug fixes
New features

Other releases