unstale

npm / @currents/playwright

@currents/playwright

What changed in @currents/playwright 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-24.

7 breaking2 security3 deprecations15 new APIs and options2 performance8 behavior and defaults6 tooling45 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@currents/playwright 269 changes

Breaking changes 7

  • When a command-line option and its environment variable differ, the option now wins; remove whichever value you do not want used.

    2.0.0upgrade guide

  • Running currents without a command now prints help and exits with 1 instead of running upload.

    2.0.0upgrade guide

  • Use currents run get instead of currents api get-run to get a run.

    2.0.0upgrade guide

  • @currents/cmd 2.0.0 requires Node.js 20 or later, so update the runtime used to run it.

    2.0.0upgrade guide

  • currents run upload --input-format and currents convert now fail if the output directory contains other files.

    2.0.0upgrade guide

  • Adds the run subcommand; update uses of pwc-p to use pwc-p run, and pass filename flags for discovery or filtering to pwc-p discover instead.

    2.0.0release notes

  • currents run upload --input-format and currents convert now fail if the report directory contains other files.

    2.0.0upgrade guide

Security 2

  • The OIDC record key is revoked when a run is cancelled.

    2.8.0release notes

  • The repository URL is stored without any user name and password it may contain in CI.

    2.0.0upgrade guide

Deprecations 3

  • currents api get-run still works in 2.0 but is not listed in help; use currents run get instead.

    2.0.0upgrade guide

  • currents cancel still works but prints a deprecation warning and will be removed in the next major version; use currents run cancel.

    2.0.0upgrade guide

  • currents convert still works in 2.0 but is not listed in help; use currents run upload --input-format junit to upload converted reports.

    2.0.0upgrade guide

New APIs and options 13

  • On Playwright 1.62+, the test list is read from the run itself, created once per process before the first test starts; set this variable to false to turn that off.

    2.9.0release notes

  • When filters match no tests, exits 1 and creates no orchestration session; with this flag, exits 0 instead.

    2.9.0release notes

  • Accepts Playwright test filters, including grep, project, changed-file, spec-file, and file:line filters, so filtered orchestrated runs no longer need a prior discover command.

    2.9.0release notes

  • A setting is added for the summary for agents and the REST API address.

    2.7.0release notes

  • Context links are requested for a run's failed and flaky tests.

    2.7.0release notes

  • Adds a compact console output preset.

    2.6.0release notes

  • The orchestration session create timeout is now configurable.

    2.5.0release notes

  • Adds Azure CI data support.

    2.1.0release notes

  • Export the CircleCI OIDC token as CURRENTS_OIDC_TOKEN in the step that runs tests so Currents can use it.

    2.1.0docs

  • Adds an environment field to discovery.

    2.1.0release notes

  • Adds the --pwc-environment option.

    2.1.0release notes

  • Use currents run cancel instead of currents cancel to cancel a run.

    2.0.0upgrade guide

  • Adds the discover subcommand for test discovery; filename flags used for discovery or filtering must be passed to this subcommand.

    2.0.0release notes

Performance 2

Behavior and default changes 7

  • Prints key context under each failed test's error.

    2.9.0release notes

  • On Playwright 1.62+, reads the test list and session suite from Reporter.preprocess instead of parsing Playwright's --list output.

    2.9.0release notes

  • When no record key is configured, it is obtained from a CI OIDC token.

    2.8.0release notes

  • Agents receive one summary per pwc-p machine.

    2.7.0release notes

  • On Playwright 1.62+, the test list is captured by default; CURRENTS_SUITE_HOOK=false turns this off.

    2.7.0release notes

  • currents cache set and cache get without --id now derive the cache ID from detected CI jobs across CI providers; without a detected job, they warn that the ID is random.

    2.0.0upgrade guide

  • Debug output now replaces keys with *****.

    2.0.0upgrade guide

Tooling 6

  • Reports when a Currents action quarantines a test.

    2.9.0release notes

  • On Playwright 1.62+, reads the test list from Reporter.preprocess instead of parsing Playwright's --list output.

    2.9.0release notes

  • Forwards applicable Playwright arguments as given and refuses arguments that cannot apply to an orchestrated run, with a message naming what to use instead.

    2.9.0release notes

  • A summary for agents includes a context link for each failed and flaky test.

    2.7.0release notes

  • Use the CircleCI CLI command with the currents:record-key audience to request the token for tests.

    2.1.0docs

  • Use currents run upload instead of currents upload or invoking currents without a command to upload results.

    2.0.0upgrade guide

