Commit Graph

1453 Commits

Author SHA1 Message Date
Bill Glesias 189bb9ee5f chore: remove experimental decorators from the repo (#31487) 2025-04-14 15:07:11 -04:00
renovate[bot] 18e3698ae1 chore(deps): update dependency snap-shot-it to v7.9.10 (#31386)
* chore(deps): update dependency snap-shot-it to v7.9.10

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-27 10:53:52 -04:00
semantic-release-bot 8d63d80771 chore: release @cypress/webpack-preprocessor-v6.0.4
[skip ci]
2025-03-26 15:55:45 -04:00
semantic-release-bot 4c295e0661 chore: release @cypress/webpack-batteries-included-preprocessor-v3.0.7
[skip ci]
2025-03-26 15:55:33 -04:00
Cecil King 33cf18e409 fix: allow version 10 of the babel-loader peer dependency (#31218)
* fix: allow version 10 of the babel-loader peer dependency

* empty commit

* adjust babel-loader dependency

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

* upgrade babel-loader version

* chore: test babel loader

* chore: add changelog entry (only necessary due to touching the packages directory)

* chore: add changelog entry (only necessary due to touching the packages directory)

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-03-26 14:57:38 -04:00
semantic-release-bot 18d79d5829 chore: release @cypress/webpack-preprocessor-v6.0.3
[skip ci]
2025-03-25 14:30:17 -04:00
semantic-release-bot 09519828dc chore: release @cypress/webpack-dev-server-v4.0.2
[skip ci]
2025-03-25 14:29:59 -04:00
semantic-release-bot c17534d17f chore: release @cypress/webpack-batteries-included-preprocessor-v3.0.6
[skip ci]
2025-03-25 14:29:44 -04:00
semantic-release-bot a1734b9e88 chore: release @cypress/vite-dev-server-v6.0.3
[skip ci]
2025-03-25 14:29:27 -04:00
semantic-release-bot f51c187698 chore: release @cypress/react-v9.0.1
[skip ci]
2025-03-25 14:29:13 -04:00
Bill Glesias 7bdf1e9870 fix: change default options for sourceMaps inside WBIP (#31270)
* fix: change default options for sourceMaps inside WBIP

* add better error handling to @cypress/webpack-preprocessor when using typescript 5

* chore: update snapshots for protocol spec

* move options downstream into @cypress/webpack-preprocessor and see what fails

* address comments from code review
2025-03-24 16:34:48 -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
Ryan Manuel 2dce6d5831 chore: add logic to dynamically load studio functionality (#31033)
* chore: add logic to dynamically load new studio functionality

* fix types

* fix tests

* fix

* fix tests

* fix tests

* additional changes to lock things down

* clean up code

* Update guides/studio-development.md

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

* Update protocol-development.md

* additional headers

* PR comments

* Update packages/server/lib/cloud/api/get_app_studio.ts

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

* Update packages/app/vite.config.mjs

* update studio/protocol development guides

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
2025-02-14 14:54:15 -06:00
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