Skip to content

Commit 5004334

Browse files
authored
Merge pull request #1885 from forcedotcom/release-5.4.0
RELEASE @W-19156628@ Preparing for Release 5.4.0
2 parents 3e3e558 + dbd5661 commit 5004334

File tree

17 files changed

+1806
-1554
lines changed

17 files changed

+1806
-1554
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

10+
[*.ts]
11+
indent_style = tab
12+
indent_size = 4
13+
1014
[*.java]
1115
indent_style = space
1216
indent_size = 4

.git2gus/config.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"productTag": "a1aB0000000c7jnIAA",
3-
"defaultBuild": "[SFCA] Scanner 4.0",
3+
"defaultBuild": "[SFCA] Code Analyzer 5.x",
44
"hideWorkItemUrl": "true",
55
"issueTypeLabels": {
66
"type:feature": "USER STORY",
@@ -13,11 +13,11 @@
1313
"type:duplicate": ""
1414
},
1515
"issueEpicMapping": {
16-
"USER STORY": "a3QEE000000OpkY2AS",
17-
"BUG P0": "a3QEE000000V67Z2AS",
18-
"BUG P1": "a3QEE000000V67Z2AS",
19-
"BUG P2": "a3QEE000000V67Z2AS",
20-
"BUG P3": "a3QEE000000V67Z2AS"
16+
"USER STORY": "a3QEE000001n8Ld2AI",
17+
"BUG P0": "a3QEE000001n7Sn2AI",
18+
"BUG P1": "a3QEE000001n7Sn2AI",
19+
"BUG P2": "a3QEE000001n7Sn2AI",
20+
"BUG P3": "a3QEE000001n7Sn2AI"
2121
},
2222
"gusTitlePrefix": "[GitHub Issue]",
2323
"statusWhenClosed": "FIXED"

.github/ISSUE_TEMPLATE/0-code_analyzer_bug.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ body:
2727
label: Output / Logs
2828
description: Attach any output or logs here.
2929
placeholder: |
30-
Add log output or drag files here.
30+
Add log output here. This will be automatically formatted into code, so no need for backticks.
31+
render: shell
3132
- type: textarea
3233
attributes:
3334
label: Steps To Reproduce

.github/ISSUE_TEMPLATE/1-scanner_bug.yml

Lines changed: 0 additions & 113 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/2-vscode_extension_bug.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ body:
2828
label: Output / Logs
2929
description: Attach any output or logs here.
3030
placeholder: |
31-
Add log output or drag files here.
31+
Add log output here. This will be automatically formatted into code, so no need for backticks.
32+
render: shell
3233
- type: textarea
3334
attributes:
3435
label: Steps To Reproduce
@@ -65,22 +66,20 @@ body:
6566
required: true
6667
- type: input
6768
attributes:
68-
label: Salesforce CLI Version
69+
label: Extension Version
6970
description: |
70-
What do you get when you run the "sf --version" command in the terminal?
71+
What version do you see for the Salesforce Code Analyzer VS Code Extension?
7172
placeholder: |
72-
Example: @salesforce/cli/2.90.4 darwin-x64 node-v22.15.0
73+
Example: Version: 1.9.0
7374
validations:
7475
required: true
75-
- type: dropdown
76+
- type: input
7677
attributes:
77-
label: Using v4
78-
description: "Are you using Code Analyzer v4? (Is the setting 'Code Analyzer: Use v4 (Deprecated)' checked?)"
79-
options:
80-
- ""
81-
- "No"
82-
- "Yes"
83-
- "Not sure"
78+
label: Salesforce CLI Version
79+
description: |
80+
What do you get when you run the "sf --version" command in the terminal?
81+
placeholder: |
82+
Example: @salesforce/cli/2.90.4 darwin-x64 node-v22.15.0
8483
validations:
8584
required: true
8685
- type: input
@@ -89,7 +88,7 @@ body:
8988
description: |
9089
What do you get when you run the "sf plugins" command in the terminal?
9190
placeholder: |
92-
code-analyzer 5.0.0; or if using v4: @salesforce/sfdx-scanner 4.12.0
91+
code-analyzer 5.0.0
9392
validations:
9493
required: false
9594
- type: input

.github/workflows/validate-pr.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ on:
44
types: [edited, opened, reopened, synchronize]
55

66
jobs:
7-
# Prevent merging to dev-4 or main-4 to preserve until we're ready to delete
8-
verify_target_branch:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- if: ${{ github.base_ref == 'dev-4' || github.base_ref == 'main-4' }}
12-
run: |
13-
echo "Forbidden to merge this branch into dev-4 or main-4"
14-
exit 1
157
# We need to verify that the Pull Request's title matches the desired format.
168
verify_pr_title:
179
runs-on: ubuntu-latest

messages/rules-command.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,15 @@ If you specify neither `--view` nor `--output-file`, then the default table view
124124

125125
# flags.output-file.summary
126126

127-
Name of the file where the selected rules are written. The file format depends on the extension you specify; currently, only .json is supported for JSON-formatted output.
127+
Name of the file where the selected rules are written. The file format depends on the extension you specify; the currently supported extensions are .json and .csv
128128

129129
# flags.output-file.description
130130

131-
If you specify a file within folder, such as `--output-file ./out/rules.json`, the folder must already exist, or you get an error. If the file already exists, it's overwritten without prompting.
131+
If you don't specify this flag, the command outputs the rules to only the terminal. Use this flag to write the rules to a file; the format of the rules depends on the extension you provide. For example, `--output-file rules.csv` creates a comma-separated values file. You can specify one of these extensions:
132+
133+
- .csv
134+
- .json
132135

133-
If you don't specify this flag, the command outputs the rules to only the terminal.
136+
To output the rules to multiple files, specify this flag multiple times. For example, `--output-file rules.json --output-file rules.csv` creates both a JSON file and a CSV file.
137+
138+
If you specify a file within folder, such as `--output-file ./out/rules.json`, the folder must already exist, or you get an error. If the file already exists, it's overwritten without prompting.

messages/rules-writer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# error.unrecognized-file-format
22

3-
The output file %s has an unsupported extension. Valid extension(s): .json.
3+
The output file %s has an unsupported extension. Valid extension(s): .json, .csv

0 commit comments

Comments
 (0)