From f1c1a24eeea766ec268bc38260ec052e684cb29b Mon Sep 17 00:00:00 2001 From: Jag Jayaprakash Date: Wed, 4 Dec 2024 12:27:02 -0800 Subject: [PATCH 1/2] NEW @W-17311922@ Add deprecation message for v4.x --- messages/common.md | 4 ++-- src/lib/ScannerCommand.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/messages/common.md b/messages/common.md index 3a713153e..929f61010 100644 --- a/messages/common.md +++ b/messages/common.md @@ -2,6 +2,6 @@ Emit additional command output to stdout. -# surveyRequestMessage +# deprecationMessage -We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at http://sfdc.co/CodeAnalyzerFeedback +We will end support for v4.x of Code Analyzer in the upcoming months. We recommend users migrate to v5.x, which is currently in Beta and will be in GA soon. More information: https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/version-5.html \ No newline at end of file diff --git a/src/lib/ScannerCommand.ts b/src/lib/ScannerCommand.ts index 8b5cd140d..115b5a5da 100644 --- a/src/lib/ScannerCommand.ts +++ b/src/lib/ScannerCommand.ts @@ -40,7 +40,7 @@ export abstract class ScannerCommand extends SfCommand implements Displ const logger: Logger = await Logger.child(this.ctor.name); const display: Display = new UxDisplay(this, this.spinner, inputs.verbose as boolean); - display.displayWarning(getMessage(BundleName.Common, 'surveyRequestMessage')); + display.displayWarning(getMessage(BundleName.Common, 'deprecationMessage')); this.buildEventListeners(display); const action: Action = this.createAction(logger, display); From 01a0ed26914954d56a81e0b8caf99dd841781f25 Mon Sep 17 00:00:00 2001 From: Jagadeeswaran Jayaprakash <58611665+jag-j@users.noreply.github.com> Date: Wed, 4 Dec 2024 13:15:39 -0800 Subject: [PATCH 2/2] Update messages/common.md Co-authored-by: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> --- messages/common.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messages/common.md b/messages/common.md index 929f61010..6b58cb393 100644 --- a/messages/common.md +++ b/messages/common.md @@ -4,4 +4,4 @@ Emit additional command output to stdout. # deprecationMessage -We will end support for v4.x of Code Analyzer in the upcoming months. We recommend users migrate to v5.x, which is currently in Beta and will be in GA soon. More information: https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/version-5.html \ No newline at end of file +We plan to stop supporting v4.x of Code Analyzer in the coming months. We highly recommend that you start using v5.x, which is currently in Beta. For information on v5.x, see https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/version-5.html. \ No newline at end of file