Skip to content

[master] Michijs Dependabot changes#398

Open
michijs[bot] wants to merge 1 commit intomasterfrom
michijs-dependabot
Open

[master] Michijs Dependabot changes#398
michijs[bot] wants to merge 1 commit intomasterfrom
michijs-dependabot

Conversation

@michijs
Copy link
Copy Markdown
Contributor

@michijs michijs Bot commented May 4, 2026

@michijs
Copy link
Copy Markdown
Contributor Author

michijs Bot commented May 4, 2026

Bump esbuild from 0.27.4 to 0.28.0

Changelog:
Sourced from releases.
        ### v0.28.0* Add support for `with { type: 'text' }` imports ([#4435](https://redirect.github.com/evanw/esbuild/issues/4435))

The [import text](https://redirect.github.com/tc39/proposal-import-text) proposal has reached stage 3 in the TC39 process, which means that it's recommended for implementation. It has also already been implemented by [Deno](https://docs.deno.com/examples/importing_text/) and [Bun](https://bun.com/docs/guides/runtime/import-html). So with this release, esbuild also adds support for it. This behaves exactly the same as esbuild's existing [`text` loader](https://esbuild.github.io/content-types/#text). Here's an example:

```js
import string from './example.txt' with { type: 'text' }
console.log(string)
```
  • Add integrity checks to fallback download path (#4343)

    Installing esbuild via npm is somewhat complicated with several different edge cases (see esbuild's documentation for details). If the regular installation of esbuild's platform-specific package fails, esbuild's install script attempts to download the platform-specific package itself (first with the npm command, and then with a HTTP request to registry.npmjs.org as a last resort).

    This last resort path previously didn't have any integrity checks. With this release, esbuild will now verify that the hash of the downloaded binary matches the expected hash for the current release. This means the hashes for all of esbuild's platform-specific binary packages will now be embedded in the top-level esbuild package. Hopefully this should work without any problems. But just in case, this change is being done as a breaking change release.

  • Update the Go compiler from 1.25.7 to 1.26.1

    This upgrade should not affect anything. However, there have been some significant internal changes to the Go compiler, so esbuild could potentially behave differently in certain edge cases:

    • It now uses the new garbage collector that comes with Go 1.26.
    • The Go compiler is now more aggressive with allocating memory on the stack.
    • The executable format that the Go linker uses has undergone several changes.
    • The WebAssembly build now unconditionally makes use of the sign extension and non-trapping floating-point to integer conversion instructions.

    You can read the Go 1.26 release notes for more information.

          ### v0.27.7* Fix lowering of define semantics for TypeScript parameter properties ([#4421](https://redirect.github.com/evanw/esbuild/issues/4421))
    

    The previous release incorrectly generated class fields for TypeScript parameter properties even when the configured target environment does not support class fields. With this release, the generated class fields will now be correctly lowered in this case:

    // Original code
    class Foo {
      constructor(public x = 1) {}
      y = 2
    }
    
    // Old output (with --loader=ts --target=es2021)
    class Foo {
      constructor(x = 1) {
        this.x = x;
        __publicField(this, "y", 2);
      }
      x;
    }
    
    // New output (with --loader=ts --target=es2021)
    class Foo {
      constructor(x = 1) {
        __publicField(this, "x", x);
        __publicField(this, "y", 2);
      }
    }
          ### v0.27.5* Fix for an async generator edge case ([#4401](https://redirect.github.com/evanw/esbuild/issues/4401), [#4417](https://redirect.github.com/evanw/esbuild/pull/4417))
    

    Support for transforming async generators into the equivalent state machine was added in version 0.19.0. However, the generated state machine didn't work correctly when polling async generators concurrently, such as in the following code:

    async function* inner() { yield 1; yield 2 }
    async function* outer() { yield* inner() }
    let gen = outer()
    for await (let x of [gen.next(), gen.next()]) console.log(x)

    Previously esbuild's output of the above code behaved incorrectly when async generators were transformed (such as with --supported:async-generator=false). The transformation should be fixed starting with this release.

    This fix was contributed by @​2767mr.

  • Fix a regression when metafile is enabled (#4420, #4418)

    This release fixes a regression introduced by the previous release. When metafile: true was enabled in esbuild's JavaScript API, builds with build errors were incorrectly throwing an error about an empty JSON string instead of an object containing the build errors.

  • Use define semantics for TypeScript parameter properties (#4421)

    Parameter properties are a TypeScript-specific code generation feature that converts constructor parameters into class fields when they are prefixed by certain keywords. When "useDefineForClassFields": true is present in tsconfig.json, the TypeScript compiler automatically generates class field declarations for parameter properties. Previously esbuild didn't do this, but esbuild will now do this starting with this release:

    // Original code
    class Foo {
      constructor(public x: number) {}
    }
    
    // Old output (with --loader=ts)
    class Foo {
      constructor(x) {
        this.x = x;
      }
    }
    
    // New output (with --loader=ts)
    class Foo {
      constructor(x) {
        this.x = x;
      }
      x;
    }
  • Allow es2025 as a target in tsconfig.json (#4432)

    TypeScript recently added es2025 as a compilation target, so esbuild now supports this in the target field of tsconfig.json files, such as in the following configuration file:

    {
      "compilerOptions": {
        "target": "ES2025"
      }
    }

    As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in the documentation.

          ### v0.27.4* Fix a regression with CSS media queries ([#4395](https://redirect.github.com/evanw/esbuild/issues/4395), [#4405](https://redirect.github.com/evanw/esbuild/issues/4405), [#4406](https://redirect.github.com/evanw/esbuild/issues/4406))
    

    Version 0.25.11 of esbuild introduced support for parsing media queries. This unintentionally introduced a regression with printing media queries that use the <media-type> and <media-condition-without-or> grammar. Specifically, esbuild was failing to wrap an or clause with parentheses when inside <media-condition-without-or>. This release fixes the regression.

    Here is an example:

    /* Original code */
    @&ZeroWidthSpace;media only screen and ((min-width: 10px) or (min-height: 10px)) {
      a { color: red }
    }
    
    /* Old output (incorrect) */
    @&ZeroWidthSpace;media only screen and (min-width: 10px) or (min-height: 10px) {
      a {
        color: red;
      }
    }
    
    /* New output (correct) */
    @&ZeroWidthSpace;media only screen and ((min-width: 10px) or (min-height: 10px)) {
      a {
        color: red;
      }
    }
  • Fix an edge case with the inject feature (#4407)

    This release fixes an edge case where esbuild's inject feature could not be used with arbitrary module namespace names exported using an export {} from statement with bundling disabled and a target environment where arbitrary module namespace names is unsupported.

    With the fix, the following inject file:

    import jquery from 'jquery';
    export { jquery as 'window.jQuery' };

    Can now always be rewritten as this without esbuild sometimes incorrectly generating an error:

    export { default as 'window.jQuery' } from 'jquery';
  • Attempt to improve API handling of huge metafiles (#4329, #4415)

    This release contains a few changes that attempt to improve the behavior of esbuild's JavaScript API with huge metafiles (esbuild's name for the build metadata, formatted as a JSON object). The JavaScript API is designed to return the metafile JSON as a JavaScript object in memory, which makes it easy to access from within a JavaScript-based plugin. Multiple people have encountered issues where this API breaks down with a pathologically-large metafile.

    The primary issue is that V8 has an implementation-specific maximum string length, so using the JSON.parse API with large enough strings is impossible. This release will now attempt to use a fallback JavaScript-based JSON parser that operates directly on the UTF8-encoded JSON bytes instead of using JSON.parse when the JSON metafile is too big to fit in a JavaScript string. The new fallback path has not yet been heavily-tested. The metafile will also now be generated with whitespace removed if the bundle is significantly large, which will reduce the size of the metafile JSON slightly.

    However, hitting this case is potentially a sign that something else is wrong. Ideally you wouldn't be building something so enormous that the build metadata can't even fit inside a JavaScript string. You may want to consider optimizing your project, or breaking up your project into multiple parts that are built independently. Another option could potentially be to use esbuild's command-line API instead of its JavaScript API, which is more efficient (although of course then you can't use JavaScript plugins, so it may not be an option).

Commit history:
  • 6a794d publish 0.28.0 to npm
  • 64ee0e fix #4435: support `with { type: text }` imports
  • ef65ae fix sort order in `snapshots_packagejson.txt`
  • 1a26a8 try to fix `test-old-ts`, also shuffle CI tasks
  • 556ce6 use `''` instead of `null` to omit build hashes
  • 8e675a ci: allow missing binary hashes for tests
  • 706776 Reapply "update go 1.25.7 => 1.26.1"

    This reverts commit b169d8cc46e0ca484a18c20fc30a8e5e3f64aac2.

  • 39473a fix #4343: integrity check for binary download
  • 2025c9 publish 0.27.7 to npm
  • c6b586 fix typo in Makefile for @&ZeroWidthSpace;esbuild/win32-x64
  • 9785e1 publish 0.27.6 to npm
  • b169d8 Revert "update go 1.25.7 => 1.26.1"

    This reverts commit 7b5433d0abdf650b3c9a30453849ffb47dffa2a3.

  • 7ac876 run make update-compat-table
  • 8b5ff5 remove an incorrect else
  • e95526 fix #4421: lower generated class fields if needed
  • a5a250 ci: move make test-old-ts
  • b71e7a omit go's buildvcs for more reproducible builds
  • 7406b0 organize make platform-all output in Makefile
  • a4cd5f omit go's buildid for more reproducible builds
  • 7b5433 update go 1.25.7 => 1.26.1
  • a524c5 update TS version for checking internal lib code
  • 0102ae publish 0.27.5 to npm
  • eb9388 split off CHANGELOG-2025.md
  • a54a51 fix #4421: use define for ts parameter props
  • 31a7c6 remove unused variable in __asyncGenerator
  • 1ea01a update release notes
  • a8f8c0 fix: Handle non-awaited async generator (#4417)
  • 4844d4 fix #4420, close #4418: metafile JSON regression
  • edbdce fix #4432: add es2025 as a valid target
  • f9c901 publish 0.27.4 to npm

@michijs
Copy link
Copy Markdown
Contributor Author

michijs Bot commented May 4, 2026

Bump @​michijs/shared-configs from 0.0.36 to 0.0.37

Changelog:
Sourced from releases.
        ### 0.0.37## What's Changed

Full Changelog: https://redirect.github.com/michijs/shared-configs/compare/0.0.36...0.0.37

        ### 0.0.36## What's Changed

New Contributors

Full Changelog: https://redirect.github.com/michijs/shared-configs/compare/0.0.34...0.0.36

Commit history:
  • bf294a Update tsconfig.json (Bump @types/node from 18.14.2 to 18.15.2 #16)

    What is the purpose of this pull request?

    Screenshots or example usage

    Types of changes

    • Bug fix (non-breaking change which fixes an issue)
    • New feature (non-breaking change which adds functionality)
    • Quality improvement (tests or refactors)
    • Breaking change (fix or feature that would cause existing
      functionality to change)
    • Trivial change (small fix or feature that doesn't impact
      functionalities)
    • Requires change to documentation, which has been updated
      accordingly

    Signed-off-by: Lucas Segurado <lsegurado1996@​gmail.com>

  • 3c3aca chore: Release v0.0.37

@michijs
Copy link
Copy Markdown
Contributor Author

michijs Bot commented May 4, 2026

Bump typescript from 5.9.3 to 6.0.3

Changelog:
Sourced from releases.
        ### v6.0.3For release notes, check out the [release announcement blog post](https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/).

Downloads are available on:

Downloads are available on:

  • npm

          ### v5.9.3Note: this tag was recreated to point at the correct commit. The npm package contained the correct content.
    

For release notes, check out the release announcement

Downloads are available on:

Commit history:
  • f350b5 Redirect Claude Code to read AGENTS.md (#63446)
  • af087e docs: improve Math.sign JSDoc grammar and clarity (#63433)
  • 55423a Update CONTRIBUTING.md with comment automation policy (#63412)
  • f1a928 Also check package name validity in InstallPackageRequest (#63401)
  • c7a0ae Harden ATA package name filtering (#63368)
  • 5f4350 Require AI disclosure in PR descriptions (#63366)
  • 38c327 Document charCodeAt edge case behavior in first line (#63344)
  • 7b8cb3 Fix redundant leading apostrophe in TS1344 diagnostic message (#63341)

    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@​users.noreply.redirect.github.com>
    Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@​users.noreply.redirect.github.com>

  • 0844c4 Mark class property initializers as outside of CFA containers (#63310)

    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@​users.noreply.redirect.github.com>
    Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@​users.noreply.redirect.github.com>

  • 71586a Bump the github-actions group with 2 updates (#63319)

    Signed-off-by: dependabot[bot] <support@​redirect.github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.redirect.github.com>

  • 7881fe Add coding agent instructions: refuse PRs unless maintenance mode is acknowledged (#63305)

    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@​users.noreply.redirect.github.com>
    Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@​users.noreply.redirect.github.com>
    Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@​users.noreply.redirect.github.com>

  • 77ddb5 Update deps (#63296)
  • 864777 Bump the github-actions group with 3 updates (#63285)

    Signed-off-by: dependabot[bot] <support@​redirect.github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.redirect.github.com>

  • b103a0 Update readme to note current repo state (#63292)
  • 4f7b41 Bump the github-actions group with 2 updates (#63224)

    Signed-off-by: dependabot[bot] <support@​redirect.github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.redirect.github.com>

  • 9059e5 Fix missing lib files in reused programs (#63239)
  • c9e742 Port anyFunctionType subtype fix and JSX children NonInferrableType propagation from typescript-go (#63163)

    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@​users.noreply.redirect.github.com>
    Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@​users.noreply.redirect.github.com>

  • 206ed1 Deprecate assert in import() (#63172)
  • e688ac Update dependencies (#63156)
  • 29b300 Bump the github-actions group across 1 directory with 2 updates (#63205)

    Signed-off-by: dependabot[bot] <support@​redirect.github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.redirect.github.com>

  • 0c2c7a DOM update (#63183)
  • 924810 Adds the symbol name to the error message for TS2742 (#63200)
  • 6cf817 discrete pluralizer for lib.esnext.temporal unit unions (#63190)
  • b24015 Eliminate interpolation from workflows (#63188)
  • 347254 Update DOM types (#63137)
  • ad04bf Fix crash in declaration emit with nested binding patterns (#63154)

    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@​users.noreply.redirect.github.com>
    Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@​users.noreply.redirect.github.com>

  • 0ed1ee Fix from and with method types of Temporal.PlainMonthDay (#63142)
  • 040c20 Bump github/codeql-action from 4.32.2 to 4.32.3 in the github-actions group (#63145)

    Signed-off-by: dependabot[bot] <support@​redirect.github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.redirect.github.com>

  • cdc205 Ensure node is installed in release publisher (#63127)
  • cdb583 Bump github/codeql-action from 4.32.0 to 4.32.2 in the github-actions group (#63123)

    Signed-off-by: dependabot[bot] <support@​redirect.github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.redirect.github.com>

@michijs
Copy link
Copy Markdown
Contributor Author

michijs Bot commented May 4, 2026

Bump @​types/node from 25.5.0 to 25.6.0

Commit history:
  • 52ce0f 🤖 Merge PR #74946 msgpack5: pin bl dependency by @​Renegade334
  • 1d6099 🤖 Merge PR #74667 Add types for the Media Capture from DOM Elements draft (dom-mediacapture-fromelement) by @​haykam821
  • f414cf 🤖 Merge PR #74920 [gensync] Improve compatibility with `strictFunctionTypes` by @​liuxingbaoyu
  • 15c04e 🤖 dprint fmt
  • e8ea3b 🤖 Merge PR #74939 Update chance types to be module-first, global-second by @​chriskrycho
  • de9d7a 🤖 Merge PR #74935 [heic-decode] Fix HasBuffer.buffer type (TS2322 on @​types/node ≥24) by @​Naktibalda
  • ea4005 🤖 Merge PR #74919 Update `@​types/fhir`: regenerate from official FHIR NPM packages, add R5 support by @​bkaney
  • 9d8903 🤖 Merge PR #74924 Add myself as an owner of dom-speech-recognition by @​tonyherre
  • fe09c1 [vscode] Update for VS Code 1.118 (#74930)
  • 366ba8 Mark more packages as conflicting (#74926)
  • 137194 🤖 dprint fmt
  • dca1de 🤖 Merge PR #74925 feat: [screeps] bump version to v3.4.0 by @​DiamondMofeng
  • a61c3f Bump the github-actions group across 2 directories with 5 updates (#74901)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.redirect.github.com>

  • 0710f2 [office-js-preview] (Office) Update OnReadyOptions member (#74912)
  • 8090c0 🤖 Merge PR #74820 Add @​types/chartmogul-node for Invoice updateStatus/disable/enable, SubscriptionEvent disable/enable, and error fields by @​wscourge

    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@​anthropic.com>

  • e3d92c [office-js-preview] (Office) Add onReadyOptions API (#74911)
  • d23b3b 🤖 Merge PR #74909 [bun] update to v1.3.13 by @​RiskyMH
  • a29697 🤖 Merge PR #74908 [tabulator-tables] Fix placeholder callback return type by @​Tyoneb

    Co-authored-by: Benoit CHOMEL <benoit.chomel@​3ds.com>

  • 18b020 🤖 Merge PR #74907 [openui5] Update the definition files for OpenUI5 1.147 by @​akudev
  • 1aef0d Use GHA ubuntu-slim where reasonable (#74899)
  • e554a4 🤖 Merge PR #74906 Sync latest changes to @​types/google-publisher-tag by @​google-publisher-tag

    Co-authored-by: jimper <jimper@​users.noreply.redirect.github.com>

  • e612d4 🤖 Merge PR #74888 [mjml-core] Update mjml2html to return Promise for v5 by @​qchuchu
  • 7a9e6b 🤖 Update CODEOWNERS
  • 6f2271 🤖 Merge PR #74896 [telegram-web-app] add support for Bot API 9.6 by @​SecondThundeR
  • a17ae8 [office-js] [office-js-preview] (Excel) Remove incorrect param from datevalue method (#74893)
  • cb66ef [office-js] [office-js-preview] (Word) Desktop 1.5 release (#74894)
  • 445e91 🤖 dprint fmt
  • 3419dc 🤖 Merge PR #74882 [sharedb] fetch and submit backend methods by @​leumasic
  • d0cc0c 🤖 dprint fmt
  • 9ff61f 🤖 Merge PR #74818 Feature/mapping editor by @​agachuma

    Co-authored-by: Jan Hörnle <jhoernle@​ujam.com>
    Co-authored-by: Paul Kellett <paul.kellett@​mda-vst.com>

@michijs
Copy link
Copy Markdown
Contributor Author

michijs Bot commented May 4, 2026

Bump @​types/chrome from ^0.1.38 to ^0.1.40

Changelog:
Sourced from releases.
        ### 0.1.450
Commit history:
  • 52ce0f 🤖 Merge PR #74946 msgpack5: pin bl dependency by @​Renegade334
  • 1d6099 🤖 Merge PR #74667 Add types for the Media Capture from DOM Elements draft (dom-mediacapture-fromelement) by @​haykam821
  • f414cf 🤖 Merge PR #74920 [gensync] Improve compatibility with `strictFunctionTypes` by @​liuxingbaoyu
  • 15c04e 🤖 dprint fmt
  • e8ea3b 🤖 Merge PR #74939 Update chance types to be module-first, global-second by @​chriskrycho
  • de9d7a 🤖 Merge PR #74935 [heic-decode] Fix HasBuffer.buffer type (TS2322 on @​types/node ≥24) by @​Naktibalda
  • ea4005 🤖 Merge PR #74919 Update `@​types/fhir`: regenerate from official FHIR NPM packages, add R5 support by @​bkaney
  • 9d8903 🤖 Merge PR #74924 Add myself as an owner of dom-speech-recognition by @​tonyherre
  • fe09c1 [vscode] Update for VS Code 1.118 (#74930)
  • 366ba8 Mark more packages as conflicting (#74926)
  • 137194 🤖 dprint fmt
  • dca1de 🤖 Merge PR #74925 feat: [screeps] bump version to v3.4.0 by @​DiamondMofeng
  • a61c3f Bump the github-actions group across 2 directories with 5 updates (#74901)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.redirect.github.com>

  • 0710f2 [office-js-preview] (Office) Update OnReadyOptions member (#74912)
  • 8090c0 🤖 Merge PR #74820 Add @​types/chartmogul-node for Invoice updateStatus/disable/enable, SubscriptionEvent disable/enable, and error fields by @​wscourge

    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@​anthropic.com>

  • e3d92c [office-js-preview] (Office) Add onReadyOptions API (#74911)
  • d23b3b 🤖 Merge PR #74909 [bun] update to v1.3.13 by @​RiskyMH
  • a29697 🤖 Merge PR #74908 [tabulator-tables] Fix placeholder callback return type by @​Tyoneb

    Co-authored-by: Benoit CHOMEL <benoit.chomel@​3ds.com>

  • 18b020 🤖 Merge PR #74907 [openui5] Update the definition files for OpenUI5 1.147 by @​akudev
  • 1aef0d Use GHA ubuntu-slim where reasonable (#74899)
  • e554a4 🤖 Merge PR #74906 Sync latest changes to @​types/google-publisher-tag by @​google-publisher-tag

    Co-authored-by: jimper <jimper@​users.noreply.redirect.github.com>

  • e612d4 🤖 Merge PR #74888 [mjml-core] Update mjml2html to return Promise for v5 by @​qchuchu
  • 7a9e6b 🤖 Update CODEOWNERS
  • 6f2271 🤖 Merge PR #74896 [telegram-web-app] add support for Bot API 9.6 by @​SecondThundeR
  • a17ae8 [office-js] [office-js-preview] (Excel) Remove incorrect param from datevalue method (#74893)
  • cb66ef [office-js] [office-js-preview] (Word) Desktop 1.5 release (#74894)
  • 445e91 🤖 dprint fmt
  • 3419dc 🤖 Merge PR #74882 [sharedb] fetch and submit backend methods by @​leumasic
  • d0cc0c 🤖 dprint fmt
  • 9ff61f 🤖 Merge PR #74818 Feature/mapping editor by @​agachuma

    Co-authored-by: Jan Hörnle <jhoernle@​ujam.com>
    Co-authored-by: Paul Kellett <paul.kellett@​mda-vst.com>

@michijs
Copy link
Copy Markdown
Contributor Author

michijs Bot commented May 4, 2026

Bump playwright-core from 1.58.2 to 1.59.1

Changelog:
Sourced from releases.
        ### v1.59.1### Bug Fixes
  • [Windows] Reverted hiding console window when spawning browser processes, which caused regressions including broken codegen, --ui and show commands (#39990)

          ### v1.59.0## 🎬 Screencast
    

New page.screencast API provides a unified interface for capturing page content with:

  • Screencast recordings
  • Action annotations
  • Visual overlays
  • Real-time frame capture
  • Agentic video receipts
Demo

Screencast recording — record video with precise start/stop control, as an alternative to the recordVideo option:

await page.screencast.start({ path: 'video.webm' });
// ... perform actions ...
await page.screencast.stop();

Action annotations — enable built-in visual annotations that highlight interacted elements and display action titles during recording:

await page.screencast.showActions({ position: 'top-right' });

screencast.showActions() accepts position ('top-left', 'top', 'top-right', 'bottom-left', 'bottom', 'bottom-right'), duration (ms per annotation), and fontSize (px). Returns a disposable to stop showing actions.

Action annotations can also be enabled in test fixtures via the video option:

// playwright.config.ts
export default defineConfig({
  use: {
    video: {
      mode: 'on',
      show: {
        actions: { position: 'top-left' },
        test: { position: 'top-right' },
      },
    },
  },
});

Visual overlays — add chapter titles and custom HTML overlays on top of the page for richer narration:

await page.screencast.showChapter('Adding TODOs', {
  description: 'Type and press enter for each TODO',
  duration: 1000,
});

await page.screencast.showOverlay('<div style="color: red">Recording</div>');

Real-time frame capture — stream JPEG-encoded frames for custom processing like thumbnails, live previews, AI vision, and more:

await page.screencast.start({
  onFrame: ({ data }) => sendToVisionModel(data),
  size: { width: 800, height: 600 },
});

Agentic video receipts — coding agents can produce video evidence of their work. After completing a task, an agent can record a walkthrough video with rich annotations for human review:

await page.screencast.start({ path: 'receipt.webm' });
await page.screencast.showActions({ position: 'top-right' });

await page.screencast.showChapter('Verifying checkout flow', {
  description: 'Added coupon code support per ticket #1234',
});

// Agent performs the verification steps...
await page.locator('#coupon').fill('SAVE20');
await page.locator('#apply-coupon').click();
await expect(page.locator('.discount')).toContainText('20%');

await page.screencast.showChapter('Done', {
  description: 'Coupon applied, discount reflected in total',
});

await page.screencast.stop();

The resulting video serves as a receipt: chapter titles provide context, action annotations highlight each interaction, and the visual walkthrough is faster to review than text logs.

🔗 Interoperability

New browser.bind() API makes a launched browser available for playwright-cli, @&ZeroWidthSpace;playwright/mcp, and other clients to connect to.

Bind a browser — start a browser and bind it so others can connect:

const { endpoint } = await browser.bind('my-session', {
  workspaceDir: '/my/project',
});

Connect from playwright-cli — connect to the running browser from your favorite coding agent.

playwright-cli attach my-session
playwright-cli -s my-session snapshot

Connect from @​playwright/mcp — or point your MCP server to the running browser.

@&ZeroWidthSpace;playwright/mcp --endpoint=my-session

Connect from a Playwright client — use API to connect to the browser. Multiple clients at a time are supported!

const browser = await chromium.connect(endpoint);

Pass host and port options to bind over WebSocket instead of a named pipe:

const { endpoint } = await browser.bind('my-session', {
  host: 'localhost',
  port: 0,
});
// endpoint is a ws:// URL

Call browser.unbind() to stop accepting new connections.

📊 Observability

Run playwright-cli show to open the Dashboard that lists all the bound browsers, their statuses, and allows interacting with them:

  • See what your agent is doing on the background browsers
  • Click into the sessions for manual interventions
  • Open DevTools to inspect pages from the background browsers.
Demo - `playwright-cli` binds all of its browsers automatically, so you can see what your agents are doing. - Pass `PLAYWRIGHT_DASHBOARD=1` env variable to see all `@​playwright/test` browsers in the dashboard.

🐛 CLI debugger for agents

Coding agents can now run npx playwright test --debug=cli to attach and debug tests over playwright-cli — perfect for automatically fixing tests in agentic workflows:

$ npx playwright test --debug=cli
### Debugging Instructions
- Run "playwright-cli attach tw-87b59e" to attach to this test

$ playwright-cli attach tw-87b59e
### Session `tw-87b59e` created, attached to `tw-87b59e`.
Run commands with: playwright-cli --session=tw-87b59e <command>
### Paused
- Navigate to "/" at output/tests/example.spec.ts:4

$ playwright-cli --session tw-87b59e step-over
### Page
- Page URL: https://playwright.dev/
- Page Title: Fast and reliable end-to-end testing for modern web apps | Playwright
### Paused
- Expect "toHaveTitle" at output/tests/example.spec.ts:7

📋 CLI trace analysis for agents

Coding agents can run npx playwright trace to explore Playwright Trace and understand failing or flaky tests from the command line:

$ npx playwright trace open test-results/example-has-title-chromium/trace.zip
  Title:        example.spec.ts:3 › has title

$ npx playwright trace actions --grep="expect"
     # Time       Action                                                  Duration
  ──── ─────────  ─────────────────────────────────────────────────────── ────────
    9. 0:00.859  Expect "toHaveTitle"                                        5.1s  ✗

$ npx playwright trace action 9
  Expect "toHaveTitle"
  Error: expect(page).toHaveTitle(expected) failed
    Expected pattern: /Wrong Title/
    Received string:  "Fast and reliable end-to-end testing for modern web apps | Playwright"
    Timeout: 5000ms
  Snapshots
    available: before, after
    usage:     npx playwright trace snapshot 9 --name <before|after>

$ npx playwright trace snapshot 9 --name after
### Page
- Page Title: Fast and reliable end-to-end testing for modern web apps | Playwright

$ npx playwright trace close

♻️ await using

Many APIs now return async disposables, enabling the await using syntax for automatic cleanup:

await using page = await context.newPage();
{
  await using route = await page.route('**/*', route => route.continue());
  await using script = await page.addInitScript('console.log("init script here")');
  await page.goto('https://playwright.dev');
  // do something
}
// route and init script have been removed at this point

🔍 Snapshots and Locators

New APIs

Screencast

Storage, Console and Errors

Miscellaneous

🛠️ Other improvements

  • UI Mode has an option to only show tests affected by source changes.
  • UI Mode and Trace Viewer have improved action filtering.
  • HTML Reporter shows the list of runs from the same worker.
  • HTML Reporter allows filtering test steps for quick search.
  • New trace mode 'retain-on-failure-and-retries' records a trace for each test run and retains all traces when an attempt fails — great for comparing a passing trace with a failing one from a flaky test.

Known Issues ⚠️⚠️

Breaking Changes ⚠️

  • Removed macOS 14 support for WebKit. We recommend upgrading your macOS version, or keeping an older Playwright version.
  • Removed @&ZeroWidthSpace;playwright/experimental-ct-svelte package.

Browser Versions

  • Chromium 147.0.7727.15
  • Mozilla Firefox 148.0.2
  • WebKit 26.4

This version was also tested against the following stable channels:

  • Google Chrome 146

  • Microsoft Edge 146

          ### v1.58.2## Highlights
    

#39121 fix(trace viewer): make paths via stdin work
#39129 fix: do not force swiftshader on chromium mac

Browser Versions

  • Chromium 145.0.7632.6
  • Mozilla Firefox 146.0.1
  • WebKit 26.0
Commit history:
  • ec7ee9 chore(ci): bump create-github-app-token and azure/login to Node 24 majors (#40576)
  • 9ec5d7 fix(dashboard): handle null viewport in annotate screenshot (#40569)
  • a4ed1b fix(mcp): resolve extension channel/executablePath from CLI and env (#40572)
  • 37a589 docs: fix broken Playwright Extension and MCP repository links (#40571)
  • 0c04e8 fix(mcp): propagate --browser channel on --extension path (#40567)
  • c5ac83 docs(assertions): document Custom Expect Message for C# (#40566)
  • c9f869 feat(codegen): add xUnit target for .NET C# (#40561)
  • f4c9a8 fix(trace cli): confine trace attachment reads to trace dir (#40555)
  • 10fbbb test(mcp): await fetches in network tests to fix flake (#40553)
  • ae5733 chore: revert 9e555a9 (#40552)
  • 703f0c fix(fetch): drop authorization and recompute client cert on cross-ori… (#40547)
  • 4a80ee fix(mcp): require POST + custom header on /killkillkill (#40551)
  • 26219d fix(trace-viewer): validate snapshot popout ?r= scheme (#40546)
  • d6041b fix(trace-viewer): validate origin of postMessage trace blob (#40548)
  • 08ccdc fix(dashboard): drop hardcoded /ws guid (#40549)
  • 97b450 fix(cli): validate open args client-side, clean up on failures (#40550)
  • fbae9a fix(mcp): pick a writable output directory when cwd is unsuitable (#40544)
  • 212c3a fix(wsServer): reject WebSocket upgrades with cross-origin Origin (#40545)
  • 1d38ad fix(trace cli): confine attachment writes to output dir (#40542)
  • b80e42 fix(server): gate Playwright.newRequest behind denyLaunch (#40543)
  • 3160ca fix(trace-viewer): validate baseURL scheme before linking (#40539)
  • 24db89 Revert "feat(cli): add annotate command (#40520)" (#40540)
  • 4b4d03 chore: update contributors' guide (#40541)
  • 459fb7 feat(dashboard): add openDashboardForContext entry point (#40506)
  • 26d198 feat(html): support .zip reports in show-report (#40528)
  • 5c9a89 chore: nuke bad test (#40534)
  • 22c6d3 fix(android): gate Android.devices() behind denyLaunch (#40535)
  • d57fb3 devops: drop service mode from transport job (#40530)
  • e4002f docs(python): add FormData class to Python API (#40529)
  • 9e555a test(mcp): centralize dashboard bindTitle in cli fixtures (#40526)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants