Update sourceApiVersion of sfdx-project.json to 53.0
Update sourceApiVersion of sfdx-project.json to 53.0
Environments:
Windows 10 Version 1909 (OS Build 18363.1854)
WebStorm 2021.2.3
Build #WS-212.5457.55, built on October 18, 2021
Runtime version: 11.0.12+7-b1504.40 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
Memory: 2048M
Cores: 8
Non-Bundled Plugins: com.illuminatedcloud2.intellij (2.1.9.5)
sfdx-cli/7.125.0 win32-x64 node-v14.18.1
@salesforce/cli/1.2.0 win32-x64 node-v14.18.1
Steps to reproduce:
- File >> New >> Project…
- Illuminated Cloud SFDX >> Project Template: Illuminated Cloud >> Create
Outcome: sfdx-project.json: "sourceApiVersion": "52.0"
\manifest\package.xml <version>52.0</version>
Proposing change: “53.0”
SFDX CLI: sfdx force:project:create -n testversion -t empty -x
Outcome: the same as IC2
sfdx-project.json: "sourceApiVersion": "52.0"
\manifest\package.xml <version>52.0</version>
Comments (6)
-
repo owner -
repo owner - changed status to resolved
Resolving since this should be fixed in the CLI, but if it doesn't look like the CLI team will provide a fix, feel free to reopen with that information, and specifically please link to the CLI issue where that decision was made as well.
-
reporter - edited description
-
reporter Thank you Scott! I have logged an issue at https://github.com/forcedotcom/cli/issues/1278 .
I agreed that the CLI team should fix the issue. As my edited description above, my “testversion” project has the same 52.0 as your “issue2008” project above.
-
reporter @Scott Wells Thank you for your “ Project Template: Illuminated Cloud“! I no longer need to copy my .gitignore from my other projects when I create a new project.
-
repo owner You bet! Yeah, I had the same issue. If I created a project with the "Empty" template, it was missing key files. If I created it with the "Standard" template, I ended up having to remove things that aren't appropriate/useful for an IC project. Glad you're also finding it useful!
- Log in to comment
Peter, Illuminated Cloud does not generate the files when a project is created by the CLI. It's actually the CLI that does so, e.g.:
Notice that completely independent of IC, the value for
sourceApiVersion
is currently52.0
. And to be clear, that's based on today's CLI update.It might be better to log this with in the CLI public issue tracker since that's really where the fix should occur. If it turns out they're not going to fix it, let me know and I can certainly have IC post-process the generated file to update that property to use the latest platform API version.