Take composer version aliases into account when setting plugin version. This will fix many issues that I have when requiring forks that have a dev-x version in composer. Example:
"craftcms/commerce": "dev-bugfix/payment-currency-convert as 3.3.4.1", saves dev-bugfix/payment-currency-convert as the plugins' version. In commerce itself, there is a lot of version_compare going on which doesn't play nice with this logic.
So there is really no way for me now to load a commerce fork...
Take composer version aliases into account when setting plugin version. This will fix many issues that I have when requiring forks that have a
dev-x
version in composer. Example:"craftcms/commerce": "dev-bugfix/payment-currency-convert as 3.3.4.1",
savesdev-bugfix/payment-currency-convert
as the plugins' version. In commerce itself, there is a lot ofversion_compare
going on which doesn't play nice with this logic.So there is really no way for me now to load a commerce fork...