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
ff41b07Thanks @petebacondarwin! - fix: resolve TypeError: createRenderer is not a function when built with Vite 8Vite 8 switched its bundler from Rollup to rolldown. The
@cloudflare/style-providerpackage ships a hybrid ESM+CJS build (itses/directory usesrequire()internally), which rolldown mishandles by generating an anonymous, unreachable module initializer — leavingcreateRendererasundefinedat runtime.Fixed by aliasing
@cloudflare/style-providerto its CJS entry (lib/index.js) invite.config.ts. Rolldown handles plain CJS correctly via its interop layer.
0.4.2
Patch Changes
- #11899
9a1cf29Thanks @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
a31ee0bThanks @petebacondarwin! - Migrate workers-playground from Cloudflare Pages to Cloudflare WorkersReplace 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 — theplayground-preview-workerhandles 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 productionplayground-preview-worker. It proxies/playground/api/*requests to the testingplayground-preview-worker, and for the/playgroundroute it fetches an auth cookie from the testing endpoint, transforms it for local use (strippingSameSite/Securedirectives and replacing the testing origin withlocalhost), and injects it into the response so the preview iframe can authenticate.The
playground-preview-workerreferer 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
b8c33f5Thanks @penalosa! - Remove prewarm, inspector_websocket, and exchange proxy from preview flowThe 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). Theprewarmparameter is no longer required or accepted by the.update-preview-tokenendpoint.The playground preview worker now treats
exchange_urlas 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 usingtail_urlfor live logs.
Patch Changes
-
#12823
784c5cbThanks @petebacondarwin! - The workers playground's VSCodeEditor'spostMessagetargetOriginis updated from'\*'to the specificquickEditHost.This prevents the workers-playground from accidentally posting to an incorrect iframe.
0.3.0
Minor Changes
-
#12549
10e2e15Thanks @penalosa! - Add expandable object logging and improved console UIThe 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
17b1e5aThanks @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
- #7936
2a59eaeThanks @edmundhung! - fix: sends raw request method through the X-CF-HTTP-Method header
0.2.2
Patch Changes
-
#7791
f8c11d7Thanks @CarmenPopoviciu! - Reverts #7639Seems 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
- #7639
99f27dfThanks @edmundhung! - fix: sends raw request method through the X-CF-HTTP-Method header
0.2.0
Minor Changes
-
#6962
a204747Thanks @edmundhung! - feat: delay preview environment setup until user interactionThe 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
-
#6528
c3441c5Thanks @penalosa! - feat: Prefix HTTP headers sent by the playground withcf-ew-raw- -
#6532
d80fccbThanks @penalosa! - feat: Add Wrangler CTA to the playground
0.0.7
Patch Changes
- Updated dependencies [
d2b7482]:- @cloudflare/workers-editor-shared@0.1.0
0.0.6
Patch Changes
-
#6029
f5ad1d3Thanks @threepointone! - chore: Normalize some dependencies in workers-sdkThis 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
c643a81Thanks @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
- #5838
609debdThanks @petebacondarwin! - fix: update undici to the latest version to avoid a potential vulnerability
0.0.4
Patch Changes
- #5482
1b7739eThanks @DaniFoldi! - docs: show new Discord url everywhere for consistency. The old URL still works, but https://discord.cloudflare.com is preferred.
0.0.3
Patch Changes
0.0.2
Patch Changes
-
#5043
9b1a186Thanks @penalosa! - feat: Python playground support -
#5196
b58ed9fThanks @penalosa! - fix: Renamefetchtoon_fetch
0.0.1
Patch Changes
- #4768
c3e410c2Thanks @petebacondarwin! - ci: bump undici versions to 5.28.2