Skip to content

Commit 3e8e7c9

Browse files
Merge pull request #1519 from forcedotcom/release-4.3.0
RELEASE @W-16039195@: Conducting v4.3.0 release.
2 parents 8c053aa + 91d230b commit 3e8e7c9

File tree

104 files changed

+2469
-1678
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+2469
-1678
lines changed

.github/ISSUE_TEMPLATE/0-scanner_run_bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ body:
7777
description: |
7878
What do you get from the command "sf plugins"?
7979
placeholder: |
80-
Example: @salesforce/sfdx-scanner 4.1.0 (latest-beta)
80+
Example: @salesforce/sfdx-scanner 4.3.0 (latest)
8181
validations:
8282
required: true
8383
- type: textarea

.github/ISSUE_TEMPLATE/1-scanner_run_dfa_bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ body:
8181
description: |
8282
What do you get from the command "sf plugins"?
8383
placeholder: |
84-
Example: @salesforce/sfdx-scanner 4.1.0 (latest-beta)
84+
Example: @salesforce/sfdx-scanner 4.3.0 (latest)
8585
validations:
8686
required: true
8787
- type: input

.github/ISSUE_TEMPLATE/2-scanner_run_false_result.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ body:
7171
description: |
7272
What do you get from the command "sf plugins"?
7373
placeholder: |
74-
Example: @salesforce/sfdx-scanner 4.1.0 (latest-beta)
74+
Example: @salesforce/sfdx-scanner 4.3.0 (latest)
7575
validations:
7676
required: true
7777
- type: textarea

.github/ISSUE_TEMPLATE/3-scanner_run_dfa_false_result.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ body:
5858
description: |
5959
What do you get from the command "sf plugins"?
6060
placeholder: |
61-
Example: @salesforce/sfdx-scanner 4.1.0 (latest-beta)
61+
Example: @salesforce/sfdx-scanner 4.3.0 (latest)
6262
validations:
6363
required: true
6464
- type: input

.github/workflows/publish-to-npm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
with:
5454
ctc: false # We've been told we don't have to care about this until someone makes us care.
5555
sign: true
56-
tag: latest-beta-rc # Publish as a release candidate, so we can do our validations against it.
56+
tag: latest-rc # Publish as a release candidate, so we can do our validations against it.
5757
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
5858
secrets: inherit
5959
# Step 3: Run smoke tests against the release candidate.
@@ -81,7 +81,7 @@ jobs:
8181
java-version: '11' # For now, Java version is hardcoded.
8282
# Install SF, and the release candidate version.
8383
- run: npm install -g @salesforce/cli
84-
- run: sf plugins install @salesforce/sfdx-scanner@latest-beta-rc
84+
- run: sf plugins install @salesforce/sfdx-scanner@latest-rc
8585
# Log the installed plugins for easier debugging.
8686
- run: sf plugins
8787
# Attempt to run the smoke tests.
@@ -102,7 +102,7 @@ jobs:
102102
node-version: 'lts/*'
103103
- run: |
104104
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
105-
npm dist-tag add @salesforce/sfdx-scanner@${{ github.event.release.tag_name || inputs.tag }} latest-beta
105+
npm dist-tag add @salesforce/sfdx-scanner@${{ github.event.release.tag_name || inputs.tag }} latest
106106
# Step 5: Create a Pull Request for merging `main` into `dev`
107107
create-main2dev-pull-request:
108108
needs: promote-to-latest

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,7 @@ pmd-cataloger/bin
159159
sfge*.log.gz
160160

161161
npm-shrinkwrap.json
162+
/cli-messaging/out/
163+
164+
# Cache file(s)
165+
/.sfge-cache/fileToEntryMapData.json

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/sfdx-scanner",
33
"description": "Static code scanner that applies quality and security rules to Apex code, and provides feedback.",
4-
"version": "4.2.0",
4+
"version": "4.3.0",
55
"author": "Salesforce Code Analyzer Team",
66
"bugs": "https://github.com/forcedotcom/sfdx-scanner/issues",
77
"dependencies": {

pmd-appexchange/docs/AvoidApiSessionId.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ AvoidApiSessionId[](#avoidapisessionid)
33

44
**Violation:**
55

6-
Session ID use is not approved.
6+
Session ID use may not be approved.
77

88

99
**Priority:** High (2)
1010

1111
**Description:**
1212

13-
Detects use of Api.Session_ID to retrieve a session ID.
13+
Detects use of Api.Session_ID to retrieve a session ID. For more guidance on approved use cases, read the [Session Id Guidance][https://partners.salesforce.com/sfc/servlet.shepherd/version/download/0684V00000O83jT?asPdf=false&operationContext=CHATTER] document.
1414

1515
**Example(s):**
1616

pmd-appexchange/docs/AvoidApiSessionIdInXML.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ AvoidApiSessionIdInXML[](#avoidapisessionidinxml)
1010

1111
**Description:**
1212

13-
Detects use of Api.Session_ID to retrieve a session ID.
13+
Detects use of Api.Session_ID to retrieve a session ID. For more guidance on approved use cases, read the [Session Id Guidance][https://partners.salesforce.com/sfc/servlet.shepherd/version/download/0684V00000O83jT?asPdf=false&operationContext=CHATTER] document.
1414

1515
**Example(s):**
1616

pmd-appexchange/docs/AvoidAuraWithLockerDisabled.md

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

0 commit comments

Comments
 (0)