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-10-19.

7 breaking1 security3 deprecations8 new APIs and options2 performance3 behavior and defaults1 tooling28 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 234 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 1

  • 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 6

  • The orchestration session create timeout is now configurable.

    2.5.0release notes

  • Adds Azure CI data support.

    2.1.0release notes

  • 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 2

  • 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 1

  • 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 12

@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