Skip to content

Commit 5f5efc2

Browse files
authored
Merge pull request #2593 from salesforcecli/release/2.124.1
Release PR for 2.124.1 as nightly
2 parents d692bba + c1d8791 commit 5f5efc2

3 files changed

Lines changed: 117 additions & 34 deletions

File tree

README.md

Lines changed: 99 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
2525
$ sf COMMAND
2626
running command...
2727
$ sf (--version|-v)
28-
@salesforce/cli/2.124.0 linux-x64 node-v22.22.0
28+
@salesforce/cli/2.124.1 linux-x64 node-v22.22.0
2929
$ sf --help [COMMAND]
3030
USAGE
3131
$ sf COMMAND
@@ -203,6 +203,7 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI.
203203
- [`sf template generate apex class`](#sf-template-generate-apex-class)
204204
- [`sf template generate apex trigger`](#sf-template-generate-apex-trigger)
205205
- [`sf template generate digital-experience site`](#sf-template-generate-digital-experience-site)
206+
- [`sf template generate flexipage`](#sf-template-generate-flexipage)
206207
- [`sf template generate lightning app`](#sf-template-generate-lightning-app)
207208
- [`sf template generate lightning component`](#sf-template-generate-lightning-component)
208209
- [`sf template generate lightning event`](#sf-template-generate-lightning-event)
@@ -1889,7 +1890,7 @@ EXAMPLES
18891890
$ sf api request graphql --body example.txt --stream-to-file output.txt --include
18901891
```
18911892

1892-
_See code: [@salesforce/plugin-api](https://github.com/salesforcecli/plugin-api/blob/1.3.9/src/commands/api/request/graphql.ts)_
1893+
_See code: [@salesforce/plugin-api](https://github.com/salesforcecli/plugin-api/blob/1.3.10/src/commands/api/request/graphql.ts)_
18931894

18941895
## `sf api request rest [URL]`
18951896

@@ -1998,7 +1999,7 @@ FLAG DESCRIPTIONS
19981999
https://github.com/salesforcecli/plugin-api/tree/main/test/test-files/data-project.
19992000
```
20002001

2001-
_See code: [@salesforce/plugin-api](https://github.com/salesforcecli/plugin-api/blob/1.3.9/src/commands/api/request/rest.ts)_
2002+
_See code: [@salesforce/plugin-api](https://github.com/salesforcecli/plugin-api/blob/1.3.10/src/commands/api/request/rest.ts)_
20022003

20032004
## `sf autocomplete [SHELL]`
20042005

@@ -9661,7 +9662,7 @@ FLAG DESCRIPTIONS
96619662
directory.
96629663
```
96639664

9664-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/analytics/template.ts)_
9665+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/analytics/template.ts)_
96659666

96669667
## `sf template generate apex class`
96679668

@@ -9721,7 +9722,7 @@ FLAG DESCRIPTIONS
97219722
Supplied parameter values or default values are filled into a copy of the template.
97229723
```
97239724

9724-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/apex/class.ts)_
9725+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/apex/class.ts)_
97259726

97269727
## `sf template generate apex trigger`
97279728

@@ -9791,7 +9792,7 @@ FLAG DESCRIPTIONS
97919792
Supplied parameter values or default values are filled into a copy of the template.
97929793
```
97939794

9794-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/apex/trigger.ts)_
9795+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/apex/trigger.ts)_
97959796

97969797
## `sf template generate digital-experience site`
97979798

@@ -9841,7 +9842,89 @@ FLAG DESCRIPTIONS
98419842
project, defaults to the current directory.
98429843
```
98439844

9844-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/digital-experience/site.ts)_
9845+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/digital-experience/site.ts)_
9846+
9847+
## `sf template generate flexipage`
9848+
9849+
Generate a FlexiPage, also known as a Lightning page.
9850+
9851+
```
9852+
USAGE
9853+
$ sf template generate flexipage -n <value> -t RecordPage|AppPage|HomePage [--json] [--flags-dir <value>] [-d <value>]
9854+
[--api-version <value>] [--label <value>] [--description <value>] [-s <value>] [--primary-field <value>]
9855+
[--secondary-fields <value>...] [--detail-fields <value>...]
9856+
9857+
FLAGS
9858+
-d, --output-dir=<value> [default: .] Directory for saving the created files.
9859+
-n, --name=<value> (required) Name of the FlexiPage.
9860+
-s, --sobject=<value> API name of the Salesforce object; required when creating a RecordPage.
9861+
-t, --template=<option> (required) Template type for the FlexiPage.
9862+
<options: RecordPage|AppPage|HomePage>
9863+
--api-version=<value> Override the api version used for api requests made by this command
9864+
--description=<value> Description for the FlexiPage, which provides context about its purpose.
9865+
--detail-fields=<value>... Fields to display in the Details tab. Specify multiple fields separated by commas.
9866+
Fields are split into two columns. Used only with RecordPage.
9867+
--label=<value> Label of this FlexiPage; if not specified, uses the FlexiPage name as the label.
9868+
--primary-field=<value> Primary field for the dynamic highlights header; typically 'Name'. Used only with
9869+
RecordPage.
9870+
--secondary-fields=<value>... Secondary fields shown in the dynamic highlights header. Specify multiple fields
9871+
separated by commas. Maximum of 11 fields. Used only with RecordPage.
9872+
9873+
GLOBAL FLAGS
9874+
--flags-dir=<value> Import flag values from a directory.
9875+
--json Format output as json.
9876+
9877+
DESCRIPTION
9878+
Generate a FlexiPage, also known as a Lightning page.
9879+
9880+
FlexiPages are the metadata types associated with a Lightning page. A Lightning page represents a customizable screen
9881+
made up of regions containing Lightning components.
9882+
9883+
You can use this command to generate these types of FlexiPages; specify the type with the --template flag:
9884+
9885+
- AppPage: A Lightning page used as the home page for a custom app or a standalone application page.
9886+
- HomePage: A Lightning page used to override the Home page in Lightning Experience.
9887+
- RecordPage: A Lightning page used to override an object record page in Lightning Experience. Requires that you
9888+
specify the object name with the --sobject flag.
9889+
9890+
EXAMPLES
9891+
Generate a RecordPage FlexiPage for the Account object in the current directory:
9892+
9893+
$ sf template generate flexipage --name Account_Record_Page --template RecordPage --sobject Account
9894+
9895+
Generate an AppPage FlexiPage in the "force-app/main/default/flexipages" directory:
9896+
9897+
$ sf template generate flexipage --name Sales_Dashboard --template AppPage --output-dir \
9898+
force-app/main/default/flexipages
9899+
9900+
Generate a HomePage FlexiPage with a custom label:
9901+
9902+
$ sf template generate flexipage --name Custom_Home --template HomePage --label "Sales Home Page"
9903+
9904+
Generate a RecordPage with dynamic highlights and detail fields:
9905+
9906+
$ sf template generate flexipage --name Property_Page --template RecordPage --sobject Rental_Property__c \
9907+
--primary-field Name --secondary-fields Property_Address__c,City__c --detail-fields \
9908+
Name,Property_Address__c,City__c,Monthly_Rent__c,Bedrooms__c
9909+
9910+
FLAG DESCRIPTIONS
9911+
-d, --output-dir=<value> Directory for saving the created files.
9912+
9913+
The location can be an absolute path or relative to the current working directory. The default is the current
9914+
directory.
9915+
9916+
-n, --name=<value> Name of the FlexiPage.
9917+
9918+
The name can contain only alphanumeric characters, must start with a letter, and can't end with an underscore or
9919+
contain two consecutive underscores.
9920+
9921+
-s, --sobject=<value> API name of the Salesforce object; required when creating a RecordPage.
9922+
9923+
For RecordPage FlexiPages, you must specify the associated object API name, such as 'Account', 'Opportunity', or
9924+
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
9925+
```
9926+
9927+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/flexipage/index.ts)_
98459928

98469929
## `sf template generate lightning app`
98479930

@@ -9897,7 +9980,7 @@ FLAG DESCRIPTIONS
98979980
Supplied parameter values or default values are filled into a copy of the template.
98989981
```
98999982

9900-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/lightning/app.ts)_
9983+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/lightning/app.ts)_
99019984

99029985
## `sf template generate lightning component`
99039986

@@ -9967,7 +10050,7 @@ FLAG DESCRIPTIONS
996710050
Supplied parameter values or default values are filled into a copy of the template.
996810051
```
996910052

9970-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/lightning/component.ts)_
10053+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/lightning/component.ts)_
997110054

997210055
## `sf template generate lightning event`
997310056

@@ -10023,7 +10106,7 @@ FLAG DESCRIPTIONS
1002310106
Supplied parameter values or default values are filled into a copy of the template.
1002410107
```
1002510108

10026-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/lightning/event.ts)_
10109+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/lightning/event.ts)_
1002710110

1002810111
## `sf template generate lightning interface`
1002910112

@@ -10079,7 +10162,7 @@ FLAG DESCRIPTIONS
1007910162
Supplied parameter values or default values are filled into a copy of the template.
1008010163
```
1008110164

10082-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/lightning/interface.ts)_
10165+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/lightning/interface.ts)_
1008310166

