sfdx-hardis 6.16.0 → 6.16.1-beta202512161830.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 DELETED
@@ -1,3667 +0,0 @@
1
- # Changelog
2
-
3
- ## [beta] (master)
4
-
5
- Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`
6
-
7
- ## [6.16.0] 2025-12-14
8
-
9
- - [hardis:org:diagnose:legacyapi](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/legacyapi/) enhancements:
10
- - Detect calls to API Login to anticipate their [deprecation in Summer 27](https://help.salesforce.com/s/articleView?id=005132110&type=1)
11
- - Make the command more efficient when handling a high number of log files
12
- - Api Versions 21 to 30 are now flagged as errors.
13
- - Add new Grafana Dashboard "Search Salesforce Org by Org Identifier"
14
- - Fix default ConnectedApp name if it contains multiple `_`
15
- - Fix tsconfig & vscode settings to improve VsCode performances
16
-
17
- ## [6.15.1] 2025-12-10
18
-
19
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Fix crash when generating documentation when a formula is just `true`
20
- - Jira Provider: Fix label of jira server in output message when coming from config file.
21
-
22
- ## [6.15.0] 2025-12-08
23
-
24
- - Ticketing: replace the deprecated `jira-client` dependency with the `jira.js` SDK to improve Atlassian Cloud API v3 compatibility and authentication handling.
25
- - Node.js 20 compatibility: force `parse5@6.0.1` through Yarn resolutions to avoid the `ERR_REQUIRE_ESM` crash caused by newer jsdom transitive dependencies.
26
- - Ticketing: while collecting Jira tickets, also capture assignee/reporter identifiers so downstream logs and notifications can surface owners.
27
- - Add yarn.lock in the released package
28
- - GitHub Actions: consolidate the alpha, canary, beta and release deployment workflows into a single `deploy.yml` to reduce duplication and keep security tooling aligned.
29
-
30
- ## [6.14.4] 2025-12-08
31
-
32
- - Ignore a trivy issue located in @salesforce/cli package (will be fixed by Salesforce)
33
-
34
- ## [6.14.3] 2025-12-07
35
-
36
- - Optimize gitlab-ci workflow for scratch orgs testing step
37
- - Upgrade dependencies
38
-
39
- ## [6.14.2] 2025-12-03
40
-
41
- - Add Java (JDK 11+) to Docker image to support PMD engine in Salesforce Code Analyzer
42
-
43
- ## [6.14.1] 2025-12-01
44
-
45
- - [hardis:org:refresh:before-refresh](https://sfdx-hardis.cloudity.com/hardis/org/refresh/before-refresh/): Display a different message in case of empty Custom Settings or export error.
46
- - MegaLinter config: disable CodeSpell
47
-
48
- ## [6.14.0] 2025-11-30
49
-
50
- - Upgrade MegaLinter default config + code-analyzer.yml + updated rulesets
51
-
52
- ## [6.13.0] 2025-11-28
53
-
54
- - New command [hardis:org:purge:profile](https://sfdx-hardis.cloudity.com/hardis/org/purge/profile/): Removes or "mutes" Permission Sets attributes from selected Salesforce Profile metadata files and redeploys the cleaned profiles to the target org.
55
- - New command [hardis:project:clean:profiles-extract](https://sfdx-hardis.cloudity.com/hardis/project/clean/profiles-extract/)
56
- - Adds site/ to .gitignore only in monitoring repositories
57
-
58
- ## [6.12.10] 2025-11-25
59
-
60
- - Temporary downgrade isomorphic-dompurify package (jsdom dep not compliant with NodeJS < 20.19.5 and CodeBuilder / Agentforce Vibes is below)
61
-
62
- ## [6.12.9] 2025-11-25
63
-
64
- - Fixes compatibility issues caused by upgrading to parse5 v8.0.0.
65
-
66
- ## [6.12.8] 2025-11-25
67
-
68
- - Upgrade isomorphic-dompurify
69
-
70
- ## [6.12.7] 2025-11-24
71
-
72
- - Include stack trace in warning log for Flow diff generation errors
73
- - Upgrade dependencies
74
-
75
- ## [6.12.6] 2025-11-18
76
-
77
- - QuickFix typo in deployment actions
78
-
79
- ## [6.12.5] 2025-11-18
80
-
81
- - Improve JIRA authentication and display
82
- - [hardis:project:deploy:notify](https://sfdx-hardis.cloudity.com/hardis/project/deploy/notify/): Make default org optional
83
- - Improve pre/post deployment commands details display in PR comments
84
-
85
- ## [6.12.4] 2025-11-18
86
-
87
- - Upgrade dependencies
88
-
89
- ## [6.12.3] 2025-11-17
90
-
91
- - Add more logs to help investigation in case of issue
92
- - Fix: Issue with extraCommands defined in PR description text (#1540)
93
- - Fix: Resolve duplicate WHERE clause in bulkQueryByChunks pagination (#1539)
94
-
95
- ## [6.12.2] 2025-11-11
96
-
97
- - Deployment Actions: When a custom username is defined, authenticate using the current Pull Request target branch, and not the origin Pull Request
98
- - Fix detection of deployment actions during deployments
99
-
100
- ## [6.12.1] 2025-11-11
101
-
102
- - Optimize & fix git providers integrations
103
-
104
- ## [6.12.0] 2025-11-10
105
-
106
- - [hardis:work:new](https://sfdx-hardis.cloudity.com/hardis/work/new/): If there are multiple `-` in a generated branch name , replace by single `-`, otherwise it messes with mermaid diagrams
107
- - Update json schema to add allowFailure & runOnlyOnceByOrg
108
- - Fix File Export SOQL with LIMIT Clause
109
- - [hardis:org:purge:flow](https://sfdx-hardis.cloudity.com/hardis/org/purge/flow/): Do not prompt user in CI context
110
-
111
- ## [6.11.5] 2025-11-09
112
-
113
- - Excludes training branches from merge target suggestions
114
- - GitHub integration: Includes error stack in logs for easier debugging
115
- - Fix display of commands in GitHub Actions logs
116
- - Add permissions to Github deployment workflow
117
- - Upgrade npm dependencies
118
-
119
- ## [6.11.4] 2025-11-06
120
-
121
- - [hardis:org:test:apex](https://sfdx-hardis.cloudity.com/hardis/org/test/apex/): Fix bug when there are no Apex classes in the org
122
- - GitHub integration: Fix way to get Pull Request number
123
- - As SF Cli now requires NodeJs >= 24, set the same requirement to sfdx-hardis default workflows
124
-
125
- ## [6.11.3] 2025-11-04
126
-
127
- - Handles errors from pull request commands
128
-
129
- ## [6.11.2] 2025-11-03
130
-
131
- - Enhances storage stats with breakdown and filtering
132
-
133
- ## [6.11.1] 2025-11-02
134
-
135
- - Fix manual checkbox display in PR comments
136
-
137
- ## [6.11.0] 2025-11-02
138
-
139
- - New feature: [**Deployment actions**](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-work-on-task-deployment-actions/) at Pull Request level
140
- - Define pre-deploy and post-deploy commands to be executed during CI/CD deployments
141
- - Display summary in Pull Request with details of each command execution
142
- - Update CI/CD documentation & screenshots
143
- - Do not display generated time in JSON Schema doc
144
-
145
- ## [6.10.0] 2025-10-31
146
-
147
- - New command [hardis:org:diagnose:storage-stats](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/storage-stats/) to analyze storage usage per object and per year of creation / last update
148
- - Add explicit message in case of error when authenticating to Git provider API
149
- - Allow to override SFDX_TEST_WAIT_MINUTES and SFDX_DEPLOY_WAIT_MINUTES using CI/CD variables, and set 120 minutes as default value everywhere
150
- - Fix Validation Rules formula field in doc generation
151
-
152
- ## [6.9.0] 2025-10-23
153
-
154
- - Bring back Microsoft Teams notifications [using Teams Workflow](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-ms-teams/)
155
- - Update servicenow-report to add validity rows management
156
-
157
- ## [6.8.1] 2025-10-22
158
-
159
- - Update Metadata List to use v65 one
160
- - Update servicenow-report command to handle more use cases
161
-
162
- ## [6.8.0] 2025-10-19
163
-
164
- - Ticketing providers: Add more variables that can be defined in .sfdx-hardis.yml
165
- - ticketingProvider
166
- - genericTicketingProviderRegex
167
- - genericTicketingProviderUrlBuilder
168
- - jiraHost
169
- - jiraTicketRegex
170
-
171
- ## [6.7.4] 2025-10-14
172
-
173
- - Enhances git commit logging with file status
174
- - Fix some grammar issues
175
-
176
- ## [6.7.3] 2025-10-13
177
-
178
- - Handle cases where Azure DevOps is hosted on visualstudio.com
179
- - Hide credentials from user logs when they are in remote.origin.url
180
-
181
- ## [6.7.2] 2025-10-13
182
-
183
- - Add 2 events to come where sfdx-hardis will be demonstrated
184
- - DevOps Dreamin: Why you don't need Salesforce DevOps vendors
185
- - French Touch Dreamin: Refresh your full sandboxes without needing to reconfigure everything
186
- - CodeBuilder: Prompt user when Git remote is not authenticated, then update Git remote URL to use token authentication
187
-
188
- ## [6.7.1] 2025-10-12
189
-
190
- - [hardis:org:diagnose:releaseupdates](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/releaseupdates/): Add Pending in list of statuses checked by the command
191
- - Update JSON schema to indicate useDeltaDeploymentWithDependencies is in beta
192
- - Fix activate-decomposed documentation formatting
193
-
194
- ## [6.7.0] 2025-10-12
195
-
196
- - New command: [hardis:project:metadata:activate-decomposed](https://sfdx-hardis.cloudity.com/hardis/project/metadata/activate-decomposed/): Activate decomposed metadata types in `sfdx-project.json` and convert existing sources.
197
-
198
- - Improvements & Fixes
199
-
200
- - Cast descriptions to string before formatting to avoid rendering issues.
201
- - Avoid unnecessary file writes during builds to improve performance and CI speed.
202
- - Update JSON Schema to reflect new features and validation rules.
203
- - Add support for **Vector** (vector.dev) to enable ingestion by DataDog and other observability platforms.
204
-
205
- - Integrations
206
-
207
- - BitBucket: show a clear message when the Pull Requests app must be installed.
208
- - Azure Comment Reporter: create a Work Item and attach images when an item approaches the attachments limit.
209
-
210
- - Documentation
211
- - Update CI/CD documentation with the latest integration and workflow changes.
212
- - Update contributing documentation to include guidance for the vscode-sfdx-hardis extension.
213
- - Ensure docs reference the new JSON Schema and decomposed metadata command where relevant.
214
-
215
- ## [6.6.0] 2025-10-05
216
-
217
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/project/deploy/smart/): Enhance beta feature **useDeltaDeploymentWithDependencies** to add more dependencies to the delta deployment package (see [related documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-config-delta-deployment/#delta-with-dependencies-beta))
218
- - Remove `dev` or `config` parts of the new git branches, as it is not relevant
219
- - Update global variables documentation to add AI related ones
220
- - Add more events about sfdx-hardis in the documentation
221
- - Update CI/CD Home Page documentation
222
-
223
- ## [6.5.4] 2025-09-27
224
-
225
- - Update installation instructions
226
- - Update doc to explain how to remove metadatas from repository without deleting them from orgs.
227
- - Fix: adjust LIMIT_THRESHOLD_ERROR env var + align docs threshold values
228
-
229
- ## [6.5.3] 2025-09-23
230
-
231
- - Install Chrome in Ubuntu docker image
232
-
233
- ## [6.5.2] 2025-09-21
234
-
235
- - Display alias in org selection
236
-
237
- ## [6.5.1] 2025-09-20
238
-
239
- - [hardis:org:monitor:backup](https://sfdx-hardis.cloudity.com/hardis/org/monitor/backup/) enhancements:
240
- - Creates the 'force-app/main/default' directory if it doesn't exist before retrieving metadatas
241
- - [hardis:org:configure:monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/):
242
- - Display the connected App XML in logs (while hiding sensitive info)
243
- - When production org, run the first found test class (or allow to force its selection using ENV variable `SFDX_HARDIS_TECH_DEPLOY_TEST_CLASS` )
244
- - Add instructions to use ghcr.io Docker image in case of rate limits reached on Docker Hub
245
- - Handle progress component in UI when generating documentation
246
-
247
- ## [6.5.0] 2025-09-17
248
-
249
- - Files export enhancements:
250
- - Resume + validate downloaded files
251
- - Improves API limit handling for file export/import
252
- - When prompting for org url, allow to input just the domain (ex: `hardis-group`) and sfdx-hardis will build the rest of the url
253
-
254
- ## [6.4.4] 2025-09-16
255
-
256
- - When prompting for org instance URL, allow to copy-paste the full URL to gain time
257
- - [hardis:org:diagnose:unsecure-connected-apps](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unsecure-connected-apps/): Salesforce limits OAuthToken queries to 2500 results. Be sneaky to get all results :)
258
-
259
- ## [6.4.3] 2025-09-14
260
-
261
- - [hardis:org:file:export](https://sfdx-hardis.cloudity.com/hardis/org/files/export/) and [hardis:org:file:import](https://sfdx-hardis.cloudity.com/hardis/org/files/import/):
262
- - Provide record Ids in the logs
263
- - Update labels of all report files for UI buttons
264
- - Allow to export only files of a minimum size
265
-
266
- ## [6.4.2] 2025-09-14
267
-
268
- - Add additional dependencies in Ubuntu Dockerfile to allow mermaid-cli and chrome to run natively from the image.
269
- - [hardis:org:file:export](https://sfdx-hardis.cloudity.com/hardis/org/files/export/) & [hardis:org:file:import](https://sfdx-hardis.cloudity.com/hardis/org/files/import/):
270
- - Send progress notifications to WebSocketServer
271
- - Improve console logs
272
- - Generate a CSV log file with all files
273
- - [hardis:work:save](https://sfdx-hardis.cloudity.com/hardis/work/save/): Display manual actions file as an action link
274
-
275
- ## [6.4.1] 2025-09-10
276
-
277
- - Allow to override Bulk API v2 settings with env variables **BULKAPIV2_POLL_INTERVAL**, **BULKAPIV2_POLL_TIMEOUT** and **BULK_QUERY_RETRY**
278
-
279
- ## [6.4.0] 2025-09-08
280
-
281
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/project/deploy/smart/): New beta feature **useDeltaDeploymentWithDependencies** to add dependencies to the delta deployment package.
282
- - Fix npm dependencies (just in case, but the global npm packages hack has not impacted sfdx-hardis as it does not run in a browser)
283
-
284
- ## [6.3.3] 2025-09-08
285
-
286
- - [hardis:org:diagnose:unsecure-connected-apps](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unsecure-connected-apps/)
287
- - Add an additional columns on OAuth Usage to:
288
- - Show when the connected app has been last used
289
- - Show which profiles are the users using the OAuth Tokens
290
- - Run the command in the daily monitoring
291
-
292
- ## [6.3.2] 2025-09-07
293
-
294
- - Set initPermissionSets config prop to array of strings
295
- - [hardis:org:diagnose:unsecure-connected-apps](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unsecure-connected-apps/): Handle case where OAuth Token App menu item is not found
296
-
297
- ## [6.3.1] 2025-09-07
298
-
299
- - Update Grafana Home Dashboard to add Unsecure Connected Apps
300
- - Fix Auth configuration command for Dev Hub
301
- - Allow to use org shapes for scratch org creation with env variable **SCRATCH_ORG_SHAPE**
302
- - Replace `my.salesforce-setup.com` by `my.salesforce.com` when prompting instance URL
303
-
304
- ## [6.3.0] 2025-09-06
305
-
306
- - New command [hardis:org:diagnose:unsecure-connected-apps](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unsecure-connected-apps/) to detect Unsecured Connected Apps
307
- - Add documentation about Packages installation
308
- - Update Azure Pipelines integration documentation
309
-
310
- ## [6.2.1] 2025-09-04
311
-
312
- - [hardis:work:save](https://sfdx-hardis.cloudity.com/hardis/work/save/): Always display a button to create Merge Request
313
- - Update GitProvider to make it compliant with GitHub Enterprise hosted on ghe.com
314
-
315
- ## [6.2.0] 2025-09-01
316
-
317
- - [hardis:org:refresh:before-refresh](https://sfdx-hardis.cloudity.com/hardis/org/refresh/before-refresh/)
318
- - Allow to download data to save before refreshing the sandbox, using SFDMU projects
319
- - Save Custom Settings selection in configuration
320
- - [hardis:org:refresh:after-refresh](https://sfdx-hardis.cloudity.com/hardis/org/refresh/after-refresh/)
321
- - Restore data after refresh using saved SFDMU project data
322
- - [hardis:org:data:export](https://sfdx-hardis.cloudity.com/hardis/org/data/export/) & [hardis:org:data:import](https://sfdx-hardis.cloudity.com/hardis/org/data/export/):
323
- - Add --project-name and --no-prompts arguments
324
- - Add more examples of commands calls
325
- - [hardis:org:select](https://sfdx-hardis.cloudity.com/hardis/org/data/export/): Improve options to be called from VsCode-sfdx-hardis Orgs Manager LWC
326
-
327
- ## [6.1.4] 2025-08-25
328
-
329
- - Update Integrations & DevOps Documentation
330
- - Send message to refresh pipeline after updating package configuration
331
-
332
- ## [6.1.3] 2025-08-24
333
-
334
- - [hardis:org:configure:auth](https://sfdx-hardis.cloudity.com/hardis/org/configure/auth/)
335
- - Fix issues related to VsCode background mode
336
- - When updating existing branch authentication, pre-select merge targets.
337
- - Send more information to the user about files that are created/updated
338
-
339
- ## [6.1.2] 2025-08-24
340
-
341
- - Simplify package retrieve command
342
- - Handle when an org is disconnected in CodeBuilder context
343
-
344
- ## [6.1.1] 2025-08-24
345
-
346
- - Auto-detect which login type to use depending if we are in local or web context (Code Builder, CodeSpaces)
347
- - Add documentation for Ubuntu images
348
- - Wait for WebSocket Server to be initialized before continuing command.
349
-
350
- ## [6.1.0] 2025-08-23
351
-
352
- - [hardis:org:refresh:before-refresh](https://sfdx-hardis.cloudity.com/hardis/org/refresh/before-refresh/)
353
- - Retrieve Certificates and other metadatas that could need to be restored
354
- - Retrieve Custom Settings values
355
- - [hardis:org:refresh:after-refresh](https://sfdx-hardis.cloudity.com/hardis/org/refresh/after-refresh/)
356
- - Restore Certificates and other metadatas that could need to be restored
357
- - Restore Custom Settings values
358
- - Smart restore of SAML SSO Config by prompting the user to select a valid certificate
359
- - Send path to command log file to WebSocketServer
360
- - Improve startup performances by checking for sfdx-hardis upgrades every 6h and not every 15 mn!
361
- - [hardis:org:diagnose:unused-connected-app](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-connected-apps/): Fix bug when not escaping App name in SOQL query
362
- - Update banner
363
- - New config property **manualActionsFileUrl** to indicate users where the deployment manual actions is located.
364
-
365
- ## [6.0.6 (beta)] 2025-08-17
366
-
367
- - New command [hardis:org:refresh:before-refresh](https://sfdx-hardis.cloudity.com/hardis/org/refresh/before-refresh/) : Save Connected Apps before refreshing a sandbox.
368
- - New command [hardis:org:refresh:after-refresh](https://sfdx-hardis.cloudity.com/hardis/org/refresh/after-refresh/) : Restore Connected Apps after refreshing a sandbox.
369
- - Update JSON Schema documentation
370
- - When authenticating to an expired org token, delete the SF Cli file that can mess with us when we refreshed a sandbox.
371
- - Improve logs display
372
-
373
- ## [6.0.5 (beta)] 2025-08-14
374
-
375
- - Add ENV SF_DATA_DIR to the ubuntu Dockerfile to install plugins "globally" and make the image work as non-root user
376
-
377
- ## [6.0.4 (beta)] 2025-08-14
378
-
379
- - Immediately stop when a user cancelled a multi-questions prompts
380
- - Add log used for background process in LWC UI
381
- - Refactor logging methods
382
- - Display labels of prompt answers, not technical values
383
- - Improve naming of report files
384
-
385
- ## [6.0.3 (beta)] 2025-08-12
386
-
387
- - [hardis:org:generate:packagexmlfull](https://sfdx-hardis.cloudity.com/hardis/org/generate/packagexmlfull/): Add --no-prompt option to directly use default org.
388
- - [hardis:work:save](https://sfdx-hardis.cloudity.com/hardis/work/save/):
389
- - Add links to create Merge Request + Display MR documentation
390
- - Conditionally execute CleanXML command
391
- - Improve UX when opening sandboxes
392
-
393
- ## [6.0.2 (beta)] 2025-08-11
394
-
395
- - Renaming "task" to "User Story" across the codebase and documentation for clarity.
396
- - Enhancing SFDMU integration by improving UX and linking external docs.
397
- - Improving CLI command outputs and workflows.
398
-
399
- ## [6.0.1 (beta)] 2025-08-11
400
-
401
- - Send messages to VsCode to enhance buttons and links
402
- - Send messages to VsCode to display tables
403
- - Unify the way to handle table display in all commands formerly using console.table or columnify
404
-
405
- ## [6.0.0 (beta)] 2025-08-09
406
-
407
- - Implement advanced websocket messaging for vscode sfdx-hardis LWC UI
408
- - Refactor logging within commands for better display on vscode sfdx-hardis LWC UI
409
- - Generate commands documentation with AI
410
- - Refactor [hardis:org:configure:auth](https://sfdx-hardis.cloudity.com/hardis/org/configure/auth/) for better UX
411
- - Enhance org selection prompt
412
-
413
- ## [5.45.0] 2025-07-22
414
-
415
- - Generate ubuntu-based Docker images
416
- - docker.io/hardisgroupcom/sfdx-hardis-ubuntu
417
- - ghcr.io/hardisgroupcom/sfdx-hardis-ubuntu
418
- - Display commands in blue for better readability on BitBucket
419
- - Fix bug that did not replace existing comments on BitBucket
420
- - Decrease docker images size
421
-
422
- ## [5.44.1] 2025-07-16
423
-
424
- - [hardis:org:diagnose:audittrail](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/audittrail/):Add new ignored items in audit trail
425
-
426
- ## [5.44.0] 2025-06-29
427
-
428
- - [hardis:project:generate:bypass](https://sfdx-hardis.cloudity.com/hardis/project/generate/bypass/): Code rework + removed global flag + Added ability to apply the bypass to VRs and Triggers
429
- - Refactored logic to ensure preprod branches are only added if they exist, preventing null pointer exceptions.
430
- - Upgrade npm dependencies
431
-
432
- ## [5.43.5] 2025-06-27
433
-
434
- - Filter WorkflowFlowAutomation from org-generated package.xml (workaround attempt for <https://github.com/forcedotcom/cli/issues/3324>)
435
-
436
- ## [5.43.4] 2025-06-26
437
-
438
- - Fix use of org API version
439
-
440
- ## [5.43.3] 2025-06-26
441
-
442
- - [hardis:project:audit:apiversion](https://sfdx-hardis.cloudity.com/hardis/project/audit/apiversion/): Add the newApiVersion parameter to specify the target version for the upgrade.
443
-
444
- ## [5.43.2] 2025-06-25
445
-
446
- - Update default API version to 63.0, but if --skipauth is not used, get the apiVersion of default org
447
- - [hardis:org:monitor:backup](https://sfdx-hardis.cloudity.com/hardis/org/monitor/backup/): Automate update of sfdx-project.json and package.xml at the beginning of the command
448
-
449
- ## [5.43.1] 2025-06-24
450
-
451
- - Refactor part of the documentation + add pages about events and videos
452
- - Upgrade dependency @cparra/apexdocs
453
-
454
- ## [5.43.0] 2025-06-22
455
-
456
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) enhancements
457
-
458
- - Generate Apex Class relationship diagram on each apex doc page
459
- - Improve display of Object and Class diagrams when there are too many items
460
-
461
- - Upgrade npm dependencies
462
-
463
- ## [5.42.0] 2025-06-18
464
-
465
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/project/deploy/smart/): CI/CD enhancements
466
- - Allow to activate special behaviors when words are written in Pull Request description
467
- - **NO_DELTA**: Even if delta deployments are activated, a deployment in mode **full** will be performed for this Pull Request
468
- - **PURGE_FLOW_VERSIONS**: After deployment, inactive and obsolete Flow Versions will be deleted (equivalent to command sf hardis:org:purge:flow)<br/>**Caution: This will also purge active Flow Interviews !**
469
- - **DESTRUCTIVE_CHANGES_AFTER_DEPLOYMENT**: If a file manifest/destructiveChanges.xml is found, it will be executed in a separate step, after the deployment of the main package
470
- - Use CommonPullRequestInfo strong type for better use of cross-platform PR functions
471
- - Manage cache to get Pull Request info to improve performances
472
-
473
- ## [5.41.0] 2025-06-15
474
-
475
- - Factorize common prompt text into prompt variables, that can be overridable by user.
476
- - Implement cache for prompt templates and variables to improve performances
477
- - New command [hardis:doc:override-prompts](https://sfdx-hardis.cloudity.com/hardis/doc/override-prompts/): Create local override files for AI prompt templates that can be customized to match your organization's specific needs and terminology
478
- - Add Github Copilot instructions
479
-
480
- ## [5.40.0] 2025-06-15
481
-
482
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Add Roles documentation
483
- - Upgrade npm dependencies
484
-
485
- ## [5.39.1] 2025-06-05
486
-
487
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Define DO_NOT_OVERWRITE_INDEX_MD=true to avoid overwriting the index.md file in docs folder, useful if you want to keep your own index.md file.
488
-
489
- ## [5.39.0] 2025-06-05
490
-
491
- - When in CI, by default a maximum time of 30 minutes can be used to call AI. This value can be overridden using `AI_MAX_TIMEOUT_MINUTES`.
492
- - New documentation page with all environment variables used by sfdx-hardis
493
-
494
- ## [5.38.2] 2025-06-05
495
-
496
- - [hardis:org:monitor:backup](https://sfdx-hardis.cloudity.com/hardis/org/monitor/backup/): Do not filter standard objects if they have at least one custom field defined.
497
- - Upgrade tar-fs to fix CVE
498
-
499
- ## [5.38.1] 2025-06-02
500
-
501
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Fix crash when generating Assignment Rules doc
502
-
503
- ## [5.38.0] 2025-05-27
504
-
505
- - New command [hardis:misc:servicenow-report](https://sfdx-hardis.cloudity.com/hardis/misc/servicenow-report/) to generate reports crossing data from a Salesforce object and related entries in ServiceNow
506
- - Automatically open Excel report files when possible (disable with env var `NO_OPEN=true`)
507
- - Defer the `sortCrossPlatform` operation for member lists until after all elements for a specific metadata type have been collected. Sorting is now performed only once per type improving the overall performance
508
- - Upgrade npm dependencies
509
-
510
- ## [5.37.1] 2025-05-23
511
-
512
- - Update PROMPT_DESCRIBE_PACKAGE
513
- - Update common instructions about prompt reply language
514
- - Make sure that projectName is compliant with the format of an environment variable
515
-
516
- ## [5.37.0] 2025-05-22
517
-
518
- - Generate and publish multilingual documentation from sfdx-hardis monitoring
519
- - Update command to install mkdocs-material & dependencies to match more python installation types
520
- - Upgrade way to call wrangler to publish to Cloudflare
521
-
522
- ## [5.36.3] 2025-05-21
523
-
524
- - Azure CI/CD workflows: use ubuntu-latest as default image
525
- - Fix doc overwrite in case apex docs failed
526
- - Sort by alphabetical order, ignoring uppercase / lowercase
527
- - Update default prompts
528
- - Fix & delete generated files that are not compliant with Windows file system
529
-
530
- ## [5.36.2] 2025-05-19
531
-
532
- - Do not create package files with git forbidden characters
533
-
534
- ## [5.36.1] 2025-05-18
535
-
536
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Display installed package metadatas as tree view
537
-
538
- ## [5.36.0] 2025-05-18
539
-
540
- - Allow to use another org to call Agentforce, by previously connecting to an org alias TECHNICAL_ORG (to do that, just define SFDX_AUTH_URL_TECHNICAL_ORG and [hardis:auth:login](https://sfdx-hardis.cloudity.com/hardis/auth/login/) will handle the rest)
541
-
542
- ## [5.35.0] 2025-05-18
543
-
544
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) new features and fixes:
545
- - Add doc for installed packages, enhanced with LLM
546
- - Fix markdown returned by LLMs so it is compliant with mkdocs
547
- - Allow to define a property **truncateAfter** on prompts variables to avoid crashes in case value is too long
548
- - Authorizations doc:
549
- - Filter non accessible items from tree
550
- - Display special icons for ModifyAllData and ViewAllData items
551
- - Fix display of Dataspace scope
552
- - Allow to override text generated by LLM
553
- - Allow to override a full documentation page using `<!-- DO_NOT_OVERWRITE_DOC=FALSE -->`
554
- - Upgrade dependencies
555
-
556
- ## [5.34.1] 2025-05-15
557
-
558
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Fix crash when there is no HTML or JS on a LWC
559
-
560
- ## [5.34.0] 2025-05-13
561
-
562
- - [hardis:org:diagnose:audittrail](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/audittrail/): Add audit Custom Setting values updates
563
- - Improve SOQL query functions by adding warning logs for record limits and removing redundant warning handling
564
- - New command [hardis:misc:custom-label-translations](https://sfdx-hardis.cloudity.com/hardis/misc/custom-label-translations/): Extract selected custom labels, or of a given Lightning Web Component (LWC), from all language translation files. This command generates translation files ('\*.translation - meta.xml') for each language already retrieved in the current project, containing only the specified custom labels.
565
-
566
- ## [5.33.0] 2025-05-10
567
-
568
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Allow to use ollama, Anthropic and Gemini LLMs, through langchainJs
569
- - sfdx-hardis prompt templates enhancements:
570
- - Add [prompt templates](https://sfdx-hardis.cloudity.com/salesforce-ai-prompts/#available-prompt-templates) in online documentation
571
- - Allow to locally [override prompt templates](https://sfdx-hardis.cloudity.com/salesforce-ai-prompts/#overriding-prompts) text in `config/prompt-templates/${templateName}.txt`
572
- - Rewrite old prompt templates
573
- - Improve VsCode workspace configuration to avoid performance issues
574
- - Upgrade npm dependencies
575
-
576
- ## [5.32.1] 2025-05-09
577
-
578
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Fix crash when assignment rule doesn't have a value
579
-
580
- ## [5.32.0] 2025-05-06
581
-
582
- - [hardis:org:diagnose:audittrail](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/audittrail/): Flag more audit trail actions as not relevant
583
- - CI/CD: Add FlowDefinition in default [package-no-overwrite.xml](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-config-overwrite/#package-no-overwritexml), as it is a deprecated metadata
584
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Escalation Rules AI-enhanced documentation
585
-
586
- ## [5.31.0] 2025-05-05
587
-
588
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): New features
589
- - AutoResponse rules, by @mpyvo in <https://github.com/hardisgroupcom/sfdx-hardis/pull/1199>
590
- - Lightning Web Components, by @tahabasri in <https://github.com/hardisgroupcom/sfdx-hardis/pull/1197>
591
-
592
- ## [5.30.0] 2025-05-04
593
-
594
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Generate Assignment Rules documentation
595
- - Doc: Mention security artifacts in documentation
596
-
597
- ## [5.29.1] 2025-05-02
598
-
599
- - [hardis:org:diagnose:audittrail](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/audittrail/): Flag more audit trail actions as not relevant
600
- - Generate SBOM (Software Bill Of Material) from CI/CD jobs
601
- - Expose security scan results and SBOM as artifacts on release jobs
602
-
603
- ## [5.29.0] 2025-05-02
604
-
605
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Generate Approval Process documentation
606
- - Bitbucket Integration: Update default pipeline to add `clone: depth: full`
607
- - Security: Remove markdown-toc dependency as it is not maintained anymore and contains a CVE on old lodash version
608
- - Add documentation page about how security is handled with sfdx-hardis
609
- - Add trivy reports in Github Actions Workflows
610
-
611
- ## [5.28.1] 2025-04-25
612
-
613
- - [hardis:org:diagnose:audittrail](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/audittrail/) enhancements
614
- - Flag more audit trail actions as not relevant
615
- - Display related actions next to username in summary
616
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Reorganize documentation menus
617
-
618
- ## [5.28.0] 2025-04-23
619
-
620
- - [hardis:lint:metadatastatus](https://sfdx-hardis.cloudity.com/hardis/lint/metadatastatus/): Detect more inactive elements that are technical debt to be cleaned
621
- - Approval Processes
622
- - Assignment Rules
623
- - Auto Response Rules
624
- - Escalation Rules
625
- - Forecasting Types
626
- - Record Types
627
- - Workflow Rules
628
-
629
- ## [5.27.0] 2025-04-18
630
-
631
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) new features
632
- - Generate Permission sets and Permission Set Groups documentation
633
- - Display Profiles & Permission Sets attributes in a tree
634
-
635
- ## [5.26.1] 2025-04-15
636
-
637
- - Also Display JIRA and Azure Boards issue status labels in notifications
638
- - [hardis:org:monitor:backup](https://sfdx-hardis.cloudity.com/hardis/org/monitor/backup/) enhancements
639
- - Add **--start-chunk** to help solving rotten Metadata retrieve issues
640
- - When using **--full-apply-filters**, do not kee Custom Objects who do not have Custom Fields locally defined
641
- - Update package-skip-items template to add MilestoneType
642
- - Add troubleshooting documentation
643
-
644
- ## [5.26.0] 2025-04-11
645
-
646
- - [hardis:org:monitor:backup](https://sfdx-hardis.cloudity.com/hardis/org/monitor/backup/): Allow wildcards in package-skip-items.xml (examples: `pi__*` , `*__dlm` , or `prefix*suffix` )
647
-
648
- ## [5.25.2] 2025-04-10
649
-
650
- - Display JIRA and Azure Boards issue status labels in Pull Request comments
651
-
652
- ## [5.25.1] 2025-04-08
653
-
654
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Fix typo for Object description prompt
655
-
656
- ## [5.25.0] 2025-04-06
657
-
658
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Add profile documentation generated by AI
659
- - Refactor document generation code
660
- - GitHub Integration: Use ENV variables as fallback [in case the job runner is not GitHub Actions](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-github/#using-github-integration-without-github-actions), like Codefresh
661
-
662
- ## [5.24.3] 2025-04-04
663
-
664
- - Fix visualization of [Azure DevOps](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/#azure-pull-request-notes) images by linking attachments to a generic work item.
665
-
666
- ## [5.24.2] 2025-04-02
667
-
668
- - Upgrade npm dependencies
669
-
670
- ## [5.24.1] 2025-03-24
671
-
672
- - Upgrade @xmlnode/xmlnode and update related code so it works with newer version
673
- - Upgrade NPM dependencies
674
- - Update [Contributor Guide documentation about package management](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-work-on-task-install-packages/)
675
-
676
- ## [5.24.0] 2025-03-21
677
-
678
- - Flow documentation: Take in account new **Transform Element**
679
-
680
- ## [5.23.0] 2025-03-19
681
-
682
- - Lazy loading in hooks to improve performances when other CLI plugins commands are called
683
- - [hardis:org:file:export](https://sfdx-hardis.cloudity.com/hardis/org/files/export/): Fix 100000 characters SOQL error limit
684
- - Upgrade npm dependencies
685
-
686
- ## [5.22.0] 2025-03-13
687
-
688
- - [hardis:org:file:export](https://sfdx-hardis.cloudity.com/hardis/org/files/export/): Now handles to export of Attachments in addition to ContentVersions :)
689
- - [hardis:doc:flow2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/flow2markdown/): Call AI when generating the doc of a single flow
690
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/project/deploy/smart/) Fix: delta after merge is not working as expected
691
-
692
- ## [5.21.4] 2025-03-11
693
-
694
- - Support edge-case when package.xml is empty but destructive changes are present. (see [Github issue](https://github.com/hardisgroupcom/sfdx-hardis/issues/1093))
695
- - Upgrade dependencies
696
-
697
- ## [5.21.3] 2025-03-01
698
-
699
- - [hardis:org:data:export](https://sfdx-hardis.cloudity.com/hardis/org/data/export/): Fix crash when a record has more than 1000 attached documents
700
-
701
- ## [5.21.2] 2025-03-01
702
-
703
- - [hardis:org:diagnose:unused-connected-app](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-connected-apps/): Fix crash when a Connected App doesn't have a CreatedBy
704
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Avoid crash when a lookup field does not contain referenceTo
705
-
706
- ## [5.21.1] 2025-02-27
707
-
708
- - [hardis:org:test:apex](https://sfdx-hardis.cloudity.com/hardis/org/test/apex/) Take in account `--target-org` option
709
- - [hardis:org:diagnose:audittrail](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/audittrail/) Fix **monitoringAllowedSectionsActions**
710
-
711
- ## [5.21.0] 2025-02-27
712
-
713
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Generate PDF files from markdown documentation, by @matheus-delazeri
714
-
715
- ## [5.20.0] 2025-02-22
716
-
717
- - [hardis:work:new](https://sfdx-hardis.cloudity.com/hardis/work/new/)
718
- - Document properties **availableProjects** and **availableTargetBranches**
719
- - Allow to define **newTaskNameRegex** to enforce the naming of a new task
720
- - Allow to remove question about upgrading the dev sandbox is `sharedDevSandboxes: true` is set
721
- - Fix issue with **monitoringAllowedSectionsActions** not taking in account when a section is defined as `[]` to ignore all of its member types.
722
- - Upgrade npm dependencies
723
-
724
- ## [5.19.4] 2025-02-17
725
-
726
- - Do not check for missing descriptions on Data Cloud & Managed package metadatas
727
- - Doc: display where subflows are used in a new Dependencies paragraph
728
- - mkdocs-to-cf: No need to authenticate to SF org
729
-
730
- ## [5.19.3] 2025-02-15
731
-
732
- - Doc: Add Cloudflare setup instructions
733
- - Doc: Reorganize Project documentation menus
734
- - Update default workflows to handle Cloudflare variables
735
-
736
- ## [5.19.2] 2025-02-14
737
-
738
- - [hardis:project:generate:bypass](https://sfdx-hardis.cloudity.com/hardis/project/generate/bypass/): Added necessary flags to be run from vscode sfdx-hardis extension + added skip-credits
739
- - Bypass generator: Create metadatas folders if not existing yet
740
- - Change default CF policy
741
- - Update doc to request activation of **ExperienceBundle Metadata API**
742
-
743
- ## [5.19.1] 2025-02-09
744
-
745
- - Quickfix cf upload
746
-
747
- ## [5.19.0] 2025-02-09
748
-
749
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Add object model diagram in documentation
750
- - New command [hardis:project:generate:bypass](https://sfdx-hardis.cloudity.com/hardis/project/generate/bypass/) : Generates bypass custom permissions and permission sets for specified sObjects and automations, by @Mehdi-Cloudity in <https://github.com/hardisgroupcom/sfdx-hardis/pull/1060>
751
- - Adjusting the Grafana Configuration Variables in the Megalinter part of org-monitoring.yml, by @AhmedElAmory in <https://github.com/hardisgroupcom/sfdx-hardis/pull/1057>
752
-
753
- ## [5.18.1] 2025-02-04
754
-
755
- - Fix typo in docUtils
756
- - Stealth enhancements
757
-
758
- ## [5.18.0] 2025-02-03
759
-
760
- - New command [hardis:doc:fieldusage](https://sfdx-hardis.cloudity.com/hardis/doc/fieldusage/) : generate a report with custom field's usage from metadata dependencies.
761
-
762
- ## [5.17.4] 2025-01-31
763
-
764
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Fixes pages menu
765
- - Stealth feature
766
-
767
- ## [5.17.3] 2025-01-29
768
-
769
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Improve Apex docs markdown
770
- - Upgrade apexdocs version
771
- - Fix auth message when selecting default org
772
-
773
- ## [5.17.2] 2025-01-29
774
-
775
- - [hardis:org:configure:files](https://sfdx-hardis.cloudity.com/hardis/org/configure/files/): Add examples when configuring file export format
776
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Avoid the command to crash if apexdocs generation fails
777
-
778
- ## [5.17.1] 2025-01-27
779
-
780
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Add type of Lightning Pages in tables
781
- - [hardis:org:monitor:backup](https://sfdx-hardis.cloudity.com/hardis/org/monitor/backup/): Fix issue when there is an empty metadata type
782
-
783
- ## [5.17.0] 2025-01-26
784
-
785
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) enhancements:
786
- - Generate Apex classes documentation using `@cparra/apexdocs`, and describe them using AI if available
787
- - Generate Lightning Pages documentation and describe them using AI if available
788
- - Display error message in case of XML parsing error
789
- - Do not raise issues when managed items fields don't have descriptions
790
- - Do not raise inactive validation rule issue when the VR is from a managed package
791
- - Fix New JSON coverage formatter is selecting wrong JSON from sf project deploy command
792
-
793
- ## [5.16.4] 2025-01-22
794
-
795
- - Doc: Exclude not relevant md from search
796
- - Upgrade npm dependencies
797
- - Add more logs to login command
798
-
799
- ## [5.16.3] 2025-01-22
800
-
801
- - Do not post comments with Flows if there is no real differences
802
- - Truncate the number of flows git diff displayed in Pull Request comments to 30 (override the number using MAX_FLOW_DIFF_TO_SHOW )
803
- - Keep history link in main flow doc if available and history not recalculated
804
- - Remove Flows History mkdocs menu if present from an old sfdx-hardis doc generation
805
- - QuickFix AI Generated Summary text in PRs
806
-
807
- ## [5.16.2] 2025-01-21
808
-
809
- - Strip XML to save prompts tokens
810
- - Fix issue when parsing CustomObject metadata
811
- - Install latest version of plugin @salesforce/plugin-deploy-retrieve in Dockerfile to avoid the bug of its current version
812
- - Fix: Do not recalculate Flow History doc if flow has not been updated
813
- - Skip Data Cloud objects from documentation (enforce using variable INCLUDE_DATA_CLOUD_DOC=true)
814
-
815
- ## [5.16.1] 2025-01-19
816
-
817
- - AI Cache results enhancements
818
- - Normalize strings before creating fingerprint to handle multiple platforms
819
- - Delete unused cache files
820
- - Fix variables mismatch when calling `generateFlowMarkdownFile`
821
-
822
- ## [5.16.0] 2025-01-19
823
-
824
- - New AI Provider: Agentforce
825
- - Create Objects AI-powered documentation
826
- - Summary
827
- - Relationships with other objects
828
- - Fields
829
- - Validation rules
830
- - Related flows
831
- - Handle prompts multilingualism (ex: `PROMPTS_LANGUAGE=fr`)
832
- - Handle prompts cache to save tokens
833
- - Add `SFDX_DISABLE_FLOW_DIFF: false` in default CI/CD pipelines (must be set to true during CI/CD setup)
834
- - Enhance branches & orgs CI/CD strategy mermaid diagram
835
- - Improve performances by using `GLOB_IGNORE_PATTERNS` for all calls to glob
836
-
837
- ## [5.15.5] 2025-01-16
838
-
839
- - Flow Visual Diff enhancements
840
- - Display full node fields table when it contains updated elements
841
- - Fix removed long links
842
- - Handle cases where Flow has been added or deleted
843
- - Update [hardis:project:deploy:notify](https://sfdx-hardis.cloudity.com/hardis/project/deploy/notify/) documentation
844
-
845
- ## [5.15.4] 2025-01-15
846
-
847
- - Allow to disable calls to AI prompts API using DISABLE_AI=true
848
- - Implement AI cache to save calls to AI prompts API (can be disabled using IGNORE_AI_CACHE)
849
-
850
- ## [5.15.3] 2025-01-14
851
-
852
- - [hardis:project:generate:flow-git-diff](https://sfdx-hardis.cloudity.com/hardis/project/generate/flow-git-diff/) New parameters --commit-before and --commit-after
853
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Filter flows from managed packages
854
- - Display number of AI prompts API calls at the end of a command
855
-
856
- ## [5.15.2] 2025-01-13
857
-
858
- - Add AI security considerations in documentation
859
- - Do not prompt for AI API TOKEN
860
- - Do not crash in case of AI call failure
861
-
862
- ## [5.15.1] 2025-01-12
863
-
864
- - Improve prompt templates
865
-
866
- ## [5.15.0] 2025-01-12
867
-
868
- - Allow to call AI to describe flows in documentation
869
- - Allow to call AI to describe differences between 2 flow versions in a pull request comment
870
- - [Ai Provider](https://sfdx-hardis.cloudity.com/salesforce-ai-setup/) enhancements
871
- - Change default model from gpt-4o to gpt-4o-mini
872
- - Prompt templates factory, with capability to override default prompt with ENV variable
873
- - Translate prompts in french
874
- - Add dotenv to allow to define secrets variables in a local `.env` file (never commit it !)
875
- - Add more ways to call python depending on the installation
876
-
877
- ## [5.14.3] 2025-01-10
878
-
879
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/project/deploy/smart/) Fix crash when deployment is ok
880
-
881
- ## [5.14.2] 2025-01-10
882
-
883
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/project/deploy/smart/) Fix parsing error in case it is UNKNOWN_ERROR
884
- - Fix error `str.replace is not a function`
885
-
886
- ## [5.14.1] 2025-01-09
887
-
888
- - Generate a file **hardis-report/apex-coverage-results.json** with Apex code coverage details for the following commands:
889
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/project/deploy/smart/) (only if `COVERAGE_FORMATTER_JSON=true` environment variable is defined)
890
- - [hardis:org:test:apex](https://sfdx-hardis.cloudity.com/hardis/org/test/apex/) (always)
891
- - [SF Cli deployment wrapper commands](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-setup/#using-custom-cicd-pipeline)
892
- - Do not display command output if execCommand has been called with `output: false`
893
-
894
- ## [5.14.0] 2025-01-09
895
-
896
- - Add ability to replace ApiVersion on specific Metadata Types file using `sf hardis:project:audit:apiversion`
897
- - Add parameters `fix` and `metadatatype` on `sf hardis:project:audit:apiversion`
898
- - Fix build of formula markdown when generating a Flow Visual Documentation
899
-
900
- ## [5.13.3] 2025-01-08
901
-
902
- - Update default JIRA Regex to catch tickets when there is an number in the project name
903
-
904
- ## [5.13.2] 2025-01-07
905
-
906
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/project/deploy/smart/): Fix parsing when deployment failure is related to Apex code coverage
907
- - Flow doc fix: add description for constants, variables, text template & formulas
908
- - Flow parsing: Fix error when there is only one formula
909
-
910
- ## [5.13.1] 2025-01-07
911
-
912
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) Display a screen emoji in documentation flows table when they are not tied to an Object
913
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/doc/project/deploy/smart/): Shorten log lines when there is a too big JSON, by removing info not relevant for display, like unchanged files or test classes results.
914
-
915
- ## [5.13.0] 2025-01-05
916
-
917
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) Add branch & orgs strategy MermaidJS diagram in documentation
918
-
919
- ## [5.12.0] 2025-01-04
920
-
921
- - New command [hardis:doc:mkdocs-to-salesforce](https://sfdx-hardis.cloudity.com/hardis/doc/mkdocs-to-salesforce/) to generate static HTML doc and host it in a Static Resource and a VisualForce page
922
- - Remove hyperlinks from MermaidJs on Pull Request comments, to improve display on GitHub & Gitlab
923
- - Upgrade base image to python:3.12.8-alpine3.20, so mkdocs can be installed and run if necessary
924
- - Add links in package.xml Markdown documentation
925
-
926
- ## [5.11.0] 2025-01-03
927
-
928
- - Visual flow management, using MermaidJs
929
-
930
- - [hardis:doc:project2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/): Add a markdown file for each Flow
931
- - If unable to run mermaid-cli, store markdown with mermaidJs diagram content anyway (can happen from Monitoring Backup Command)
932
- - When called from Monitoring ([hardis:org:monitor:backup](https://sfdx-hardis.cloudity.com/hardis/org/monitor/backup/)), generate Flow documentation only if it has been updated
933
- - [hardis:doc:flow2markdown](https://sfdx-hardis.cloudity.com/hardis/doc/flow2markdown/): Generate the markdown documentation of a single flow (available from VsCode extension)
934
- - [hardis:project:generate:flow-git-diff](https://sfdx-hardis.cloudity.com/hardis/project/generate/flow-git-diff/): Generate the visual git diff for a single flow (available from VsCode extension)
935
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/project/deploy/smart/): Add visual git diff for flows updated by a Pull Request
936
- - Flow Visual Git diff also added to [standard SF Cli commands wrappers](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-setup/#using-custom-cicd-pipeline)
937
-
938
- - New command [hardis:project:deploy:notify](https://sfdx-hardis.cloudity.com/hardis/project/deploy/notify/) to send Pull Request comments (with Flow Visual Git Diff) and Slack / Teams notifications even if you are not using a sfdx-hardis command to check or process a deployment.
939
-
940
- - Command updates
941
-
942
- - [hardis:project:deploy:smart](https://sfdx-hardis.cloudity.com/hardis/project/deploy/smart/): Refactor deployment errors parsing: use JSON output instead of text output
943
- - [hardis:org:test:apex](https://sfdx-hardis.cloudity.com/hardis/org/test/apex/): Display the number of failed tests in messages and notifications
944
- - [hardis:org:monitor:backup](https://sfdx-hardis.cloudity.com/hardis/org/monitor/backup/):
945
- - New option **--exclude-namespaces** that can be used with **--full** option
946
- - New option **--full-apply-filters** that can be used with **--full** option to apply filters anyway
947
-
948
- - Core enhancements & fixes
949
-
950
- - Obfuscate some data from text log files
951
- - Kill some exit handlers in case they are making the app crash after a throw SfError
952
- - Trigger notifications during the command execution, not after
953
- - Do not display warning in case no notification has been configured in case we are running locally
954
- - Fix Individual deployment tips markdown docs by adding quotes to YML properties
955
- - Fix init sfdx-hardis project commands and docs
956
- - Display warning message in case package.xml has wrong format
957
- - Allow to override package-no-overwrite from a branch .sfdx-hardis.yml config file
958
- - Using target_branch for Jira labels when isDeployBeforeMerge flag is true
959
-
960
- - Doc
961
- - Update Microsoft Teams notifications integration User Guide
962
- - Add troubleshooting section in Email integration User Guide
963
-
964
- ## [5.10.1] 2024-12-12
965
-
966
- - Fix sfdx-hardis docker image build by adding coreutils in dependencies
967
-
968
- ## [5.10.0] 2024-12-12
969
-
970
- - Update Docker base image to alpine to 3.21
971
-
972
- ## [5.9.3] 2024-12-12
973
-
974
- - [hardis:org:data:import](https://sfdx-hardis.cloudity.com/hardis/org/data/import/): Allow to run the command in production using, by either:
975
- - Define **sfdmuCanModify** in your .sfdx-hardis.yml config file. (Example: `sfdmuCanModify: prod-instance.my.salesforce.com`)
976
- - Define an environment variable SFDMU_CAN_MODIFY. (Example: `SFDMU_CAN_MODIFY=prod-instance.my.salesforce.com`)
977
-
978
- ## [5.9.2] 2024-12-10
979
-
980
- - Fallback message in case sfdx-hardis is not able to parse newest SF CLI errors format.
981
-
982
- ## [5.9.1] 2024-12-09
983
-
984
- - Fix issue that generates valid Pull Request comment whereas there is 1 error
985
- - Add TS test case
986
- - Upgrade NPM dependencies
987
-
988
- ## [5.9.0] 2024-12-02
989
-
990
- - [hardis:org:monitor:backup](https://sfdx-hardis.cloudity.com/hardis/org/monitor/backup/): New mode **--full**, much slower than default filtered one, but that can retrieve ALL metadatas of an org
991
-
992
- ## [5.8.1] 2024-11-26
993
-
994
- - Fix [hardis:org:diagnose:unused-apex-classes](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-apex-classes/): Use .cls file, not cls-meta.xml file to get creation date from git
995
-
996
- ## [5.8.0] 2024-11-25
997
-
998
- - New monitoring command [hardis:org:diagnose:unused-connected-apps](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-connected-apps/) to detect Connected Apps that are not used anymore and might be disabled or deleted.
999
-
1000
- ## [5.7.2] 2024-11-25
1001
-
1002
- - Fix issue with auth just before running a command (ask to run again the same command meanwhile we find a way to avoid that using SF CLI architecture)
1003
-
1004
- ## [5.7.1] 2024-11-22
1005
-
1006
- - In case a prompt is requested during CI and makes a command fail, display the content of the prompt
1007
-
1008
- ## [5.7.0] 2024-11-22
1009
-
1010
- - New command **hardis:git:pull-requests:extract**: Extract Pull Requests from Git Server into CSV/XLS (Azure only for now)
1011
- - Fix bug when scratch org username is > 80 chars
1012
- - Make markdown-links-check not blocking by default in MegaLinter base config
1013
- - Make yamllint not blocking by default in MegaLinter base config
1014
-
1015
- ## [5.6.3] 2024-11-17
1016
-
1017
- - MegaLinter config: disable APPLY_FIXES by default
1018
- - Upgrade npm dependencies
1019
-
1020
- ## [5.6.2] 2024-11-12
1021
-
1022
- - hardis:org:diagnose:unused-apex-classes
1023
- - Display class created by and created name MIN(date from org,date from git)
1024
- - Replace errors by warnings, and add a message so users double-check before removing a class
1025
- - Reorder console log
1026
- - Remove unused code from MetadataUtils class
1027
-
1028
- ## [5.6.1] 2024-11-11
1029
-
1030
- - Fix hardis:org:user:activateinvalid interactive mode
1031
- - Update Dockerfile email address
1032
- - Upgrade default Grafana Dashboards to add Unused Apex Classes indicator
1033
- - Update hardis:org:diagnose:unused-apex-classes and hardis:doc:packagexml2markdown documentation
1034
-
1035
- ## [5.6.0] 2024-11-09
1036
-
1037
- - New command hardis:org:diagnose:unused-apex-classes, to detect Apex classes (Batch,Queueable,Schedulable) that has not been called for more than 365 days, that might be deleted to improve apex tests performances
1038
- - hardis:doc:project2markdown: Update documentation
1039
- - Polish CI/CD home doc
1040
- - Refactor the build of [hardis:org:monitor:all](https://sfdx-hardis.cloudity.com/hardis/org/monitor/all/) documentation
1041
- - Fix issue with ToolingApi calls: handle paginated results instead of only the first 200 records.
1042
-
1043
- ## [5.5.0] 2024-11-03
1044
-
1045
- - hardis:doc:packagexml2markdown: Generate markdown documentation from a package.xml file
1046
- - hardis:doc:project2markdown: Generate markdown documentation from any SFDX project (CI/CD, monitoring, projects not using sfdx-hardis...) in `docs` folder and add a link in README.md if existing.
1047
- - hardis:org:monitor:backup: Call hardis:doc:project2markdown after backup
1048
- - hardis:org:retrieve:packageconfig: Ignore standard Salesforce packages
1049
- - Update CI/CD home documentation
1050
-
1051
- ## [5.4.1] 2024-11-02
1052
-
1053
- - hardis:org:multi-org-query enhancements
1054
- - Improve documentation
1055
- - Allow to use --query-template as option to use one of the predefined templates via command line
1056
- - Handle errors if issues when the command is called via a CI/CD job
1057
- - Upgrade dependencies
1058
-
1059
- ## [5.4.0] 2024-11-02
1060
-
1061
- - New command hardis:org:multi-org-query allowing to execute a SOQL Bulk Query in multiple orgs and aggregate the results in a single CSV / XLS report
1062
- - New command hardis:org:community:update to Activate / Deactivate communities from command line
1063
-
1064
- ## [5.3.0] 2024-10-24
1065
-
1066
- - Update default Monitoring workflow for GitHub
1067
- - Refactor file download code
1068
- - Display progress
1069
- - Better error handling
1070
- - hardis:org:diagnose:legacyapi: Fix issue with big log files: Use stream to parse CSV and perform checks
1071
- - Update default API version toto 62.0 (Winter 25 release)
1072
-
1073
- ## [5.2.4] 2024-10-21
1074
-
1075
- - Fix hardis:org:fix:listviewmine: Use chrome-launcher to find chrome executable to use with puppeteer-core
1076
- - Remove keyv dependency
1077
-
1078
- ## [5.2.3] 2024-10-19
1079
-
1080
- - Change default `.mega-linter.yml` config
1081
- - Display number of package.xml items before or after retrieving them
1082
- - Doc: Update youtube preview images
1083
-
1084
- ## [5.2.2] 2024-10-14
1085
-
1086
- - Fix doubling -d option in hardis:scratch:create
1087
-
1088
- ## [5.2.1] 2024-10-14
1089
-
1090
- - 2 hardis commands: rename `-d` into something else when the short option was available twice on the same command
1091
-
1092
- ## [5.2.0] 2024-10-14
1093
-
1094
- - Improve [BUILD & RUN documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-hotfixes/)
1095
- - 21 hardis commands: rename `-o` short into `-f` when possible, or other short letter, to avoid collision with `-o` (`--target-org`) option
1096
- - Fix GitHub Org Monitoring workflow (remove push event + fix command typo)
1097
-
1098
- ## [5.1.0] 2024-10-11
1099
-
1100
- - hardis:project:deploy:smart: Fix to adapt stdout checks to output of `sf project deploy start` in case code coverage is ignored
1101
- - hardis:org:monitor:backup: Allow spaces in folders
1102
- - Remove pubsub from default .forceignore
1103
- - Change default deployment waiting time from 60mn to 120mn
1104
- - Display explicit warning message before ConnectedApp deployment so users don't forget to manually create the connected app with the certificate
1105
-
1106
- ## [5.0.10] 2024-10-03
1107
-
1108
- - hardis:project:deploy:smart : Fix parsing of error strings
1109
- - hardis:project:deploy:smart : Fix markdown display on PR summary
1110
-
1111
- ## [5.0.9] 2024-10-03
1112
-
1113
- - Fix link to tip doc from Pull Request / Merge Request comments
1114
- - Fixing small issues with creating scratch org and scratch org pool
1115
-
1116
- ## [5.0.8] 2024-10-01
1117
-
1118
- - Monitoring config: Fix way to define how to upload connected app
1119
- - New deployment tip: Couldn't retrieve or load information on the field
1120
- - Fix parsing of errors when they are unknown
1121
- - Fix SEO info in deployment tips documentation
1122
-
1123
- ## [5.0.7] 2024-09-25
1124
-
1125
- - hardis:org:monitoring:backup : fix issue when metadata type is unknown
1126
-
1127
- ## [5.0.6] 2024-09-25
1128
-
1129
- - Allow to purge flows & flow interviews using `--no-prompt` option
1130
- - Fix duplicate `-f` short option by replacing `delete-flow-interviews` short by `-w`
1131
-
1132
- ## [5.0.5] 2024-09-24
1133
-
1134
- - When git add / stash failure, display a message explaining to run `git config --system core.longpaths true` to solve the issue.
1135
- - Improve test classes errors collection during deployment check
1136
- - Display the number of elements deployed within a package.xml
1137
-
1138
- ## [5.0.4] 2024-09-24
1139
-
1140
- - Fix errors collection during deployment check
1141
- - Display in deployment check summary when **useSmartDeploymentTests** has been activated
1142
- - Do not send coverage formatters options when test level is NoTestRun
1143
-
1144
- ## [5.0.3] 2024-09-23
1145
-
1146
- - Add --ignore-conflicts to smartDeploy
1147
-
1148
- ## [5.0.2] 2024-09-23
1149
-
1150
- - Always use `project deploy start --dry-run` for deployment validation, until command `project deploy validate` works with --ignore-warnings & NoTestRun
1151
-
1152
- ## [5.0.0] 2024-09-23
1153
-
1154
- ### Refactoring explanations
1155
-
1156
- The future [deprecation of sfdx force:source:\*\* commands on 6 november](https://github.com/forcedotcom/cli/issues/2974) finally convinced us to switch everything from SFDX core to SF CLI core. (otherwise existing CI/CD pipelines would not work anymore from this date !)
1157
-
1158
- Therefore, sfdx-hardis required a complete refactoring as described below, but this won't impact existing CI/CD and Monitoring pipelines.
1159
-
1160
- We made many tests but risk zero do not exist, so if you see any bug, please report them ASAP and we'll solve them quickly :)
1161
-
1162
- ### Major changes
1163
-
1164
- - Migrate plugin from SFDX plugin core to SF Cli Plugin core
1165
-
1166
- - [Convert commands code from SfdxCommand base to SfCommand base](https://github.com/salesforcecli/cli/wiki/Migrate-Plugins-Built-for-sfdx)
1167
- - Migrate internal Bulk Api calls from Bulk API v1 to Bulk API v2
1168
- - Upgrade all npm dependencies to their latest version (more secured)
1169
-
1170
- - Change background calls to legacy sfdx commands to call their SF Cli replacements
1171
-
1172
- - `sfdx force:mdapi:convert` -> `sf project convert mdapi`
1173
- - `sfdx force:mdapi:deploy` -> `sf project deploy start --metadata-dir`
1174
- - `sfdx force:source:retrieve` -> `sf project retrieve start`
1175
- - `sfdx force:source:deploy` -> `sf project deploy start`
1176
- - `sfdx force:source:pull` -> `sf project retrieve start`
1177
- - `sfdx force:source:push` -> `sf project deploy start`
1178
- - `sfdx force:source:tracking:clear` -> `sf project delete tracking`
1179
- - `sfdx force:source:manifest:create` -> `sf project generate manifest`
1180
- - `sfdx sgd:source:delta` -> `sf sgd:source:delta`
1181
- - `sfdx force:org:create` -> `sf org create sandbox` | `sf org create scratch`
1182
- - `sfdx force:org:list` -> `sf org list`
1183
- - `sfdx force:org:delete` -> `sf org delete scratch`
1184
- - `sfdx config:get` -> `sf config get`
1185
- - `sfdx config:set` -> `sf config set`
1186
- - `sfdx auth:web:login` -> `sf org login web`
1187
- - `sfdx auth:jwt:grant` -> `sf org login jwt`
1188
- - `sfdx auth:sfdxurl:store` -> `sf org login sfdx-url`
1189
- - `sfdx org:login:device` -> `sf org login device`
1190
- - `sfdx force:data:record:get` -> `sf data get record`
1191
- - `sfdx force:data:record:update` -> `sf data update record`
1192
- - `sfdx force:data:soql:query` -> `sf data query`
1193
- - `sfdx force:data:bulk:delete` -> `sf data delete bulk`
1194
- - `sfdx alias:list` -> `sf alias list`
1195
- - `sfdx alias:set` -> `sf alias set`
1196
- - `sfdx force:apex:test:run` -> `sf apex run test`
1197
- - `sfdx force:apex:execute` -> `sf apex run`
1198
- - `sfdx force:package:create` -> `sf package create`
1199
- - `sfdx force:package:version:create` -> `sf package version create`
1200
- - `sfdx force:package:version:delete` -> `sf package version delete`
1201
- - `sfdx force:package:version:list` -> `sf package version list`
1202
- - `sfdx force:package:version:promote` -> `sf package version promote`
1203
- - `sfdx force:package:installed:list` -> `sf package installed`
1204
- - `sfdx force:package:install` -> `sf package install`
1205
- - `sfdx force:user:password:generate` -> `sf org generate password`
1206
- - `sfdx force:user:permset:assign` -> `sf org assign permset`
1207
- - `sfdx hardis:_` -> `sf hardis:_`
1208
-
1209
- - New wrappers commands for SF Cli deployment commands
1210
- - `sf hardis project deploy validate` -> Wraps `sf project deploy validate`
1211
- - `sf hardis project deploy quick` -> Wraps `sf project deploy quick`
1212
- - `sf hardis project deploy start` -> Wraps `sf project deploy start`
1213
-
1214
- ### New Features / Enhancements
1215
-
1216
- - **hardis:project:deploy:smart**
1217
- - New feature **useSmartDeploymentTests**: Improve performances by not running test classes when delta deployment contain only non impacting metadatas, and target org is not production
1218
- - Rename command **hardis:project:deploy:source:dx** into **hardis:project:deploy:smart** (previous command alias remains, no need to update your pipelines !)
1219
- - **commandsPreDeploy** and **commandsPostDeploy**
1220
- - New option **context** for a command, defining when it is run and when it is not: **all** (default), **check-deployment-only** or **process-deployment-only**
1221
- - New option **runOnlyOnceByOrg**: If set to `true`, the command will be run only one time per org. A record of SfdxHardisTrace\_\_c is stored to make that possible (it needs to be existing in target org)
1222
- - New commands
1223
- - **hardis:project:deploy:simulate** to validate the deployment of a single metadata (used by VsCode extension)
1224
- - **hardis:org:diagnose:releaseupdates** to check for org Release Updates from Monitoring or locally
1225
- - **hardis:misc:purge-references** to partially automate the cleaning of related dependencies when you need to delete a field, or change its type (for example from master detail to lookup)
1226
- - **hardis:project:clean:sensitive-metadatas** to mask sensitive metadatas from git repo (ex: Certificate content)
1227
- - **hardis:work:save** and **hardis:project:deploy:sources:dx**: Improve runtime performances thanks to internalization of sfdx-essentials commands
1228
- - **hardis:work:new**
1229
- - Allow to add labels in property `availableTargetBranches`, using a comma. For examples, `- integration,Choose this branch if you are on the BUILD side of the project !`
1230
- - Add current default org in the choices when prompting which org to use
1231
- - **hardis:project:new**
1232
- - Initialize autoCleanTypes with **destructivechanges**, **flowPositions** and **minimizeProfiles**
1233
- - Initialize package-no-overwrite.xml with Certificate metadata. (certificates must be uploaded manually)
1234
- - **hardis:org:files:export**: Improve display with spinner
1235
- - **hardis:org:purge:flow**: If FlowInterview records are preventing Flow Versions to be deleted, prompt user to delete Flow Interviews before trying again to delete Flow Versions
1236
- - **hardis:project:generate:gitdelta**: Add option to generate package.xml related to a single commit
1237
- - **hardis:org:data:delete**: Check for property "runnableInProduction" in export.json before running deletion in production org.
1238
- - **hardis:org:diagnose:audittrail**: Add new filtered actions
1239
- - Customer Portal: createdcustomersuccessuser
1240
- - Authentication: do not use alias MY_ORG anymore + do not update local user config if no values to replace.
1241
- - When selecting an org, make sure it is still connected. If not, open browser so the user can authenticate again.
1242
- - Update sfdx-hardis Grafana Dashboards to import in your Grafana Cloud
1243
- - SF Instance name
1244
- - Next platform upgrade
1245
- - Release Updates to check
1246
- - Installed packages
1247
- - Org licenses
1248
- - AI Deployment assistant
1249
- - Add error `Change Matching Rule`
1250
- - Git Providers
1251
- - On Pull Requests / Merge Requests comments, add hyperlinks to errors documentation URL
1252
-
1253
- ### Fixes
1254
-
1255
- - Avoid error when removing obsolete flows (workaround using SF CLI if tooling api connection fails). Fixes [#662](https://github.com/hardisgroupcom/sfdx-hardis/issues/662)
1256
- - Improve Slack/Teams notifications display
1257
- - Display explicit error message in case a password is required to install a managed package.
1258
-
1259
- ### Documentation
1260
-
1261
- - Reorganize README content
1262
- - Add link to Dreamforce 24 session
1263
- - Deployment assistant: Improve documentation by adding examples of errors, and a standalone page for each tip
1264
- - Factorize the definition of DOC_ROOT_URL <https://sfdx-hardis.cloudity.com>
1265
-
1266
- ### Deprecations
1267
-
1268
- - Deprecate wrapper commands matching sfdx commands that will be removed. All replaced by sf hardis deploy start
1269
-
1270
- - `sfdx hardis:source:push`
1271
- - `sfdx hardis:source:deploy`
1272
- - `sfdx hardis:mdapi:retrieve`
1273
- - `sfdx hardis:mdapi:deploy`
1274
-
1275
- - Deprecate `hardis:deploy:sources:metadata` as nobody uses metadata format anymore
1276
-
1277
- ### Removals
1278
-
1279
- - Replace puppeteer by puppeteer-core: it means that if you use a command requiring puppeteer, please make sure to have a Chrome available in your environment (already integrated within the Docker image)
1280
-
1281
- - Get rid of [sfdx-essentials](https://github.com/nvuillam/sfdx-essentials) plugin dependency by internalizing its used commands
1282
-
1283
- - `sf hardis:packagexml:append`
1284
- - `sf hardis:packagexml:remove`
1285
- - `sf hardis:project:clean:filter-xml-content`
1286
-
1287
- - Remove npm dependencies (some of them not maintained anymore)
1288
-
1289
- - @adobe/node-fetch-retry
1290
- - @amplitude/node
1291
- - @keyv/redis
1292
- - @oclif/command
1293
- - @oclif/config
1294
- - @oclif/errors
1295
- - @salesforce/command
1296
- - @salesforce/ts-types
1297
- - find-package-json
1298
- - node-fetch
1299
-
1300
- - Remove not used keyValueStores to keep only Salesforce one
1301
-
1302
- ## [4.53.0] 2024-08-20
1303
-
1304
- - Upgrade workflows to Node 20 (fixes <https://github.com/hardisgroupcom/sfdx-hardis/issues/668>)
1305
- - Simplify login prompts messages (fixes <https://github.com/hardisgroupcom/sfdx-hardis/issues/667>)
1306
- - Upgrade to MegaLinter v8 (own workflows + template workflows)
1307
- - Update monitoring commands documentation
1308
- - Upgrade npm dependencies
1309
- - axios
1310
- - inquirer
1311
- - moment
1312
- - open
1313
- - ora
1314
- - @supercharge/promise-pool
1315
- - remove strip-ansi dependency to build local function
1316
-
1317
- ## [4.52.0] 2024-08-02
1318
-
1319
- - **Minimum Node version is now 20**
1320
- - hardis:work:save : Improve performances when cleaning project files
1321
- - Update Pipelines to add NOTIF_EMAIL_ADDRESS where it was missing
1322
- - Remove MS_TEAMS_WEBHOOK_URL from all pipelines as MsTeamsProvider is deprecated (use EmailProvider instead)
1323
- - Remove some useless code in EmailProvider
1324
- - Replace glob-promise by glob package
1325
-
1326
- ## [4.51.0] 2024-08-01
1327
-
1328
- - Deprecate Microsoft Teams Web Hooks notifications
1329
- - Must be replaced by [Email Notifications](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-email/) using the Ms Teams Channel email.
1330
- - Handle bug when a branch .sfdx-hardis.yml config file is empty
1331
- - Upgrade default API version to 61
1332
- - Additional log when generating manifest package.xml from org
1333
- - Add error tip: Network issue (ECONNABORTED, ECONNRESET)
1334
-
1335
- ## [4.50.1] 2024-07-29
1336
-
1337
- - Fix report file name of [hardis:org:monitor:limits](https://sfdx-hardis.cloudity.com/hardis/org/monitor/limits/)
1338
- - Fix crash when GitProvider has been wrongly configured, and display information message
1339
-
1340
- ## [4.50.0] 2024-07-29
1341
-
1342
- - Add message in case of deployment check passing thanks to `testCoverageNotBlocking: true`
1343
- - [hardis:org:diagnose:legacyapi](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/legacyapi/) : Fix display error declared in bug [#652](https://github.com/hardisgroupcom/sfdx-hardis/issues/652)
1344
- - Run legacy api detection daily with monitoring, as logs remain only 24h
1345
-
1346
- ## [4.49.1] 2024-07-27
1347
-
1348
- - Fix 4.49.0 (deployment error handler bug)
1349
-
1350
- ## [4.49.0] 2024-07-27
1351
-
1352
- - New command **hardis:org:diagnose:instanceupgrade** to get information about Org, its Salesforce instance and its next Platform Upgrade date. Sends notifications to Grafana if activated.
1353
- - Refactor Monitoring checks documentation
1354
- - [hardis:project:deploy:sources:dx](https://sfdx-hardis.cloudity.com/hardis/project/deploy/sources/dx/): After a failed Quick Deploy, use run with NoTestRun to improve perfs as we had previously succeeded to simulate the deployment
1355
-
1356
- ## [4.48.1] 2024-07-26
1357
-
1358
- - [hardis:project:deploy:sources:dx](https://sfdx-hardis.cloudity.com/hardis/project/deploy/sources/dx/): Fix issue with **testCoverageNotBlocking**
1359
-
1360
- ## [4.48.0] 2024-07-26
1361
-
1362
- - [hardis:project:deploy:sources:dx](https://sfdx-hardis.cloudity.com/hardis/project/deploy/sources/dx/): Allow new mode for running test during deployments: **RunRepositoryTestsExceptSeeAllData** (⚠️ Use with caution !)
1363
-
1364
- ## [4.47.0] 2024-07-22
1365
-
1366
- - Update emojis in prompts to make them more visible
1367
- - Replace `sfdx force:org:open` by `sf org open`
1368
-
1369
- ## [4.46.0] 2024-07-18
1370
-
1371
- - Allow **hardis:project:deploy:source:dx** notifications to work if the deployment is performed before the Pull Request is merged (see [Exotic Use Case](https://github.com/hardisgroupcom/sfdx-hardis/issues/637#issuecomment-2230798904))
1372
- - Activate such mode with variable **SFDX_HARDIS_DEPLOY_BEFORE_MERGE**
1373
- - Add link to [Conga Article](https://medium.com/@nicolasvuillamy/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b)
1374
- - Add Conga article in README list of articles
1375
-
1376
- ## [4.45.0] 2024-07-14
1377
-
1378
- - New command **hardis:org:files:import** to import files exported using **hardis:org:files:export**
1379
- - Template management for SFDMU & files import/export
1380
- - Update JSON schema to add `v60` in autoCleanTypes
1381
-
1382
- ## [4.44.3] 2024-07-12
1383
-
1384
- - Set **GITLAB_API_REJECT_UNAUTHORIZED=false** to avoid SSH rejections from Gitlab API
1385
-
1386
- ## [4.44.2] 2024-07-09
1387
-
1388
- - New config **skipCodeCoverage**, to use only in branch scoped config to not check for code coverage (Use with caution because won't work when deploying to production !)
1389
-
1390
- ## [4.44.1] 2024-07-08
1391
-
1392
- - QuickFix testlevel default value
1393
-
1394
- ## [4.44.0] 2024-07-08
1395
-
1396
- - New JSON schema properties, to use ONLY on branch scoped config and with caution !
1397
- - `testLevel`, to override the test level, with `RunRepositoryTests` for example
1398
- - `runtests`, to override the list of tests to run, with `^(?!FLI|MyPrefix).*` for example
1399
- - `testCoverageNotBlocking` , to make code coverage not blocking on a branch
1400
- - Take in account `testCoverageNotBlocking` in deployment checks and PR summaries
1401
-
1402
- ## [4.43.0] 2024-07-06
1403
-
1404
- - hardis:work:save : Update prompt messages
1405
- - Remove direct URL to target org in case of deployment failure
1406
- - AI Deployment Assistant: Fix identification of error messages
1407
- - Add deployment tip "Condition missing reference"
1408
-
1409
- ## [4.42.0] 2024-07-02
1410
-
1411
- - hardis:project:deploy:sources:dx : If **testlevel=RunRepositoryTests**, option **runtests** can contain a regular expression to keep only class names matching it. If not set, it will run all test classes found in the repo
1412
- - Reduce size of README
1413
- - Update documentation about Authentication & Security
1414
- - Add missing variables in workflows
1415
-
1416
- ## [4.41.0] 2024-06-29
1417
-
1418
- - [**AI Deployment Assistant**](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-home/): Integrate with OpenAI ChatGPT to find solutions to deployment issues
1419
- - Monitoring: Default 120mn timeout in Azure Workflow
1420
- - Backup: Replace colon in package file name
1421
- - New command [**hardis:project:fix:profiletabs**](https://sfdx-hardis.cloudity.com/hardis/project/fix/profiletabs/) to add / hide tabs directly in XML when such info is not retrieved by Salesforce CLI
1422
-
1423
- ## [4.40.2] 2024-06-18
1424
-
1425
- - hardis:org:diagnose:audittrail: Define new not suspect actions
1426
- - Currency
1427
- - updateddatedexchrate
1428
- - Custom App Licenses
1429
- - addeduserpackagelicense
1430
- - granteduserpackagelicense
1431
- - Manage Users
1432
- - unfrozeuser
1433
- - Mobile Administration
1434
- - assigneduserstomobileconfig
1435
- - hardis:org:monitor:all: Define relevant items as weekly, not daily
1436
-
1437
- ## [4.40.1] 2024-06-17
1438
-
1439
- - hardis:project:clean:minimizeprofiles: Allow to skip profiles refactoring using .sfdx-hardis.yml property **skipMinimizeProfiles** (can be useful for Experience Cloud profiles)
1440
-
1441
- ## [4.40.0] 2024-06-13
1442
-
1443
- - Deployment tips: add missingDataCategoryGroup (no DataCategoryGroup named...)
1444
- - handle **commandsPreDeploy** and **commandPostDeploy** to run custom command before and after deployments
1445
- - If the commands are not the same depending on the target org, you can define them into config/branches/.sfdx-hardis-BRANCHNAME.yml instead of root config/.sfdx-hardis.yml
1446
-
1447
- Example:
1448
-
1449
- ```yaml
1450
- commandsPreDeploy:
1451
- - id: knowledgeUnassign
1452
- label: Remove KnowledgeUser right to the user who has it
1453
- command: sf data update record --sobject User --where "UserPermissionsKnowledgeUser='true'" --values "UserPermissionsKnowledgeUser='false'" --json
1454
- - id: knowledgeAssign
1455
- label: Assign Knowledge user to the deployment user
1456
- command: sf data update record --sobject User --where "Username='deploy.github@myclient.com'" --values "UserPermissionsKnowledgeUser='true'" --json
1457
- commandsPostDeploy:
1458
- - id: knowledgeUnassign
1459
- label: Remove KnowledgeUser right to the user who has it
1460
- command: sf data update record --sobject User --where "UserPermissionsKnowledgeUser='true'" --values "UserPermissionsKnowledgeUser='false'" --json
1461
- - id: knowledgeAssign
1462
- label: Assign Knowledge user to the deployment user
1463
- command: sf data update record --sobject User --where "Username='admin.user@myclient.com'" --values "UserPermissionsKnowledgeUser='true'" --json
1464
- ```
1465
-
1466
- ## [4.39.0] 2024-06-13
1467
-
1468
- - hardis:clean:references: new option **v60**
1469
- - Remove v61 userPermissions that do not exist in v60
1470
-
1471
- ## [4.38.2] 2024-06-06
1472
-
1473
- - Fix npm packages installation for GitHub monitoring to avoid random failures
1474
- - Add \_notifKey in Grafana notifications to be able to build unique alerts
1475
-
1476
- ## [4.38.1] 2024-06-04
1477
-
1478
- - Add installed packages in monitoring backup logs
1479
-
1480
- ## [4.38.0] 2024-06-03
1481
-
1482
- - New command **hardis:org:diagnose:licenses** to send used licenses to monitoring logs like Grafana
1483
- - **hardis:org:diagnose:audittrail**: Exclude some Add / Remove users from a Territory events from Suspect Audit Trail actions
1484
- - **hardis:org:diagnose:unusedusers**: Fix metric name for ActiveUsers
1485
-
1486
- ## [4.37.5] 2024-05-31
1487
-
1488
- - **hardis:org:purge:flow**: Bulkify Flow deletion to improve performances
1489
-
1490
- ## [4.37.4] 2024-05-28
1491
-
1492
- - Fix pipeline and instructions for Monitoring using GitHub Actions
1493
-
1494
- ## [4.37.3] 2024-05-28
1495
-
1496
- - Revert to previous dashboards version to avoid issues with use of panel
1497
- - Add debug capabilities for advanced cases (call with DEBUG=sfdxhardis)
1498
-
1499
- ## [4.37.2] 2024-05-27
1500
-
1501
- - Half-automate the retrieve of default Grafana Dashboards
1502
- - Fix ticketing collection on PR with GitHub integration
1503
- - Fix monitoring bitbucket pipeline so the git pull works
1504
-
1505
- ## [4.37.1] 2024-05-26
1506
-
1507
- - Truncate logs sent to Grafana Loki in case they are too big, to avoid they are not taken in account
1508
- - Default truncate size: 500
1509
- - Add **flowPositions** in .sfdx-hardis.yml JSON Schema
1510
- - Add Grafana Cloud setup tutorial
1511
-
1512
- ## [4.37.0] 2024-05-21
1513
-
1514
- - New command **hardis:project:clean:flowpositions** to replace positions by 0 on AutoLayout Flows, in order to diminish conflicts
1515
- - Can be automated at each **hardis:work:save** if `flowPositions` added in .sfdx-hardis.yml **autoCleanTypes** property
1516
-
1517
- ## [4.36.0] 2024-05-19
1518
-
1519
- - Update **hardis:org:diagnose:unusedusers** so it can also extract active users on a time period, thanks to option --returnactiveusers
1520
- - Add ACTIVE_USERS in weekly monitoring jobs
1521
- - Add JIRA variables to GitHub Workflows
1522
-
1523
- ## [4.35.2] 2024-05-15
1524
-
1525
- - Update monitoring default Gitlab, Azure & GitHub Workflows
1526
-
1527
- ## [4.35.1] 2024-05-14
1528
-
1529
- - Fix unused users notification identifier
1530
-
1531
- ## [4.35.0] 2024-05-14
1532
-
1533
- - New command **sfdx hardis:org:diagnose:unusedusers** to find users that don't use their license !
1534
-
1535
- ## [4.34.1] 2024-05-13
1536
-
1537
- - Notifications org identifier: replace dot by \_\_ to avoid mess with Grafana label filters
1538
-
1539
- ## [4.34.0] 2024-05-12
1540
-
1541
- - NotifProvider
1542
- - Updates to also send metrics to Prometheus
1543
- - NOTIFICATIONS_DISABLE is now not applicable to ApiProvider who always sends notifs
1544
-
1545
- ## [4.33.2] 2024-05-06
1546
-
1547
- - hardis:org:test:apex : Always send coverageValue, coverageTarget and the list of failing classes to API logs
1548
-
1549
- ## [4.33.1] 2024-05-05
1550
-
1551
- - Api logs enhancements:
1552
- - Add severity and severityIcon in all log elements details
1553
- - Add dateTime property (ISO format) in all API logs
1554
- - Remove deprecated way to call MsTeams notifications
1555
- - hardis:org:monitor:limits : Fix bug when some values are not returned
1556
-
1557
- ## [4.33.0] 2024-05-04
1558
-
1559
- - New notifications provider: **ApiProvider (beta)**, that allows to send notifications via HTTP/JSON to remote endpoints, like Grafana Loki, but also any custom one
1560
- - New notification severity level: **log**, to send notifications via ApiProvider even when there is no detected issue
1561
- - Update all existing notifications to add detailed log lines and additional log data
1562
- - hardis:org:diagnose:audittrail: Fix lastndays not taken in account in some contexts
1563
- - Complete refactoring of hardis:org:test:apex (same behavior but much organized code)
1564
- - Notifications: Display success logs in blue
1565
- - New monitoring command: **sfdx hardis:org:monitor:limits** to alert in case org limits are over 50% or 75% usage
1566
- - Fix gitlab-ci-config.yml: More restrictive regex for deployment branches
1567
-
1568
- ## [4.32.2] 2024-05-01
1569
-
1570
- - Fix GitHub Actions check deploy workflow
1571
-
1572
- ## [4.32.1] 2024-04-30
1573
-
1574
- - hardis:work:new : Replace all non alphanumeric characters in new git branch name
1575
-
1576
- ## [4.32.0] 2024-04-24
1577
-
1578
- - Enhance [BitBucket Integration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integrations-bitbucket/), by @Alainbates in <https://github.com/hardisgroupcom/sfdx-hardis/pull/584>
1579
-
1580
- - Deployment status in Pull Request comments
1581
- - Quick Deploy to enhance performance
1582
-
1583
- - Remove useless close WebSocket issue display
1584
-
1585
- ## [4.31.2] 2024-04-10
1586
-
1587
- - QuickFix Monitoring setup
1588
-
1589
- ## [4.31.1] 2024-04-10
1590
-
1591
- - Fix json output (remove other console logs that are not supposed to be here)
1592
-
1593
- ## [4.31.0] 2024-04-10
1594
-
1595
- - Add native Jenkins integration with Jenkinsfile for CI/CD Pipeline
1596
- - Update default pipelines to add JIRA variables
1597
- - Better handle of Jira API issues
1598
-
1599
- ## [4.30.0] 2024-04-02
1600
-
1601
- - Fix default **package-no-overwrite.xml** (typos on NamesCredential & RemoteSiteSetting)
1602
- - Add links to FAQ in documentation
1603
- - Add two new PMD rules for quality **pmd-ruleset-high.xml** and **pmd-ruleset-medium.xml**
1604
-
1605
- ## [4.29.0] 2024-03-25
1606
-
1607
- - Handle **manifest/preDestructiveChanges.xml** to delete items before deployments if necessary
1608
- - Update documentation about integrations
1609
- - Upgrade dependencies
1610
-
1611
- ## [4.28.4] 2024-03-11
1612
-
1613
- - Allow to override default scratch org duration using .sfdx-hardis.yml property **scratchOrgDuration**
1614
-
1615
- ## [4.28.3] 2024-03-05
1616
-
1617
- - Audit trail check: Ignore change phone number events
1618
-
1619
- ## [4.28.2] 2024-02-27
1620
-
1621
- - Fix wrong upgrade version notification
1622
- - Update PMD bypassing rules doc
1623
-
1624
- ## [4.28.1] 2024-02-26
1625
-
1626
- - Fix issue when using email notifications with multiple recipients
1627
-
1628
- ## [4.28.0] 2024-02-21
1629
-
1630
- - Minimum Node.js version is now v18
1631
- - New notifications channel: **EmailProvider** (use variable **NOTIF_EMAIL_ADDRESS** that can contain a comma-separated list of e-mail addresses)
1632
- - Update existing call to notifications to add attached files when Email notif channel is active
1633
- - Audit trail suspect actions: add the number of occurences for each suspect action found
1634
- - Add more not suspect actions: dkimRotationPreparationSuccessful,createdReportJob,deletedReportJob,DeleteSandbox
1635
- - Get tickets info: also check in ticket ids in branch name
1636
- - Remove force config restDeploy=true
1637
- - Rename _Provided by sfdx-hardis_ into _Powered by sfdx-hardis_
1638
-
1639
- ## [4.27.1] 2024-02-10
1640
-
1641
- - Skip post-deployment notifications if nothing was deployed in delta mode
1642
- - Simplify JIRA post deployment error output
1643
-
1644
- ## [4.27.0] 2024-02-09
1645
-
1646
- - Skip legacy notifications if NotifProvider has been used
1647
- - Allow to send warning, error and critical notifications to secondary Slack or Teams channel, using variables SLACK_CHANNEL_ID_ERRORS_WARNINGS or MS_TEAMS_WEBHOOK_URL_ERRORS_WARNINGS
1648
-
1649
- ## [4.26.3] 2024-02-02
1650
-
1651
- - Add bash to sfdx-hardis docker image
1652
-
1653
- ## [4.26.2] 2024-02-01
1654
-
1655
- - Display warning message when failed to upload connected app
1656
- - Update documentation about how to work on a dev sandbox / scratch org
1657
-
1658
- ## [4.26.1] 2024-01-31
1659
-
1660
- - Update [Contributor User Guide](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-work-on-task/)
1661
- - Empty predefined list of packages to install
1662
-
1663
- ## [4.26.0] 2024-01-27
1664
-
1665
- - Detect JIRA tickets even if there is only their identifiers in commits / PR text (see [Documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-jira/))
1666
- - Fix PR comment ticket URL when detail has not been found on server
1667
- - Monitoring: run non-critical commands only weekly by default (on saturdays)
1668
-
1669
- ## [4.25.1] 2024-01-18
1670
-
1671
- - Fix Microsoft Teams notifications formatting
1672
-
1673
- ## [4.25.0] 2024-01-15
1674
-
1675
- - Integration with Azure Boards (Work Items) ticketing system
1676
- - Enrich MR/PR comments by adding work items references and links
1677
- - Enrich notifications comments by adding work items references and links
1678
- - Post a comment and a tag on Azure Work Items when they are deployed in a major org
1679
- - Enhance JIRA integration by posting labels once an issue is deployed in a major org
1680
-
1681
- ## [4.24.1] 2024-01-11
1682
-
1683
- - Improve display of Microsoft Teams notifications
1684
-
1685
- ## [4.24.0] 2024-01-09
1686
-
1687
- - Add generic ticketing provider, that can identify any ticket references using:
1688
- - GENERIC_TICKETING_PROVIDER_REGEX (Example for EasyVista: `([R|I][0-9]+-[0-9]+)`)
1689
- - GENERIC_TICKETING_PROVIDER_URL_BUILDER (Example for EasyVista: `https://instance.easyvista.com/index.php?ticket={REF}`)
1690
-
1691
- ## [4.23.3] 2023-12-28
1692
-
1693
- - hardis:org:purge:flow: Ignore managed flows - Fixes [#532](https://github.com/hardisgroupcom/sfdx-hardis/issues/532)
1694
- - hardis:work:new prevent parenthesis in branch name - Fixes [#481](https://github.com/hardisgroupcom/sfdx-hardis/issues/481)
1695
-
1696
- ## [4.23.2] 2023-12-25
1697
-
1698
- - Catch errors when a JIRA comment has not been posted
1699
- - Simplify package-no-overwrite.xml management logs
1700
-
1701
- ## [4.23.1] 2023-12-25
1702
-
1703
- - Handle case when tickets have no content
1704
-
1705
- ## [4.23.0] 2023-12-25
1706
-
1707
- - Use jira-client package instead of jira.js to be compliant not only with JIRA Cloud, but also with Jira on-premise
1708
- - Improve delta logs
1709
-
1710
- ## [4.22.0] 2023-12-24
1711
-
1712
- - Add more info in pull requests comments
1713
- - Commits summary
1714
- - Jira tickets
1715
- - Manual Actions
1716
- - Integration with JIRA
1717
- - Collect tickets info JIRA server
1718
- - Post comment on tickets once they are deployed
1719
-
1720
- ## [4.21.6] 2023-12-22
1721
-
1722
- - New task: Ask confirmation before updating selected sandbox
1723
- - Deployment tips
1724
- - Visibility is not allowed for type
1725
- - Audit trail, ignore more events
1726
- - Holidays: holiday_insert
1727
- - loginasgrantedtopartnerbt
1728
-
1729
- ## [4.21.5] 2023-12-14
1730
-
1731
- - hardis:org:diagnose:audittrail
1732
- - Display user name in logs & notifications
1733
- - Add new excluded actions: changedemail, changedsenderemail, queueMembership, enableSIQUserNonEAC
1734
-
1735
- ## [4.21.4] 2023-12-12
1736
-
1737
- - Fix the output column in the metadata status report to distinguish between inactive flows and validation rules identified in the source
1738
-
1739
- ## [4.21.3] 2023-12-08
1740
-
1741
- - Add more variables in default azure-pipelines.yml monitoring
1742
- - Fix output file name of inactive metadatas audit
1743
-
1744
- ## [4.21.2] 2023-12-08
1745
-
1746
- - Downgrade base docker image to alpine:3.18
1747
-
1748
- ## [4.21.1] 2023-12-08
1749
-
1750
- - Update Azure Pipelines workflows to add more variables (+ error message giving this list of variables)
1751
- - Fix notifs from Azure when spaces in url
1752
- - Fix monitoring job on Azure
1753
- - Add link to troubleshooting page if backup fails
1754
- - Handle notification message when there is no apex in the project
1755
- - Do not write report log when there are no differences during monitoring backup step
1756
- - Do not try to post PR comments if not in check deploy job
1757
- - Check unused licenses: fix crash when no permission set group assignments
1758
- - Fix URL to Azure Pull Requests
1759
- - Fix display name of PR author on Azure
1760
-
1761
- ## [4.21.0] 2023-12-06
1762
-
1763
- - **hardis:lint:access**: Add feature in access command to verify if an object permission exist twice or more in the same permission set
1764
- - **hardis:org:monitor:backup**: Allow to exclude more metadata types using env variable MONITORING_BACKUP_SKIP_METADATA_TYPES (example: \`MONITORING_BACKUP_SKIP_METADATA_TYPES=CustomLabel,StaticResource,Translation\`)
1765
- - When prompt for login, Suggest custom login URL as first choice by default
1766
- - CICD: Update default gitlab-ci-config.yml
1767
- - Configure Org CI Auth: Do not prevent to use main or master as production branch
1768
-
1769
- ## [4.20.1] 2023-12-04
1770
-
1771
- - Handle errors while calling monitoring commands
1772
- - Increase jsforce Bulk API Timeout (60 seconds)
1773
- - Set default Bulk Query retries to 3 attempts
1774
-
1775
- ## [4.20.0] 2023-12-04
1776
-
1777
- - Add feature in metadatastatus command to verify if a validation rule is inactive in the source
1778
- - **hardis:lint:metadatastatus**
1779
- - Check inactive validation rules
1780
- - Add js documentation
1781
- - Monitoring: Fix crash when a package name contains a slash
1782
-
1783
- ## [4.19.1] 2023-12-03
1784
-
1785
- - Output CSV mirror XLS files reports in a xls folder for easier browsing
1786
- - **hardis:org:diagnose:unusedlicenses**
1787
- - Add more Profile & Permission Set Licenses relationships
1788
- - Handle special cases where license is not stored on the permission set, like Sales User !
1789
-
1790
- ## [4.19.0] 2023-12-02
1791
-
1792
- - New command **sfdx hardis:org:diagnose:unusedlicenses** to detect unused Permission Set Licenses (that you pay for anyway !)
1793
-
1794
- ## [4.18.3] 2023-11-29
1795
-
1796
- - Improve test cases notification
1797
- - Enhance monitoring documentation with more descriptions and screenshots
1798
-
1799
- ## [4.18.2] 2023-11-29
1800
-
1801
- - **hardis:work:save** enhancements
1802
- - Display more output during cleaning jobs
1803
- - Keep **userPermissions** in Profiles when they are defined to `false`
1804
-
1805
- ## [4.18.1] 2023-11-29
1806
-
1807
- - Improve backup notifications display
1808
-
1809
- ## [4.18.0] 2023-11-29
1810
-
1811
- - **Delta deployments** is no more beta but **Generally available**
1812
- - **Org Monitoring** is no more beta but **Generally available**
1813
- - Generate CSV reports also in XLSX format for easier opening
1814
-
1815
- ## [4.17.1] 2023-11-28
1816
-
1817
- - Generate CSV output for hardis:org:monitor:backup
1818
- - Refactor git detection of created/updated/deleted files
1819
-
1820
- ## [4.17.0] 2023-11-28
1821
-
1822
- - hardis:org:backup: Monitor installed packages
1823
- - hardis:org:diagnose:audittrail: Add more ignored events
1824
- - Email Administration: dkimRotationSuccessful
1825
- - Manage Users: PermSetGroupAssign
1826
- - Manage Users: PermSetGroupUnassign
1827
- - Complete factorization of notification related methods
1828
- - Do not remove applicationVisibilities and recordTypeVisibilities from Profiles if they are defined to false (allow to hide applications)
1829
-
1830
- ## [4.16.1] 2023-11-27
1831
-
1832
- - Core: Factorize CSV generation
1833
-
1834
- ## [4.16.0] 2023-11-27
1835
-
1836
- - Allow to run commands but disable notifications, using **NOTIFICATIONS_DISABLE** env var or **notificationsDisable** .sfdx-hardis.yml property.
1837
- - Update JSON schema to add `notificationsDisable` and `monitoringDisable` properties
1838
-
1839
- ## [4.15.1] 2023-11-26
1840
-
1841
- - Improve notifs display with hardis:lint:access
1842
-
1843
- ## [4.15.0] 2023-11-24
1844
-
1845
- - Allow to disable not monitoring checks using **monitoringDisable** config file property, or **MONITORING_DISABLE** env var
1846
- - Add new feature to identify custom fields without description
1847
- - **hardis:lint:missingattributes** : New command to identify custom field without description
1848
- - Add new feature to identify custom metadata (flows) inactive in project
1849
- - **hardis:lint:metadatastatus** : New command to identify custom metadata (Labels and custom permissions) not used in source code
1850
- - **Rework generate csv file** : generateReportPath and generateCsvFile
1851
- - Update monitoring and slack documentation
1852
- - Fix slack, teams & Azure notifications
1853
-
1854
- ## [4.14.0] 2023-11-23
1855
-
1856
- - Add new feature to identify custom metadata (Labels and custom permissions) not used in source code
1857
- - **hardis:lint:unusedmetadata** : New command to identify custom metadata (Labels and custom permissions) not used in source code
1858
- - **Add two function getNotificationButtons and getBranchMarkdown in notifUtils.ts class to factorize code**
1859
- - Video explaining how to setup sfdx-hardis monitoring
1860
- - Improve notifications display of lists
1861
-
1862
- ## [4.13.4] 2023-11-22
1863
-
1864
- - Upgrade ms-teams-webhook library so it works again !
1865
- - **hardis:org:diagnose:audittrail**: Add changedmanager to not suspect setup actions
1866
-
1867
- ## [4.13.2] 2023-11-21
1868
-
1869
- - **hardis:lint:access**: Do not display empty metadata types in notification.
1870
- - **hardis:work:new**: Improve prompt messages when asked if you want to refresh your sandbox
1871
-
1872
- ## [4.13.1] 2023-11-21
1873
-
1874
- - **hardis:lint:access**
1875
- - Exclude custom settings, custom metadata and data cloud from fields access check
1876
- - **hardis:org:diagnose:audittrail**
1877
- - Add changedUserEmailVerifiedStatusUnverified and useremailchangesent to not suspect setup actions
1878
- - Output info in case Ms Teams notification failed to be sent
1879
-
1880
- ## [4.13.0] 2023-11-19
1881
-
1882
- - Monitoring
1883
- - Display package.xml content in logs when backup failed
1884
- - Update default **package-skip-items.xml**
1885
- - Call **hardis:lint:access** by default
1886
- - Handle empty sections
1887
- - **hardis:org:diagnose:audittrail** enhancements:
1888
- - Add PerSetUnassign in not suspect monitored actions in Setup Audit Trail
1889
- - Allow to append more allowed Setup Audit Trail sections & actions using `.sfdx-hardis.yml` property **monitoringAllowedSectionsActions**
1890
- - **hardis:lint:access** enhancements:
1891
- - Exclude required fields and MasterDetails, that can not be defined on Permission Sets
1892
- - Output report file
1893
- - Send slack notification
1894
- - Add it by default in the monitoring commands
1895
- - Doc
1896
- - Update contributing infos (use `sf plugins link`)
1897
- - **hardis:files:export** : Make the command compliant with Email attachments
1898
-
1899
- ## [4.12.2] 2023-11-15
1900
-
1901
- - Add user prompts for setup audit trail monitoring in interactive mode
1902
-
1903
- ## [4.12.1] 2023-11-15
1904
-
1905
- - Allow to exclude more usernames from monitoring using .sfdx-hardis.yml property **monitoringExcludeUsernames**
1906
-
1907
- ## [4.12.0] 2023-11-14
1908
-
1909
- - New command **sfdx hardis:org:diagnose:audittrail** to detect suspect actions in major orgs
1910
- - Run by default in org monitoring
1911
- - Fix notifications bulletpoints
1912
- - Fix Gitlab provider token collections when in monitoring mode
1913
-
1914
- ## [4.11.0] 2023-11-14
1915
-
1916
- - If QuickDeploy failed, by default do not use delta for a deployment after a merge between a minor and a major branch
1917
- - Allow to tweak delta deployments configuration (but it's really better to use default opinionated default config !)
1918
-
1919
- ## [4.10.3] 2023-11-12
1920
-
1921
- - Allow to configure monitoring on deployment repositories (Fix [#477](https://github.com/hardisgroupcom/sfdx-hardis/issues/477))
1922
- - Forbid to configure CI authentication on main or master branch
1923
- - Do not send legacy API notifications when there are no issues (Fix [#478](https://github.com/hardisgroupcom/sfdx-hardis/issues/478))
1924
- - Upgrade dependencies
1925
-
1926
- ## [4.10.2] 2023-11-07
1927
-
1928
- - If you want to force the use full deployment on a delta project Pull Request/ Merge Request, add **nodelta** in your latest commit title or text.
1929
- - Display FULL / DELTA / Quick Deploy info at the bottom of the logs.
1930
- - sfdx hardis:org:retrieve:packageconfig: Do not replace Ids when updating the .sfdx-hardis.yml list of packages using packages listed from an org
1931
-
1932
- ## [4.10.1] 2023-11-06
1933
-
1934
- - Improve delta display in logs
1935
- - Display Quick Deploy icon in slack notifications
1936
- - Update Azure Pipelines default pipelines for delta deployments compliance
1937
- - Update [slack integration documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-slack/)
1938
- - Add [tutorials](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-auth/#major-orgs) for authentication configuration on CI/CD servers
1939
-
1940
- ## [4.10.O] 2023-11-04
1941
-
1942
- - Allow to [deploy in delta during PR checks between minor and major branches](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-config-delta-deployment/)
1943
- - To activate it, define `useDeltaDeployment: true` in `.sfdx-hardis.yml`, or set env variable **USE_DELTA_DEPLOYMENT** with value `true`
1944
- - Make sure your GitHub, Gitlab, Azure or Bitbucket yaml workflows are up to date
1945
- - Overwrite management: [Rename packageDeployOnce.xml into package-no-overwrite.xml](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-config-overwrite/) (compatibility with packageDeployOnce.xml file name is kept)
1946
-
1947
- ## [4.9.2] 2023-10-31
1948
-
1949
- - Improve GitHub monitoring Workflow
1950
- - Enhance monitoring documentation
1951
-
1952
- ## [4.9.1] 2023-10-31
1953
-
1954
- - New deployment error tips:
1955
- - Invalid custom summary formula definition
1956
- - Add artifacts config on bitbucket-pipelines.yml
1957
- - Add more comments in Monitoring workflows
1958
-
1959
- ## [4.9.0] 2023-10-30
1960
-
1961
- - Refactor Monitoring configuration and execution (beta)
1962
- - **If you already have a monitoring v1 repository, deprecate it and create a new one with the new monitoring setup and pipelines**
1963
- - Send slack notifications
1964
- - Latest updates detected in org
1965
- - Failing apex tests, or insufficient code coverage
1966
- - Deprecated API calls detected
1967
- - Full setup documentation
1968
- - GitHub Actions
1969
- - Gitlab CI
1970
- - Azure Pipelines
1971
- - Bitbucket Pipelines
1972
- - Totally rewritten command **sfdx hardis:org:configure:monitoring**
1973
- - New command **sfdx hardis:org:monitor:backup**
1974
- - New command **sfdx hardis:org:monitor:all**
1975
- - Simplify `sfdx hardis:project:configure:auth` (Configure Org CI Authentication)
1976
- - Disable auto-update for .gitignore & .forceignore
1977
- - Improve [documentation related to pull and commit](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/#commit-your-updates)
1978
-
1979
- ## [4.8.1] 2023-10-28
1980
-
1981
- - Catch "Cannot start the OAuth redirect server on port 1717" and give instructions to user to kill the process
1982
-
1983
- ## [4.8.0] 2023-10-25
1984
-
1985
- - Allow to use Device login for Code Builder compatibility
1986
- - New option to clear cache if an authenticated org does not appear in the choices
1987
-
1988
- ## [4.7.0] 2023-10-24
1989
-
1990
- - **hardis:org:files:export**: New configuration available to export files: **outputFileNameFormat**, with available values:
1991
- - title (default)
1992
- - title_id
1993
- - id_title
1994
- - id
1995
-
1996
- ## [4.6.6] 2023-10-20
1997
-
1998
- - Fix crash when converting orgCoverage to string
1999
-
2000
- ## [4.6.5] 2023-10-17
2001
-
2002
- - Do not use direct call to jsforce dependency to avoid crash ! ( related to <https://github.com/forcedotcom/cli/issues/2508#issuecomment-1760274510> )
2003
- - Update documentation
2004
- - Update comparative table in doc
2005
-
2006
- ## [4.6.4] 2023-09-28
2007
-
2008
- - hardis:work:save : Fix issue when there is an empty commit because of pre-commit hooks
2009
-
2010
- ## [4.6.3] 2023-09-27
2011
-
2012
- - Add installation video tutorial: <https://www.youtube.com/watch?v=LA8m-t7CjHA>
2013
-
2014
- ## [4.6.2] 2023-09-26
2015
-
2016
- - Fix return code for wrapper commands force:source:deploy, force:source:push and force:mdapi:deploy
2017
- - Fix --skipauth not taken in account with @salesforce/cli
2018
- - Fixed PR coverage to use float over string
2019
-
2020
- ## [4.6.1] 2023-09-26
2021
-
2022
- - Fix auth issue with force:source & force:mdapi wrapper sfdx-hardis commands
2023
-
2024
- ## [4.6.0] 2023-09-20
2025
-
2026
- - [sfdx-hardis & Slack Integration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-slack/)
2027
-
2028
- - Easy configuration
2029
- - Deployment notifications to a common channel, and also to git branch dedicated channel
2030
-
2031
- - Native [BitBucket](https://bitbucket.com/) CI/CD Pipeline for PR deployment checks and deployments to major orgs after merge
2032
-
2033
- - _PR comments are not implemented yet but BitBucket can already be used for production_
2034
-
2035
- - **hardis:project:deploy:dx** enhancements:
2036
-
2037
- - 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
2038
- - Added --runtests support in order to pass certain APEX test classes when --testlevel RunSpecifiedTests is used
2039
-
2040
- - Embed [Dreamforce 23 slides](https://reg.salesforce.com/flow/plus/df23/sessioncatalog/page/catalog/session/1684196389783001OqEl) in documentation
2041
-
2042
- ## [4.5.1] 2023-09-11
2043
-
2044
- - GitHub Integration: Fix Quick Deploy on Pull Requests
2045
-
2046
- ## [4.5.0] 2023-09-11
2047
-
2048
- - GitHub Integration: Implement automated comments & Quick Deploy on Pull Requests
2049
-
2050
- ## [4.4.0] 2023-09-10
2051
-
2052
- - Make sfdx-hardis CI/CD Pipelines **natively compliant with GitHub Actions** , by @legetz
2053
- - Create sfdx project: Change defaut first major branch name to `integration` (it was previously `develop`)
2054
- - Update default API version to 58.0
2055
- - Fix bug when user email is input the first time
2056
-
2057
- ## [4.3.2] 2023-09-08
2058
-
2059
- - Updates new task, commit & save task documentation & screenshots
2060
-
2061
- ## [4.3.1] 2023-09-07
2062
-
2063
- - Improve message when deploying metadata to org from local sfdx-hardis
2064
- - Improve documentation to handle merge requests and display links at the end of hardis:work:save
2065
-
2066
- ## [4.3.0] 2023-09-05
2067
-
2068
- - Back to normal since <https://github.com/forcedotcom/cli/issues/2445> is fixed
2069
-
2070
- ## [4.2.5] 2023-09-05
2071
-
2072
- - Downgrade to sfdx-cli until <https://github.com/forcedotcom/cli/issues/2445> is solved.
2073
-
2074
- ## [4.2.4] 2023-09-05
2075
-
2076
- - Downgrade @salesforce/plugin-deploy-retrieve to v1.17.6 as workaround for SF cli bug <https://github.com/forcedotcom/cli/issues/2445>
2077
-
2078
- ## [4.2.3] 2023-09-04
2079
-
2080
- - Fix issues with Org monitoring when there are issues with Legacy API
2081
-
2082
- ## [4.2.2] 2023-09-01
2083
-
2084
- - Fix upgrade warning message that should not appear when there is no upgrade to perform (detected by @mamasse19)
2085
-
2086
- ## [4.2.1] 2023-08-30
2087
-
2088
- - Fix issue in sfdx commands wrapping following the use of @salesforce/cli
2089
- - Config auth: phrases in bold when needing to relaunch the same command after org selection
2090
-
2091
- ## [4.2.0] 2023-08-30
2092
-
2093
- - Simplify UX of hardis:project:configure:auth
2094
- - Factorize prompting of email
2095
- - Expire sfdx-hardis connected app token after 3h
2096
- - Update documentation to add workaround in case there is a crash when retrieving all sources when initializing a DX project from an existing org
2097
- - Add output to explain how to not use QuickDeploy if not wanted
2098
- - Update Quick Deploy documentation
2099
-
2100
- ## [4.1.2] 2023-08-24
2101
-
2102
- - When there is a crash in force:package:installed:list , do not crash but return empty array and display an error message
2103
-
2104
- ## [4.1.1] 2023-08-23
2105
-
2106
- - Improve error message when Git Provider not available
2107
- - Update default azure-pipelines-deployment.yml to add mandatory variables for QuickDeploy
2108
-
2109
- ```yaml
2110
- SYSTEM_ACCESSTOKEN: $(System.AccessToken)
2111
- CI_SFDX_HARDIS_AZURE_TOKEN: $(System.AccessToken)
2112
- SYSTEM_COLLECTIONURI: $(System.CollectionUri)
2113
- BUILD_REPOSITORY_ID: $(Build.Repository.ID)
2114
- ```
2115
-
2116
- ## [4.1.0] 2023-08-22
2117
-
2118
- - Manage QuickDeploy when available (disable by defining env var `SFDX_HARDIS_QUICK_DEPLOY=false`)
2119
-
2120
- ## [4.0.1] 2023-08-18
2121
-
2122
- **BREAKING CHANGE**: If you are not using sfdx-hardis docker images, you need to **manually update your CI/CD pipelines** scripts using sfdx-hardis (gitlab-ci.yml, azure-pipelines.yml...) to:
2123
-
2124
- - **replace `sfdx-cli` by `@salesforce/cli`**
2125
- - **Add `sf plugins install @salesforce/plugin-packaging` just after `npm install @salesforce/cli --global`**
2126
-
2127
- Other upgrades
2128
-
2129
- - Upgrade CI/CD scripts and sfdx-hardis docker images from **sfdx-cli** to **@salesforce/cli** (sfdx commands remain called in background), and add `@salesforce/plugin-packaging` by default
2130
- - Now also release sfdx-hardis images on GitHub Packages (ghcr.io)
2131
- - Internal CI refactorization
2132
- - Secure releases with GitHub Actions permissions & environments
2133
- - Switch to [official docker build & push action](https://github.com/docker/build-push-action)
2134
- - Upgrade MegaLinter
2135
- - Upgrade npm dependencies
2136
-
2137
- ## [3.19.4] 2023-07-18
2138
-
2139
- - Add confirmation before resetting a git branch from VsCode command "Reset selected list of items to merge" (from an original idea of @derroman)
2140
-
2141
- ## [3.19.3] 2023-07-10
2142
-
2143
- - Allow to disable red colors for force:source:deploy output using env variable **SFDX_HARDIS_DEPLOY_ERR_COLORS=false**
2144
-
2145
- ## [3.19.2] 2023-07-06
2146
-
2147
- - Add packaging in online doc menu
2148
-
2149
- ## [3.19.1] 2023-07-05
2150
-
2151
- - Add Hotfix management (BUILD vs RUN) in CI/CD documentation
2152
- - Add Packaging & package version instructions in documentation
2153
-
2154
- ## [3.19.0] 2023-07-03
2155
-
2156
- - Monitoring: Do not exclude custom fields on managed objects
2157
- -ex: Remove `Ns__Object__c.Ns__Field__c`, but keep `Ns__Object__c.Field__c`
2158
-
2159
- ## [3.18.1] 2023-06-13
2160
-
2161
- - QuickFix hardis:work:save when branch has not been created on the computer
2162
-
2163
- ## [3.18.0] 2023-06-07
2164
-
2165
- - Clean entitlement items, by @yamioliva in <https://github.com/hardisgroupcom/sfdx-hardis/pull/381>
2166
-
2167
- ## [3.17.0] 2022-05-30
2168
-
2169
- - New command **hardis:org:generate:packagexmlfull** to generate the full package.xml of a selected Salesforce org
2170
-
2171
- ## [3.16.1] 2022-05-29
2172
-
2173
- - Also remove standard fields when running **hardis:project:clean:standarditems**
2174
- - New Deployment tips
2175
- - Wrong api Version of a Metadata
2176
- - Unknown user
2177
- - Upgrade to MegaLinter v7
2178
-
2179
- ## [3.16.0] 2022-05-24
2180
-
2181
- - New ENV variables to override default wait on retrieve/deploy/test commands
2182
- - SFDX_RETRIEVE_WAIT_MINUTES
2183
- - SFDX_DEPLOY_WAIT_MINUTES
2184
- - SFDX_TEST_WAIT_MINUTES
2185
- - Update default .forceignore content
2186
-
2187
- ## [3.15.0] 2022-05-11
2188
-
2189
- - Allow to define property **availableProjects** so when user clicks on New task (hardis:work:new), he/she is asked to select a project, that will be used to build the new git branch name
2190
- - When creating new task, store the target branch so it is not prompted again when waiting to save/publish the task.
2191
-
2192
- ## [3.14.2] 2022-05-03
2193
-
2194
- - More explicit text to ask user if he/she wants to update its selected sandbox while creating a new task
2195
- - Do not ask to change default target branch if there are multiple available branches
2196
-
2197
- ## [3.14.1] 2022-04-19
2198
-
2199
- - Allow to override the default deployment wait time (60) using variable SFDX_DEPLOY_WAIT_MINUTES
2200
- - Update JSON schema to add customOrgColors
2201
-
2202
- ## [3.14.0] 2022-04-14
2203
-
2204
- - Fix breaking change of sfdx-git-delta (many thanks @scolladon !)
2205
- - Deploy tips
2206
- - Invalid report type
2207
- - Missing report
2208
- - Update missing email template message
2209
- - Add more space between error lines in PR/MR comments
2210
- - Upgrade xml2js dependency
2211
- - Update call to MegaLinter in Azure integrations
2212
-
2213
- ## [3.13.1] 2022-04-12
2214
-
2215
- - Fix missing sfdx-git-delta in Docker image
2216
-
2217
- ## [3.13.0] 2022-04-06
2218
-
2219
- - Change defaut package install mode to **AdminsOnly**
2220
- - When minimizing Profiles, do not remove the **personAccountDefault=true** elements
2221
- - Add new deploy tip: Error parsing file
2222
-
2223
- ## [3.12.3] 2022-04-04
2224
-
2225
- - Do not add EmailTemplate and Flows as separate items in deploymentPlan, as metadata API now can handle their deployment with the rest of the sources
2226
- - Add new deployTip: Missing multi-currency field
2227
- - Update label when creating a new task using an existing sandbox
2228
-
2229
- ## [3.12.2] 2022-03-30
2230
-
2231
- - New deployment error tips
2232
- - SortOrder must be in sequential order from 1. (Duplicate Rules issue)
2233
- - Invalid field:ACCOUNT.NAME in related list:RelatedContactAccountRelationList
2234
- - Add more matchers for duplicate detector
2235
-
2236
- ## [3.12.1] 2022-03-29
2237
-
2238
- - Fix false positive error in deployment job when there is no related Pull/Merge request
2239
-
2240
- ## [3.12.0] 2022-03-23
2241
-
2242
- - Integration with [Azure Pipelines Pull Request threads](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/)
2243
- - **hardis:work:new**: Allow to select no org even of sandbox or scratch is forced on the project using config property **allowedOrgTypes**
2244
- - Doc: rename _User Guide_ into [Contributor Guide](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-use-home/)
2245
-
2246
- ## [3.11.1] 2022-03-20
2247
-
2248
- - Better fix for root path issues (internal error)
2249
-
2250
- ## [3.11.0] 2022-03-20
2251
-
2252
- - Fix root path issues (internal error)
2253
-
2254
- ## [3.10.2] 2022-03-16
2255
-
2256
- - Fix sandbox check when calling hardis:source:push
2257
-
2258
- ## [3.10.1] 2022-03-15
2259
-
2260
- - Quick fix Gitlab integration when there is no MR associated to a deployment
2261
-
2262
- ## [3.10.0] 2022-03-15
2263
-
2264
- - Post a Gitlab Merge Request note when checking a deployment **(beta)**
2265
- - Deployment errors with resolution tips
2266
- - Failing test classes
2267
- - Code coverage
2268
- - Do not remove then restore lookup filters when source:push on a source-tracked sandbox
2269
- - Catch and display errors when caused by internet connection issue
2270
-
2271
- ## [3.9.2] 2022-03-09
2272
-
2273
- - Update deploy tips for error _Unknown user permission: SendExternalEmailAvailable_
2274
-
2275
- ## [3.9.1] 2022-03-08
2276
-
2277
- - Improve logs for false positive after package installation failure
2278
- - Remove useless and scary log after a successful login :)
2279
- - Remove npm cache from Docker image
2280
-
2281
- ## [3.9.0] 2022-03-08
2282
-
2283
- - New task with source tracked sandbox:
2284
- - Do not allow to select a major org for dev or config
2285
- - Open SF org if selected from the already connected list
2286
- - Init packages only if defined in config
2287
- - Enhance labels
2288
- - Save task: Notify that once the merge request is merged, you must create a new task that will create a new branch
2289
- - Improve login error messages
2290
- - Use latest version of [MegaLinter](https://megalinter.io)
2291
-
2292
- ## [3.8.0] 2022-03-03
2293
-
2294
- - Manage deprecation of force:mdapi:legacy:deploy, replaced by force:mdapi:deploy
2295
- - Update default packageDeployOnce.xml when creating a new project (related to [Overwrite management](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-config-overwrite/))
2296
- - Update CI/CD documentation
2297
- - Initialize orgs
2298
- - Update labels of prompts when creating a new sfdx-hardis project
2299
-
2300
- ## [3.7.1] 2022-02-27
2301
-
2302
- - Use tooling API to retrieve ApexLogs for deletion, by @thvd in <https://github.com/hardisgroupcom/sfdx-hardis/pull/321>
2303
-
2304
- ## [3.7.0] 2022-02-27
2305
-
2306
- - Add demo video about [configuring authentication between CI and Salesforce orgs](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-auth/)
2307
- - Update CI/CD documentation
2308
- - Update branding
2309
-
2310
- ## [3.6.0] 2022-02-23
2311
-
2312
- - Add sfdx sources to monitoring for better readability
2313
- - Change example of email addresses for prompts
2314
- - Update CI/CD recommendations in documentation
2315
-
2316
- ## [3.5.0] 2022-02-22
2317
-
2318
- - Update default overwrite config (`packageDeployOnce.xml`)
2319
- - Setup CI: Define default Azure pipelines YML files
2320
- - Fix notification logs for Azure Pipelines
2321
-
2322
- ## [3.4.0] 2022-02-21
2323
-
2324
- - Move documentation to <https://sfdx-hardis.cloudity.com>
2325
-
2326
- ## [3.3.2] 2022-02-17
2327
-
2328
- - Fix default monitoring for Azure pipelines
2329
- - Update CI documentation (Azure)
2330
-
2331
- ## [3.3.1] 2022-02-16
2332
-
2333
- - Fix check of newer package installed
2334
-
2335
- ## [3.3.0] 2022-02-14
2336
-
2337
- - Compliance of monitoring setup with **Azure Pipelines**
2338
- - **hardis:org:retrieve:source:metadata** enhancements
2339
- - new option **--includemanaged**, disabled by default, to avoid having too many items to retrieve during monitoring job
2340
- - allow to force monitoring additional tasks using env var **SFDX_HARDIS_MONITORING** set to "true"
2341
-
2342
- ## [3.2.0] 2022-02-10
2343
-
2344
- - Fix issue when logging to a new org during command **hardis:source:retrieve**
2345
- - Implement check of code coverage when calling **sfdx hardis:project:deploy:sources:dx --check**
2346
- - 75% minimum by default, overridable in property **apexTestsMinCoverageOrgWide** in .sfdx-hardis.yml, or using env var **APEX_TESTS_MIN_COVERAGE_ORG_WIDE**
2347
- - Add **--checkcoverage** option to wrapper command **hardis:source:deploy**
2348
- - Example: `sfdx hardis:source:deploy -x manifest/package.xml --wait 60 --ignorewarnings --testlevel RunLocalTests --postdestructivechanges ./manifest/destructiveChanges.xml --targetusername nicolas.vuillamy@cloudity.com --checkonly --checkcoverage --verbose --coverageformatters json-summary`
2349
-
2350
- ## [3.1.0] 2022-02-07
2351
-
2352
- - Reset local sfdx tracking when reusing a sandbox for a new task
2353
-
2354
- ## [3.0.0] 2022-02-07
2355
-
2356
- - Breaking change: SFDX_HARDIS_DEPLOY_IGNORE_SPLIT_PACKAGES is now "true" by default. If you want to apply the deploymentPlan in .sfdx-hardis, you need to define variable SFDX_HARDIS_DEPLOY_IGNORE_SPLIT_PACKAGES="false"
2357
-
2358
- ## [2.100.0] 2022-02-07
2359
-
2360
- - **hardis:work:new:**: When creating a new task and using a source-tracked sandbox, ask user to push sources, assign permission sets and load data to initialize it.
2361
- - Add explicit error message when scratch org creation is caused by a limit reach
2362
- - Update default API version to 56.0
2363
- - Improve labels when prompting to select an org
2364
- - Update CI/CD documentation
2365
-
2366
- ## [2.99.1] 2022-01-31
2367
-
2368
- - Fix `hardis:project:clean:hiddenitems` when multiple files in the same folder match the same glob pattern
2369
- - Update documentation, fix typos and dead links
2370
-
2371
- ## [2.99.0] 2022-01-30
2372
-
2373
- - Replace [prompts](https://www.npmjs.com/package/prompts) library by [inquirer](https://www.npmjs.com/package/inquirer), because prompts is buggy
2374
- - Dockerfile: Workaround for <https://github.com/forcedotcom/salesforcedx-apex/issues/213> (force:apex:test:run with code coverage crashing on some Gitlab runners with _Invalid time value_)
2375
- - Allow to override the proposed branch names when calling [hardis:work:new](https://sfdx-hardis.cloudity.com/hardis/work/new/), using property **branchPrefixChoices**
2376
- - hardis:project:clean:hiddenitems: Also clean LWC with hidden content
2377
- - Add yarn in dockerfile
2378
-
2379
- ## [2.98.1] 2022-01-23
2380
-
2381
- - Fix [hardis:org:purge:flow](https://sfdx-hardis.cloudity.com/hardis/org/purge/flow/) when flow prompt selection is `all`
2382
-
2383
- ## [2.98.0] 2022-01-23
2384
-
2385
- - Documentation: Add CI/CD user guide and release manager guide, available at <https://sfdx-hardis.cloudity.com/salesforce-ci-cd-home/>
2386
- - New .sfdx-hardis.yml config property **allowedOrgTypes**, allowing to define the type(s) or org that can be used for implementation: (sandbox and/or scratch)
2387
-
2388
- ## [2.97.3] 2022-11-30
2389
-
2390
- - QuickFix System.debug removal
2391
-
2392
- ## [2.97.2] 2022-11-30
2393
-
2394
- - QuickFix
2395
-
2396
- ## [2.97.1] 2022-11-30
2397
-
2398
- - QuickFix hardis:lint:access
2399
-
2400
- ## [2.97.0] 2022-11-30
2401
-
2402
- - New command hardis:lint:access to analyze of items in sources are not present within profiles and/or permission sets
2403
-
2404
- ## [2.96.1] 2022-11-17
2405
-
2406
- - Fix error when assigning already existing PS
2407
- - Update default CI config
2408
-
2409
- ## [2.96.0] 2022-11-09
2410
-
2411
- - Replace `sfdx force:package:install` with `sfdx force:package:beta:install`
2412
- - Do not cause deployment to fail when a deploying an older managed package version
2413
- - Instead, deployment will assume the newer version meets the requirement
2414
- - hardis:scratch:create : Avoid error in case of already existing assignment of PermissionSet SfdxHardisDeferSharingRecalc
2415
- - Update Node.js minimum version to 16.x
2416
-
2417
- ## [2.95.2] 2022-10-19
2418
-
2419
- - Replace use of sfpowerkit by default command `sfdx force:source:manifest:create`
2420
- - Manage cache for listing orgs
2421
- - Update hardis:package:version:create to allow to
2422
- - install it later on an org
2423
- - immediately delete it
2424
- - New command hardis:project:metadata:findduplicates to detect when git messed during an automated merging of conflicts
2425
- - Factorize check of sfdx project existence
2426
- - Fix default gitlab-ci default pipeline
2427
- - Replace supportsDevhubUsername by requiresDevhubUsername in command classes when necessary
2428
- - Add parameters `skipauth` and `websocket` on `sfdx hardis:project:metadata:duplicate`
2429
- - Add missing parameter `skipauth` on `sfdx hardis:package:install`
2430
-
2431
- ## [2.94.3] 2022-09-15
2432
-
2433
- - Automate SSL certificate generation + force:source:deploy replaced by force:source:legacy:deploy
2434
-
2435
- ## [2.94.2] 2022-09-09
2436
-
2437
- - [hardis:project:clean:minimizeprofiles](https://sfdx-hardis.cloudity.com/hardis/project/clean/minimizeprofiles/): Do not strip tabVisibilities from Profiles
2438
-
2439
- ## [2.94.1] 2022-09-01
2440
-
2441
- - Lock sfpowerkit dependency to 4.2.13 to avoid error caused by deprecation of sfpowerkit:org:build:manifest
2442
-
2443
- ## [2.94.0] 2022-08-31
2444
-
2445
- - Update documentation to initialize scratch org
2446
- - Update JSON schema to add `scratchOrgInitApexScripts`
2447
- - Fix execution of scripts defined in `scratchOrgInitApexScripts`
2448
-
2449
- ## [2.93.0] 2022-08-02
2450
-
2451
- - Fix handling of new sfdx error format so we can again identify deployment tips
2452
- - New deployment tips:
2453
- - Cannot update a field to a Summary from something else
2454
-
2455
- ## [2.92.0] 2022-07-29
2456
-
2457
- - New command hardis:org:retrieve:source:analytics to retrieve all analytics (CRM Analytics/TCRM) sources
2458
- - New deployment tips (Wave analytics)
2459
- - Fix writePackageXml method when there is not an existing file
2460
-
2461
- ## [2.91.0] 2022-07-15
2462
-
2463
- - Fix issue when force:source command wrappers arguments contain spaces [(#269)](https://github.com/hardisgroupcom/sfdx-hardis/issues/269))
2464
- - Upgrade [MegaLinter](https://oxsecurity.github.io/megalinter/latest/) to v6
2465
- - Upgrade yarn dependencies
2466
-
2467
- ## [2.90.0] 2022-06-24
2468
-
2469
- - Events to open generated files when called from VsCode SFDX Hardis
2470
- - New deployTips
2471
-
2472
- ## [2.89.3] 2022-06-21
2473
-
2474
- - Fix exported file extension ([#266](https://github.com/hardisgroupcom/sfdx-hardis/issues/266))
2475
-
2476
- ## [2.89.2] 2022-06-17
2477
-
2478
- - Build full manifest using sfpowerkit excluding `ManagedContentTypeBundle` because it is not managed by retrieve
2479
-
2480
- ## [2.89.1] 2022-06-16
2481
-
2482
- - Auto-update gitlab-ci.yml only if variable `AUTO_UPDATE_GITLAB_CI_YML` is set
2483
-
2484
- ## [2.89.0] 2022-06-12
2485
-
2486
- - **hardis:package:mergexml**: New command to merge package.Xml files
2487
-
2488
- ## [2.88.0] 2022-06-11
2489
-
2490
- - **hardis:project:clean:systemdebug**: New command to comment or remove all System.debug from apex and triggers
2491
-
2492
- ## [2.87.5] 2022-05-18
2493
-
2494
- - toml2csv: Allow `hardcoded` values for concat
2495
- - Refactor internal CI to use 7.148.3 as recommended version
2496
-
2497
- ## [2.87.4] 2022-05-18
2498
-
2499
- - Fix configure org CI
2500
- - Hide auth info from console logs
2501
- - Fix Bulk Update job not closed
2502
-
2503
- ## [2.87.3] 2022-05-12
2504
-
2505
- - Auto-update `.gitlab-ci.yml` if a newest version exists
2506
-
2507
- ## [2.87.2] 2022-05-11
2508
-
2509
- - Refactor report directory management
2510
-
2511
- ## [2.87.1] 2022-05-11
2512
-
2513
- - Fix monitoring default pipeline
2514
-
2515
- ## [2.87.0] 2022-05-08
2516
-
2517
- - New command **hardis:project:clean:xml** allowing to automate the manual cleaning in the XML files using glob pattern and xPath
2518
- - Reorganize work:save command code + add auto mode
2519
- - Call Save command from Retrofit command to update package.xml files and make sure sources have been cleaned
2520
-
2521
- ## [2.86.1] 2022-05-06
2522
-
2523
- - hardis:work:new : Propose to reuse current scratch org when it is not in the local list
2524
- - hardis:work:save : Propose to push git branch on server when it is still untracked
2525
-
2526
- ## [2.86.0] 2022-05-03
2527
-
2528
- - New wrapper command: sfdx hardis:source:retrieve
2529
- - Quickfix toml2csv
2530
-
2531
- ## [2.85.2] 2022-05-02
2532
-
2533
- - Fix toml2csv error log
2534
- - Deployment tips
2535
- - Allow deployment with pending Apex Jobs
2536
- - Update Can not find folder
2537
-
2538
- ## [2.85.1] 2022-04-27
2539
-
2540
- - Enhance sfdx hardis:org:retrieve:sources:retrofit command + JSON schema updates
2541
-
2542
- ## [2.85.0] 2022-04-27
2543
-
2544
- - Enhance sfdx hardis:org:retrieve:sources:retrofit command
2545
- - Ad deployment tip: Invalid field in related list
2546
-
2547
- ## [2.84.0] 2022-04-27
2548
-
2549
- - Update deployTips: improve unknown custom field message
2550
- - New command sfdx hardis:doc:extract:permsetgroups to generate permission set groups documentation
2551
-
2552
- ## [2.83.6] 2022-04-26
2553
-
2554
- - Fix hardis:work:save who sometimes forgot to ask to push commits
2555
-
2556
- ## [2.83.5] 2022-04-24
2557
-
2558
- - Update deployment tips
2559
-
2560
- ## [2.83.0] 2022-04-20
2561
-
2562
- - New deployment tips:
2563
- - Not valid sharing model
2564
- - Improve purge flows for manual users
2565
- - Improve badwords detector
2566
- - Open scratch org when reusing one
2567
- - Hide prompt result when it contains sensitive information
2568
-
2569
- ## [2.82.2] 2022-04-19
2570
-
2571
- - New deployTip: Can not change type due to existing data
2572
- - Do not replace ListView Everything by Mine when we are just simulating deployment
2573
-
2574
- ## [2.82.1] 2022-04-16
2575
-
2576
- - QuickFix platform compatibility for `sfdx hardis:org:fix:listviewmine`
2577
-
2578
- ## [2.82.0] 2022-04-16
2579
-
2580
- - New command `sfdx hardis:org:fix:listviewmine` as a workaround to force:source:deploy not allowing ListView with scope **Mine**
2581
-
2582
- ## [2.81.0] 2022-04-15
2583
-
2584
- - New property `autoRetrieveWhenPull` to always retrieve some sources when calling hardis:source:pull (useful when sfdx tracking forgets some updates)
2585
-
2586
- ## [2.80.0] 2022-04-15
2587
-
2588
- - Simplify and document more hardis:work:new , hardis:work:pull and hardis:work:save
2589
- - Open org in browser when fetched from scratch org pool
2590
- - More [deploymentTips](https://sfdx-hardis.cloudity.com/deployTips/)
2591
- - Add `customPlugins` definition in json schema
2592
-
2593
- ## [2.79.0] 2022-04-10
2594
-
2595
- - New property `extends` in `.sfdx-hardis.yml`, to allow local config file to extend from remote file
2596
- - Add `customCommands` definition in json schema
2597
-
2598
- ## [2.78.4] 2022-04-09
2599
-
2600
- - Update documentation
2601
-
2602
- ## [2.78.3] 2022-04-08
2603
-
2604
- - Add a retrofit command to retrieve changes made directly in an org
2605
-
2606
- ## [2.78.2] 2022-04-08
2607
-
2608
- - Fix legacy API command display ([#225](https://github.com/hardisgroupcom/sfdx-hardis/issues/225))
2609
-
2610
- ## [2.78.1] 2022-04-07
2611
-
2612
- - Fix CI & remove docker image with sfdx-cli@stable as it does not exists anymore
2613
-
2614
- ## [2.78.0] 2022-04-07
2615
-
2616
- - New parameter --skipauth on all hardis commands, to allow the auth check when a default username is required (allows advanced users to improve performances)
2617
- - Set user email when fetching a scratch org from scratch org pool
2618
-
2619
- ## [2.77.2] 2022-04-07
2620
-
2621
- - Fix bug when subtracting a package.xml from another
2622
-
2623
- ## [2.77.1] 2022-04-07
2624
-
2625
- - Fix error in packageDeployOnce.xml document (sfdx hardis:project:deploy:sources:dx)
2626
-
2627
- ## [2.77.0] 2022-04-05
2628
-
2629
- - Generate deployment tips documentation
2630
- - hardis:org:user:activateinvalid : new --profiles argument
2631
- - Update MsTeams WebHooks ENV variables
2632
- - MS_TEAMS_WEBHOOK_URL_CRITICAL
2633
- - MS_TEAMS_WEBHOOK_URL_SEVERE
2634
- - MS_TEAMS_WEBHOOK_URL_WARNING
2635
- - MS_TEAMS_WEBHOOK_URL_INFO
2636
- - Allow to install packages during deployment check using INSTALL_PACKAGES_DURING_CHECK_DEPLOY=true env variable
2637
- - Enhance prompt org labels
2638
-
2639
- ## [2.76.2] 2022-04-04
2640
-
2641
- - Improve activate invalid users commands (allow to select by profile(s))
2642
-
2643
- ## [2.76.1] 2022-04-04
2644
-
2645
- - Improve activate invalid users commands
2646
-
2647
- ## [2.76.0] 2022-04-03
2648
-
2649
- - New command **sfdx hardis:org:user:activateinvalid** to activate invalid emails in sandbox
2650
- - Fix CI org authentication in case the default username is not the org that we want to configure
2651
- - Bypass error with force:source:legacy:pull / push
2652
- - hardis:work:save : Propose to manually commit files
2653
- - Fix hardis:org:select alias & user config
2654
- - Colorize command lines in logs
2655
- - Enhance new task with sandbox (not fully stable yet)
2656
- - New deployTips
2657
- - Please choose a different name
2658
-
2659
- ## [2.75.0] 2022-03-28
2660
-
2661
- - Property `availableTargetBranches` can be defined in `.sfdx-hardis.yml` to list the possible target branches for merge requests
2662
- - fix hardis:work:save to propose a git push when the current branch is ahead of origin branch
2663
- - New deployTips
2664
- - XML item appears more than once
2665
-
2666
- ## [2.74.2] 2022-03-26
2667
-
2668
- - Update legacy API detection labels
2669
-
2670
- ## [2.74.1] 2022-03-25
2671
-
2672
- - Manage crash when retrieving metadatas from CI jobs
2673
-
2674
- ## [2.74.0] 2022-03-24
2675
-
2676
- - Enhance hardis:work:save to request if the files has already been staged and committed
2677
- - Deploy manifest and destructive change in the same sfdx force:source:deploy call thanks to new argument postdestructivechanges
2678
- - More deployTips
2679
- - Improve MsTeams notifications management
2680
-
2681
- ## [2.73.0] 2022-03-21
2682
-
2683
- - Improve tips about how to fix deployments directly within error messages
2684
- - Wrapper commands to display tips in error logs
2685
- - force:source:deploy can be wrapped using hardis:source:deploy
2686
- - force:source:push can be wrapped using hardis:source:push
2687
- - force:mdapi:deploy can be wrapped using hardis:mdapi:deploy
2688
-
2689
- ## [2.72.0] 2022-03-21
2690
-
2691
- - Include tips about how to fix deployments directly within error messages
2692
-
2693
- ## [2.71.2] 2022-03-17
2694
-
2695
- - Update JSON schema for customCommands (used by VsCode SFDX Hardis)
2696
- - New property for scratch org pool config: maxScratchOrgsNumberToCreateOnce (max number of scratch orgs to create during one CI job)
2697
-
2698
- ## [2.71.0] 2022-03-15
2699
-
2700
- - New command hardis:org:data:delete to manage [delete data workspaces](https://help.sfdmu.com/full-documentation/advanced-features/delete-from-source) of sfdmu
2701
- - New command hardis:scratch:pool:reset to delete all scratch orgs from a scratch orgs pool (like when a new project-scratch-def is delivered)
2702
-
2703
- ## [2.70.0] 2022-03-10
2704
-
2705
- - hardis:org:apex:test : allow command to succeed when no tests are present in the project, useful for new environments initialization
2706
-
2707
- ## [2.69.0] 2022-03-02
2708
-
2709
- - Scratch org pool: add history (fetch,auth) on ActiveScratchOrg devhub record
2710
-
2711
- ## [2.68.6] 2022-02-22
2712
-
2713
- - remove `DEPLOY PROGRESS` noisy lines from logs
2714
-
2715
- ## [2.68.5] 2022-02-18
2716
-
2717
- - Update mkdocs
2718
- - fix commit of files with spaces
2719
-
2720
- ## [2.68.4] 2022-02-18
2721
-
2722
- - hardis:package:install
2723
- - Add -k, --installationkey CLI param and prompts user for it if not supplied
2724
-
2725
- ## [2.68.3] 2022-02-18
2726
-
2727
- - Fix hardis:package:version:promote --auto
2728
-
2729
- ## [2.68.2] 2022-02-15
2730
-
2731
- - Fix minimize profiles command
2732
-
2733
- ## [2.68.1] 2022-02-02
2734
-
2735
- - Allow property autoRemoveUserPermissions in .sfdx-hardis.yml to clean profiles
2736
- - toml2csv:
2737
- - Add concatComposite option for column
2738
- - Add recordType option for column
2739
-
2740
- ## [2.68.0] 2022-01-31
2741
-
2742
- - Do not create log files in the current directory if it is empty
2743
- - More deployTips
2744
- - Clean MDAPI output logs from progression lines
2745
- - Add listViewMine in cleaning references
2746
- - toml2csv updates
2747
-
2748
- ## [2.67.1] 2022-01-20
2749
-
2750
- - Enhance documentation for hardis:scratch:pool:create command
2751
- - Fixes and enhancements on toml2csv command
2752
-
2753
- ## [2.67.0] 2022-01-18
2754
-
2755
- - hardis:misc:toml2csv enhancements (rename and copy files)
2756
- - fix minimizing of profiles
2757
- - new command hardis:project:clean:listview
2758
-
2759
- ## [2.66.2] 2022-01-13
2760
-
2761
- - hardis:misc:toml2csv enhancements
2762
-
2763
- ## [2.66.1] 2022-01-11
2764
-
2765
- - minimizeProfiles: do not remove userPermissions if profile is default Admin profile
2766
-
2767
- ## [2.66.0] 2022-01-07
2768
-
2769
- - Check deployment with metadata project
2770
-
2771
- ## [2.65.0] 2022-01-05
2772
-
2773
- - Fix contribution install by upgrading dependencies
2774
- - Use soqlQuery method everywhere
2775
- - Set devhub alias when available
2776
-
2777
- ## [2.64.1] 2021-12-29
2778
-
2779
- - Update default apiVersion to 53.0
2780
- - Option to not remove empty types when subtracting package.xml
2781
-
2782
- ## [2.64.0] 2021-12-24
2783
-
2784
- - New command hardis:clean:minimizeprofiles
2785
- - New deployTip `duplicate-value-platform-action-id-list`
2786
- - Apply packageDeployOnce.xml and packageDeployOnChange.xml in all contexts
2787
- - Package.xml mixing: fix wildcard `<members>*</members>` management
2788
- - List metadatas of target org: complete with what sfpowerkit commands does not return (ListView,CustomLabel)
2789
-
2790
- ## [2.63.0] 2021-12-21
2791
-
2792
- - New event message refreshPlugins (used by VsCodeSFDX Hardis)
2793
- - Display Error message when unable to delete a temporary directory
2794
-
2795
- ## [2.62.0] 2021-12-14
2796
-
2797
- - Fix **hardis:work:save** crash when rebuilding deploymentPlan
2798
- - Fix XML indentation (#51). Can also be overridden by using env variable `SFDX_XML_INDENT` (ex: `SFDX_INDENT=' '`)
2799
-
2800
- ## [2.61.0] 2021-12-02
2801
-
2802
- - Use same XML indentation than Salesforce (#51) (requires also upgrade of sfdx-essentials, using `sfdx plugins:install sfdx-essentials`)
2803
-
2804
- ## [2.60.3] 2021-11-08
2805
-
2806
- - Fix hardis:source:pull when there are errors
2807
-
2808
- ## [2.60.2] 2021-11-06
2809
-
2810
- - Allow to input URL to use to login
2811
-
2812
- ## [2.60.1] 2021-11-05
2813
-
2814
- - Fix hardis:scratch:pool:view when DevHub authentication is expired
2815
-
2816
- ## [2.60.0] 2021-11-03
2817
-
2818
- - Deployment failure: Tuning of error message + display of direct link to Deployment Status page in console logs
2819
- - When not in CI, prompt for the org to use to simulate deployments
2820
-
2821
- ## [2.59.0] 2021-11-03
2822
-
2823
- - (ALPHA,not really usable yet) Allow to use sandboxes for new task (create from production org, or clone from other sandbox)
2824
- - Fixes about scratch org initialization and JWT auth configuration
2825
-
2826
- ## [2.58.3] 2021-10-23
2827
-
2828
- - hardis:org:files:export: Fix file paths in logs
2829
-
2830
- ## [2.58.2] 2021-10-18
2831
-
2832
- - org:user:freeze : Prevent to freeze all profiles and current user profile
2833
-
2834
- ## [2.58.1] 2021-10-18
2835
-
2836
- - org:retrieve:sources:metadata : Manage locally defined `remove-items-package.xml` (that can handle wildcard members)
2837
-
2838
- ## [2.58.0] 2021-10-16
2839
-
2840
- - org:retrieve:sources:metadata : Run apex tests and legacy api check if we are in CI and in a repository named with `monitoring`
2841
- - Teams notifications for apex tests and legacy api failure
2842
-
2843
- ## [2.57.2] 2021-10-13
2844
-
2845
- - hardis:org:files:export
2846
- - Add file extension when missing
2847
- - replace .snote by .txt
2848
- - replace special characters in parent folder name and file name
2849
-
2850
- ## [2.57.1] 2021-10-12
2851
-
2852
- - Retry when BULK API Query returns a timeout
2853
- - hardis:org:files:export
2854
- - Use node-fetch-retry for direct downloads (retry up to 30 seconds by default)
2855
- - New argument `--startchunknumber` to start files extraction from a chunk position
2856
-
2857
- ## [2.57.0] 2021-10-11
2858
-
2859
- - Make **hardis:org:user:freeze** and **hardis:org:user:unfreeze** can now handle large volume of users, using Bulk API
2860
-
2861
- ## [2.56.0] 2021-10-10
2862
-
2863
- - Update auto-generated documentation to add a commands.md + its link in the menu
2864
-
2865
- ## [2.55.3] 2021-10-05
2866
-
2867
- - When not in CI, disable auto-update of .gitignore and .forceignore files because of a prompt library issue. To enable it, define AUTO_UPDATE env variable to "true"
2868
-
2869
- ## [2.55.2] 2021-10-03
2870
-
2871
- - Fix link to <https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238>
2872
-
2873
- ## [2.55.1] 2021-10-01
2874
-
2875
- - SFDX_HARDIS_DEBUG_ENV. If set to true, display env vars at startup
2876
-
2877
- ## [2.55.0] 2021-10-01
2878
-
2879
- - Manage env var SFDX_HARDIS_DEPLOY_IGNORE_SPLIT_PACKAGES. If "true", package.xmls are not split with deploymentPlan
2880
-
2881
- ## [2.54.0] 2021-09-27
2882
-
2883
- - Allow to override force:org:create waiting time using SCRATCH_ORG_WAIT en variable (default: 15mn)
2884
- - hardis:org:select : new parameter `--scratch` to allow to list only scratch orgs related to current Dev Hub
2885
- - hardis:org:retrieve:sources:dx2 : New parameter `--template` to use default package.xml files (ex: `wave`)
2886
- - Scratch org pool: automatically delete too old ready-to-use scratch orgs
2887
- - Deploy Tips
2888
- - Wave deployment error
2889
-
2890
- ## [2.53.1] 2021-09-14
2891
-
2892
- - Update Object deployed when configuring scratch org pool (replace Html by LongTextArea)
2893
-
2894
- ## [2.53.0] 2021-09-14
2895
-
2896
- - Additional docker images, to use when stable and latest sfdx-cli versions arr broken
2897
- - hardisgroupcom/sfdx-hardis:latest-sfdx-recommended
2898
- - hardisgroupcom/sfdx-hardis:beta-sfdx-recommended
2899
- - hardisgroupcom/sfdx-hardis:alpha-sfdx-recommended
2900
-
2901
- ## [2.52.0] 2021-09-14
2902
-
2903
- - New command **hardis:project:fix:v53flexipages** to fix v53.0 broken ascending compatibility
2904
- - New command **hardis:project:audit:duplicatefiles** to detect doubling files in wrong sfdx folders
2905
-
2906
- ## [2.51.6] 2021-09-10
2907
-
2908
- - Take in account parameter `--ignore-whitespace` of sfdx-git-delta for packageOnChange.xml
2909
-
2910
- ## [2.51.5] 2021-09-10
2911
-
2912
- - hardis:org:diagnose:legacyapi: Provide additional report with unique list of ips, hostnames (when available) , and number of calls
2913
- - Fix hardis:package:version:promote
2914
-
2915
- ## [2.51.4] 2021-09-03
2916
-
2917
- - hardis:org:diagnose:legacyapi: Allow to override default output reportfile with `--outputfile` argument
2918
-
2919
- ## [2.51.3] 2021-09-02
2920
-
2921
- - Improve authentication log + less cases when launching again the same command can be necessary
2922
- - if you define `forceRestDeploy: true` in config, `restDeploy: false` won't be set automatically anymore
2923
-
2924
- ## [2.51.2] 2021-08-31
2925
-
2926
- - Quick fixes hardis:doc:plugin:generate
2927
- - Fix crash when there are no license & changelog
2928
-
2929
- ## [2.51.1] 2021-08-31
2930
-
2931
- - Quick fixes hardis:doc:plugin:generate
2932
- - Handle when command.title or command.description is empty
2933
- - Add `# Commands` to the README.md truncate markers
2934
- - Fix hardis:org:retrieve:sources:dx
2935
- - Empty temp directories at the beginning of the command
2936
- - Add ForecastingType in the list of ignored metadatas for conversion to sfdx sources
2937
-
2938
- ## [2.51.0] 2021-08-31
2939
-
2940
- - Update hardis:doc:plugin:generate so main README part is displayed on doc index.md
2941
-
2942
- ## [2.50.0] 2021-08-30
2943
-
2944
- - New commands to freeze users before deployment then unfreeze users after deployment
2945
- - sfdx hardis:org:user:freeze
2946
- - sfdx hardis:org:user:unfreeze
2947
-
2948
- ## [2.49.1] 2021-08-30
2949
-
2950
- - QuickFix scratch org auth during CI
2951
-
2952
- ## [2.49.0] 2021-08-30
2953
-
2954
- - Manage scratch org pools to enhance performances
2955
- - Initialize configuration with hardis:scratch:pool:configure
2956
- - Fetch a new scratch org from the pool when requesting creation of a new scratch org
2957
-
2958
- ## [2.48.1] 2021-08-27
2959
-
2960
- - QuickFix hardis:org:files:export
2961
-
2962
- ## [2.48.0] 2021-08-27
2963
-
2964
- - New command **hardis:org:files:export** to download all files (ContentVersion) attached to records (ex: Opportunity)
2965
- - Generate text log file in hardis-report/commands when sfdx-hardis is not run from CI
2966
- - hardis:org:diagnose:legacyapi : simpler logs
2967
-
2968
- ## [2.47.3] 2021-08-23
2969
-
2970
- - hardis:org:diagnose:legacyapi: Add more summary and statistics
2971
-
2972
- ## [2.47.2] 2021-08-23
2973
-
2974
- - Fix hardis:org:diagnose:legacyapi (display raw logs when CSV builder is crashing) , using papaparse instead of objects-to-csv package
2975
-
2976
- ## [2.47.1] 2021-08-19
2977
-
2978
- - Use --permissivediff to call sfdx-git-delta if the argument is available
2979
- - Manage env vars SKIP_PACKAGE_DEPLOY_ON_CHANGE and SKIP_PACKAGE_DEPLOY_ONCE . If set to true, related packageDeployOnChange.xml and packageDeployOnce.xml are ignored
2980
- - Define locally method to remove package.xml from another, to improve performances
2981
-
2982
- ## [2.47.0] 2021-08-19
2983
-
2984
- - New feature: use packageDeployOnChange.xml, to skip deployment of items that has not been updated since last update
2985
- - Create docker images with sfdx-cli@stable version
2986
- - alpha-sfdx-stable
2987
- - beta-sfdx-stable
2988
- - latest-sfdx-stable
2989
-
2990
- ## [2.46.0] 2021-08-16
2991
-
2992
- - Allow to run git delta command on local updates
2993
- - Update labels of hardis:data commands
2994
- - New technical command: hardis:work:ws , to call VsCode Extension refresh from CLI
2995
-
2996
- ## [2.45.0] 2021-08-15
2997
-
2998
- - Refactor **hardis:org:diagnose:legacyapi** with jsforce to handle more log entries
2999
- - Do not display `git branch -v` in logs
3000
-
3001
- ## [2.44.0] 2021-08-14
3002
-
3003
- - New command **hardis:org:diagnose:legacyapi** : Detect [use of deprecated API versions](https://help.salesforce.com/articleView?id=000351312&type=1&mode=1&language=en_US) in production org
3004
-
3005
- ## [2.43.1] 2021-07-23
3006
-
3007
- - Update deployTips
3008
- - Update json schema
3009
-
3010
- ## [2.43.0] 2021-07-22
3011
-
3012
- - Better split of elements during hardis:work:save
3013
- - Display elapsed time for long running commands
3014
-
3015
- ## [2.42.2] 2021-07-20
3016
-
3017
- - Use relative path for sfdmu data import/export
3018
-
3019
- ## [2.42.1] 2021-07-19
3020
-
3021
- - Fix data import & export commands when spaces in folder names
3022
-
3023
- ## [2.42.0] 2021-07-12
3024
-
3025
- - New command sfdx hardis:project:lint
3026
- - Update .sfdx-hardis.yml configuration JsonSchema
3027
-
3028
- ## [2.41.2] 2021-07-12
3029
-
3030
- - QuickFix case when title is not set (use first line of description)
3031
-
3032
- ## [2.41.1] 2021-07-12
3033
-
3034
- - Quickfix default mkdocs.yml
3035
-
3036
- ## [2.41.0] 2021-07-12
3037
-
3038
- - Add [JSON Schema](https://www.schemastore.org/json/) for `.sfdx-hardis.yml` configuration files
3039
- - Automatic SFDX Plugin documentation generation for any SFDX Plugin
3040
-
3041
- ## [2.40.0] 2021-07-08
3042
-
3043
- - **hardis:scratch:create**: Initialize data using SFDMU, if defined in .sfdx-hardis.json `dataPackages` property with `importInScratchOrgs: true`
3044
- - Example
3045
-
3046
- ```yaml
3047
- dataPackages:
3048
- - dataPath: scripts/data/LightningSchedulerConfig
3049
- importInScratchOrgs: true
3050
- ```
3051
-
3052
- - Propose to update or not default target git branch
3053
- - List target git branches if defined in .sfdx-hardis.json `availableTargetBranches` property
3054
- - **hardis:scratch:delete**: Propose only scratch orgs related to currently selected Dev Hub
3055
- - New command **hardis:org:configure:data** to initialize a SFDMU project, sfdx-hardis flavored
3056
- - Display data package label & description, from SFDMU folder config.json properties `sfdxHardisLabel` and `sfdxHardisDescription`
3057
- - **hardis:org:data:import** & **hardis:org:data:import**: Allow to select current org or another when running data import/export commands
3058
- - Display Dev Hub username when listing orgs for selection
3059
-
3060
- ## [2.31.1] 2021-07-02
3061
-
3062
- - **hardis:scratch:delete** : Display instanceUrl & last usage of scratch orgs displayed before deletion
3063
-
3064
- ## [2.31.0] 2021-07-02
3065
-
3066
- - New command **hardis:scratch:delete** to delete scratch orgs locally referenced.
3067
-
3068
- ## [2.30.1] 2021-06-30
3069
-
3070
- - hardis:org:connect : Propose user to open org in browser if not in CI
3071
-
3072
- ## [2.30.0] 2021-06-30
3073
-
3074
- - Update hardis:org:retrieve:packageconfig so it allows to select an org, and to update sfdx-hardis configuration
3075
-
3076
- ## [2.29.0] 2021-06-29
3077
-
3078
- - New command hardis:org:retrieve:sources:dx2 to assist call to force:source:retrieve using a package.xml file
3079
- - Improve hardis:project:generate:gitdelta by allowing to select commits from their description
3080
- - Use magenta to display config file updates
3081
-
3082
- ## [2.28.0] 2021-06-23
3083
-
3084
- - CI: Check Docker image security with [trivy](https://github.com/aquasecurity/trivy)
3085
- - Avoid git error when development branch is updated
3086
-
3087
- ## [2.27.1] 2021-06-21
3088
-
3089
- - Fix CountryCode when updating scratch org user. Default FR - France, can be updated with config defaultCountry and defaultCountryCode in .sfdx-hardis.yml
3090
-
3091
- ## [2.27.0] 2021-06-20
3092
-
3093
- - Clean Lookup filters before force:source:push, then restore them and push again
3094
- - Manage `gitRootFolderPrefix` config property, in case the root of git repository is at a parent level than sfdx project root
3095
- - Allow to override separate deployments using config property `separateDeploymentsConfig`
3096
- - Set git config core.quotepath to false to manage special characters in git files / folders
3097
- - Run sfdx git delta at the root of the git repository
3098
- - Rename DeferSharingCalc permission set into SfdxHardisDeferSharingCalc
3099
- - New Deployment tips
3100
- - Contributing documentation
3101
-
3102
- ## [2.26.4] 2021-06-18
3103
-
3104
- - Do not write user config when current folder is empty
3105
-
3106
- ## [2.26.1] 2021-06-17
3107
-
3108
- - Take in account testLevel from `.sfdx-hardis.yml` in deployments
3109
-
3110
- ## [2.26.0] 2021-06-16
3111
-
3112
- - New command hardis:project:generate:gitdelta to generate the package.xml calculated between two commits
3113
- - New command hardis:org:connect to connect to an org without selecting it (can be used to refresh expired token)
3114
- - Propose choice to to skip .gitignore & .forceignore files auto-update
3115
- - Define triggerNotification on Command class to trigger MsTeams notifs
3116
- - Update org type selection message
3117
-
3118
- ## [2.25.3] 2021-06-14
3119
-
3120
- - Fix bug when selecting an org from outside a SFDX project folder
3121
-
3122
- ## [2.25.2] 2021-06-14
3123
-
3124
- - Refresh VsCode Sfdx Hardis UI when creating / loading a SFDX Project
3125
-
3126
- ## [2.25.1] 2021-06-13
3127
-
3128
- - Check if folder is a git repo before updating git config
3129
-
3130
- ## [2.25.0] 2021-06-12
3131
-
3132
- - New parameter **keepmetadatatypes** for hardis:org:retrieve:sources:dx
3133
- - Check dependencies
3134
- - Improve performances
3135
- - Check application dependencies (git,openssl)
3136
-
3137
- ## [2.24.0] 2021-06-10
3138
-
3139
- - New command **hardis:org:purge:apexlog** to purge all Apex Logs of selected org
3140
-
3141
- ## [2.23.0] 2021-06-07
3142
-
3143
- - Manage installation key for unlocked packages installation
3144
- - Deployment: manage --canmodify SFDMU argument (define sfdmuCanDeploy in sfdx-hardis branch config file)
3145
-
3146
- ## [2.22.0] 2021-06-03
3147
-
3148
- - New command hardis:project:clean:orgmissingitems : Remove elements that are not existing in target org (only in ReportType for now)
3149
- - hardis:project:clean:references : Remove cleaned items from package.xml files
3150
- - Externalization of method to select an org (+ reorder of list of displayed orgs)
3151
-
3152
- ## [2.21.0] 2021-06-02
3153
-
3154
- - hardis:project:clean:references: Improve performances for removing files
3155
- - hardis:scratch:create : Shorten scratch org auto-generated name
3156
- - Authenticate to an org: Request user to set alias if not provided
3157
- - Update default gitlab-ci.yml
3158
- - New method promptProfiles
3159
-
3160
- ## [2.20.3] 2021-05-26
3161
-
3162
- - Set prompt UI timeout to 2h instead of 5mn
3163
-
3164
- ## [2.20.2] 2021-05-25
3165
-
3166
- - Fix call to sfdmu (add --noprompt)
3167
-
3168
- ## [2.20.1] 2021-05-23
3169
-
3170
- - Fix scratch org listing
3171
-
3172
- ## [2.20.0] 2021-05-21
3173
-
3174
- - hardis:work:save : Prompt user to pull from scratch org or not before saving
3175
- - Do not update package.json anymore
3176
- - hardis:scratch:create : Fix reuse scratch org prompt
3177
-
3178
- ## [2.19.0] 2021-05-20
3179
-
3180
- - Detect when auth token is expired
3181
- - More deploy tips
3182
- - Clean ProductRequest items
3183
-
3184
- ## [2.18.0] 2021-05-18
3185
-
3186
- - New commands
3187
-
3188
- - **hardis:org:retrieve:packageconfig**: Retrieves .sfdx-hardis.yml property installedPackaged from an existing org
3189
- - **hardis:project:clean:emptyitems**: Delete empty items from SFD project
3190
- - **hardis:project:clean:hiddenitems**: Delete hidden items (from managed packages) from SFDX project
3191
-
3192
- - Update default values for JWT connected app creation
3193
- - Manage `--targetusername` to be taken in account for all sfdx hardis commands
3194
- - More deployment tips
3195
- - hardis:project:clean:manageditems: New `--namespace` argument
3196
- - org:retrieve:source:dx : Do not erase .gitignore, .forceignore , README.md and project-scratch-def is already existing locally
3197
- - Remove shape temp folder to avoid a force:org:create bug
3198
-
3199
- ## [2.17.3] 2021-05-18
3200
-
3201
- - Fix .gitignore automatic update constraint
3202
-
3203
- ## [2.17.2] 2021-05-10
3204
-
3205
- - Default init scratch org using push and not deploy
3206
- - QuickFix mergeRequest links local storage
3207
-
3208
- ## [2.17.0] 2021-05-10
3209
-
3210
- - New command hardis:project:convert:profilestopermsets to convert all profiles into permission sets
3211
- - hardis:scratch:create : Fix permission set auto assignment when creating a scratch org (use property initPermissionSets in .sfdx-hardis.yml)
3212
-
3213
- ## [2.16.1] 2021-05-09
3214
-
3215
- - hardis:work:save : Fix storage in config file of Merge Request info
3216
- - Update deploy tips
3217
-
3218
- ## [2.16.0] 2021-05-08
3219
-
3220
- - hardis:project:clean:manageditems : Clean SFDX project from managed classes
3221
- - hardis:project:clean:retrievefolders: Clean/Complete SFDX project with missing folders (dashboard,email,reports)
3222
- - hardis:project:clean:standarditems : Clean SFDX project from objects with no custom within
3223
- - More deployment error tips
3224
- - New parameter websocket for all commands
3225
- - Indicating in logs when deployment is a simulation
3226
-
3227
- ## [2.15.1] 2021-05-02
3228
-
3229
- - QuickFix hardis:work:save
3230
-
3231
- ## [2.15.0] 2021-04-30
3232
-
3233
- - hardis:project:clean:references : New cleaning module **dashboards** removing reference to users in Dashboards sources
3234
-
3235
- ## [2.14.0] 2021-04-29
3236
-
3237
- - Manage **manifest/packageDeployOnce.xml** : all its items that are already present in target org will not be deployed again
3238
-
3239
- ## [2.13.4] 2021-04-26
3240
-
3241
- - New deploy tips
3242
- - Do not update local files when calling configure commands
3243
- - hardis:work:save : Fix branch update issue
3244
-
3245
- ## [2.13.3] 2021-04-23
3246
-
3247
- - Remove PMD rule :
3248
- - CyclomaticComplexity
3249
-
3250
- ## [2.13.2] 2021-04-22
3251
-
3252
- - QuickFix hardis:package:version:promote --auto
3253
-
3254
- ## [2.13.0] 2021-04-21
3255
-
3256
- - hardis:work:save
3257
- - New parameter --nogit for expert developers who want to manage git operations themselves
3258
- - New parameter --noclean for expert developers who want to manage clean operations themselves
3259
- - Update default Mega-Linter config
3260
-
3261
- ## [2.12.0] 2021-04-19
3262
-
3263
- - New variable CI_DEPLOY_QUICK_ACTIONS_DUMMY
3264
- - set to "true" in CI variables when there are QuickActions dependent of Flows that are later in publication plan
3265
- - then set again to "false" and the deployment will pass :)
3266
- - hardis:project:clean:references : now deletes obsolete objects and objectTranslations
3267
- - hardis:work:save : More categories in interactive git add
3268
- - Improve authentication check performances
3269
- - New command hardis:config:get to return all config for project, branch or user
3270
- - New deployment errors tips
3271
-
3272
- ## [2.11.0] 2021-04-15
3273
-
3274
- - Delete scratch org when its initialization has failed during CI
3275
- - Clean obsolete object fields and objectTranslations
3276
-
3277
- ## [2.10.4] 2021-04-15
3278
-
3279
- - Provide password to user when creating new scratch org
3280
- - Update CI default config to allow to not delete scratch orgs (define `CI_DELETE_SCRATCH_ORG: "true"` in gitlab-ci-config.yml)
3281
- - New deploy tips: record type not found, picklist value not found
3282
-
3283
- ## [2.10.3] 2021-04-14
3284
-
3285
- - Allow advanced user to bypass auth check (set `skipAuthCheck:true` in config/user/\*\*\*.sfdx-hardis.yml)
3286
- - Optimize check of `force:config:set restDeploy: false`
3287
- - hardis:package:version:create : Store package installation password in project config + fixes
3288
-
3289
- ## [2.10.2] 2021-04-14
3290
-
3291
- - hardis:work:refresh : Make sure the user saved his work (commit) before merging another branch in current branch
3292
-
3293
- ## [2.10.1] 2021-04-11
3294
-
3295
- - hardis:org:test:apex : Fix regex to new Apex Test results stdout format
3296
-
3297
- ## [2.10.0] 2021-04-11
3298
-
3299
- - hardis:work:save : Automatic generation of split package.xml and deploymentPlan in .sfdx-hardis.yml
3300
- - hardis:work:save : Propose to export data when saving
3301
- - Remove duplicates from .gitignore and .forceignore
3302
- - Add chromium in dockerfile
3303
-
3304
- ## [2.9.4] 2021-04-09
3305
-
3306
- - Fix refresh
3307
- - Update project cleaning references
3308
-
3309
- ## [2.9.3] 2021-04-08
3310
-
3311
- - hardis:work:refresh : allow to refresh from another branch
3312
-
3313
- ## [2.9.2] 2021-04-08
3314
-
3315
- - hardis:work:save : Fix issue when trying to stage & commit ignored files after project cleaning
3316
- - hardis:project:configure:auth Improve error message when unable to upload ConnectedApp on production environment
3317
- - Update default Apex PMD ruleset
3318
- - Use replace and not replaceAll for node14 compatibility
3319
-
3320
- ## [2.9.1] 2021-04-07
3321
-
3322
- - Clean git reset before save
3323
- - Clean git stash before new task
3324
-
3325
- ## [2.9.0] 2021-04-06
3326
-
3327
- - New command **hardis:project:create**
3328
- - Refactor project cleaning and allow to use external config files (destructiveChanges-like.xml or json)
3329
- - Fixes
3330
- - hardis:work:save : Create destructiveChanges.xml if not existing
3331
- - hardis:work:save : call forceSourcePull method to propose to update .forceignore if errors are found
3332
- - hardis:project:configure:auth: call mdapi:deploy with RunLocalTests to manage production environments
3333
- - authentication: auth only to devHub if --devhub sent
3334
- - Disable spinner for restDeploy check
3335
-
3336
- ## [2.8.5] 2021-04-06
3337
-
3338
- - QuickFix question icon
3339
-
3340
- ## [2.8.4] 2021-04-06
3341
-
3342
- - Allow to skip pull before save
3343
- - New deployTip: code coverage items with 0%
3344
- - Fix DevHub auth when credential out of date
3345
- - Use latest sfdx-cli package
3346
- - Init git config only if we are not in CI
3347
-
3348
- ## [2.8.3] 2021-04-01
3349
-
3350
- - Fix package creation
3351
- - When using VsCode UI via WebSocket, display selected values in console logs
3352
-
3353
- ## [2.8.2] 2021-04-01
3354
-
3355
- - hardis:work:save : reset ongoing merge if existing
3356
- - Fix git reset call
3357
-
3358
- ## [2.8.0] 2021-03-31
3359
-
3360
- - Define git user.name and user.email if not set
3361
- - Define VsCode as git merge/diff tool if none is defined
3362
- - Unstash changes (git reset) at the beginning of hardis:work:save
3363
- - Deploy destructive changes after real deployment
3364
- - **hardis:project:clean:references** now works also to remove references to content of manifest/destructiveChanges.xml
3365
- - **hardis:work:save**: Clean sfdx project while saving it
3366
- - Factorize temp directory creation
3367
-
3368
- ## [2.7.2] 2021-03-30
3369
-
3370
- - Check user is sure to want to reuse an existing scratch org
3371
- - Fix **hardis:work:refresh**
3372
-
3373
- ## [2.7.1] 2021-03-29
3374
-
3375
- - Fix auto-fix of .gitignore and .forceignore
3376
- - Propose to auto-update .force ignore when there is a pull issue
3377
-
3378
- ## [2.7.0] 2021-03-29
3379
-
3380
- - Communicate with VsCode SFDX Hardis extension via WebSocket if server is found
3381
- - Send user input prompts to VsCode UI if WebSocket server found
3382
- - Send refreshStatus notifications when context is updated
3383
- - Arrange some messages for better display on UI
3384
-
3385
- ## [2.6.0] 2021-03-28
3386
-
3387
- - New command **hardis:project:clean:references** to clean SFDX project from data.com license references
3388
- - **hardis:scratch:create**: Load sfdmu workspace `scripts/data/ScratchInit` if existing in , to initialize scratch org data
3389
-
3390
- ## [2.5.0] 2021-03-28
3391
-
3392
- - New command **hardis:source:push**
3393
- - New command **hardis:source:pull**
3394
- - Various mini-fixes
3395
- - Move deploymentPlan.json within .sfdx-hardis.json
3396
- - Retry management for execCommand function. ex: `retry: {retryDelay: 30,retryStringConstraint: 'some string present in output', retryMaxAttempts: 5}`
3397
-
3398
- ## [2.4.0] 2021-03-27
3399
-
3400
- - Add sfdmu & sfdx-git-delta in dependencies & Dockerfile
3401
- - Import data with sfdmu
3402
- - Manage data import steps in `deploymentPlan.json`
3403
- - New command **hardis:org:data:export**
3404
- - New command **hardis:org:data:import**
3405
-
3406
- ## [2.3.0] 2021-03-26
3407
-
3408
- - hardis:work:save: Do not git add manifest files when they have not been updated
3409
- - Select type of org to connect: enhance label
3410
- - Multi-Select default to 9999 items displayed
3411
- - Display tips about deployment failures when they happen
3412
- - Create scratch org: When DeferSharingCalc in features, suspend and resume sharing calc during force:source:push
3413
- - Allow to define a file `manifest/deploymentPlan.json` to split the deployment into separate package.xml files
3414
-
3415
- Example:
3416
-
3417
- ```json
3418
- {
3419
- "packages": [
3420
- {
3421
- "label": "SharingRulesAccount",
3422
- "packageXmlFile": "splits/packageXmlSharingRulesAccount.xml",
3423
- "order": 10,
3424
- "waitAfter": 60
3425
- },
3426
- {
3427
- "label": "SharingRulesVisit__c",
3428
- "packageXmlFile": "splits/packageXmlSharingRulesAccountVisit__c.xml",
3429
- "order": 10
3430
- }
3431
- ]
3432
- }
3433
- ```
3434
-
3435
- ## [2.2.1] 2021-03-23
3436
-
3437
- - QuickFix 2.2.1
3438
- - Use RunLocalTests when deploying ConnectedApp metadata to production org
3439
-
3440
- ## [2.2.0] 2021-03-23
3441
-
3442
- - Enhance security by encrypting SSH private key
3443
-
3444
- ## [2.1.7] 2021-03-22
3445
-
3446
- - More categories for Interactive Git Add (Aura,LWC, Tech Config)
3447
- - Auto-update .forceignore
3448
- - Fix `hardis:org:test:apex`
3449
-
3450
- ## [2.1.6] 2021-03-20
3451
-
3452
- - Fix org authentication check
3453
-
3454
- ## [2.1.5] 2021-03-19
3455
-
3456
- - Unlimited list of items displayed during interactive git add
3457
- - Uniformize prompts to user
3458
-
3459
- ## [2.1.4] 2021-03-17
3460
-
3461
- - Deploy with --ignorewarnings
3462
-
3463
- ## [2.1.3] 2021-03-17
3464
-
3465
- - Fix hardis:retrieve:sources:dx when not in a DX project
3466
- - Fix deloyment of Connected App in production
3467
- - Display more options by page during interactive git add
3468
- - Sort files to git add by group and manage preselection
3469
-
3470
- ## [2.1.2] 2021-03-14
3471
-
3472
- - Improve package installation
3473
- - Allow to install a package not listed in sfdx-hardis
3474
- - Allow to configure automatic installation during deployments, or not
3475
- - Allow to configure automatic installation during scratch org initialisation, or not
3476
- - Reformat strings when no spaces are allowed in a user input
3477
-
3478
- ## [2.1.1] 2021-03-12
3479
-
3480
- - Fix **hardis:scratch:create** when initDataRequests
3481
-
3482
- ## [2.1.0] 2021-03-10
3483
-
3484
- - New command **hardis:data:tree:export**
3485
- - **scratch:create**: Import init data using .sfdx-hardis.yml `initDataRequests` property
3486
- - **scratch:create**: Assign to permission set (or PS groups) using .sfdx-hardis.yml `initPermissionSets` property
3487
-
3488
- ## [2.0.0] 2021-03-09
3489
-
3490
- - New command **hardis:package:create** to create Managed and Unlocked packages
3491
- - Migrate from tslint to eslint
3492
- - Fix dependencies hell
3493
- - Fix **hardis:org:purge:flow** with new result format [(#49)](https://github.com/hardisgroupcom/sfdx-hardis/issues/49)
3494
-
3495
- ## [1.6.1] 2021-03-09
3496
-
3497
- - Update sfdx-project.json when installing a package
3498
- - Refresh env & scratch org if same scratch org is reused
3499
- - Update default files for CI & monitoring projects
3500
- - Do not deploy packages from hardis:project:deploy:sources:dx when we are in --check mode !
3501
- - Better output display for hardis:org:test:apex
3502
-
3503
- ## [1.6.0] - 2021-03-08
3504
-
3505
- - New package commands
3506
- - **hardis:package:install**
3507
- - **hardis:package:version:create**
3508
- - **hardis:package:version:list**
3509
-
3510
- ## [1.5.1] - 2021-03-07
3511
-
3512
- - Use shared Mega-Linter configuration
3513
-
3514
- ## [1.5.0] 2021-03-05
3515
-
3516
- - New command **hardis:org:select**
3517
- - New command **hardis:work:resetselection**
3518
- - **hardis:work:save**: Upgrade package.xml and destructiveChanges.xml from git diff
3519
- - Improve console logging of git operations
3520
-
3521
- ## [1.4.1] 2021-03-03
3522
-
3523
- - Update default gitlab-ci.yml
3524
- - rename commands:
3525
- - **hardis:work:new**
3526
- - **hardis:work:refresh**
3527
- - **hardis:work:save**
3528
- - cosmetic enhancements
3529
-
3530
- ## [1.4.0] 2021-02-28
3531
-
3532
- - New work commands to make easier non technical users to use Hardis CI
3533
- - **hardis:work:task:new**
3534
- - **hardis:work:task:save**
3535
- - **hardis:work:task:refresh**
3536
-
3537
- ## [1.3.6] 2021-02-26
3538
-
3539
- - Quick fix hardis:org:configure:monitoring + colors
3540
-
3541
- ## [1.3.5] 2021-02-26
3542
-
3543
- - Workaround when --soapdeploy argument is not available
3544
-
3545
- ## [1.3.4] 2021-02-25
3546
-
3547
- - Reuse msTeamsWebhookUrl during sfdx:org:configure:monitoring prompts
3548
- - Allow to override CONFIG_BRANCH to get forced .sfdx.hardis.BRANCH.yml
3549
-
3550
- ## [1.3.3] 2021-02-24
3551
-
3552
- - Soap option for force:mdapi:deploy
3553
-
3554
- ## [1.3.2] 2021-02-24
3555
-
3556
- - Guide user to assign rights to Connected App in **sfdx:org:configure:monitoring**
3557
-
3558
- ## [1.3.1] 2021-02-24
3559
-
3560
- - Manage git clone & push for **sfdx:org:configure:monitoring**
3561
- - Manage upload of connected app metadata for **sfdx:org:configure:monitoring**
3562
-
3563
- ## [1.3.0] 2021-02-23
3564
-
3565
- - #30: Remove use of sfdx-node
3566
- - New command **sfdx:project:deploy:sources:metadata**
3567
- - Generate .cache folder only when necessary
3568
- - New command **sfdx:org:configure:monitoring**
3569
-
3570
- ## [1.2.0] 2021-02-21
3571
-
3572
- - #24: Change the way of listing installed packages
3573
- - #26: New command sfdx hardis:project:configure:deployments to configure Connected app
3574
- - #27: Check in manifest folder for package.xml
3575
- - Auto-generate **alpha** version of plugin package and associated docker image when publishing from branch **alpha**
3576
- - Manage cache storage for CI dependent jobs (cache, artifacts)
3577
- - .cache/sfdx-hardis/.sfdx
3578
- - .sfdx
3579
- - config/user
3580
- - Improve org authentication
3581
- - New command **hardis:org:test**
3582
- - Test org coverage and fail if < 75%
3583
- - Installed package management
3584
- - Factorize method
3585
- - Install packages during hardis:project:deploy:sources:dx
3586
- - Allow to reuse scratch org if previous creation failed. Force using --forcenew
3587
- - Improve auto-update of local project sfdx-hardis files
3588
- - Improve console logs
3589
- - Allow to store DevHubSfdxClientId in user sfdx-hardis.yml ( in /user folder)
3590
-
3591
- ## [1.1.3] 2021-02-17
3592
-
3593
- - Fix cases when directory is not git
3594
-
3595
- ## [1.1.0] 2021-02-17
3596
-
3597
- - New command **hardis:project:deploy:sources:dx** (alpha)
3598
- - New command **hardis:project:audit:apiversion**
3599
-
3600
- ## [1.0.1] 2021-02-15
3601
-
3602
- - Fix auth:login to avoid DevHub auth when not necessary
3603
-
3604
- ## [1.0.0] 2021-02-15
3605
-
3606
- - New command **hardis:scratch:create**
3607
- - Advanced project initialization using `--shape` argument for `sfdx hardis:org:retrieve:sources:dx`
3608
- - Automatic generation of .sfdx-hardis\*.yml configuration files
3609
- - Automatic update of project package.json to add sfdx-hardis utilities
3610
-
3611
- ## [0.5.10] 2021-02-12
3612
-
3613
- - Allow purges to fail without making sfdx command fail
3614
-
3615
- ## [0.5.5] 2021-02-10
3616
-
3617
- - Check if installed sfdx-hardis is the latest version, else display a message to advise the user to upgrade to latest
3618
-
3619
- ## [0.5.4] 2021-02-09
3620
-
3621
- - Fixes:
3622
- - `hardis:org:purge:flow`: Do not crash in case the Flow is not deletable
3623
-
3624
- ## [0.5.2] 2021-02-07
3625
-
3626
- - Fixes:
3627
- - `--no-prompt` argument is ignored
3628
-
3629
- ## [0.5.1] 2021-02-04
3630
-
3631
- - Fixes:
3632
- - Add more items to metadatas not convertible to sfdx sources
3633
- - Issue when using --sandbox argument
3634
-
3635
- ## [0.5.0] 2021-02-03
3636
-
3637
- - New command `hardis:project:audit:callincallout`: Audit sfdx project (or metadatas) sources to list all CallIns and CallOuts from Apex / Triggers code parsing
3638
- - New command `hardis:project:audit:remotesites`: Audit sfdx project (or metadatas) sources to list all remote site settings of an org
3639
-
3640
- ## [0.4.1] 2021-02-01
3641
-
3642
- - Fix: Manage Hooks only from hardis namespace commands
3643
-
3644
- ## [0.4.0] 2021-02-01
3645
-
3646
- - Send MS Teams notifications if set environment variable MS_TEAMS_WEBHOOK_URL or msTeamsWebhookUrl in .sfdx-hardis.yml
3647
-
3648
- ## [0.3.1] 2021-01-31
3649
-
3650
- - Always regenerate full package.xml before retrieving metadatas
3651
-
3652
- ## [0.3.0] 2021-01-31
3653
-
3654
- - Build and upload nvuillam/sfdx-hardis docker image when releasing a new version
3655
- - New command force:auth:login + manage login using JWT for CI
3656
-
3657
- ## [0.2.0] 2021-01-31
3658
-
3659
- - New command **sfdx hardis:org:retrieve:sources:metadata** : Retrieve all metadata from an org
3660
-
3661
- ## [0.1.1] 2021-01-31
3662
-
3663
- - New command **sfdx hardis:org:retrieve:sources:dx** : Create SFDX project from remote org
3664
-
3665
- ## [0.0.1] 2021-01-26
3666
-
3667
- - New command **sfdx hardis:org:purge:flow** : Purge Obsolete flow versions to avoid the 50 max versions limit