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