It is impossible to update Drupal CMS Olivero because the starter recipe's version constraint is too strict

Created on 20 March 2025, 14 days ago

Problem/Motivation

@alexpott found me on Slack and pointed out that, because drupal_cms_starter uses a ~ operator for its Drupal CMS Olivero constraint, it is impossible to update the theme to its 1.1.x line if you set up a Drupal CMS site that relies on the 1.0.x version of the starter recipe.

This is a problem because it means we cannot mark the 1.0.x version of the theme as unsupported, and it can hurt our ability to handle security updates, should any be necessary. A theme is an extension with a lifecycle, and no other extensions required by Drupal CMS are constrained with ~, for precisely this reason. The fact that we used it for the Olivero subtheme was an oversight.

Proposed resolution

Relax the constraint so that it's ^ instead of ~. This will be committed to all three release branches of Drupal CMS, including the defunct 1.0.x version. Then release drupal_cms_starter 1.0.4 with this fix.

πŸ› Bug report
Status

Active

Component

Base Recipe

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024