Install
Works with Drupal: ^10.3 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
First stable release.
Drupal core's Update Status module already works out which of your projects have updates available, but it only shows you at Reports > Available updates. This module wraps that same data in a service any code can call, and adds Drush commands that print it for a person at the terminal or as JSON/YAML for a script — so update status can feed a dashboard, a cron job, a deployment check or a CI pipeline.
What it provides
- Two Drush commands,
drush aui:updatesanddrush aui:security, reporting the installed and recommended versions of core, modules and themes, with release dates, release notes links and core compatibility. - Security, revoked and unsupported releases are called out and sorted to the top, so what matters is always the first thing you read.
--format=jsonand--format=yamlfor scripts, with notices and warnings kept on stderr so stdout stays parseable.--skip-refreshto report the data Drupal has already stored, with no network requests, for checks that run often.aui:securityexits non-zero when a security release is pending, so it can gate a build or a deployment.- The
adaptive_updates_info.updates_infoservice behind it all, withUpdatesInfoInterfacefor type hinting and autowiring in your own code.
The module is read only. It reads the update data core already fetches, and never writes to the database, changes site state, or installs an update itself.
Requirements
- Drupal 10.3 or Drupal 11
- PHP 8.1 or newer
- Core's Update Status (
update) module, installed automatically as a dependency - Drush 12 or newer for the commands. They are attribute based, so Drush 11 and earlier will not discover them. The service itself works without Drush.
Getting started
composer require drupal/adaptive_updates_info
drush en adaptive_updates_info
Then, to see what needs attention:
drush aui:updates
Or, for a machine:
drush aui:updates --all --format=json
There is no configuration and no user interface, so there is nothing to set up after enabling it.
Documentation
The README documents every option, the full list of report fields, the status values and how to use the service from your own code.
Upgrading
Nothing to do — this is the first release.