Skip to content

feat(W-18699019): only warn about old plugin versions#2256

Merged
cristiand391 merged 5 commits into
mainfrom
mdonnalley/mismatch-warning
Jun 4, 2025
Merged

feat(W-18699019): only warn about old plugin versions#2256
cristiand391 merged 5 commits into
mainfrom
mdonnalley/mismatch-warning

Conversation

@mdonnalley

Copy link
Copy Markdown
Contributor

What does this PR do?

Only warn users about plugins that are behind the version specified by sf - instead of warning users about all mismatches.

This reduces the noise for users who've purposefully installed a newer version of a plugin than what sf has

For context: https://salesforce-internal.slack.com/archives/C06V045BZD0/p1748963353294189

What issues does this PR fix or reference?

@W-18699019@

@cristiand391

Copy link
Copy Markdown
Contributor

QA notes:

setup: checked out branch, ran CLI with ./bin/run.js

get the command warning after running a cmd when:
✅ installing old core/jit plugin
✅ installing old prerelease

no warning:
✅ same version
✅ newer version (downgraded in psjon to prev, installed latest via plugins install
✅ if --json is passed

@cristiand391
cristiand391 merged commit 77b2afc into main Jun 4, 2025
31 checks passed
@cristiand391
cristiand391 deleted the mdonnalley/mismatch-warning branch June 4, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants