- Issue created by @SirClickALot
- π©πͺGermany jurgenhaas Gottmadingen
Updating to Drupal 10.3 first while still remaining on ECA 1 is the recommended approach because Drupal 10.3 comes with some significant changes in itself, so getting that up and running first is great. Only then should you start updating other components like e.g. ECA (and related modules) from 1 to 2.
What you're seeing about eca_ui and other (in fact all about
eca_*
) is an oddity of the Drupal composer facade. There is only really thedrupal/eca
package in either version 1 or 2. All the sub-modules in that package are exposed to the outside world as well, but that's misleading. You can't actually install e.g. eca_ui in a different version from the main eca package.When it comes to the independent package bpmn_io, that is also available in version 1 or 2. If your constraints in composer.json allow both, then it checks for bpmn_io 2.0.0 and that requires eca 2.0 as well. That's why you see that suggestion you mentioned above.
In order to only update Drupal core to 10.3 and leave ECA et al at version 1, make sure that you have the following constraints in your composer.json:
"drupal/core": "^10.3", "drupal/bpmn_io": "^1", "drupal/eca": "^1",
That will remain on ECA 1 for all its components and updates core to 10.3.
- π¬π§United Kingdom SirClickALot Somerset
Thank you for the clarification.
I have now updated to Drupal 10.3 and, WRT the ECA and BPMN.io, my current composer.json reads...
... "drupal/bpmn_io": "^1.1", "drupal/eca": "^1.1", ...
Is that still OK for sticking (since you mention
"^1
above) - π©πͺGermany jurgenhaas Gottmadingen
Yes, you can see the constraint documentation at https://getcomposer.org/doc/articles/versions.md#writing-version-constra...
A constraint
^1.1
means at least version 1.1.1 and lower than 2.0.0