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

Update sourceApiVersion of sfdx-project.json to 53.0 #1278

Closed
PeterLin888 opened this issue Nov 11, 2021 · 5 comments
Closed

Update sourceApiVersion of sfdx-project.json to 53.0 #1278

PeterLin888 opened this issue Nov 11, 2021 · 5 comments
Labels
bug Issue or pull request that identifies or fixes a bug dependencies Pull request that updates dependencies

Comments

@PeterLin888
Copy link

Summary

Update sourceApiVersion of sfdx-project.json to 53.0
The current generated version is 52.0.

Steps To Reproduce:

Repository to reproduce: N/A

NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.

  1. sfdx force:project:create -n testversion -t empty -x

Expected result

  1. Open sfdx-project.json: "sourceApiVersion": "53.0"
  2. Open manifest\package.xml 53.0

Actual result

  1. Open sfdx-project.json: "sourceApiVersion": "52.0"
  2. Open manifest\package.xml 52.0

System Information

Windows 10 Version 1909 (OS Build 18363.1854)

sfdx version --verbose --json
{
"cliVersion": "sfdx-cli/7.125.0",
"architecture": "win32-x64",
"nodeVersion": "node-v14.18.1",
"pluginVersions": [
"@dx-cli-toolbox/sfdx-toolbox-package-utils 0.7.1",
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.2.3 (core)",
"@oclif/plugin-not-found 1.2.4 (core)",
"@oclif/plugin-plugins 1.10.1 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.0 (core)",
"@oclif/plugin-which 1.0.3 (core)",
"@provartesting/provardx 0.3.1",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"alias 1.1.22 (core)",
"apex 0.3.0 (core)",
"auth 1.7.5 (core)",
"config 1.2.41 (core)",
"custom-metadata 1.0.12 (core)",
"data 0.6.4 (core)",
"generator 1.2.1 (core)",
"limits 1.2.2 (core)",
"org 1.9.0 (core)",
"salesforce-alm 53.1.2 (core)",
"schema 1.0.10 (core)",
"sfdmu 4.9.5",
"sfdx-cli 7.125.0 (core)",
"sfpowerkit 3.3.2",
"shane-sfdx-plugins 4.43.0",
"├─ @mshanemc/sfdx-sosl 1.1.0",
"└─ @mshanemc/plugin-streaming 1.1.7",
"source 1.3.1 (core)",
"telemetry 1.2.8 (core)",
"templates 52.4.0 (core)",
"texei-sfdx-plugin 1.11.1",
"trust 1.0.11 (core)",
"user 1.5.2 (core)"
],
"osVersion": "Windows_NT 10.0.18363"
}

Additional information

Feel free to attach a screenshot.

@PeterLin888 PeterLin888 added the investigating We're actively investigating this issue label Nov 11, 2021
@github-actions
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@maggiben
Copy link
Contributor

maggiben commented Nov 12, 2021

Hi, I can confirm I was able to reproduce this bug, we'll investigate why the generator is picking the wrong version, I've however tried a workaround: setting env var: SFDX_API_VERSION=53 and seemed to work, can you please try and confirm the workaround is able to set sourceApiVersion equal to 53 ?

@maggiben maggiben added the bug Issue or pull request that identifies or fixes a bug label Nov 12, 2021
@uip-robot-zz
Copy link

This issue has been linked to a new work item: W-10169144

@maggiben
Copy link
Contributor

@maggiben maggiben added the dependencies Pull request that updates dependencies label Nov 12, 2021
@shetzel shetzel removed the investigating We're actively investigating this issue label Nov 22, 2021
@shetzel
Copy link
Contributor

shetzel commented Jan 20, 2022

The fix for this issue is now in SFDX CLI v7.134.0 published today.
See https://github.com/forcedotcom/cli/blob/main/releasenotes/sfdx/README.md#71340-jan-20-2022-stable

@shetzel shetzel closed this as completed Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug dependencies Pull request that updates dependencies
Projects
None yet
Development

No branches or pull requests

4 participants