On the project page of a Drupal module there is a list of releases. The project owner can set for each one whether it is recommended, and the page displays that fact. For example if there are releases 2.0 and 3.0, it's possible for either one to be recommended or both.
I would like to know which releases are recommended without having to visit the project page of each module one-by-one. I would be interested in any type of answer: GUI, command line, API, etc.
I have already tried
- The GUI (/admin/reports/updates). It lists releases that are "also available" but does not indicate which are recommended.
- composer. It seems to have no idea of recommended. With my settings, it appears to pick the newer release except if it is less stable.
- drush. In drush 8, the rl command lists recommended releases but seems to be broken with current Drupal 8. Newer drush does not have this command.
- Code. The return value of update_get_available() or update_calculate_project_data() don't seem to contain this information.