1008410167
## `sf template generate lightning test`
1008510168

@@ -10135,7 +10218,7 @@ FLAG DESCRIPTIONS
1013510218
Supplied parameter values or default values are filled into a copy of the template.
1013610219
```
1013710220

10138-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/lightning/test.ts)_
10221+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/lightning/test.ts)_
1013910222

1014010223
## `sf template generate project`
1014110224

@@ -10241,7 +10324,7 @@ FLAG DESCRIPTIONS
1024110324
Override the api version used for api requests made by this command
1024210325
```
1024310326

10244-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/project/index.ts)_
10327+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/project/index.ts)_
1024510328

1024610329
## `sf template generate static-resource`
1024710330

@@ -10304,7 +10387,7 @@ FLAG DESCRIPTIONS
1030410387
etc.
1030510388
```
1030610389

10307-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/static-resource/index.ts)_
10390+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/static-resource/index.ts)_
1030810391

1030910392
## `sf template generate visualforce component`
1031010393

@@ -10361,7 +10444,7 @@ FLAG DESCRIPTIONS
1036110444
Supplied parameter values or default values are filled into a copy of the template.
1036210445
```
1036310446

10364-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/visualforce/component.ts)_
10447+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/visualforce/component.ts)_
1036510448

1036610449
## `sf template generate visualforce page`
1036710450

