Problem/Motivation
Changes to Drupal core in 10.3 break the API endpoint that returns the modules/projects status.
The issue that resulted in the change is https://www.drupal.org/project/drupal/issues/3112962
The code change/commit is here https://git.drupalcode.org/project/drupal/-/commit/97bb6c83a32a3346a69f518e72a9339cc23bc292
The ProjectCoreCompatibility class has had an extra parameter added to its constructor.
Steps to reproduce
Install Site Guardian API module on any 10.3.x, enable the module and then visit "admin/config/development/site_guardian/endpoints" and click the "Enabled projects with versions and available update info" link. The call will fail.
Proposed resolution
Update the Site Guardian API call to mirror the way core now calls ProjectCoreCompatibility by adding the supported_branches variable.
User interface changes
None
API changes
None
Data model changes
None
Issue fork site_guardian-3467111
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
seeduardo commentedTested and all good.
Comment #5
arcaicComment #6
arcaic