Skip to content

Commit 78966a0

Browse files
mshanemcsvc-cli-botjshackell-sfdc
authored
feat: removal notice (#1226)
* feat: deprecation date notice * docs: message update * chore(release): 3.4.9-demo.0 [skip ci] * docs: suggestions from code review Co-authored-by: Juliet Shackell <[email protected]> --------- Co-authored-by: svc-cli-bot <[email protected]> Co-authored-by: Juliet Shackell <[email protected]>
1 parent fd135f5 commit 78966a0

15 files changed

+21
-13
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ $ npm install -g @salesforce/plugin-source
7575
$ sfdx COMMAND
7676
running command...
7777
$ sfdx (--version)
78-
@salesforce/plugin-source/3.4.8 linux-x64 node-v18.20.3
78+
@salesforce/plugin-source/3.4.9-demo.0 linux-x64 node-v18.20.3
7979
$ sfdx --help [COMMAND]
8080
USAGE
8181
$ sfdx COMMAND

messages/cancel.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ The cancel command failed due to: %s
3636

3737
# deprecation
3838

39-
We plan to deprecate this command in the future. Try using the "%s" command instead.
39+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.

messages/deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,4 @@ You requested an async deploy with code coverage or JUnit results. The reports w
273273

274274
# deprecation
275275

276-
We plan to deprecate this command in the future. Try using the "%s" command instead.
276+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.

messages/md.cancel.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ The cancel command failed due to: %s.
3636

3737
# deprecation
3838

39-
We plan to deprecate this command in the future. Try using the "%s" command instead.
39+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.

messages/md.deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,4 @@ You requested an async deploy with code coverage or JUnit results. The reports w
197197

198198
# deprecation
199199

200-
We plan to deprecate this command in the future. Try using the "%s" command instead.
200+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.

messages/md.deployreport.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ Using specified username %s.
5454

5555
# deprecation
5656

57-
We plan to deprecate this command in the future. Try using the "%s" and "%s" pair instead.
57+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" and "%s" pair instead.

messages/md.retrieve.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,4 @@ If the retrieve request has completed, the retrieved metadata zip file will be w
117117

118118
# deprecation
119119

120-
We plan to deprecate this command in the future. Try using the "%s" command instead.
120+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.

messages/pull.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ Your retrieve request did not complete within the specified wait time [%s minute
6262

6363
# deprecation
6464

65-
We plan to deprecate this command in the future. Try using the "%s" command instead.
65+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.

messages/push.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ Check the order of your dependencies and ensure all metadata is included.
5050

5151
# deprecation
5252

53-
We plan to deprecate this command in the future. Try using the "%s" command instead.
53+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.

messages/report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ The metadata deploy operation failed.
5050

5151
# deprecation
5252

53-
We plan to deprecate this command in the future. Try using the "%s" and "%s" pair instead.
53+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" and "%s" pair instead.

messages/retrieve.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,4 @@ The retrieve target directory [%s] overlaps one of your package directories. Spe
193193

194194
# deprecation
195195

196-
We plan to deprecate this command in the future. Try using the "%s" command instead.
196+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.

messages/status.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ No local or remote changes found.
3434

3535
# deprecation
3636

37-
We plan to deprecate this command in the future. Try using the "%s" command instead.
37+
This command is deprecated and will be removed from Salesforce CLI on November 6, 2024. Use the "%s" command instead.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-source",
33
"description": "Commands to interact with source formatted metadata",
4-
"version": "3.4.8",
4+
"version": "3.4.9-demo.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

src/commands/force.ts

+4
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ export type ForceCommandResult = { apiVersion: string };
7474
export class ForceCommand extends SfCommand<ForceCommandResult> {
7575
public static readonly hidden = true;
7676
public static readonly examples = [];
77+
public static state = 'deprecated';
78+
public static readonly deprecationOptions = {
79+
message: 'Use "org display" to see the API version of any org.',
80+
};
7781
// eslint-disable-next-line sf-plugin/no-hardcoded-messages-commands
7882
public static readonly summary = 'Display the ASCII art logo for the Salesforce CLI';
7983

src/commands/force/mdapi/retrieve/report.ts

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ export class Report extends SourceCommand {
3333
public static readonly description = messages.getMessage('report.description');
3434
public static readonly examples = messages.getMessages('report.examples');
3535
public static readonly state = 'deprecated';
36+
public static readonly deprecationOptions = {
37+
to: 'project retrieve report',
38+
message: messages.getMessage('deprecation', ['project retrieve report']),
39+
};
3640
public static readonly hidden = true;
3741
public static readonly flags = {
3842
'api-version': orgApiVersionFlagWithDeprecations,

0 commit comments

Comments
 (0)