From 234f3b7ec120b8f146dcd89b97b75fc302368926 Mon Sep 17 00:00:00 2001 From: Willhoit Date: Wed, 21 Aug 2024 14:23:20 -0500 Subject: [PATCH] RNs 2024-08-21 (#2988) * chore: RNs 2024-08-21 * chore: small tweaks * chore: indentation * Update releasenotes/README.md Co-authored-by: Shane McLaughlin * Update releasenotes/README.md Co-authored-by: Shane McLaughlin * chore: indentation --------- Co-authored-by: Shane McLaughlin --- releasenotes/README.md | 63 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 56 insertions(+), 7 deletions(-) diff --git a/releasenotes/README.md b/releasenotes/README.md index e571b32b3..bb949f8ca 100644 --- a/releasenotes/README.md +++ b/releasenotes/README.md @@ -25,7 +25,7 @@ Additional documentation: * [Salesforce CLI Plugin Developer Guide](https://github.com/salesforcecli/cli/wiki/Quick-Introduction-to-Developing-sf-Plugins) * [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm) -## 2.55.6 (August 21, 2024) [stable-rc] +## 2.56.6 (August 28, 2024) [stable-rc] **ANNOUNCEMENT:** Be sure you read [this pinned GitHub issue](https://github.com/forcedotcom/cli/issues/2974) about the upcoming removal of these commands: `force:source:*`, `force:mdapi:*`, `force:org:create`, and `force:org:delete`. @@ -33,6 +33,59 @@ These changes are in the Salesforce CLI release candidate. We plan to include th ------------ +* NEW: Try the new BETA `api request rest` command to send REST calls to your org! ([plugin-api repo](https://github.com/salesforcecli/plugin-api)) + + - `sf api request rest sobjects/account/ --method PATCH --body "{\"Name\": \"Updated\"}"` + - `sf api request rest sobjects/account/ --method PATCH --body body.txt` + - `cat body.txt | sf api request rest sobjects/account --body -` + - Stream results to a file with the `--stream-to-output` flag + - Run `sf api request rest --help` to see more examples + +* CHANGE: We shipped `decomposeCustomLabelsBeta`, got [feedback](https://github.com/forcedotcom/cli/issues/2840) (thank you!), and decided to change how it behaves. You can see the design proposal [here](https://github.com/forcedotcom/cli/discussions/2948). It removes an extra folder layer that other decomposition strategies needed and supports more flexible folder structures. + + Now there's `decomposeCustomLabeltsBeta2`. If you haven't used it yet, you can try it via `sf project convert source-behavior --behavior decomposeCustomLabelsBeta2`. This works if your project isn't using a preset OR if you started using the original flavor of `decomposeCustomLabeltsBeta`. Please keep the feedback coming! (source-deploy-retrieve PR [#1392](https://github.com/forcedotcom/source-deploy-retrieve/pull/1392)) + +* FIX: Salesforce DX projects now support the GenAiFunction [metadata type](https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json) (source-deploy-retrieve PR [#1404](https://github.com/forcedotcom/source-deploy-retrieve/pull/1404), plugin-deploy-retrieve PR [#1137](https://github.com/salesforcecli/plugin-deploy-retrieve/pull/1137)) + +* NEW: The `apex run test` and `apex get test` commands now have a new `--concise` flag + + Setting this flag for `apex run test` or `apex get test` will suppress passing test results and the code coverage table. Only failing tests and the summary table will be displayed. (plugin-apex PR [#504](https://github.com/salesforcecli/plugin-apex/pull/504), Github Issue [#243](https://github.com/forcedotcom/salesforcedx-apex/issues/243), Github Discussion [#2872](https://github.com/forcedotcom/cli/discussions/2872)) + + Many thanks to [Kyle Capehart](https://github.com/k-capehart) for contributing this useful new flag! + +* NEW: The `sf project convert source-behavior` command will now warn if you have uncommitted work before doing project modifications. Note that this command puts components in a newly created `main/default` folder in each package directory. You might need to re-organize them into your preferred structure. (plugin-deploy-retrieve PR [#1130](https://github.com/salesforcecli/plugin-deploy-retrieve/pull/1130)) + +* NEW: Check out the improved human readable output on the `org create scratch` and `org resume scratch` commands! They now take advantage of the new [@oclif/multi-stage-output](https://github.com/oclif/multi-stage-output) repo. Keep your eyes out for more multi-staged output improvements in the near future. (plugin-org PR [#1120](https://github.com/salesforcecli/plugin-org/pull/1120)) + +* FIX: Support for 21 new metadata types (source-deploy-retrieve PR [#1398](https://github.com/forcedotcom/source-deploy-retrieve/pull/1398)) + * AssessmentConfiguration + * ContextUseCaseMapping + * ContractType + * DocumentTemplate + * EmployeeDataSyncProfile + * ExternalAuthIdentityProvider + * ExternalDataTranObject + * ExternalDocStorageConfig + * GenAiPlugin + * LearningAchievementConfig + * MktDataConnection + * MktDataConnectionSrcParam + * PortalDelegablePermissionSet + * ProductAttrDisplayConfig + * ProductSpecificationRecType + * ProductSpecificationType + * RecAlrtDataSrcExpSetDef + * ReferencedDashboard + * RelatedRecordAssocCriteria + * VirtualVisitConfig + * WaveAnalyticAssetCollection + + + +## 2.55.6 (August 21, 2024) [stable] + +**ANNOUNCEMENT:** Be sure you read [this pinned GitHub issue](https://github.com/forcedotcom/cli/issues/2974) about the upcoming removal of these commands: `force:source:*`, `force:mdapi:*`, `force:org:create`, and `force:org:delete`. + * NEW: Execute a SOSL text-based search query in your org with the new `data search` command. Similar to how the `data query` command works with SOQL queries, you can specify the SOSL query at the command line with the `--query` flag or read the query from a file with the `--file` flag. This example executes the specified SOSL query in an org with alias `my-scratch`: ```bash @@ -43,7 +96,7 @@ These changes are in the Salesforce CLI release candidate. We plan to include th * FIX: When parsing a scratch org definition file, Salesforce CLI now removes the `$schema` property (if it exists at the top of the JSON file) to prevent getting an invalid JSON error. (sfdx-core PR [#1113](https://github.com/forcedotcom/sfdx-core/pull/1113)) - Thank you, Alan Jaouen[https://github.com/alanjaouen), for noticing the problem and then contributing the fix! We love it. + Thank you, [Alan Jaouen](https://github.com/alanjaouen), for noticing the problem and then contributing the fix! We love it. * FIX: We now wait for config files to be unlocked before we read them. This improvement fixes issues like parallel command executions that cause file reads to return empty. (GitHub issue [#2965](https://github.com/forcedotcom/cli/issues/2965), sfdx-core PR [#1116](https://github.com/forcedotcom/sfdx-core/pull/1116)) @@ -51,11 +104,7 @@ These changes are in the Salesforce CLI release candidate. We plan to include th * FIX: Salesforce DX projects now support the UiFormatSpecificationSet [metadata type](https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json). -## 2.54.6 (August 14, 2024) [stable] - -**ANNOUNCEMENT:** Be sure you read [this pinned GitHub issue](https://github.com/forcedotcom/cli/issues/2974) about the upcoming removal of these commands: `force:source:*`, `force:mdapi:*`, `force:org:create`, and `force:org:delete`. - ------------------ +## 2.54.6 (August 14, 2024) * NEW: Salesforce CLI now automatically regenerates the autocomplete cache after you install or uninstall a plugin to ensure that the autocomplete feature is always using the latest set of CLI command and flag names. (plugin-autocomplete PR [#753](https://github.com/oclif/plugin-autocomplete/pull/753), oclif plugin-plugins PR [#932](https://github.com/oclif/plugin-plugins/pull/932))