Fixes and other changes 29

  • Starts Playwright under the same runtime as pwc and pwc-p.

    2.9.0release notes

  • Includes a spec file when its tests are all declared in an imported helper, so it is no longer left out of the run.

    2.9.0release notes

  • Tells agents what to fix and points them to the Currents MCP.

    2.9.0release notes

  • Claims the next task if a task's Playwright process exits before its reporter finishes.

    2.9.0release notes

  • Waits for test record updates queued while the reporter finishes.

    2.9.0release notes

  • When a debug log upload is refused, the local log path is printed instead of null.

    2.8.0release notes

  • The record key is sent with the pwc debug log upload.

    2.8.0release notes

  • The record key from reporter options is no longer sent to Currents.

    2.8.0release notes

  • The value false is now read as off.

    2.7.0release notes

  • Tests a halted pwc-p task never ran are no longer counted as ran.

    2.7.0release notes

  • pwc exits with status 1 when it can't spawn Playwright or a signal kills it.

    2.7.0release notes

  • pwc prints launch failures to stderr.

    2.7.0release notes

  • Attachment files are read before a task is reported finished.

    2.7.0release notes

  • Compact output labels an earlier attempt's error and shows the last attempt with failure details.

    2.6.0release notes

  • Interrupted tests are shown as interrupted.

    2.6.0release notes

  • Prints a test's line only from its last attempt.

    2.6.0release notes

  • Stuck orchestrated Playwright children are recovered at shutdown.

    2.4.0release notes

  • Prevents silent truncation of the discovery list.

    2.3.3release notesrelease notes

  • Reporter output emitted before onBegin is buffered.

    2.3.2release notesrelease notes

  • Fixes compatibility with Playwright 1.61.0.

    2.3.1release notesrelease notes

  • Ensures the command rejects the -G flag.

    2.3.1release notesrelease notes

  • Cleans CI branch names.

    2.1.4release notes

  • Restores git-preferred commit merging.

    2.1.4release notes

  • Adopts CURRENTS_CI_URL as the ciUrl config option.

    2.1.3release notes

  • Accepts the fully parallel flag, allowing it to be used with pwc-p run.

    2.1.1release notes

  • Do not use this token for Currents record keys; its audience is the CircleCI organization ID, which a job cannot change, and Currents refuses it.

    2.1.0docs

  • The commit and its CI fallback are now taken from commit-info 2.0.

    2.0.0release notesupgrade guide

  • Playwright errors are surfaced in the discovery reporter.

    2.0.0release notes

  • Restores compatibility with Playwright 1.60.0.

    2.0.0release notes

@currents/playwright 119 changes

New APIs and options 2

Behavior and default changes 1

  • Tests stopped by maxFailures or SIGINT are reported as interrupted instead of failed; they are not considered passed, and a spec file or run containing an interrupted test is considered failed.

    1.21.0release notes

Fixes and other changes 16

  • Traces are retained for quarantined tests when using retain-on-failures trace mode.

    1.23.2release notes

  • Project dependencies are no longer missing from discovery when filtering by last-failed.

    1.23.1release notes

  • The discovery scanner now runs only id-only preOnlyTestFilters.

    1.23.1release notes

  • CI provider detection was enhanced, which may affect how the reporter identifies the CI environment.

    1.23.0release notes

  • Pull request environment capture was enhanced, which may affect the environment data available to the reporter.

    1.23.0release notes

  • --project is stripped from task creation.

    1.22.2release notes

  • The reporter supports commander v13 and excess argv, improving compatibility when running with those arguments.

    1.22.1release notes

  • An interrupted test case is added if any element is interrupted.

    1.22.0release notes

  • Support for the deprecated --browser flag.

    1.21.2release notes

  • The orchestration exit code when cancelled (fail-fast) should always be 1.

    1.21.1release notes

  • Additional debug logs help identify orchestration discovery timeouts.

    1.20.2release notes

  • Handles orchestration cancellation without hanging.

    1.20.1release notes

  • The dotenv import is set to quiet to remove its log output.

    1.19.2release notes

  • When error.message is undefined, error.value is used as the message sent to the backend.

    1.19.1release notes

  • Project dependencies are included in error copy for fake test results.

    1.19.1release notes

  • Fixed compatibility with the VSCode PW extension.

    1.19.0release notes