v5.11.0
What's Changed
-
Visual flow management, using MermaidJs
- hardis:doc:project2markdown: Add a markdown file for each Flow
- If unable to run mermaid-cli, store markdown with mermaidJs diagram content anyway (can happen from Monitoring Backup Command)
- When called from Monitoring (hardis:org:monitor:backup), generate Flow documentation only if it has been updated
- hardis:doc:flow2markdown: Generate the markdown documentation of a single flow (available from VsCode extension)
- hardis:project:generate:flow-git-diff: Generate the visual git diff for a single flow (available from VsCode extension)
- hardis:project:deploy:smart: Add visual git diff for flows updated by a Pull Request
- Flow Visual Git diff also added to standard SF Cli commands wrappers
- hardis:doc:project2markdown: Add a markdown file for each Flow
-
New command 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.
-
Command updates
- hardis:project:deploy:smart: Refactor deployment errors parsing: use JSON output instead of text output
- hardis:org:test:apex: Display the number of failed tests in messages and notifications
- hardis:org:monitor:backup:
- New option --exclude-namespaces that can be used with --full option
- New option --full-apply-filters that can be used with --full option to apply filters anyway
-
Core enhancements & fixes
- Obfuscate some data from text log files
- Kill some exit handlers in case they are making the app crash after a throw SfError
- Trigger notifications during the command execution, not after
- Do not display warning in case no notification has been configured in case we are running locally
- Fix Individual deployment tips markdown docs by adding quotes to YML properties
- Fix init sfdx-hardis project commands and docs
- Display warning message in case package.xml has wrong format
- Allow to override package-no-overwrite from a branch .sfdx-hardis.yml config file
- Using target_branch for Jira labels when isDeployBeforeMerge flag is true
-
Doc
- Update Microsoft Teams notifications integration User Guide
- Add troubleshooting section in Email integration User Guide
Pull Requests
- hardis:org:test:apex: Display the number of failed tests in messages and notifications by @nvuillam in #925
- fix(deps): bump @oclif/core from 4.0.33 to 4.0.37 by @dependabot in #926
- fix(deps): bump openai from 4.73.0 to 4.76.3 by @dependabot in #927
- fix(deps): bump isomorphic-dompurify from 2.18.0 to 2.19.0 by @dependabot in #928
- fix(deps): bump marked from 14.1.3 to 14.1.4 by @dependabot in #929
- Refactor deployment errors parsing: use JSON output instead of text output + enhancements & fixes by @nvuillam in #930
- Fix init sfdx-hardis project commands and docs + PackageXml format warning by @nvuillam in #933
- Fix coverage parsing by @nvuillam in #934
- Find coverage from CoverageSummary by @nvuillam in #935
- Allow to override package-no-overwrite from a branch .sfdx-hardis.yml config file by @nvuillam in #936
- hardis:org:monitor:backup: New option --exclude-namespaces that can be used with --full option by @nvuillam in #937
- fix(deps): bump puppeteer-core from 23.10.1 to 23.11.1 by @dependabot in #940
- fix(deps): bump @slack/web-api from 7.7.0 to 7.8.0 by @dependabot in #941
- chore(dev-deps): bump @oclif/plugin-command-snapshot from 5.2.21 to 5.2.23 by @dependabot in #942
- fix(deps): bump psl from 1.9.0 to 1.15.0 by @dependabot in #943
- Flows in documentations & visual git diff in Pull Requests by @nvuillam in #938
- Fixes for flow diff by @nvuillam in #945
- Fix Mermaid generation context issues by @nvuillam in #946
- Fix mermaid gen from CI by @nvuillam in #947
- Flow Gen updates + doc by @nvuillam in #948
- Flow visual doc & diff enhancements by @nvuillam in #949
- chore(dev-deps): bump oclif from 4.16.0 to 4.17.4 by @dependabot in #950
- chore(dev-deps): bump @salesforce/cli-plugins-testkit from 5.3.38 to 5.3.39 by @dependabot in #951
- fix(deps): bump openai from 4.76.3 to 4.77.0 by @dependabot in #952
- fix(deps): bump axios from 1.7.8 to 1.7.9 by @dependabot in #953
- Flow history in doc by @nvuillam in #954
- More updates on flow doc by @nvuillam in #955
- More fixes by @nvuillam in #956
- More fixes about Flow Git Diff & Doc by @nvuillam in #957
- Fix markdown with svg by @nvuillam in #958
- Flow doc enhancements by @nvuillam in #959
- Fix image gathering from generated markdown by @nvuillam in #961
- Backup: New option --full-apply-filters that can be used with --full option to apply filters anyway by @nvuillam in #962
- Fix azure image upload + Fix issue not displaying AI tips + arrang emojis by @nvuillam in #963
- Mermaid in PNG for Azure & Bitbucket by @nvuillam in #964
- Using target_branch for jira labels when isDeployBeforeMerge flag is true (#924) by @0ptaq0 in #960
- hardis:project:deploy:notify by @nvuillam in #965
- Update documentation by @nvuillam in #966
New Contributors
Full Changelog: v5.10.1...v5.11.0