Upgrade Status 5 Expands Drupal 12 Compatibility Checks

Reporting Fixes Prompt Fresh Compatibility Scans
Discover Drupal graphic titled "When AI Usage Has a Price But the Dashboard Shows Zero" featuring blue monitoring dashboards and data charts. Highlights gaps in AI cost estimates, request logging and data retention.

Maintainers released version 5.0.0 of the Upgrade Status module on 16 November 2026, expanding compatibility checks for major Drupal upgrades. The stable release supports Drupal 10.4 and later versions of Drupal 10, as well as Drupal 11 and 12. It also corrects a reporting failure that could conceal incomplete PHP analysis.

Developers preparing for Drupal 12 have reason to repeat compatibility scans completed with earlier versions of the module. Gábor Hojtsy, Upgrade Status maintainer, explained in a blog post published on 16 November that older results lack the additional checks and classifications. Version 5 clears stored results from version 4 and earlier version 5 alpha releases during its database update, requiring fresh analysis.

One important correction concerns PHPStan, a static analysis tool used by Upgrade Status to examine PHP code. Gábor identified cases where errors from PHPStan that were not associated with individual files were omitted from reports. A worker process failure, such as one caused by insufficient memory, could therefore leave an apparently successful report despite incomplete PHP analysis. The correction, recorded under issue #3635679, makes these failures visible in the report and log.

The reporting failure also affected automated compatibility assessments. The Drupal.org Project Update Bot uses Upgrade Status alongside Drupal Rector to identify and address compatibility problems in contributed projects. An incomplete analysis could allow the bot to propose marking a project as Drupal 12 compatible. The correction addresses the underlying reporting problem, although the release does not establish that the bot's production environment has adopted version 5.

According to Gábor, version 5 has approximately twice as many checkers and detects three times as many kinds of problems. New checks include deprecated JavaScript APIs and Drupal recipes, while existing analysis of Twig templates, libraries, configuration and dependencies has been expanded. Checks also cover deprecated hooks, services, routes, plugin definitions and additional environment requirements.

In Gábor's comparison of the same 14 projects, version 4 reported 556 problems, while version 5 identified 780, an increase of approximately 40%. Of the findings in version 5, 187 concerned APIs scheduled for removal after Drupal 12. These results illustrate the expanded coverage in the maintainer's test environment but do not establish how many additional problems other Drupal installations will encounter.

Another correction, documented under issue #3635680, clears older stored results that could otherwise retain outdated categories and project groupings after updating the module. The revised report distinguishes compatibility problems requiring immediate attention from dependency changes, fixes supported by Drupal Rector and deprecations affecting later major versions. It also identifies conditions that may reduce report accuracy, including outdated analysis tools and project update information.

Version 5 supports exports in HTML, Markdown, CSV, Code Climate JSON and Checkstyle XML. Its command-line tools support Drush 13 and later, as well as Drupal's native vendor/bin/dr utility on Drupal 11.4 and later. The analysis command returns exit code 3 when analysis fails or problems affecting the next major Drupal version are reported. Findings concerning only later major versions do not independently trigger that exit code.

Gábor also reports faster repeat analysis through changes that include retaining PHPStan caches for individual projects. Although he used AI assistance extensively during development, the module performs its compatibility checks locally without relying on an AI service. The results can also be used to review changes made by AI coding assistants.

Developers can obtain the stable release through Composer using composer require 'drupal/upgrade_status:^5.0'. The project documentation recommends running compatibility analysis on the existing Drupal installation before upgrading core. Supported Drupal 10 installations can be checked for Drupal 11 compatibility, while Drupal 11 installations can be assessed for Drupal 12. Direct upgrades from Drupal 10 to Drupal 12 are not supported.

After updating the module and applying its database updates in a development environment, developers can regenerate results through the administration interface or run drush upgrade-status:analyze --all. Upgrade Status identifies compatibility problems but does not automatically repair deprecated code. The separate Drupal Rector project can automate some supported fixes.

Drupal 12.0.0 is scheduled for the week of 7 December 2026, while Drupal 10 reaches its end of life on 9 December 2026. As previously covered in The DropTimes' Drupal 12 upgrade guide, developers must also account for platform requirements, removed core extensions and the required intermediate Drupal version. Fresh compatibility reports can inform those preparations but do not replace dependency checks and functional upgrade testing.

Disclosure: This content is produced with the assistance of AI.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related People

Upcoming Events

Latest Opportunities