From c45016b15998bd2edf2125167b02ca6382874b03 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Thu, 31 Oct 2024 02:26:43 +0000 Subject: [PATCH] chore(release): bump to 2.66.0 --- README.md | 371 ++++++++++++++++++++++++++++++++++++--------------- package.json | 12 +- yarn.lock | 87 ++++++------ 3 files changed, 313 insertions(+), 157 deletions(-) diff --git a/README.md b/README.md index 5ea6dc2f..da04c88e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ $ npm install -g @salesforce/cli $ sf COMMAND running command... $ sf (--version|-v) -@salesforce/cli/2.65.8 linux-x64 node-v20.18.0 +@salesforce/cli/2.66.0 linux-x64 node-v20.18.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -61,6 +61,7 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI. - [`sf config list`](#sf-config-list) - [`sf config set`](#sf-config-set) - [`sf config unset`](#sf-config-unset) +- [`sf data bulk results`](#sf-data-bulk-results) - [`sf data create file`](#sf-data-create-file) - [`sf data create record`](#sf-data-create-record) - [`sf data delete bulk`](#sf-data-delete-bulk) @@ -77,7 +78,9 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI. - [`sf data query resume`](#sf-data-query-resume) - [`sf data resume`](#sf-data-resume) - [`sf data search`](#sf-data-search) +- [`sf data update bulk`](#sf-data-update-bulk) - [`sf data update record`](#sf-data-update-record) +- [`sf data update resume`](#sf-data-update-resume) - [`sf data upsert bulk`](#sf-data-upsert-bulk) - [`sf data upsert resume`](#sf-data-upsert-resume) - [`sf doctor`](#sf-doctor) @@ -209,7 +212,7 @@ EXAMPLES $ sf alias list ``` -_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.2/src/commands/alias/list.ts)_ +_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.3/src/commands/alias/list.ts)_ ## `sf alias set` @@ -258,7 +261,7 @@ EXAMPLES $ sf alias set my-scratch-org test-ss0xut7txzxf@example.com ``` -_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.2/src/commands/alias/set.ts)_ +_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.3/src/commands/alias/set.ts)_ ## `sf alias unset` @@ -298,7 +301,7 @@ EXAMPLES $ sf alias unset --all [--no-prompt] ``` -_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.2/src/commands/alias/unset.ts)_ +_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.3/src/commands/alias/unset.ts)_ ## `sf analytics generate template` @@ -1125,7 +1128,7 @@ CONFIGURATION VARIABLES org-capitalize-record-types Whether record types are capitalized on scratch org creation. ``` -_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.2/src/commands/config/get.ts)_ +_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.3/src/commands/config/get.ts)_ ## `sf config list` @@ -1165,7 +1168,7 @@ EXAMPLES $ sf config list ``` -_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.2/src/commands/config/list.ts)_ +_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.3/src/commands/config/list.ts)_ ## `sf config set` @@ -1234,7 +1237,7 @@ CONFIGURATION VARIABLES org-capitalize-record-types Whether record types are capitalized on scratch org creation. ``` -_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.2/src/commands/config/set.ts)_ +_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.3/src/commands/config/set.ts)_ ## `sf config unset` @@ -1284,7 +1287,52 @@ CONFIGURATION VARIABLES org-capitalize-record-types Whether record types are capitalized on scratch org creation. ``` -_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.2/src/commands/config/unset.ts)_ +_See code: [@salesforce/plugin-settings](https://github.com/salesforcecli/plugin-settings/blob/2.4.3/src/commands/config/unset.ts)_ + +## `sf data bulk results` + +Get the results of a bulk ingest job that you previously ran. + +``` +USAGE + $ sf data bulk results -i -o [--json] [--flags-dir ] [--api-version ] + +FLAGS + -i, --job-id= (required) Job ID of the bulk job. + -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` + configuration variable is already set. + --api-version= Override the api version used for api requests made by this command + +GLOBAL FLAGS + --flags-dir= Import flag values from a directory. + --json Format output as json. + +DESCRIPTION + Get the results of a bulk ingest job that you previously ran. + + Use this command to get the complete results after running one of the CLI commands that uses Bulk API 2.0 to ingest + (import, update, upsert, or delete) large datasets to your org, such as "data import bulk". The previously-run bulk + command must have completed; if it's still processing, run the corresponding resume command first, such as "data + import resume." Make note of the job ID of the previous bulk command because you use it to run this command. + + You can also use this command to get results from running a bulk ingest job with a different tool, such as Data + Loader, as long as you have the job ID. For information on Data Loader, see + https://developer.salesforce.com/docs/atlas.en-us.dataLoader.meta/dataLoader/data_loader_intro.htm. + + This command first displays the status of the previous bulk job, the operation that was executed in the org (such as + insert or hard delete), and the updated Salesforce object. The command then displays how many records were processed + in total, and how many were successful or failed. Finally, the output displays the names of the generated + CSV-formatted files that contain the specific results for each ingested record. Depending on the success or failure of + the bulk command, the results files can include the IDs of inserted records or the specific errors. When possible, if + the ingest job failed or was aborted, you also get a CSV file with the unprocessed results. + +EXAMPLES + Get results from a bulk ingest job; use the org with alias "my-scratch": + + $ sf data bulk results --job-id 7507i000fake341G --target-org my-scratch +``` + +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.11.0/src/commands/data/bulk/results.ts)_ ## `sf data create file` @@ -1333,7 +1381,7 @@ EXAMPLES $ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3 ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.9.0/src/commands/data/create/file.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.11.0/src/commands/data/create/file.ts)_ ## `sf data create record` @@ -1389,7 +1437,7 @@ EXAMPLES TracedEntityId=01p17000000R6bLAAS" ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.9.0/src/commands/data/create/record.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.11.0/src/commands/data/create/record.ts)_ ## `sf data delete bulk` @@ -1447,7 +1495,7 @@ FLAG DESCRIPTIONS and can be enabled only by a system administrator. ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.9.0/src/commands/data/delete/bulk.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.11.0/src/commands/data/delete/bulk.ts)_ ## `sf data delete record` @@ -1508,7 +1556,7 @@ EXAMPLES $ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.9.0/src/commands/data/delete/record.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.11.0/src/commands/data/delete/record.ts)_ ## `sf data delete resume` @@ -1547,7 +1595,7 @@ EXAMPLES $ sf data delete resume --use-most-recent --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.9.0/src/commands/data/delete/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.11.0/src/commands/data/delete/resume.ts)_ ## `sf data export bulk` @@ -1621,11 +1669,11 @@ EXAMPLES --result-format json --async ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.9.0/src/commands/data/export/bulk.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.11.0/src/commands/data/export/bulk.ts)_ ## `sf data export resume` -Resume a bulk export job that you previously started. +Resume a bulk export job that you previously started. Uses Bulk API 2.0. ``` USAGE @@ -1641,7 +1689,7 @@ GLOBAL FLAGS --json Format output as json. DESCRIPTION - Resume a bulk export job that you previously started. + Resume a bulk export job that you previously started. Uses Bulk API 2.0. When the original "data export bulk" command either times out or is run with the --async flag, it displays a job ID. To see the status and get the results of the bulk export, run this command by either passing it the job ID or using @@ -1657,7 +1705,7 @@ EXAMPLES $ sf data export resume --use-most-recent --target-org my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.9.0/src/commands/data/export/resume.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.11.0/src/commands/data/export/resume.ts)_ ## `sf data export tree` @@ -1718,7 +1766,7 @@ EXAMPLES my-scratch ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.9.0/src/commands/data/export/tree.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.11.0/src/commands/data/export/tree.ts)_ ## `sf data get record` @@ -1782,7 +1830,7 @@ EXAMPLES $ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c ``` -_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.9.0/src/commands/data/get/record.ts)_ +_See code: [@salesforce/plugin-data](https://github.com/salesforcecli/plugin-data/blob/3.11.0/src/commands/data/get/record.ts)_ ## `sf data import bulk` @@ -1791,20 +1839,22 @@ Bulk import records into a Salesforce object from a CSV file. Uses Bulk API 2.0. ``` USAGE $ sf data import bulk -s -o [--json] [--flags-dir ] [-a | -w ] [--api-version ] - (--line-ending CRLF|LF -f ) + (--line-ending CRLF|LF -f ) [--column-delimiter BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB] FLAGS - -a, --async Don't wait for the command to complete. - -f, --file= (required) CSV file that contains the Salesforce object records you want to import. - -o, --target-org= (required) Username or alias of the target org. Not required if the `target-org` - configuration variable is already set. - -s, --sobject= (required) API name of the Salesforce object, either standard or custom, into which you're - importing records. - -w, --wait= Time to wait for the command to finish, in minutes. - --api-version= Override the api version used for api requests made by this command - --line-ending=