From 418f7e2f60e17cbc59e9271ba486394f762517cd Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Tue, 22 Apr 2025 16:13:14 +0000 Subject: [PATCH] chore(release): bump to 2.86.6 --- README.md | 78 ++++++++++++++++++++++++++++++++++------------------ package.json | 4 +-- yarn.lock | 39 +++++++++++++++++++++----- 3 files changed, 86 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index aa7b6ebf..7aa43bd7 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli $ sf COMMAND running command... $ sf (--version|-v) -@salesforce/cli/2.86.5 linux-x64 node-v22.14.0 +@salesforce/cli/2.86.6 linux-x64 node-v22.14.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -3200,7 +3200,7 @@ FLAG DESCRIPTIONS You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both. ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/create/sandbox.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/create/sandbox.ts)_ ## `sf org create scratch` @@ -3382,7 +3382,7 @@ FLAG DESCRIPTIONS Omit this flag to have Salesforce generate a unique username for your org. ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/create/scratch.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/create/scratch.ts)_ ## `sf org create user` @@ -3536,7 +3536,7 @@ EXAMPLES $ sf org delete sandbox --target-org my-sandbox --no-prompt ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/delete/sandbox.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/delete/sandbox.ts)_ ## `sf org delete scratch` @@ -3580,7 +3580,7 @@ EXAMPLES $ sf org delete scratch --target-org my-scratch-org --no-prompt ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/delete/scratch.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/delete/scratch.ts)_ ## `sf org disable tracking` @@ -3619,7 +3619,7 @@ EXAMPLES $ sf org disable tracking ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/disable/tracking.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/disable/tracking.ts)_ ## `sf org display` @@ -3664,7 +3664,7 @@ EXAMPLES $ sf org display --target-org TestOrg1 --verbose ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/display.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/display.ts)_ ## `sf org display user` @@ -3745,7 +3745,7 @@ EXAMPLES $ sf org enable tracking ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/enable/tracking.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/enable/tracking.ts)_ ## `sf org generate password` @@ -3851,7 +3851,7 @@ EXAMPLES $ sf org list --clean ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/list.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/list.ts)_ ## `sf org list auth` @@ -3990,7 +3990,7 @@ FLAG DESCRIPTIONS Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report. ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/list/metadata.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/list/metadata.ts)_ ## `sf org list metadata-types` @@ -4045,7 +4045,7 @@ FLAG DESCRIPTIONS Override the api version used for api requests made by this command ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/list/metadata-types.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/list/metadata-types.ts)_ ## `sf org list sobject record-counts` @@ -4628,7 +4628,7 @@ EXAMPLES $ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/open.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/open.ts)_ ## `sf org open agent` @@ -4679,7 +4679,7 @@ EXAMPLES $ sf org open agent --target-org MyTestOrg1 --browser firefox --name Coral_Cloud_Agent ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/open/agent.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/open/agent.ts)_ ## `sf org refresh sandbox` @@ -4688,17 +4688,21 @@ Refresh a sandbox org using the sandbox name. ``` USAGE $ sf org refresh sandbox -o [--json] [--flags-dir ] [--no-auto-activate] [-w | --async] [-i - | ] [-n ] [-f ] [--no-prompt] + | ] [--source-sandbox-name | -i ] [-n ] [-f ] [--no-prompt] FLAGS - -f, --definition-file= Path to a sandbox definition file for overriding its configuration when you refresh it. - -i, --poll-interval= Number of seconds to wait between status polling requests. - -n, --name= Name of the existing sandbox org in your production org that you want to refresh. - -o, --target-org= (required) Username or alias of the production org that contains the sandbox license. - -w, --wait= Number of minutes to poll for sandbox refresh status. - --async Request the sandbox refresh, but don't wait for it to complete. - --no-auto-activate Disable auto-activation of the sandbox after a successful refresh. - --no-prompt Don't prompt for confirmation about the sandbox refresh. + -f, --definition-file= Path to a sandbox definition file for overriding its configuration when you refresh + it. + -i, --poll-interval= Number of seconds to wait between status polling requests. + -i, --source-id= ID of the sandbox org that becomes the new source org for the refreshed sandbox. + -n, --name= Name of the existing sandbox org in your production org that you want to refresh. + -o, --target-org= (required) Username or alias of the production org that contains the sandbox + license. + -w, --wait= Number of minutes to poll for sandbox refresh status. + --async Request the sandbox refresh, but don't wait for it to complete. + --no-auto-activate Disable auto-activation of the sandbox after a successful refresh. + --no-prompt Don't prompt for confirmation about the sandbox refresh. + --source-sandbox-name= Name of the sandbox org that becomes the new source org for the refreshed sandbox. GLOBAL FLAGS --flags-dir= Import flag values from a directory. @@ -4709,7 +4713,9 @@ DESCRIPTION Refreshing a sandbox copies the metadata, and optionally data, from your source org to the refreshed sandbox org. You can optionally specify a definition file if you want to change the configuration of the refreshed sandbox, such as its - license type or template ID. + license type or template ID. You can also use the --source-id or --source-sandbox-name flags to change the refreshed + sandbox org's original source org to a new org; in this case, the refreshed sandbox org's metadata is updated with the + new source org's metadata. You're not allowed to change the sandbox name when you refresh it with this command. If you want to change the sandbox name, first delete it with the "org delete sandbox" command. And then recreate it with the "org create sandbox" @@ -4731,6 +4737,10 @@ EXAMPLES $ sf org refresh sandbox --definition-file devSbx3-config.json --target-org prodOrg + Refresh the sandbox named "devSbx2" by changing its original source org to be a sandbox called "devSbx3": + + $ sf org refresh sandbox --name devSbx2 --source-sandbox-name devSbx3 --target-org prodOrg + FLAG DESCRIPTIONS -f, --definition-file= Path to a sandbox definition file for overriding its configuration when you refresh it. @@ -4740,6 +4750,14 @@ FLAG DESCRIPTIONS for all the options you can specify in the definition file. + -i, --source-id= ID of the sandbox org that becomes the new source org for the refreshed sandbox. + + The value of --source-id must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified + with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox + licenses. + + You can specify either --source-id or --source-sandbox-name when refreshing an existing sandbox, but not both. + -w, --wait= Number of minutes to poll for sandbox refresh status. If the command continues to run after the wait period, the CLI returns control of the terminal to you and displays @@ -4754,9 +4772,17 @@ FLAG DESCRIPTIONS --no-auto-activate Disable auto-activation of the sandbox after a successful refresh. By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually. + + --source-sandbox-name= Name of the sandbox org that becomes the new source org for the refreshed sandbox. + + The value of --source-sandbox-name must be an existing sandbox. The new source sandbox, and the refreshed sandbox + specified with the --name flag, must both be associated with the production org (--target-org) that contains the + sandbox licenses. + + You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both. ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/refresh/sandbox.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/refresh/sandbox.ts)_ ## `sf org resume sandbox` @@ -4819,7 +4845,7 @@ FLAG DESCRIPTIONS returns the job ID. To resume checking the sandbox creation, rerun this command. ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/resume/sandbox.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/resume/sandbox.ts)_ ## `sf org resume scratch` @@ -4872,7 +4898,7 @@ FLAG DESCRIPTIONS returns the job ID. To resume checking the scratch creation, rerun this command. ``` -_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.6.3/src/commands/org/resume/scratch.ts)_ +_See code: [@salesforce/plugin-org](https://github.com/salesforcecli/plugin-org/blob/5.7.0/src/commands/org/resume/scratch.ts)_ ## `sf package create` diff --git a/package.json b/package.json index 5f5503cb..4ad4314c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/cli", "description": "The Salesforce CLI", - "version": "2.86.5", + "version": "2.86.6", "author": "Salesforce", "bin": { "sf": "./bin/run.js", @@ -165,7 +165,7 @@ "@salesforce/plugin-info": "3.4.54", "@salesforce/plugin-limits": "3.3.52", "@salesforce/plugin-marketplace": "1.3.8", - "@salesforce/plugin-org": "5.6.3", + "@salesforce/plugin-org": "5.7.0", "@salesforce/plugin-packaging": "2.13.1", "@salesforce/plugin-schema": "3.3.59", "@salesforce/plugin-settings": "2.4.24", diff --git a/yarn.lock b/yarn.lock index b731c37a..23304023 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2172,10 +2172,10 @@ got "^13.0.0" proxy-agent "^6.4.0" -"@salesforce/plugin-org@5.6.3": - version "5.6.3" - resolved "https://registry.yarnpkg.com/@salesforce/plugin-org/-/plugin-org-5.6.3.tgz#72d7ff869af482b8ae96d6285765e10b0b1a703f" - integrity sha512-xvbgw5WeJO5zfTXKBdLhu9ScvQYPyJpIB9GY7O0lfDXzgumi9mYaK+nN3rIMwqVBp714w7tr404LtjVRc/69dQ== +"@salesforce/plugin-org@5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@salesforce/plugin-org/-/plugin-org-5.7.0.tgz#cb3e29c71286698bfb960a32231bc962f9be872a" + integrity sha512-StXGo/W1mcl/dRqbj7pI+lXJmDsfIabkfltv9rBSItYRW9ExIVykOFXYKExdxVq3/rzz0+jXa7txq1aN/UY8wQ== dependencies: "@oclif/core" "^4.2.10" "@oclif/multi-stage-output" "^0.8.12" @@ -10375,7 +10375,16 @@ static-eval@2.0.2: dependencies: escodegen "^1.8.1" -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -10457,7 +10466,14 @@ stringify-package@^1.0.1: resolved "https://registry.npmjs.org/stringify-package/-/stringify-package-1.0.1.tgz" integrity sha512-sa4DUQsYciMP1xhKWGuFM04fB0LG/9DlluZoSVywUMRNvzid6XucHK0/90xGxRoHrAaROrcHK1aPKaijCtSrhg== -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6, strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@6.0.1, strip-ansi@^6, strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -11290,7 +11306,7 @@ workerpool@^6.5.1: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544" integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -11308,6 +11324,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz"