Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Sep 16, 2024
1 parent 2a3acb9 commit b0fa36b
Showing 1 changed file with 48 additions and 46 deletions.
94 changes: 48 additions & 46 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,74 +64,40 @@ We made many tests but risk zero do not exist, so if you see any bug, please rep
- `sf hardis project deploy quick` -> Wraps `sf project deploy quick`
- `sf hardis project deploy start` -> Wraps `sf project deploy start`

### Deprecations

- Deprecate wrapper commands matching sfdx commands that will be removed. All replaced by sf hardis deploy start (TODO: complete !)

- `sfdx hardis:source:push`
- `sfdx hardis:source:deploy`
- `sfdx hardis:mdapi:retrieve`
- `sfdx hardis:mdapi:deploy`

- Deprecate `hardis:deploy:sources:metadata` as nobody uses metadata format anymore

### Removals

- 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)

- Get rid of [sfdx-essentials](https://github.com/nvuillam/sfdx-essentials) plugin dependency by internalizing its used commands

- `sf hardis:packagexml:append`
- `sf hardis:packagexml:remove`
- `sf hardis:project:clean:filter-xml-content`

- Remove npm dependencies (some of them not maintained anymore)

- @adobe/node-fetch-retry
- @amplitude/node
- @keyv/redis
- @oclif/command
- @oclif/config
- @oclif/errors
- @salesforce/command
- @salesforce/ts-types
- find-package-json
- node-fetch

- Remove not used keyValueStores to keep only Salesforce one

### New Features / Enhancements

- **hardis:project:deploy:smart**
- New feature **useSmartDeploymentTests**: Improve performances by not running test classes when delta deployment contain only non impacting metadatas, and target org is not production
- Rename command **hardis:project:deploy:source:dx** into **hardis:project:deploy:smart** (previous command alias remains, no need to update your pipelines !)
- **commandsPreDeploy** and **commandsPostDeploy**
- 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****process-deployment-only**
- 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**
- 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)
- New command **hardis:project:deploy:simulate** to validate the deployment of a single metadata (used by VsCode extension)
- New command **hardis:org:diagnose:releaseupdates** to check for org Release Updates from Monitoring or locally
- New command **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)
- New command **hardis:project:clean:sensitive-metadatas** to mask sensitive metadatas from git repo (ex: Certificate content)
- New commands
- **hardis:project:deploy:simulate** to validate the deployment of a single metadata (used by VsCode extension)
- **hardis:org:diagnose:releaseupdates** to check for org Release Updates from Monitoring or locally
- **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)
- **hardis:project:clean:sensitive-metadatas** to mask sensitive metadatas from git repo (ex: Certificate content)
- **hardis:work:save** and **hardis:project:deploy:sources:dx**: Improve runtime performances thanks to internalization of sfdx-essentials commands
- **hardis:work:new**: 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 !`
- **hardis:work:new**: Add current default org in the choices when prompting which org to use
- **hardis:work:new**
- 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 !`
- Add current default org in the choices when prompting which org to use
- **hardis:project:new**
- Initialize autoCleanTypes with **destructivechanges**, **flowPositions** and **minimizeProfiles**
- Initialize package-no-overwrite.xml with Certificate metadata. (certificates must be uploaded manually)
- **hardis:org:files:export**: Improve display with spinner
- **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
- **hardis:project:generate:gitdelta**: Add option to generate package.xml related to a single commit
- Authentication: do not use alias MY_ORG anymore + do not update local user config if no values to replace.
- **hardis:org:data:delete**: Check for property "runnableInProduction" in export.json before running deletion in production org.
- **hardis:org:diagnose:audittrail**: Add new filtered actions
- Customer Portal: createdcustomersuccessuser
- Authentication: do not use alias MY_ORG anymore + do not update local user config if no values to replace.
- When selecting an org, make sure it is still connected. If not, open browser so the user can authenticate again.
- Update sfdx-hardis Grafana Dashboards to import in your Grafana Cloud
- SF Instance name
- Next platform upgrade
- Release Updates to check
- Installed packages
- Org licenses
- **hardis:org:diagnose:audittrail**: Add new filtered actions
- Customer Portal: createdcustomersuccessuser
- AI Deployment assistant
- Add error `Change Matching Rule`
- Git Providers
Expand All @@ -150,6 +116,42 @@ We made many tests but risk zero do not exist, so if you see any bug, please rep
- Deployment assistant: Improve documentation by adding examples of errors, and a standalone page for each tip
- Factorize the definition of DOC_ROOT_URL https://sfdx-hardis.cloudity.com

### Deprecations

- Deprecate wrapper commands matching sfdx commands that will be removed. All replaced by sf hardis deploy start (TODO: complete !)

- `sfdx hardis:source:push`
- `sfdx hardis:source:deploy`
- `sfdx hardis:mdapi:retrieve`
- `sfdx hardis:mdapi:deploy`

- Deprecate `hardis:deploy:sources:metadata` as nobody uses metadata format anymore

### Removals

- 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)

- Get rid of [sfdx-essentials](https://github.com/nvuillam/sfdx-essentials) plugin dependency by internalizing its used commands

- `sf hardis:packagexml:append`
- `sf hardis:packagexml:remove`
- `sf hardis:project:clean:filter-xml-content`

- Remove npm dependencies (some of them not maintained anymore)

- @adobe/node-fetch-retry
- @amplitude/node
- @keyv/redis
- @oclif/command
- @oclif/config
- @oclif/errors
- @salesforce/command
- @salesforce/ts-types
- find-package-json
- node-fetch

- Remove not used keyValueStores to keep only Salesforce one

## [4.53.0] 2024-08-20

- Upgrade workflows to Node 20 (fixes <https://github.com/hardisgroupcom/sfdx-hardis/issues/668>)
Expand Down

0 comments on commit b0fa36b

Please sign in to comment.