You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current pace of Salesforce innovation (in particular with Agentforce), some projects are not deployable by users running older versions of the Salesforce CLI as support for newer metadata types might be missing or incomplete. We experienced this issue a number of times with the official Sample Apps.
Proposed Solution
My recommendation to address this issue is to add an optional "minium required CLI version" property in the sfdx-project.json. This would let the project owners specify which CLI version is required to run the project.
When a user runs commands within the project and, if the property is specified, the CLI checks its version against the minium required versions. If the requirement is not met, the CLI throws an error and ask the user to update.
Implementing this simple feature would save time for everyone: users, project owners and support teams.
Nice to have: this feature request could be extended to required plugin versions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Problem
With the current pace of Salesforce innovation (in particular with Agentforce), some projects are not deployable by users running older versions of the Salesforce CLI as support for newer metadata types might be missing or incomplete. We experienced this issue a number of times with the official Sample Apps.
Proposed Solution
My recommendation to address this issue is to add an optional "minium required CLI version" property in the
sfdx-project.json
. This would let the project owners specify which CLI version is required to run the project.When a user runs commands within the project and, if the property is specified, the CLI checks its version against the minium required versions. If the requirement is not met, the CLI throws an error and ask the user to update.
Implementing this simple feature would save time for everyone: users, project owners and support teams.
Nice to have: this feature request could be extended to required plugin versions.
Beta Was this translation helpful? Give feedback.
All reactions