Files
wehub-resource-sync 70bf21e064
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:30:11 +08:00

11 KiB

workers-playground

0.4.4

Patch Changes

  • Updated dependencies [3a746ac]:
    • @cloudflare/workers-editor-shared@0.1.2

0.4.3

Patch Changes

  • #13105 ff41b07 Thanks @petebacondarwin! - fix: resolve TypeError: createRenderer is not a function when built with Vite 8

    Vite 8 switched its bundler from Rollup to rolldown. The @cloudflare/style-provider package ships a hybrid ESM+CJS build (its es/ directory uses require() internally), which rolldown mishandles by generating an anonymous, unreachable module initializer — leaving createRenderer as undefined at runtime.

    Fixed by aliasing @cloudflare/style-provider to its CJS entry (lib/index.js) in vite.config.ts. Rolldown handles plain CJS correctly via its interop layer.

0.4.2

Patch Changes

  • #11899 9a1cf29 Thanks @hoodmane! - Remove cf-requirements support for Python workers. It hasn't worked with the runtime for a while now.

0.4.1

Patch Changes

  • #12655 a31ee0b Thanks @petebacondarwin! - Migrate workers-playground from Cloudflare Pages to Cloudflare Workers

    Replace the Cloudflare Pages deployment with a Workers + static assets deployment.

    In production (wrangler.jsonc), this is an assets-only Worker with no code entry point — the playground-preview-worker handles all routing and proxying in front of it.

    For local development, a separate config (wrangler.dev.jsonc) adds a Worker entry point (src/worker.ts) that replicates the proxying behavior of the production playground-preview-worker. It proxies /playground/api/* requests to the testing playground-preview-worker, and for the /playground route it fetches an auth cookie from the testing endpoint, transforms it for local use (stripping SameSite/Secure directives and replacing the testing origin with localhost), and injects it into the response so the preview iframe can authenticate.

    The playground-preview-worker referer allowlist is updated to also accept requests from *.workers-playground.workers.dev (in addition to the existing *.workers-playground.pages.dev).

0.4.0

Minor Changes

  • #12771 b8c33f5 Thanks @penalosa! - Remove prewarm, inspector_websocket, and exchange proxy from preview flow

    The preview session exchange endpoint (/exchange) has been removed from the edge-preview-authenticated-proxy — it has been unused since the dash started fetching the exchange URL directly (DEVX-979). The prewarm parameter is no longer required or accepted by the .update-preview-token endpoint.

    The playground preview worker now treats exchange_url as optional, falling back to the initial token from the edge-preview API when exchange is unavailable. Inspector websocket proxying and prewarm have been removed in favour of using tail_url for live logs.

Patch Changes

  • #12823 784c5cb Thanks @petebacondarwin! - The workers playground's VSCodeEditor's postMessage targetOrigin is updated from '\*' to the specific quickEditHost.

    This prevents the workers-playground from accidentally posting to an incorrect iframe.

0.3.0

Minor Changes

  • #12549 10e2e15 Thanks @penalosa! - Add expandable object logging and improved console UI

    The Quick Editor console now displays logged objects and arrays as expandable tree views instead of [object Object].

0.2.6

Patch Changes

0.2.5

Patch Changes

  • #9886 17b1e5a Thanks @dom96! - Python packages are now read from cf-requirements.txt instead of requirements.txt by default

0.2.4

Patch Changes

0.2.3

Patch Changes

0.2.2

Patch Changes

  • #7791 f8c11d7 Thanks @CarmenPopoviciu! - Reverts #7639

    Seems like our prev release of the workers-playground broke things. We are seeing a spike of related errors. We are therefore reverting the changes

0.2.1

Patch Changes

0.2.0

Minor Changes

  • #6962 a204747 Thanks @edmundhung! - feat: delay preview environment setup until user interaction

    The preview environment will now be set up after the user clicks the send or go button.

0.1.1

Patch Changes

  • Updated dependencies [7c95836]:
    • @cloudflare/workers-editor-shared@0.1.1

0.1.0

Minor Changes

0.0.7

Patch Changes

  • Updated dependencies [d2b7482]:
    • @cloudflare/workers-editor-shared@0.1.0

0.0.6

Patch Changes

  • #6029 f5ad1d3 Thanks @threepointone! - chore: Normalize some dependencies in workers-sdk

    This is the first of a few expected patches that normalize dependency versions, This normalizes undici, concurrently, @types/node, react, react-dom, @types/react, @types/react-dom, eslint, typescript. There are no functional code changes (but there are a couple of typecheck fixes).

  • #6046 c643a81 Thanks @threepointone! - chore: Normalize more dependencies.

    Follow up to https://github.com/cloudflare/workers-sdk/pull/6029, this normalizes some more dependencies : get-port, chalk, yargs, toucan-js, @typescript-eslint/parser, @typescript-eslint/eslint-plugin, esbuild-register, hono, glob-to-regexp, @cloudflare/workers-types

0.0.5

Patch Changes

0.0.4

Patch Changes

0.0.3

Patch Changes

0.0.2

Patch Changes

0.0.1

Patch Changes