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

breaking: 14.0.0 Release #30305

Open
wants to merge 155 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
04eab8a
init changelog
jennifer-shehane Sep 27, 2024
c9680b1
chore: Update v8 snapshot cache (#30306)
github-actions[bot] Sep 27, 2024
e674b62
Merge branch 'develop' into release/14.0.0
jennifer-shehane Sep 27, 2024
d1b3c93
Merge branch 'develop' into release/14.0.0
jennifer-shehane Sep 30, 2024
747a9b5
chore: Update v8 snapshot cache (#30321)
github-actions[bot] Sep 30, 2024
5c0d0ee
chore: updating v8 snapshot cache (#30322)
github-actions[bot] Sep 30, 2024
dab5047
breaking: Remove support for Node.js 16, Node.js 21, and glibc < 2.28…
jennifer-shehane Oct 1, 2024
2511e00
Merge branch 'develop' into release/14.0.0
jennifer-shehane Oct 1, 2024
cb7b33b
Merge branch 'release/14.0.0' of https://github.com/cypress-io/cypres…
jennifer-shehane Oct 1, 2024
a43fc40
Run on release/14.0.0 branch
jennifer-shehane Oct 1, 2024
4bd5f02
cache bump
jennifer-shehane Oct 1, 2024
01131cf
remove instruction to update electron version in centos 7 step
jennifer-shehane Oct 1, 2024
e358902
chore: fix better-sqlite3 rebuild process (#30338)
ryanthemanuel Oct 1, 2024
d61695b
Merge branch 'release/14.0.0' of https://github.com/cypress-io/cypres…
jennifer-shehane Oct 2, 2024
c884f94
Revert "remove instruction to update electron version in centos 7 step"
jennifer-shehane Oct 2, 2024
ebe7ba6
Remove electron version instructions for adding to step that no longe…
jennifer-shehane Oct 2, 2024
f27eddb
Merge branch 'develop' into release/14.0.0
jennifer-shehane Oct 2, 2024
384a75b
chore: Update v8 snapshot cache (#30346)
github-actions[bot] Oct 2, 2024
8ef2aa8
Merge branch 'develop' into release/14.0.0
jennifer-shehane Oct 3, 2024
45ac4e6
chore: Update v8 snapshot cache (#30355)
github-actions[bot] Oct 3, 2024
93e5383
breaking: remove log:memory:pressure and firefox:force:gc APIs (#30331)
jennifer-shehane Oct 3, 2024
6885788
chore: Update v8 snapshot cache (#30356)
github-actions[bot] Oct 3, 2024
2686571
chore: Update v8 snapshot cache (#30357)
github-actions[bot] Oct 4, 2024
6d25010
Merge branch 'develop' into release/14.0.0
jennifer-shehane Oct 10, 2024
1b0ad67
chore: build better-sqlite3 with glibc 2.28 (#30390)
mschile Oct 11, 2024
23904b6
chore: merge develop
ryanthemanuel Oct 18, 2024
e1df8c0
blank -- run ci
ryanthemanuel Oct 18, 2024
ce67a9e
fix merge
ryanthemanuel Oct 18, 2024
5d2950a
fix merge
ryanthemanuel Oct 18, 2024
5d3bc26
Update .circleci/cache-version.txt
ryanthemanuel Oct 18, 2024
b4dd681
Merge pull request #30423 from cypress-io/ryanm/chore/merge-develop
ryanthemanuel Oct 18, 2024
0efce00
chore: Update v8 snapshot cache (#30424)
github-actions[bot] Oct 21, 2024
81aee0e
Merge branch 'develop' into release/14.0.0
ryanthemanuel Oct 22, 2024
6cb5ca6
Merge branch 'develop' into release/14.0.0
jennifer-shehane Oct 22, 2024
193154e
Merge branch 'develop' into release/14.0.0
ryanthemanuel Oct 23, 2024
b9a0c57
Merge branch 'develop' into release/14.0.0
ryanthemanuel Oct 23, 2024
be07f1a
chore: Update v8 snapshot cache (#30439)
github-actions[bot] Oct 24, 2024
a00e7cb
Merge branch 'develop' into release/14.0.0
jennifer-shehane Oct 24, 2024
59404e7
breaking: Remove `run-ct`and `open-ct` CLI commands (#30456)
jennifer-shehane Oct 25, 2024
fd8c2a3
Merge branch 'develop' into release/14.0.0
jennifer-shehane Oct 25, 2024
7f6e030
breaking: remove deprecated before:browser:launch signature code that…
jennifer-shehane Oct 28, 2024
40ea17f
Merge branch 'develop' into release/14.0.0
jennifer-shehane Oct 28, 2024
e18e66a
breaking: Remove experimentalFetchPolyfill flag (#30466)
jennifer-shehane Oct 28, 2024
cb2302d
chore: Update v8 snapshot cache (#30480)
github-actions[bot] Oct 29, 2024
1d3cb03
chore: Update v8 snapshot cache (#30485)
github-actions[bot] Oct 29, 2024
9fda261
chore: upgrade electron to 32.2.0 (#30394)
ryanthemanuel Oct 29, 2024
f9be7ba
chore: Update v8 snapshot cache (#30490)
github-actions[bot] Oct 29, 2024
a8f64a3
breaking: Remove deprecated delayMs option of cy.intercept (#30463)
jennifer-shehane Oct 30, 2024
b07868a
chore: updating v8 snapshot cache (#30491)
github-actions[bot] Oct 30, 2024
a3a975f
Merge branch 'develop' into release/14.0.0
jennifer-shehane Oct 30, 2024
d9c21a9
breaking: dropping support for webpack-dev-server 3 from @cypress/web…
AtofStryker Oct 30, 2024
738dad2
chore: Update v8 snapshot cache (#30500)
github-actions[bot] Oct 31, 2024
575b9b7
Merge branch 'develop' into release/14.0.0
jennifer-shehane Nov 1, 2024
0aa73c4
breaking: remove logic around min supported browsers (#30462)
jennifer-shehane Nov 1, 2024
9fa4297
chore: Update v8 snapshot cache (#30513)
github-actions[bot] Nov 1, 2024
dfd296e
breaking: remove support for vite 2 and 3 from `@cypress/vite-dev-ser…
AtofStryker Nov 3, 2024
bc39cb1
breaking: remove nuxt2 support from Cypress Component Testing [run ci…
AtofStryker Nov 3, 2024
8220c52
dependency: Update jQuery to latest (#30345)
jennifer-shehane Nov 4, 2024
196f5f1
chore: Update v8 snapshot cache (#30535)
github-actions[bot] Nov 4, 2024
9342e54
Merge branch 'develop' into release/14.0.0
jennifer-shehane Nov 4, 2024
cb9a685
chore: Update v8 snapshot cache (#30537)
github-actions[bot] Nov 4, 2024
a789154
Merge branch 'develop' into release/14.0.0
jennifer-shehane Nov 4, 2024
ccb6e28
breaking: Cypress Component Testing no longer supports vue2 [run ci] …
AtofStryker Nov 5, 2024
a3fd273
chore: Update v8 snapshot cache (#30543)
github-actions[bot] Nov 5, 2024
42ccfc1
deprecation: Deprecate resource type of intercept's request object (#…
jennifer-shehane Nov 5, 2024
4ddfe93
breaking: remove support for Next.js 10, 11, 12, and 13 for Cypress c…
AtofStryker Nov 5, 2024
11f3355
chore: Update v8 snapshot cache (#30544)
github-actions[bot] Nov 5, 2024
a6ddd3d
fix: #29605 for display: contents parent visibility with correct widt…
senpl Nov 6, 2024
c55bcb1
Merge branch 'develop' into chore/merge_develop
AtofStryker Nov 6, 2024
3141d12
breaking: remove support for angular 13,14,15, and 16. minimum versio…
AtofStryker Nov 6, 2024
3ea7f06
Merge branch 'release/14.0.0' of github.com:cypress-io/cypress into c…
AtofStryker Nov 6, 2024
b4b79c2
Merge pull request #30559 from cypress-io/chore/merge_develop
ryanthemanuel Nov 6, 2024
604ce7b
chore: Update v8 snapshot cache - linux (#30564)
github-actions[bot] Nov 6, 2024
9f850b3
chore: Update v8 snapshot cache - darwin (#30565)
github-actions[bot] Nov 6, 2024
da8d47e
chore: Update v8 snapshot cache - windows (#30566)
github-actions[bot] Nov 6, 2024
40af429
chore: Update v8 snapshot cache (#30562)
github-actions[bot] Nov 7, 2024
edd9a27
breaking: remove the cypress/angular-signals test harness. The change…
AtofStryker Nov 7, 2024
d5141f4
chore: Update v8 snapshot cache - linux (#30576)
github-actions[bot] Nov 7, 2024
9e4690b
chore: Update v8 snapshot cache - darwin (#30577)
github-actions[bot] Nov 7, 2024
91856b8
chore: Update v8 snapshot cache - darwin (#30578)
github-actions[bot] Nov 7, 2024
74bce50
chore: Update v8 snapshot cache - windows (#30579)
github-actions[bot] Nov 7, 2024
7708f1f
Merge branch 'develop' into release/14.0.0
jennifer-shehane Nov 7, 2024
21206ec
chore: Update v8 snapshot cache - darwin (#30581)
github-actions[bot] Nov 7, 2024
f6608b1
chore: Update v8 snapshot cache - linux (#30582)
github-actions[bot] Nov 7, 2024
c0acbe9
chore: Update v8 snapshot cache - windows (#30583)
github-actions[bot] Nov 7, 2024
37b944f
breaking: remove support for create react app for component testing a…
AtofStryker Nov 7, 2024
249da65
breaking: remove Svelte 3 support (#30572)
mschile Nov 9, 2024
8d3b90f
chore: Update v8 snapshot cache - linux (#30595)
github-actions[bot] Nov 9, 2024
3748370
chore: Update v8 snapshot cache - darwin (#30596)
github-actions[bot] Nov 9, 2024
bd89ca7
chore: Update v8 snapshot cache - windows (#30597)
github-actions[bot] Nov 9, 2024
c695f5f
breaking: remove support for @vue/cli-serivce from Cypress Component …
AtofStryker Nov 12, 2024
4504459
breaking: remove typescript v3 from the configuration wizard (#30605)
mschile Nov 12, 2024
a6d2b2f
chore: update to react 18 for the reporter from 17.0.2 to 18.3.1 [run…
AtofStryker Nov 14, 2024
53d67a4
chore: Update v8 snapshot cache - linux (#30612)
github-actions[bot] Nov 14, 2024
459c5a5
chore: Update v8 snapshot cache - darwin (#30613)
github-actions[bot] Nov 14, 2024
4f2a244
chore: Update v8 snapshot cache - windows (#30615)
github-actions[bot] Nov 14, 2024
53b24b1
chore: update system tests to use react 18 and install latest depende…
AtofStryker Nov 14, 2024
0c661b4
breaking: remove support for React 16 and 17 for Cypress Component Te…
AtofStryker Nov 15, 2024
96d70af
chore: Update v8 snapshot cache - linux (#30625)
github-actions[bot] Nov 18, 2024
cc4b160
chore: Update v8 snapshot cache - windows (#30627)
github-actions[bot] Nov 18, 2024
0e7de5c
chore: Update v8 snapshot cache - darwin (#30626)
github-actions[bot] Nov 18, 2024
b8e96a2
dependency: update @electron/rebuild to 3.7.1 (#30633)
MikeMcC399 Nov 18, 2024
60ca724
chore: Update v8 snapshot cache - darwin (#30638)
github-actions[bot] Nov 18, 2024
eecfca0
chore: Update v8 snapshot cache - linux (#30637)
github-actions[bot] Nov 18, 2024
37ea320
chore: Update v8 snapshot cache - windows (#30639)
github-actions[bot] Nov 18, 2024
94d360e
feat: support react 19 for component testing with cypress/react [run …
AtofStryker Nov 21, 2024
39274f4
chore: suppress EGL Driver message in electron 32 (#30663)
ryanthemanuel Nov 21, 2024
15c5761
breaking: make JustInTimeCompile GA from experimentalJustInTimeCompil…
AtofStryker Nov 21, 2024
f4aec3e
feat: support next 15 [run ci] (#30654)
AtofStryker Nov 21, 2024
636bed9
merge develop
jennifer-shehane Dec 2, 2024
b2816f9
fix: update visibility to support parent overflow:clip without height…
senpl Dec 2, 2024
c3660d4
fix: update visibility for elements with textContent but without widt…
senpl Dec 2, 2024
d8d493a
fix: visibility issue with parent absolute (#29689)
senpl Dec 2, 2024
acb31f6
chore: Update v8 snapshot cache - linux (#30689)
github-actions[bot] Dec 2, 2024
3d39c20
chore: Update v8 snapshot cache - darwin (#30690)
github-actions[bot] Dec 2, 2024
8dc09ea
chore: Update v8 snapshot cache - windows (#30691)
github-actions[bot] Dec 2, 2024
8032398
docs: remove node-gyp contributor workarounds / restrictions (#30671)
MikeMcC399 Dec 2, 2024
6bd6185
test: remove duplicate add function (#30693)
mschile Dec 2, 2024
dcdefb4
feat: support angular 19 and update tests [run ci] (#30675)
AtofStryker Dec 2, 2024
a65e7b5
Merge branch 'develop' into release/14.0.0
jennifer-shehane Dec 3, 2024
dcbbe4a
misc: remove component testing API stubs that were removed in Cypress…
mschile Dec 3, 2024
4efd932
feat: component testing now supports vite 6 [run ci] (#30679)
AtofStryker Dec 3, 2024
09c9b2f
test: update CI to run `npm/vue` tests (#30707)
mschile Dec 3, 2024
60098f9
chore: Update v8 snapshot cache - windows (#30710)
github-actions[bot] Dec 4, 2024
00e9da3
chore: Update v8 snapshot cache - darwin (#30709)
github-actions[bot] Dec 4, 2024
6324e72
chore: Update v8 snapshot cache - linux (#30708)
github-actions[bot] Dec 4, 2024
e4904d6
Merge branch 'develop' into release/14.0.0
AtofStryker Dec 5, 2024
ffefdb0
dependency: electron 33 upgrade (#30716)
mschile Dec 6, 2024
418ac08
chore: Update v8 snapshot cache - linux (#30724)
github-actions[bot] Dec 6, 2024
1959380
chore: Update v8 snapshot cache - darwin (#30725)
github-actions[bot] Dec 6, 2024
c2a99ba
chore: updating v8 snapshot cache (#30726)
github-actions[bot] Dec 7, 2024
22776eb
breaking: remove support for svelte 4 and support svelte 5 [run ci] (…
AtofStryker Dec 10, 2024
1cc2a15
chore: Update v8 snapshot cache - linux (#30734)
github-actions[bot] Dec 10, 2024
b31c538
chore: Update v8 snapshot cache - darwin (#30735)
github-actions[bot] Dec 10, 2024
1214d9e
chore: Update v8 snapshot cache - windows (#30736)
github-actions[bot] Dec 10, 2024
c645017
chore: remove support for react 19 RC and make Nextjs 15.0.4 the mini…
AtofStryker Dec 10, 2024
f14fd12
merge develop
jennifer-shehane Dec 10, 2024
2e5af1e
merge develop
jennifer-shehane Dec 11, 2024
4b3d5b0
yarn.lock update with 1.22.22
jennifer-shehane Dec 11, 2024
6278c06
chore: Update v8 snapshot cache - linux (#30746)
github-actions[bot] Dec 11, 2024
0dbe43e
chore: Update v8 snapshot cache - darwin (#30747)
github-actions[bot] Dec 11, 2024
4b942b5
chore: Update v8 snapshot cache - windows (#30748)
github-actions[bot] Dec 11, 2024
6531828
test: fix default size system test (#30759)
mschile Dec 13, 2024
e59b016
chore: bump @vue/test-utils from 2.3.2 to 2.4.6 [run ci] (#30739)
AtofStryker Dec 18, 2024
7ccab8f
chore: Update v8 snapshot cache - linux (#30780)
github-actions[bot] Dec 18, 2024
faacab3
chore: Update v8 snapshot cache - darwin (#30781)
github-actions[bot] Dec 18, 2024
2071f39
chore: Update v8 snapshot cache - windows (#30782)
github-actions[bot] Dec 18, 2024
d656afa
Merge branch 'develop' into release/14.0.0
jennifer-shehane Dec 23, 2024
9dd9824
Rearrange changelog a bit
jennifer-shehane Dec 23, 2024
e1e82d7
chore: Update v8 snapshot cache - linux (#30799)
github-actions[bot] Dec 23, 2024
7cc44d2
chore: Update v8 snapshot cache - darwin (#30800)
github-actions[bot] Dec 23, 2024
547cfef
chore: Update v8 snapshot cache - windows (#30801)
github-actions[bot] Dec 23, 2024
a33a202
Add missing parens in example of fetch update
jennifer-shehane Dec 23, 2024
9b40a8c
remove minSupportedVersion from browser (snuck in from dev merge)
jennifer-shehane Dec 23, 2024
ab865a2
fix merge from dev snapshot
jennifer-shehane Dec 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
126 changes: 81 additions & 45 deletions .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mainBuildFilters: &mainBuildFilters
- /^release\/\d+\.\d+\.\d+$/
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- 'update-v8-snapshot-cache-on-develop'
- 'mschile/chrome_for_testing'
- 'chore/update_vue_test_utils'
- 'publish-binary'

# usually we don't build Mac app - it takes a long time
Expand All @@ -42,7 +42,7 @@ macWorkflowFilters: &darwin-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal: [ 'mschile/chrome_for_testing', << pipeline.git.branch >> ]
- equal: [ 'chore/update_vue_test_utils', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand All @@ -53,7 +53,7 @@ linuxArm64WorkflowFilters: &linux-arm64-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal: [ 'mschile/chrome_for_testing', << pipeline.git.branch >> ]
- equal: [ 'chore/update_vue_test_utils', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand All @@ -76,7 +76,7 @@ windowsWorkflowFilters: &windows-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal: [ 'mschile/chrome_for_testing', << pipeline.git.branch >> ]
- equal: [ 'ryanm/chore/electron-33-upgrade', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand All @@ -85,7 +85,7 @@ executors:
# the Docker image with Cypress dependencies and Chrome browser
cy-doc:
docker:
- image: cypress/browsers-internal:node18.17.1-chrome128-ff131
- image: cypress/browsers-internal:node20.18.1-bullseye-chrome131-ff133
# by default, we use "medium" to balance performance + CI costs. bump or reduce on a per-job basis if needed.
resource_class: medium
environment:
Expand All @@ -94,7 +94,7 @@ executors:

kitchensink-executor:
docker:
- image: cypress/browsers-internal:node20.15.0-chrome126-ff131
- image: cypress/browsers-internal:node20.18.1-bullseye-chrome131-ff133
# by default, we use "medium" to balance performance + CI costs. bump or reduce on a per-job basis if needed.
resource_class: medium
environment:
Expand All @@ -104,7 +104,7 @@ executors:
# Docker image with non-root "node" user
non-root-docker-user:
docker:
- image: cypress/browsers-internal:node18.17.1-chrome128-ff131
- image: cypress/browsers-internal:node20.18.1-bullseye-chrome131-ff133
user: node
environment:
PLATFORM: linux
Expand Down Expand Up @@ -136,7 +136,7 @@ executors:

linux-arm64: &linux-arm64-executor
machine:
image: ubuntu-2004:2023.07.1
image: ubuntu-2004:2024.05.1
resource_class: arm.medium
environment:
PLATFORM: linux
Expand All @@ -152,7 +152,7 @@ commands:
name: Set environment variable to determine whether or not to persist artifacts
command: |
echo "Setting SHOULD_PERSIST_ARTIFACTS variable"
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "mschile/chrome_for_testing" ]]; then
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "chore/update_vue_test_utils" ]]; then
export SHOULD_PERSIST_ARTIFACTS=true
fi' >> "$BASH_ENV"
# You must run `setup_should_persist_artifacts` command and be using bash before running this command
Expand Down Expand Up @@ -361,7 +361,7 @@ commands:
steps:
- restore_cache:
name: Restore cache state, to check for known modules cache existence
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}-centos7
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}-better-sqlite3
- unless:
condition: <<parameters.build-better-sqlite3>>
steps:
Expand All @@ -383,6 +383,24 @@ commands:
- run:
name: Install Node Modules
command: |
if [[ `node ./scripts/get-platform-key.js` == 'linux-arm64' ]]; then
# Building better-sqlite3 on arm64 requires gcc-10
# on Arm, CI runs as non-root so we need to use sudo
sudo apt install gcc-10 g++-10

# Update default to gcc-10 and g++-10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 30
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 30
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30
sudo update-alternatives --set cc /usr/bin/gcc
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30
sudo update-alternatives --set c++ /usr/bin/g++
sudo update-alternatives --config gcc
sudo update-alternatives --config g++

# If we are on arm64 we need to install setuptools as it no longer comes standard with the latest version of python
pip install setuptools
fi
source ./scripts/ensure-node.sh
# avoid installing Percy's Chromium every time we use @percy/cli
# https://docs.percy.io/docs/caching-asset-discovery-browser-in-ci
Expand Down Expand Up @@ -420,7 +438,7 @@ commands:
steps:
- save_cache:
name: Saving node-modules cache state key
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}-centos7
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}-better-sqlite3
paths:
- node_modules_installed
- unless:
Expand Down Expand Up @@ -513,33 +531,32 @@ commands:
echo "Location of Google Chrome Installation: `which google-chrome-<<parameters.channel>>`"
echo "Google Chrome Version: `google-chrome-<<parameters.channel>> --version`"

# This code builds better-sqlite3 on CentOS 7. This is necessary because CentOS 7 has the oldest glibc version
# that we support. This job uses the cypress/centos7-builder https://hub.docker.com/repository/docker/cypress/centos7-builder/general
# image to build better-sqlite3 against an older version of glibc (2.17).
# Since this is running Docker remote, we need to copy the project into the container, and copy the built plugin out
# of the container because the host running docker does not have access to the project directory so volume mounts are
# not possible. The built plugin is copied to the project directory so it can be injected into the final binary.
# This code builds better-sqlite3 on Debian 10 (Buster). This is necessary because Debian 10 has the oldest glibc version (2.28) that we support.
#
# Since this is running Docker remote (because the job running the command may not be using an executor with the appropriate glibc version), we need to
# copy the project into the container, and copy the built plugin out of the container because the host running docker does not have access to the
# project directory so volume mounts are not possible. The built plugin is copied to the project directory so it can be injected into the final binary.
build-better-sqlite3:
description: Build better-sqlite3 for CentOS 7
description: Build better-sqlite3 for glibc 2.28
steps:
- setup_remote_docker
- run:
name: Build better-sqlite3 for CentOS 7
name: Build better-sqlite3 for glibc 2.28
command: |
if [[ ! -f better_sqlite3.node ]]; then
set -x
apt update && apt install -y docker.io
docker run -d --name centos7-builder cypress/centos7-builder:latest /bin/bash -c "sleep 1000000000"
docker cp ~/cypress/node_modules/better-sqlite3 centos7-builder:/better-sqlite3
docker exec -it centos7-builder /bin/bash -c "cd /better-sqlite3 && source /root/.bashrc && chown -R root:root . && npm install --ignore-scripts && npx --no-install prebuild -r electron -t 27.1.3 --include-regex 'better_sqlite3.node$'"
docker cp centos7-builder:/better-sqlite3/build/Release/better_sqlite3.node ~/cypress/node_modules/better-sqlite3/build/Release/better_sqlite3.node
docker rm -f centos7-builder
docker run -d --name better-sqlite3-builder cypress/base-internal:20.15.0-buster-python3.8-gcc-10.5 /bin/bash -c "sleep 1000000000"
docker cp ~/cypress/node_modules/better-sqlite3 better-sqlite3-builder:/better-sqlite3
docker exec -it better-sqlite3-builder /bin/bash -c "cd /better-sqlite3 && source /root/.bashrc && chown -R root:root . && npm install --ignore-scripts && npx --no-install prebuild -r electron -t 33.2.1 --include-regex 'better_sqlite3.node$'"
docker cp better-sqlite3-builder:/better-sqlite3/build/Release/better_sqlite3.node ~/cypress/node_modules/better-sqlite3/build/Release/better_sqlite3.node
docker rm -f better-sqlite3-builder
cp ~/cypress/node_modules/better-sqlite3/build/Release/better_sqlite3.node ~/cypress/better_sqlite3.node
else
cp ~/cypress/better_sqlite3.node ~/cypress/node_modules/better-sqlite3/build/Release/better_sqlite3.node
fi
- save_cache:
key: better-sqlite3-{{ checksum "node_modules/better-sqlite3/package.json" }}-{{ checksum "node_modules/electron/package.json" }}-centos7
key: better-sqlite3-{{ checksum "node_modules/better-sqlite3/package.json" }}-{{ checksum "node_modules/electron/package.json" }}
paths:
- better_sqlite3.node
- run:
Expand Down Expand Up @@ -1280,7 +1297,7 @@ commands:
command: ls -la types
working_directory: cli/build
- run:
command: ls -la vue vue2 mount-utils react
command: ls -la vue mount-utils react
working_directory: cli/build
- unless:
condition:
Expand Down Expand Up @@ -1772,7 +1789,7 @@ jobs:
PLATFORM: linux
machine:
# using `machine` gives us a Linux VM that can run Docker
image: ubuntu-2004:2023.07.1
image: ubuntu-2004:2024.05.1
docker_layer_caching: true
resource_class: medium
steps:
Expand All @@ -1783,7 +1800,7 @@ jobs:
working_directory: ~/cypress
docker:
# we need an image with yarn 4 berry installed on it to run this test
- image: cypress/base-internal:18.17.1-yarn-berry
- image: cypress/base-internal:20.18.1-yarn-berry
environment:
# needed to inform the bootstrap-docker-container.sh script to link the binary in the system-test project directory
REPO_DIR: /root/cypress
Expand Down Expand Up @@ -1811,6 +1828,32 @@ jobs:
command: |
# we need to bootstrap the binary into our project directory and run the tests
source ./system-tests/scripts/bootstrap-docker-container.sh 'yarn cypress run'
# We can remove this job a once https://github.com/sveltejs/svelte-loader/issues/243 is resolved.
svelte-webpack-system-test:
parallelism: 1
working_directory: ~/cypress
docker:
- image: cypress/browsers-internal:node20.18.1-bullseye-chrome131-ff133
environment:
# needed to inform the bootstrap-docker-container.sh script to link the binary in the system-test project directory
REPO_DIR: /root/cypress
TEST_PROJECT_DIR: ./system-tests/projects/svelte-webpack-configured
USE_YARN_TO_INSTALL_CYPRESS_BINARY: true
steps:
- maybe_skip_binary_jobs
- attach_workspace:
at: ~/
- run:
name: Install monorepo dependencies
command: yarn install --ignore-scripts
- run:
name: install dependencies
command: cd ./system-tests/projects/svelte-webpack-configured && yarn
- run:
name: Bootstrap the Cypress binary and run binary system test
command: |
# we need to bootstrap the binary into our project directory and run the tests
source ./system-tests/scripts/bootstrap-docker-container.sh 'yarn cypress run --component --spec src/mount.cy.ts src/App.cy.ts'

system-tests-chrome:
<<: *defaults
Expand Down Expand Up @@ -2131,6 +2174,10 @@ jobs:
- run:
name: Build
command: yarn lerna run build --scope=@cypress/vue
- run:
name: Run tests
command: yarn test
working_directory: npm/vue
- store_test_results:
path: npm/vue/test_results
- store_artifacts:
Expand All @@ -2146,15 +2193,6 @@ jobs:
command: yarn lerna run build --scope=@cypress/angular
- store-npm-logs

npm-angular-signals:
<<: *defaults
steps:
- restore_cached_workspace
- run:
name: Build
command: yarn lerna run build --scope=@cypress/angular-signals
- store-npm-logs

npm-puppeteer-unit-tests:
<<: *defaults
steps:
Expand Down Expand Up @@ -2926,9 +2964,6 @@ linux-x64-workflow: &linux-x64-workflow
- npm-angular:
requires:
- build
- npm-angular-signals:
requires:
- build
- npm-mount-utils:
requires:
- build
Expand All @@ -2947,7 +2982,6 @@ linux-x64-workflow: &linux-x64-workflow
requires:
- check-ts
- npm-angular
- npm-angular-signals
- npm-eslint-plugin-dev
- npm-puppeteer-unit-tests
- npm-puppeteer-cypress-tests
Expand Down Expand Up @@ -2985,6 +3019,7 @@ linux-x64-workflow: &linux-x64-workflow
- test-npm-module-on-minimum-node-version
- binary-system-tests
- yarn-pnp-preprocessor-system-test
- svelte-webpack-system-test
- test-kitchensink
- unit-tests
- verify-release-readiness
Expand Down Expand Up @@ -3104,6 +3139,11 @@ linux-x64-workflow: &linux-x64-workflow
requires:
- get-published-artifacts
- system-tests-node-modules-install
- svelte-webpack-system-test:
context: publish-binary
requires:
- get-published-artifacts
- system-tests-node-modules-install

linux-x64-contributor-workflow: &linux-x64-contributor-workflow
jobs:
Expand Down Expand Up @@ -3285,9 +3325,6 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow
- npm-angular:
requires:
- build
- npm-angular-signals:
requires:
- build
- npm-mount-utils:
requires:
- build
Expand All @@ -3305,7 +3342,6 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow
requires:
- check-ts
- npm-angular
- npm-angular-signals
- npm-eslint-plugin-dev
- npm-puppeteer-unit-tests
- npm-puppeteer-cypress-tests
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ body:
attributes:
label: Node version
description: What version of node.js are you using to run Cypress?
placeholder: ex. v18.17.0
placeholder: ex. v20.18.1
validations:
required: true
- type: input
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/2-memory-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ body:
attributes:
label: Node version
description: What version of node.js are you using to run Cypress?
placeholder: ex. v18.17.0
placeholder: ex. v20.18.1
validations:
required: true
- type: input
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/3-install-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ body:
attributes:
label: Node version
description: What version of node.js are you using to run Cypress?
placeholder: ex. v18.17.0
placeholder: ex. v20.18.1
validations:
required: true
- type: dropdown
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snyk_sca_scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'yarn'
- name: Run yarn
run: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk_static_analysis_scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'yarn'
- name: Run yarn
run: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-browser-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Check for new Chrome versions
id: get-versions
uses: actions/github-script@v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_v8_snapshot_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'yarn'
- name: Run yarn
# set the timeout here to try and deal with Windows slowness
Expand Down
Loading
Loading