sfdx-hardis 4.13.2 → 4.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -5
- package/README.md +116 -83
- package/lib/commands/hardis/lint/access.js +2 -2
- package/lib/commands/hardis/lint/unusedmetadatas.d.ts +34 -0
- package/lib/commands/hardis/lint/unusedmetadatas.js +193 -0
- package/lib/commands/hardis/lint/unusedmetadatas.js.map +1 -0
- package/lib/commands/hardis/org/diagnose/audittrail.js +3 -2
- package/lib/commands/hardis/org/diagnose/audittrail.js.map +1 -1
- package/lib/commands/hardis/org/diagnose/legacyapi.js +5 -5
- package/lib/commands/hardis/org/monitor/all.js +1 -0
- package/lib/commands/hardis/org/monitor/all.js.map +1 -1
- package/lib/commands/hardis/org/monitor/backup.js +1 -1
- package/lib/common/notifProvider/teamsProvider.js +1 -1
- package/lib/common/notifProvider/teamsProvider.js.map +1 -1
- package/lib/common/utils/notifUtils.d.ts +5 -0
- package/lib/common/utils/notifUtils.js +23 -2
- package/lib/common/utils/notifUtils.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`
|
|
6
6
|
|
|
7
|
+
## [4.14.0] 2023-11-23
|
|
8
|
+
|
|
9
|
+
- Add new feature to identify custom metadata (Labels and custom permissions) not used in source code
|
|
10
|
+
- **hardis:lint:unusedmetadata** : New command to identify custom metadata (Labels and custom permissions) not used in source code
|
|
11
|
+
- **Add two function getNotificationButtons and getBranchMarkdown in notifUtils.ts class to factorize code**
|
|
12
|
+
- Video explaining how to setup sfdx-hardis monitoring
|
|
13
|
+
- Improve notifications display of lists
|
|
14
|
+
|
|
15
|
+
## [4.13.4] 2023-11-22
|
|
16
|
+
|
|
17
|
+
- Upgrade ms-teams-webhook library so it works again !
|
|
18
|
+
- **hardis:org:diagnose:audittrail**: Add changedmanager to not suspect setup actions
|
|
19
|
+
|
|
7
20
|
## [4.13.2] 2023-11-21
|
|
8
21
|
|
|
9
22
|
- **hardis:lint:access**: Do not display empty metadata types in notification.
|
|
@@ -164,13 +177,16 @@ Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image
|
|
|
164
177
|
## [4.6.0] 2023-09-20
|
|
165
178
|
|
|
166
179
|
- [sfdx-hardis & Slack Integration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-slack/)
|
|
180
|
+
|
|
167
181
|
- Easy configuration
|
|
168
182
|
- Deployment notifications to a common channel, and also to git branch dedicated channel
|
|
169
183
|
|
|
170
184
|
- Native [BitBucket](https://bitbucket.com/) CI/CD Pipeline for PR deployment checks and deployments to major orgs after merge
|
|
185
|
+
|
|
171
186
|
- _PR comments are not implemented yet but BitBucket can already be used for production_
|
|
172
187
|
|
|
173
188
|
- **hardis:project:deploy:dx** enhancements:
|
|
189
|
+
|
|
174
190
|
- Added new option --testlevel RunRepositoryTests which will dynamically detect all GIT repository test classes and runs the deployment with found tests. This will speed up the validation/deployment on cases where GIT repository module contains subset of all tests found in the org
|
|
175
191
|
- Added --runtests support in order to pass certain APEX test classes when --testlevel RunSpecifiedTests is used
|
|
176
192
|
|
|
@@ -191,7 +207,6 @@ Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image
|
|
|
191
207
|
- Update default API version to 58.0
|
|
192
208
|
- Fix bug when user email is input the first time
|
|
193
209
|
|
|
194
|
-
|
|
195
210
|
## [4.3.2] 2023-09-08
|
|
196
211
|
|
|
197
212
|
- Updates new task, commit & save task documentation & screenshots
|
|
@@ -245,10 +260,10 @@ Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image
|
|
|
245
260
|
- Update default azure-pipelines-deployment.yml to add mandatory variables for QuickDeploy
|
|
246
261
|
|
|
247
262
|
```yaml
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
263
|
+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
|
|
264
|
+
CI_SFDX_HARDIS_AZURE_TOKEN: $(System.AccessToken)
|
|
265
|
+
SYSTEM_COLLECTIONURI: $(System.CollectionUri)
|
|
266
|
+
BUILD_REPOSITORY_ID: $(Build.Repository.ID)
|
|
252
267
|
```
|
|
253
268
|
|
|
254
269
|
## [4.1.0] 2023-08-22
|