@@ -10412,7 +10495,7 @@ FLAG DESCRIPTIONS
1041210495
The name can be up to 40 characters and must start with a letter.
1041310496
```
1041410497

10415-
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/visualforce/page.ts)_
10498+
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/visualforce/page.ts)_
1041610499

1041710500
## `sf update [CHANNEL]`
1041810501

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/cli",
33
"description": "The Salesforce CLI",
4-
"version": "2.124.0",
4+
"version": "2.124.1",
55
"author": "Salesforce",
66
"bin": {
77
"sf": "./bin/run.js",
@@ -159,7 +159,7 @@
159159
"@salesforce/kit": "^3.1.6",
160160
"@salesforce/plugin-agent": "1.29.0",
161161
"@salesforce/plugin-apex": "3.9.7",
162-
"@salesforce/plugin-api": "1.3.9",
162+
"@salesforce/plugin-api": "1.3.10",
163163
"@salesforce/plugin-auth": "4.1.5",
164164
"@salesforce/plugin-data": "4.0.70",
165165
"@salesforce/plugin-deploy-retrieve": "3.24.9",
@@ -172,7 +172,7 @@
172172
"@salesforce/plugin-settings": "2.4.56",
173173
"@salesforce/plugin-sobject": "1.4.82",
174174
"@salesforce/plugin-telemetry": "3.7.2",
175-
"@salesforce/plugin-templates": "56.7.1",
175+
"@salesforce/plugin-templates": "56.8.0",
176176
"@salesforce/plugin-trust": "3.7.113",
177177
"@salesforce/plugin-user": "3.6.49",
178178
"@salesforce/sf-plugins-core": "12.2.6",

yarn.lock

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@
21112111
strip-ansi "6.0.1"
21122112
ts-retry-promise "^0.8.1"
21132113

2114-
"@salesforce/core@^8.18.1", "@salesforce/core@^8.18.7", "@salesforce/core@^8.24.0", "@salesforce/core@^8.25.0", "@salesforce/core@^8.25.1", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.1", "@salesforce/core@^8.8.5":
2114+
"@salesforce/core@^8.18.1", "@salesforce/core@^8.18.7", "@salesforce/core@^8.24.0", "@salesforce/core@^8.25.0", "@salesforce/core@^8.25.1", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.5":
21152115
version "8.25.1"
21162116
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.25.1.tgz#7646025598bb59b6f95b3656baf8eb0b63a43052"
21172117
integrity sha512-Jon0a9uZpp+mNa5PiY+y8dTjaPcsMaxXEkswdzWotrdrZ4g84MmPKSEv+Q/LtXw3uc9i4RmqBJBUXSIvZhgrjg==
@@ -2173,7 +2173,7 @@
21732173
typescript "^5.5.4"
21742174
wireit "^0.14.12"
21752175

2176-
"@salesforce/kit@^3.1.6", "@salesforce/kit@^3.2.0", "@salesforce/kit@^3.2.1", "@salesforce/kit@^3.2.2", "@salesforce/kit@^3.2.3", "@salesforce/kit@^3.2.4":
2176+
"@salesforce/kit@^3.1.6", "@salesforce/kit@^3.2.0", "@salesforce/kit@^3.2.2", "@salesforce/kit@^3.2.3", "@salesforce/kit@^3.2.4":
21772177
version "3.2.4"
21782178
resolved "https://registry.yarnpkg.com/@salesforce/kit/-/kit-3.2.4.tgz#69fb56974685e41d26ae5db30a7261acdc731bb6"
21792179
integrity sha512-9buqZ2puIGWqjUFWYNroSeNih4d1s9kdQAzZfutr/Re/JMl6xBct0ATO5LVb1ty5UhdBruJrVaiTg03PqVKU+Q==
@@ -2243,20 +2243,20 @@
22432243
"@salesforce/sf-plugins-core" "^12.2.6"
22442244
ansis "^3.3.1"
22452245

2246-
"@salesforce/plugin-api@1.3.9":
2247-
version "1.3.9"
2248-
resolved "https://registry.yarnpkg.com/@salesforce/plugin-api/-/plugin-api-1.3.9.tgz#97da29e20bed2e28bdd17c56a39ccc70fd7b5819"
2249-
integrity sha512-KCWhOsyd/CgiFVPPdrpI9n4cKdSYhXqgGtZP0p9n/4C1elTr3dfaO1EqIr6iDKhv5FWjTdM6GBtZAaCX06KqvQ==
2246+
"@salesforce/plugin-api@1.3.10":
2247+
version "1.3.10"
2248+
resolved "https://registry.yarnpkg.com/@salesforce/plugin-api/-/plugin-api-1.3.10.tgz#c618ae7808ac00b8ed461b87dea7118478b30d0d"
2249+
integrity sha512-20TMn7TPj5oM6t5xhg6iE4+0u9nBpE301ZDODZWxcN8ugk9oUjuUtqvUaKRIkANUEmt1dJvcZzmtPDfzGaS1xg==
22502250
dependencies:
22512251
"@oclif/core" "^4"
2252-
"@salesforce/core" "^8.8.1"
2253-
"@salesforce/kit" "^3.2.1"
2254-
"@salesforce/sf-plugins-core" "^12"
2252+
"@salesforce/core" "^8.25.1"
2253+
"@salesforce/kit" "^3.2.4"
2254+
"@salesforce/sf-plugins-core" "^12.2.6"
22552255
"@salesforce/ts-types" "^2.0.12"
22562256
ansis "^3.3.2"
2257-
form-data "^4.0.4"
2257+
form-data "^4.0.5"
22582258
got "^13.0.0"
2259-
proxy-agent "^6.4.0"
2259+
proxy-agent "^6.5.0"
22602260

22612261
"@salesforce/plugin-auth@4.1.5":
22622262
version "4.1.5"
@@ -2468,10 +2468,10 @@
24682468
"@salesforce/ts-types" "^2.0.12"
24692469
debug "^4.4.3"
24702470

2471-
"@salesforce/plugin-templates@56.7.1":
2472-
version "56.7.1"
2473-
resolved "https://registry.yarnpkg.com/@salesforce/plugin-templates/-/plugin-templates-56.7.1.tgz#d402b511802002f89f0e6437356d5a78c6b01004"
2474-
integrity sha512-L9HV9xkiVICxD48gorPj9K460CFjULXEBrHTJPwFb43NShZX0nMtdxSNNIUnCOF4j+D24U6e0tNZm7AQhEb/+w==
2471+
"@salesforce/plugin-templates@56.8.0":
2472+
version "56.8.0"
2473+
resolved "https://registry.yarnpkg.com/@salesforce/plugin-templates/-/plugin-templates-56.8.0.tgz#63637e323dd3e1a6eabf7910d33dd5f778b33df4"
2474+
integrity sha512-z3kqgzEUseNL+MFnV1rcXrE23AvWYqFFJi9qpd6FR/coFI1T/eBm9LtVbRkETeS6sX4FXQYO/HmfiVBCA/+4Qg==
24752475
dependencies:
24762476
"@salesforce/core" "^8.25.1"
24772477
"@salesforce/sf-plugins-core" "^12"

0 commit comments

Comments
 (0)