Commit Graph

294 Commits

Author SHA1 Message Date
semantic-release-bot
09519828dc chore: release @cypress/webpack-dev-server-v4.0.2
[skip ci]
2025-03-25 14:29:59 -04:00
renovate[bot]
a566242f7f dependency: update dependency semver to v7.7.1 (#31341)
* fix(deps): update dependency semver to v7.7.1

* changelog

* caret dep

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-20 13:58:02 -04:00
semantic-release-bot
0a3ad9ab82 chore: release @cypress/webpack-dev-server-v4.0.1
[skip ci]
2025-01-15 11:48:05 -05:00
Bill Glesias
a46c2dde8d fix: add cypress 14 as a peer dependency for webpack-dev-server (#30862) 2025-01-13 10:02:13 -05:00
Matt Schile
4cb5774618 chore: update the unsupported framework on link to point to the supported frameworks page (#30841) 2025-01-09 10:32:14 -07:00
Bill Glesias
ede3833197 chore: cleanup release related items (#30840)
* chore: fix the @cypress/webpack-dev-server changelog after automated released

* chore: correct mistake in unsatified fixture
2025-01-08 13:57:18 -05:00
semantic-release-bot
583555930b chore: release @cypress/webpack-dev-server-v4.0.0
[skip ci]
2025-01-07 19:59:15 -05:00
AtofStryker
85da2870fd breaking: release version 4.0.0 of @cypress/webpack-dev-server.
BREAKING CHANGE: Cypress 14 drops support for webpack-dev-server 3. webpack/webpack-dev-server 4 and 5 are supported. @cypress/webpack-dev-server also ships with webpack-dev-server v5 by default.
2025-01-07 17:06:41 -05:00
Bill Glesias
dcdefb4069 feat: support angular 19 and update tests [run ci] (#30675) 2024-12-02 15:29:54 -05:00
Bill Glesias
f4aec3ed46 feat: support next 15 [run ci] (#30654) 2024-11-21 16:36:23 -05:00
Bill Glesias
15c5761eb6 breaking: make JustInTimeCompile GA from experimentalJustInTimeCompile and default to true (#30641)
* pull support for JIT from vite since it doesn't have an affect for end users or performance (webpack only) [run ci]

rebase this

* remove the experimentalJIT flag and make it GA (default still false) [run ci]

* enable justInTimeCompile by default [run ci]

* chore: bump cache [run ci]
2024-11-21 15:25:59 -05:00
Bill Glesias
c695f5fa16 breaking: remove support for @vue/cli-serivce from Cypress Component Testing [run ci] (#30585) 2024-11-12 14:13:36 -05:00
Bill Glesias
37b944f9b4 breaking: remove support for create react app for component testing as it is no longer maintained [run ci] (#30558) 2024-11-07 18:02:04 -05:00
Bill Glesias
3141d12dc5 breaking: remove support for angular 13,14,15, and 16. minimum version is now 17.2.0 (#30539)
breaking: cypress-schematic only supports angular 17.2.0 and up [run ci]

fix updates missed [run ci]
2024-11-06 15:06:49 -05:00
Bill Glesias
4ddfe936bf breaking: remove support for Next.js 10, 11, 12, and 13 for Cypress component Testing [run ci] (#30506) 2024-11-05 10:30:41 -05:00
Bill Glesias
bc39cb1103 breaking: remove nuxt2 support from Cypress Component Testing [run ci] (#30499) 2024-11-03 16:07:41 -05:00
Bill Glesias
d9c21a9a67 breaking: dropping support for webpack-dev-server 3 from @cypress/webpack-dev-server and make @cypress/webpack-dev-server ship with webpack-dev-server version 5 by default (from 4) (#30467)
* breaking: dropping support for webpack-dev-server 3 from @cypress/webpack-dev-server

    BREAKING CHANGE: support for webpack-dev-server version 3 has been removed. webpack-dev-server 3 is no longer maintained by the webpack team. To reduce overhead, Cypress is now removing support in Cypress 14.

* update create-react-app-configured/unconfigured

* updated vueclivue2-configured to use vue cli v5

* updated vueclivue2-unconfigured to use vue cli v5

* updated vueclivue3-unconfigured to use vue cli v5

* updated vueclivue3-configured to use vue cli v5

* updated vueclivue3-custom-index-html to use vue cli v5

* update react17 project to use webpack-dev-server v4 (default ships v5 which does not work with webpack 4)

* update react18 project to use webpack-dev-server v4 (default ships v5 which does not work with webpack 4)

* update nuxt version to avoid some issues in the preprocessed webpack config

* update cy in cy component scaffolding tests to run on more suites, as well as skip config warning for outdated vuecli3 as it will throw due to wds being on version 3. this is a VERY old version, and the test needs to be updated to use vuecli5 so we get wds v5 (vuecli5 support will be deprecated)

* no longer support cra v4 and vue/cli-service v4

* remove cra v4 and vue cli service v4 detect tests as they are no longer supported [run ci]

* chore: update cra app custom index to use cra 5 [run ci]

* update protocol spec snapshot [run ci]

* chore: remove stale references to old vuecli system tests [run ci]

* update webpack-dev-server-4 to actually be wds 4 [run ci]

* add changelog entry [run ci]

* update cache key and tests that should not pass [run ci]

* add issue to changelog entry

* no longer clean up default-gateway as it was shipped with webpack-dev-server 4, which is now a dev dependency [run ci]

* fix issues with node-ipc being out of date [run ci]

* move changelog to correct section [run ci]
2024-10-30 18:37:33 -04:00
Ryan Manuel
9fda261dde chore: upgrade electron to 32.2.0 (#30394)
* chore: upgrade electron to 32.2.0 -- run ci

* fix node versions

* fix build

* fix evil-dns

* various fixes

* fix srcdoc

* various fixes

* update package.json

* update yarn.lock

* various fixes

* fix integrity check

* fix binary verification

* various fixes

* update yarn.lock

* fix typo

* fix lock file

* fix tests

* fix tests

* various fixes

* various fixes

* various fixes

* fix stuff

* fix things

* try to fix errors

* fix

* updates

* add yarn berry

* upgrade electron

* attempt with gcc

* blank

* update arm64 executor

* try to fix the arm64 issue

* fix arm64

* bump cache

* attempt to fix arm64 again

* attempt to fix arm64 again

* fix darwin problems

* merge release/14.0.0

* update yarn.lock

* blank -- run ci

* blank

* blank

* blank

* try something

* try something

* clean up

* blank

* try to fix sessions issue

* fixes

* get more info

* get more info

* try something

* fix

* try something

* try something

* try something

* tweak

* one more thing

* let us see if this works

* blank

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* Apply suggestions from code review

* Apply suggestions from code review

* Update cli/CHANGELOG.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* Update cli/CHANGELOG.md

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* Update CHANGELOG.md

* Update cache-version.txt

* fix nx (maybe)

* Update package.json

* try something

* Update packages/app/src/runner/aut-iframe.ts

* bump version

* try to bust cache

* try to invalidate cache

* Update cli/CHANGELOG.md

* suppress benign warnings

* Apply suggestions from code review

* PR comments

* PR comment

* Apply suggestions from code review

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* Update cli/CHANGELOG.md

Co-authored-by: Matt Schile <mschile@cypress.io>

* update debug scenario 4 regex

* Update scripts/binary/trigger-publish-binary-pipeline.js

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
2024-10-29 14:55:26 -05:00
semantic-release-bot
d83b9a0149 chore: release @cypress/webpack-dev-server-v3.11.0
[skip ci]
2024-08-27 12:38:07 -04:00
Bill Glesias
57f6110d29 feat: implement JIT component experiment (#30049)
* feat: implement JIT component experiment [run ci]

* don't update the dev server unnecessarily if the run is cancelled [run ci]

* fix system test flake

* Update cli/types/cypress.d.ts

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Update system-tests/projects/experimental-JIT/webpack/cypress/support/component-index.html

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Update system-tests/projects/experimental-JIT/vite/cypress/support/component-index.html

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* chore: ignore node_modules for webpack dev server

* be sure to end span when throwing error

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2024-08-22 10:56:55 -04:00
semantic-release-bot
8d0c354217 chore: release @cypress/webpack-dev-server-v3.10.1
[skip ci]
2024-07-31 23:07:36 -04:00
renovate[bot]
f2b41b0103 fix(deps): update dependency webpack-dev-server to ^4.15.2 (#29936)
* fix(deps): update dependency webpack-dev-server to ^4.15.2

* fix(deps): update dependency webpack-dev-server to ^4.15.2

* Remove the change to the web-config package to isolate the change to npm package

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2024-07-31 13:19:15 -04:00
semantic-release-bot
b2f0fc4a0f chore: release @cypress/webpack-dev-server-v3.10.0
[skip ci]
2024-06-07 13:00:07 -04:00
Bill Glesias
cceea03864 feat: add CT support for angular 18 (#29584)
* feat: add CT support for angular 18

* chore: update system test for angular 17 to use released version [run ci]

* chore: add ignore engines for system test install until Electron 29 update is finished

* empty commit to run ci

* fix changelog

* fix changelog
2024-06-07 12:19:02 -04:00
Bill Glesias
f3b67666a5 fix: update cypress to Typescript 5 (#29568)
* fix: update the monorepo to typescript 5

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* chore: updating v8 snapshot cache

* run ci to see problems [run ci]

* update vue-tsc and typings that conflict with update

* regen snapshot

* fix typescript errors ui test as stack trace behavior has changed

* fix server unit tests

* update cy.origin() spec based on stack traces and code frames

* update spec to include source map url

* run ci

* fix check-ts

* chore: fix system tests [run ci]

* add preprocessor tests to batteries included to exercise new logic

* run ci

* refactor unit tests to be a bit more dry

* pin typescript to ~5.4 and adjust config to ignroe deprecations but keep importsNotUsedAsValues

* add changelog entry

* add fixme issue to stack trace mismatches inside evaled context

* use import type webpack as webpack as a lib isn't actually invboked in the runner webpack config

* fix system test as adding 4 lines of comments impacts the stack trace line 4 lines (duh)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
2024-06-04 19:17:38 -04:00
semantic-release-bot
e6b422cd25 chore: release @cypress/webpack-dev-server-v3.9.0
[skip ci]
2024-05-30 11:38:43 -04:00
Bill Glesias
cf6b29db22 feat: support Next.JS version 14 (#29558)
* feat: support Next.JS version 14 [run ci]

* bump circle cache [run ci]

* Update npm/webpack-dev-server/cypress/e2e/next.cy.ts

Co-authored-by: Matt Schile <mschile@cypress.io>

* Update cli/CHANGELOG.md

Co-authored-by: Matt Schile <mschile@cypress.io>

---------

Co-authored-by: Matt Schile <mschile@cypress.io>
2024-05-29 15:28:55 -04:00
Bill Glesias
f14a11aecf chore: update eslint from version 7 to version 8 (#29355)
* chore: (for eslint-plugin-dev only is breaking) update eslint-plugin dev minimum to eslint 7. Remove support for coffeescript and reconfigured required peer deps

* correctly configure eslint-plugin-json-format for the monorepo and run linting on all json files (previously was not running)

* properly support no duplicate imports
2024-04-26 14:42:33 -04:00
semantic-release-bot
c040fc4634 chore: release @cypress/webpack-dev-server-v3.8.0
[skip ci]
2024-04-18 16:32:07 -04:00
Bill Glesias
d7e9d6068c feat: support webpack-dev-server v5 in @cypress/webpack-dev-server (#29306)
* feat: support webpack-dev-server-5 for @cypress/webpack-dev-server [run ci]

* sidestep Forge types installed by webpack dev server [run ci]

* add changelog entry

* remove webpack 4 types

* format changelog

* Update cli/CHANGELOG.md

* Update npm/webpack-dev-server/src/helpers/sourceRelativeWebpackModules.ts

Co-authored-by: Matt Schile <mschile@cypress.io>

* add back in importsNotUsedAsValues and update system test snapshot

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
2024-04-18 11:17:04 -04:00
Jennifer Shehane
e74963ebc4 chore: wait for specs page to load before continuing in tests in order to reduce flake (#28855)
* chore: test a theory that waiting for specs list will be less flaky

* empty commit to trigger CI

* Add logic to login command for when we're visiting pages with no specs

* Rework tests to handle different 'no specs' pages

* Update a couple more situations where there is no specs list

* Fix bug where unauthorized login was not being sent at the right time to test the logout

* Move the specs page assertions into their own custom command

* typo fix
2024-02-06 09:38:36 -05:00
semantic-release-bot
f21b4a12a1 chore: release @cypress/webpack-dev-server-v3.7.4
[skip ci]
2024-01-29 20:57:23 -05:00
Mikhail
43792e7583 fix: optimize reduce addCypressToWebpackEslintRulesInPlace (#27819)
* fix: optimize reduce addCypressToWebpackEslintRulesInPlace

* Fix lint and types

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2024-01-29 11:51:21 -05:00
semantic-release-bot
6cbd572ea1 chore: release @cypress/webpack-dev-server-v3.7.3
[skip ci]
2024-01-12 09:56:44 -05:00
Jennifer Shehane
c6333ab03f misc: Update docs.cypress.io links to on.cypress.io (#28623)
* Update docs.cypress.io links to on.cypress.io

* misc: fix typo in link

* Update changelog

* update error snapshot
2024-01-05 09:14:17 -05:00
semantic-release-bot
e3e1f63bab chore: release @cypress/webpack-dev-server-v3.7.2
[skip ci]
2023-12-26 12:53:31 -05:00
Jennifer Shehane
372515829e dependency: Bump ts-node to 10.9.2 (#28528) 2023-12-14 13:28:18 -05:00
semantic-release-bot
33496177aa chore: release @cypress/webpack-dev-server-v3.7.1
[skip ci]
2023-11-22 17:00:32 -05:00
Roman
dcd6a18d9b fix: Allow absolute paths in indexHtmlFile (#28324)
* fix: allow absolute paths in indexHtmlFile

* Update CHANGELOG.md

* Updated readme

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jordan <jordan@jpdesigning.com>
2023-11-20 22:49:27 -05:00
semantic-release-bot
79da763dfa chore: release @cypress/webpack-dev-server-v3.7.0
[skip ci]
2023-11-07 11:33:28 -05:00
Jordan
e8fc268953 feat: add support for angular 17 (#28152)
* feat(webpack-dev-server): add support for angular 17

* update changelog

* fix broken spec pattern

* update to rc 2 for cli

* remove = from dependency minVersion lists

* update angular 17 rc version and update dep test

* add projectDirFolder to fixtures for angular-17

* resolve broken system tests

* update ct project dir angular version
2023-11-07 07:35:26 -05:00
Adam Stone-Lord
4c11731ee1 chore: optimize task execution (#27848)
* Revert "chore: simplify build script (#27547)"

This reverts commit 0a86ec686e.

* Revert "chore: upgrade lerna to 6, cache build step (#26913)"

This reverts commit 9e60aeba8f.

* [run ci]

* chore: upgrade lerna to 6, cache build step (#26913)

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update build-npm-modules script

* chore: update lerna to 6

* [run ci]

* try caching build step

* we can't clean without building after

* add dependencies on scripts for npm packages

* update commands

* add config for data-context build step

* fix output configurations for npm packages, add gitignores

* revert changes to config and data-context build steps

* fix outputs

* run with cache

* fix outputs for cli

* actually fix outputs

* test with cache

---------

Co-authored-by: astone123 <adams@cypress.io>

* chore: simplify build script (#27547)

* chore: simplify build script

* update CI workflows

* fix workflows

* empty commit because Percy weirdness

* chore: add driver, reporter, config as implicit dependencies for runner package (#27559)

* run all workflows on branch

* chore: parallelize test-binary-against-recipes CI step (#27570)

* chore: fix some easy circular dependencies in dep graph (#27612)

* chore: remove gulp tasks from postinstall (#27616)

* empty commit

* chore: minor improvements to node_modules_install (#27647)

* chore: fix cypress:open and dev scripts

* run with cache [run ci]

* exclude mochaawesome assets from .yarnclean [run ci]

* bump cache again [run ci]

* run cached [run ci]

* chore: do not cache cli build step [run ci]

* update workflow command and docs for build-cli [run ci]

* fix commands that use scope [run ci]

* use different branch for publish repo [run ci]

* percy weirdness? [run ci]

* fix postbuild cli script [run ci]

* try to remove typescript from production binary [run ci]

* fix circular dependency [run ci]

* try removing ts from node_modules [run ci]

* remove typescript resolution [run ci]

* remove redundant target scripts

* update to lerna scoped commands

* remove unneeded yarn in lerna command

* try to fix Electron install in Windows workflow

---------

Co-authored-by: Jordan <jordan@jpdesigning.com>
Co-authored-by: Dave Kasper <dave.m.kasper@gmail.com>
2023-10-04 12:25:00 -05:00
semantic-release-bot
f900c59855 chore: release @cypress/webpack-dev-server-v3.6.1
[skip ci]
2023-09-07 16:37:19 -04:00
Bill Glesias
b85dd752f2 dependency: update to electron 25 and node 18 (#27715)
* feat: update to electron 25 and bump node dependencies. need to remove
custom docker image

* chore: update node versions to 18+ [run ci]

* chore: bump @types/node from v16 to v18 and bump the typescript supported CLI version from 3.9 to 4.4

* update mock-fs to 5.2.0 to fix BigInt issue (see https://github.com/tschaub/mock-fs/releases/tag/v5.1.4) [run ci]

* chore: update electron integrity check to pass create binary job

* chore: fix issues with achrinza/node-ipc not yet having node 18 engine support (only up to 17 by patching from 9.2.2 to 9.2.5 as seen in https://github.com/achrinza/node-ipc/pull/38. vue/cli-service is not maintained and we should migrate these over to vue create at some point in the near future to get rid of these resolutions

* allow for TLSv1 tests to work with node 18 as the express server running node 18 with tlsv1 needs to allow legacy ciphers

* chore: update snyk workflows to use node 18

* chore: add changelog

* update timeout

* more cleanup during binary build

* bump cache and run ci. include ignore engines for rwa and get rid of
16.16 image references

* chore: update FF tests to 115 as serialization now works with errors and click events do not get fired on buttons being typed into

* chore: don't error when symlink already exists

* chore: fix serialization test for newer versions of firefox

* chore: fix CI config

* chore: fix chrome system tests to work with chrome 114. updates mostly caused by bugs in screen height in chrome. see https://bugs.chromium.org/p/chromium/issues/detail?id=1416398

* chore: test binary against vite update in RWA

* remove wait for RWA as it shouldnt be needed for vite. link example recipes update to node 18

chore: remove commented out code

* chore: print message when DISABLE_SNAPSHOT_REQUIRE is set

* chore: clean out unneeded dependencies always

* chore: remove trailing space

* fix: propagate click events for enter and typing on firefox 106 or later

* chore: fix changelog failures

* fix: correctly simulate click events for buttons on keyup and space type  in Firefox versions greater than 91 and simulate click for buttons on enter in Firefox versions greater than or equal to 106

* chore: add documentation to type to clarify firefox synthetic events

* chore: update protocol snapshot as order or log messages seems to have changed

* update comments

* sort commandLogChanged events for protocol

* chore: remove PR ids from CRA and CER as the PRs are merged into develop

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
2023-09-07 15:26:09 -04:00
semantic-release-bot
617d7af328 chore: release @cypress/webpack-dev-server-v3.6.0
[skip ci]
2023-09-07 09:21:57 -04:00
Jordan
264a118e48 feat(webpack-dev-server): update the generated tsconfig path for angular CT (#27723)
* feat(webpack-dev-server): update the generated tsconfig path for angular CT

* update changelog

* build binary

* fix broken tests
2023-09-06 14:47:30 -04:00
semantic-release-bot
d7bd3a3f3e chore: release @cypress/webpack-dev-server-v3.5.3
[skip ci]
2023-08-29 11:11:09 -04:00
Ryan Manuel
e684546d71 fix tests 2023-08-28 22:27:42 -05:00
Ryan Manuel
0a0eebd67d Merge branch 'develop' into fix/config-port-overriding-devserver 2023-08-28 20:32:23 -05:00
Ryan Manuel
c30ce10e4c fix cy in cy tests 2023-08-28 13:10:07 -05:00