Releases: hardisgroupcom/sfdx-hardis
Releases · hardisgroupcom/sfdx-hardis
v5.14.2
What's Changed
- hardis:project:deploy:smart Fix parsing error in case it is UNKNOWN_ERROR
- Fix error
str.replace is not a function
Pull Requests
Full Changelog: v5.14.1...v5.14.2
v5.14.1
What's Changed
- Generate a file hardis-report/apex-coverage-results.json with Apex code coverage details for the following commands:
- hardis:project:deploy:smart (only if
COVERAGE_FORMATTER_JSON=true
environment variable is defined) - hardis:org:test:apex (always)
- SF Cli deployment wrapper commands
- hardis:project:deploy:smart (only if
- Do not display command output if execCommand has been called with
output: false
Pull Requests
- Generate a file hardis-report/apex-coverage-results.json with Apex code coverage details by @nvuillam in #985
Full Changelog: v5.14.0...v5.14.1
v5.14.0
What's Changed
- Ability to fix replace ApiVersion on specific metadata types with the… by @Mehdi-Cloudity in #981
- Fix build of formula markdown when generating a Flow Visual Documentation by @nvuillam in #984
New Contributors
- @Mehdi-Cloudity made their first contribution in #981
Full Changelog: v5.13.3...v5.14.0
v5.13.3
v5.13.2
What's Changed
- hardis:project:deploy:smart: Fix parsing when deployment failure is related to Apex code coverage
- Flow doc fix: add description for constants, variables, text template & formulas
- Flow parsing: Fix error when there is only one formula
Pull Requests
- Flow doc fix: add description for constants, variables, text template & formulas by @nvuillam in #978
- Fix parsing when deployment failure is related to Apex code coverage by @nvuillam in #979
Full Changelog: v5.13.1...v5.13.2
v5.13.1
What's Changed
- Display a screen emoji in documentation flows table when they are not tied to an Object by @nvuillam in #975
- Shorten log lines when there is a too big JSON, by removing info not relevant for display, like unchanged files or test classes results by @nvuillam in #977
Full Changelog: v5.13.0...v5.13.1
v5.13.0
v5.12.0
What's Changed
- New command hardis:doc:mkdocs-to-salesforce to generate static HTML doc and host it in a Static Resource and a VisualForce page
- Remove hyperlinks from MermaidJs on Pull Request comments, to improve display on GitHub & Gitlab
- Upgrade base image to python:3.12.8-alpine3.20, so mkdocs can be installed and run if necessary
- Add links in package.xml Markdown documentation
- Upgrade npm dependencies
Pull Requests
- chore(dev-deps): bump @oclif/plugin-command-snapshot from 5.2.23 to 5.2.24 by @dependabot in #967
- chore(dev-deps): bump @types/extract-zip from 2.0.1 to 2.0.3 by @dependabot in #968
- fix(deps): bump chalk from 5.3.0 to 5.4.1 by @dependabot in #969
- chore(dev-deps): bump oclif from 4.17.4 to 4.17.7 by @dependabot in #970
- Upload HTML doc as static resource + improve mermaid display by @nvuillam in #971
- Add links in package.xml Markdown documentation by @nvuillam in #972
Full Changelog: v5.11.0...v5.12.0
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