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

feat(api-versioning): bump latest to 61 #3905

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/karma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
- run: ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE=1 DISABLE_SYNTHETIC=1 yarn sauce:ci
- run: API_VERSION=58 yarn sauce:ci
- run: API_VERSION=58 DISABLE_SYNTHETIC=1 yarn sauce:ci
- run: API_VERSION=59 yarn sauce:ci
- run: API_VERSION=59 DISABLE_SYNTHETIC=1 yarn sauce:ci

- name: Upload coverage results
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -93,8 +95,8 @@ jobs:
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelName: ${{ env.SAUCE_TUNNEL_ID }}

- run: API_VERSION=59 yarn sauce:ci
- run: API_VERSION=59 DISABLE_SYNTHETIC=1 yarn sauce:ci
- run: API_VERSION=60 yarn sauce:ci
- run: API_VERSION=60 DISABLE_SYNTHETIC=1 yarn sauce:ci
- run: ENABLE_ARIA_REFLECTION_GLOBAL_POLYFILL=1 yarn sauce:ci
- run: ENABLE_ARIA_REFLECTION_GLOBAL_POLYFILL=1 DISABLE_SYNTHETIC=1 yarn sauce:ci
- run: DISABLE_SYNTHETIC_SHADOW_SUPPORT_IN_COMPILER=1 DISABLE_SYNTHETIC=1 yarn sauce:ci
Expand Down
4 changes: 3 additions & 1 deletion packages/@lwc/shared/src/api-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@ export const enum APIVersion {
V58_244_SUMMER_23 = 58,
V59_246_WINTER_24 = 59,
V60_248_SPRING_24 = 60,
V61_250_SUMMER_24 = 61,
}

// These must be updated when the enum is updated.
// It's a bit annoying to do have to do this manually, but this makes the file tree-shakeable,
// passing the `verify-treeshakeable.js` test.

export const LOWEST_API_VERSION = APIVersion.V58_244_SUMMER_23;
export const HIGHEST_API_VERSION = APIVersion.V60_248_SPRING_24;
export const HIGHEST_API_VERSION = APIVersion.V61_250_SUMMER_24;
const allVersions = [
APIVersion.V58_244_SUMMER_23,
APIVersion.V59_246_WINTER_24,
APIVersion.V60_248_SPRING_24,
APIVersion.V61_250_SUMMER_24,
];
const allVersionsSet = /*@__PURE__@*/ new Set(allVersions);

Expand Down