Skip to content

Commit

Permalink
feat(api-versioning): bump latest to 61 (#3905)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson committed Dec 13, 2023
1 parent 0a99d7c commit b3ff10a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
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

0 comments on commit b3ff10a

Please sign in to comment.