Let's imagine the following situation:
I'm developing on Extension A and have Extension B included as an optional dependency. I've now made some change in logic in Extension A which requires a recent version of Extension B (if it's enabled). The issue which led to me writing this post is that sometimes I've forgotten to update the version of Extension B, which led to me (sort of) breaking my local dev instances a couple of times.
Therefore, I propose to require a version constraint to be defined and implemented for optional dependencies in extensions, just as they are for required and dev dependencies. Though for most situations, the wildcard constraint *
can be used.
Opinions? Would this be desirable for 2.0?