Commit Graph

1440 Commits

Author SHA1 Message Date
semantic-release-bot f072ca1c03 chore: release @cypress/vite-dev-server-v6.0.2
[skip ci]
2025-01-27 13:11:17 -05:00
Jonathan Wieben 3149a8f184 fix: avoid source map plugin from replacing valid code (#30890)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-01-23 13:38:24 -05:00
semantic-release-bot 0a3ad9ab82 chore: release @cypress/webpack-dev-server-v4.0.1
[skip ci]
2025-01-15 11:48:05 -05:00
semantic-release-bot c31050afe6 chore: release @cypress/vite-dev-server-v6.0.1
[skip ci]
2025-01-15 11:47:49 -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
Bill Glesias 107d3eda5e fix: add cypress 14 as a peer dependency for vite-dev-server (#30857) 2025-01-10 16:59:16 -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
semantic-release-bot d8b67ce8fe chore: release @cypress/vue-v6.0.2
[skip ci]
2025-01-07 19:58:57 -05:00
semantic-release-bot 8af37d5c82 chore: release @cypress/vite-dev-server-v6.0.0
[skip ci]
2025-01-07 19:58:38 -05:00
semantic-release-bot ce3b541fc1 chore: release @cypress/svelte-v3.0.0
[skip ci]
2025-01-07 19:58:24 -05:00
semantic-release-bot ee0a711508 chore: release @cypress/react-v9.0.0
[skip ci]
2025-01-07 19:58:06 -05:00
semantic-release-bot 37de4f686b chore: release @cypress/mount-utils-v4.1.2
[skip ci]
2025-01-07 19:57:49 -05:00
semantic-release-bot 9da32db4ee chore: release @cypress/schematic-v3.0.0
[skip ci]
2025-01-07 19:57:32 -05:00
semantic-release-bot 7771231243 chore: release @cypress/angular-v3.0.0
[skip ci]
2025-01-07 19:57:14 -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
AtofStryker dd21af5812 breaking: release version 6.0.0 of @cypress/vite-dev-server.
BREAKING CHANGE: Cypress 14 drops support forVite 2-3. Vite 4 and up is supported.
2025-01-07 17:06:41 -05:00
AtofStryker 2534ebb5a5 breaking: release version 3.0.0 of @cypress/svelte.
BREAKING CHANGE: Cypress 14 drops support for Svelte 3-4. Svelte 5 is supported.
2025-01-07 17:06:41 -05:00
AtofStryker b383b4fb9a breaking: release version 9.0.0 of @cypress/react.
BREAKING CHANGE: Cypress 14 drops support for React 16-17. React 18 and up is supported.
2025-01-07 17:06:41 -05:00
AtofStryker e51b975b74 breaking: release version 3.0.0 of @cypress/schematic.
BREAKING CHANGE: Cypress 14 drops support for Angular 13-16. Angular 17.2 and up is supported.
2025-01-07 17:06:41 -05:00
AtofStryker 8dc8c12d85 breaking: release version 3.0.0 of @cypress/angular.
BREAKING CHANGE: Cypress 14 drops support for Angular 13-16. Angular 17.2 and up is supported.
2025-01-07 17:06:41 -05:00
Cacie Prins 0547d65a2a breaking: no longer inject document.domain by default (#30770)
* remove experimentalSkipDomainInjection, add and deprecate injectDocumentDomain

* remove experimentalSkipDomainInjection, add injectDocumentDomain

* begin rethreading domain injection

* complete document domain transition

* move some cookie specs to separate test run

* origin and privileged commands with default docdom inject

* fix privileged channel when injecting document domain

* rm unnecessary .getOrigin abstraction in cors lib

* move remote-states in prep for refactor Replace Conditional with Polymorphism

* refactor remote states to strategy pattern

* cookie commands work as expected w cross origin bridge on different origins

* some origin tests updated

* run tests with document domain enabled

* run tests actually

* use correct config, swap conditional

* check-ts

* inject documetn domain for webkit tests

* do not exec injectDocumetnDomain in parallel

* fix ServerBase construction in tests to include cfg now

* pass cfg to ServerBase

* improved integration tests

* remove document domain checks for all server integration specs - will add injectDocumentDomain cases

* tests for injecting document domain when configured to

* square away server integration tests

* ensure cookies are set correctly, potentially

* errors pkg snapshots

* fix config tests

* fixing config tests

* somewhat improves tests for cors policies in packages/network

* fix ts err in server-base

* enable injectDocumentDomain for cy in cy tests

* fix Policy type ref

* refactor cypress-schematic ct spec to be less prone to timeouts

* run vite-dev-server tests with injectDocumentDomain

* rm document domain assertion from page_loading system test

* add system tests that test with injectDocumentDomain and others that test with cy.origin

* fix results_spec snapshot

* update experimentalSkipDomainInjection system test

* different behavior for certain net_stubbing tests based on injectDocumentDomain or not

* fix ts

* extract origin key logic from remote states, for now

* move server-base and response-middleware over to new pattern

* WIP - reentry

* fix build, remove console.log

* check-ts

* fix spec frame injection

* remove injection for localhost

* mostly fix vite-dev-server app integration tests

* fix codeframe in certain cases in chrome

* drop internal stack frames from stacks intended for determining code frame data

* some improvements to vite ct error codeframes

* fix proxy unit tests to use document domain injection util class

* rm .only

* fix all vite ct error specs

* rm console.log

* slight refactor to util class to make easier to test

* fix refactor - missing rename in files.js

* several tests do not set testingtype in config, so just check against component instead of checking for e2e

* revert changes to getInvocationDetails to see if that breaks tests

* re-enable stack stripping in invocation details for chrome

* new snapshots with more accurate invocation details

* test for same-site cross-origin cookie behavior

* ignore window.top ts errors

* revert forcing injectDocumentDomain in vite-dev-server cy config

* fix normalized whitespace for firefox "loading_failed" error

* always trim trailing wsp from stack before appending additional content

* force normalization of whitespace to three \n when adding additional stack details

* normalize wsp between stack and additional stack to "\n  \n" in firefox

* remove stack_utils attempt at normalizing wsp

* various cleanup: remove commented console logs, add more detailed comments

* add on links to error messages

* remove experimentalSkipDomainInjection from exported type defs

* Update system-tests/test/experimental_skip_domain_injection_spec.ts

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update packages/driver/cypress/e2e/e2e/origin/cookie_misc.cy.ts

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* no need to coerce a boolean value to a booleanc

* export base config from primary cypress config in driver for use in inject-document-domain test subset

* lift experimentalSkipDomainInjection breaking option to root

* rollback config/options changes

* rm invalid comment

* use hostname instead of origin to create cookie from automation cookie

* clarify stack regex in results_spec

* lint

* take a stab at the changelog entries for this

* Update cli/CHANGELOG.md

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

* Update cli/CHANGELOG.md

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

* reenable locally-failing test

* changelog

* snapshot updatesfor experimental skip domain injection err msg

* remove packageManager declaration in package.json

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-01-06 13:48:43 -05:00
Bill Glesias e59b0160b6 chore: bump @vue/test-utils from 2.3.2 to 2.4.6 [run ci] (#30739) 2024-12-17 21:17:43 -05:00
Bill Glesias 22776eba46 breaking: remove support for svelte 4 and support svelte 5 [run ci] (#30700) 2024-12-10 09:21:09 -05:00
Bill Glesias e4904d6e4c Merge branch 'develop' into release/14.0.0 2024-12-05 13:19:55 -05:00
semantic-release-bot 19ffdba811 chore: release @cypress/vite-plugin-cypress-esm-v1.1.2
[skip ci]
2024-12-03 16:30:00 -05:00
Matt Schile 09c9b2ff5b test: update CI to run npm/vue tests (#30707) 2024-12-03 13:29:08 -07:00
Bill Glesias 4efd932eac feat: component testing now supports vite 6 [run ci] (#30679) 2024-12-03 15:03:08 -05:00
Matt Schile dcbbe4a284 misc: remove component testing API stubs that were removed in Cypress 11 (#30696) 2024-12-03 10:44:17 -07:00
Jennifer Shehane a65e7b546b Merge branch 'develop' into release/14.0.0 2024-12-03 12:05:56 -05:00
Bill Glesias dcdefb4069 feat: support angular 19 and update tests [run ci] (#30675) 2024-12-02 15:29:54 -05:00
Mike McCready 9c2277e73d docs: fix @cypress/grep readme links (#30688)
* docs: fix @cypress/grep readme links

* run ci
2024-12-02 10:32:43 -05:00
Jennifer Shehane 636bed9cf7 merge develop 2024-12-02 09:42:47 -05:00
Wenfu 12df40ed8c fix: support multiple imports of one module with multiple lines (#30314)
e.g.
```
import {
  a,
  b,
  c,
} from 'x';
```

chore: remove unnecessary deep equal

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2024-11-22 14:31:31 -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 94d360e8ae feat: support react 19 for component testing with cypress/react [run ci] (#30651) 2024-11-21 10:17:03 -05:00
semantic-release-bot 68363c2b38 chore: release @cypress/vite-dev-server-v5.2.1
[skip ci]
2024-11-19 13:02:14 -05:00
Bill Glesias 0c661b4f35 breaking: remove support for React 16 and 17 for Cypress Component Testing. Additionally, remove the cypress/react18 testing harness and merge it upstream with cypress/react (#30590)
* breaking: remove support for react 16 and 17 for component testing and move cypress/react18 upstream into cypress/react [run ci]

* update tests / suggestions from code review [run ci]
2024-11-15 16:14:48 -05:00
Bill Glesias 53b24b1be2 chore: update system tests to use react 18 and install latest dependencies for applicable system tests. use react18 harness before removal [run ci] (#30614) 2024-11-14 16:12:36 -05:00
Ryan Manuel 4bf8e585cd fix: ensure that each js file served up by vite dev server has an inline sourcemap (#30606)
* fix: ensure that each js file served up by vite dev server has an inline sourcemap

* refactor

* refactor with more understanding

* add changelog

* PR comments and other tweaks

* add comments

* add comments

* Apply suggestions from code review
2024-11-14 11:55:19 -06:00
Bill Glesias a6d2b2f6e3 chore: update to react 18 for the reporter from 17.0.2 to 18.3.1 [run ci] (#30567) 2024-11-13 19:45:43 -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
Matt Schile 249da654bd breaking: remove Svelte 3 support (#30572) 2024-11-08 22:10:47 -07: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 edd9a27031 breaking: remove the cypress/angular-signals test harness. The changes incorporated in @cypress/angular-signals are now merged upstream into @cypress/angular and the package is no longer needed [run ci] (#30540) 2024-11-07 13:16:18 -05:00
AtofStryker 3ea7f06acf Merge branch 'release/14.0.0' of github.com:cypress-io/cypress into chore/merge_develop 2024-11-06 15:34:13 -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
AtofStryker c55bcb1f68 Merge branch 'develop' into chore/merge_develop 2024-11-06 14:30:31 -05:00