This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
sfp dependency:install causes package downgrades #1412
Labels
analysis
To be decided on how to solution/fix
We recently experienced an unexpected package downgrade when we installed a package dependent on another package with
version 1.0.0.LATEST
in an environment withversion 1.0.1.x
installed. We expected 1.0.1.x to "satisfy" the 1.0.0 requirement declared by the package being installed instead we observed thatsfp dependency:install
downgraded the packages in the target environment. In this case all the packages involved are unlocked packages. The versions of the installed packages can be found from the target environment and DX@Scale knows the available version both in the devhub and the package repo. Is is possible to only upgrade / downgrade if a package requests a version with a different major number?I'm not sure if the framework officially supports or endorses semantic versioning.
dependent on version: 1.0.0.LATEST
Installed version 1.0.1.x
Expected: Installed version is left along
Observed: target environment is downgraded to 1.0.0.y
The text was updated successfully, but these errors were encountered: