forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
954 stars 406 forks source link

🔜 SFDX Commands will be transitioning to SF by April 1st #5448

Closed AnanyaJha closed 6 months ago

AnanyaJha commented 8 months ago

Hello all Salesforce Developers! As you might have seen, the new Salesforce CLI sf (v2) went GA last July 🎉

Much of the functionality within the Salesforce Extension Pack relies on shared functionality with the Salesforce CLI. To support this transition, we'll be migrating the Salesforce Extension Pack SFDX commands over to SF as well. We'll start giving you warnings on activation if we see that you don't have the correct version of the CLI installed. You'll have until April 1st to complete this migration. After that date, you'll start seeing errors for the following commands.

We recommend you migrate to the new version of the Salesforce CLI, sf (v2), ASAP to avoid running into issues with our SFDX->SF command migration on April 1st. Here's the guide to get started.

Here's a list of all our commands and where they currently are in the migration process:

✅ DONE Orgs

Project

Apex

LWC

Visualforce

Aura

General

⏭️ UP NEXT

LWC

All commands will be migrated by April 1st. Stay up to date with the current state by following this post. Happy migrating!

NOTE: If you haven't upgraded your CLI yet, you'll see an error like the following:

Starting SFDX: Authorize an Org
15:23:41.710 sfdx force:auth:web:login —setalias vscodeOrg --instanceurl https://login.salesforce.com/ —setdefaultusername
› Warning: force:auth:web:login is not a sfdx command.
Did you mean auth:web:login? [y/n]:
› Error: Run sfdx help force for a list of available commands.
15:23:47.396 sfdx force:auth:web:login —setalias vscodeOrg --instanceurl https://login.salesforce.com/ —setdefaultusername
ended with exit code 127
paustint commented 8 months ago

I noticed that after the push commands were upgraded, error messages are (usually) no longer shown un the extension output.

I have to copy the command into my terminal and run it to see the table of component errors (this might only happen when there is more than one error being reported)

is anyone else experiencing this issue?

AnanyaJha commented 7 months ago

Thanks for sharing @paustint ! @CristiCanizales could you see if this is something you're able to repro?

CristiCanizales commented 7 months ago

Hi @paustint! Is that still happening for you with v60.1.2? Because with #5441 we addressed that issue (#5450). Please let me know if that's not the case for you.

paustint commented 7 months ago

I'll let you know if I still encounter the issue - thanks for the reply!

diyer commented 6 months ago

This is now complete.