Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v4.0.0 #3844

Merged
merged 10 commits into from
Nov 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions cumulusci/cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,18 +286,6 @@ tasks:
options:
src_dir: src
group: Salesforce DX
dx_pull:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jstvz Why was this done? These are incredibly important and useful commands all over the documentation and is the proper way to interact with scratch orgs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yippie We removed the dx_pull and dx_push commands because the underlying Salesforce CLI commands they relied on—force:source:pull and force:source:push—have been deprecated by Salesforce and replaced with project retrieve start and project deploy start.

These new commands behave differently, especially in how they handle source tracking and conflict resolution. Keeping the old dx_pull and dx_push commands could mislead users into thinking everything works the same, which isn’t the case. We want to avoid confusion and ensure everyone updates their workflows to use the new commands.

We recommend updating your scripts to use project retrieve start and project deploy start directly through the dx task or a custom task. We thought it safest to encourage users to verify that these new commands work as expected in their environments.

description: Uses sfdx to pull from a scratch org into the force-app directory
class_path: cumulusci.tasks.sfdx.SFDXOrgTask
options:
command: "project retrieve start --ignore-conflicts"
group: Salesforce DX
dx_push:
description: Uses sfdx to push the force-app directory metadata into a scratch org
class_path: cumulusci.tasks.sfdx.SFDXOrgTask
options:
command: "project deploy start --ignore-conflicts"
group: Salesforce DX
enable_einstein_prediction:
description: Enable an Einstein Prediction Builder prediction.
class_path: cumulusci.tasks.salesforce.enable_prediction.EnablePrediction
Expand Down