Skip to content

fix: add API version 68.0 support for live preview @W-24061445 - #684

Open
wjhsf wants to merge 1 commit into
mainfrom
wjh-ai/fix-api-68-support
Open

fix: add API version 68.0 support for live preview @W-24061445#684
wjhsf wants to merge 1 commit into
mainfrom
wjh-ai/fix-api-68-support

Conversation

@wjhsf

@wjhsf wjhsf commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds 68.0 to apiVersionMetadata and a matching @lwc/sfdx-local-dev-dist-68.0 npm alias (pinned to the 15.0.2-alpha.0 prerelease) so resolveApiVersion stops rejecting orgs on API 68.0.
  • Bumps the base @lwc/sfdx-local-dev-dist dep to match, per .husky/check-versions.js.

Fixes #682

@W-24061445@

Test plan

  • node .husky/check-versions.js
  • yarn build
  • yarn test

Orgs on API 68.0 fail sf lightning dev component/app/site with
"This version of the plugin supports only versions 66.0, 67.0."
Add 68.0 to apiVersionMetadata and the matching
@lwc/sfdx-local-dev-dist-68.0 npm alias (pinned to the 15.0.2-alpha.0
prerelease) so resolveApiVersion no longer rejects 68.0 orgs.

Fixes #682

beep boop I'm a silly little robot 🤖
@wjhsf
wjhsf requested review from a team as code owners September 1, 2026 18:51
@wjhsf wjhsf changed the title fix: add API version 68.0 support for live preview fix: add API version 68.0 support for live preview @W-24061445@ Sep 1, 2026
@wjhsf wjhsf changed the title fix: add API version 68.0 support for live preview @W-24061445@ fix: add API version 68.0 support for live preview @W-24061445 Sep 1, 2026
Comment thread package.json
"@lwc/sfdx-local-dev-dist": "~15.0.2-alpha.0",
"@lwc/sfdx-local-dev-dist-66.0": "npm:@lwc/sfdx-local-dev-dist@~13.2.24-alpha.0",
"@lwc/sfdx-local-dev-dist-67.0": "npm:@lwc/sfdx-local-dev-dist@~13.3.19",
"@lwc/sfdx-local-dev-dist-68.0": "npm:@lwc/sfdx-local-dev-dist@~15.0.2-alpha.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why use a canary version and not the latest ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sf lightning dev component unable to work with API version 68.0

2 participants