Skip to content

v0.3.9

Choose a tag to compare

@justinvdm justinvdm released this 12 Sep 13:49
· 902 commits to main since this release

What's Changed

Worth mentioning

We changed starters and the sdk to use ~4.20.5 as the version range instead of ^4.20.5 - with the recently released v4.36.0 version of wrangler, the current 0.3.x starters showed this error when running the dev server:

failed to load config from /Users/justin/rw/blotter/test-wrangler-update/vite.config.mts
error when starting dev server:
file:///Users/justin/rw/blotter/test-wrangler-update/node_modules/.pnpm/@cloudflare+vite-plugin@1.7.4_rollup@4.50.1_vite@6.3.6_@types+node@22.18.1_terser@5.44._49379c5e2b7e35667f90a51cfe2a5a4d/node_modules/@cloudflare/vite-plugin/dist/index.js:13606
  experimental_maybeStartOrUpdateRemoteProxySession,
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Named export 'experimental_maybeStartOrUpdateRemoteProxySession' not found. The requested module 'wrangler' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'wrangler';

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:220:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:321:5)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26)
    at async loadConfigFromBundledFile (file:///Users/justin/rw/blotter/test-wrangler-update/node_modules/.pnpm/vite@6.3.6_@types+node@22.18.1_terser@5.44.0/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:49435:15)
    at async bundleAndLoadConfigFile (file:///Users/justin/rw/blotter/test-wrangler-update/node_modules/.pnpm/vite@6.3.6_@types+node@22.18.1_terser@5.44.0/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:49278:22)
    at async loadConfigFromFile (file:///Users/justin/rw/blotter/test-wrangler-update/node_modules/.pnpm/vite@6.3.6_@types+node@22.18.1_terser@5.44.0/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:49241:44)
    at async resolveConfig (file:///Users/justin/rw/blotter/test-wrangler-update/node_modules/.pnpm/vite@6.3.6_@types+node@22.18.1_terser@5.44.0/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:48737:24)
    at async _createServer (file:///Users/justin/rw/blotter/test-wrangler-update/node_modules/.pnpm/vite@6.3.6_@types+node@22.18.1_terser@5.44.0/node_modules/vite/dist/node/chunks/dep-Bu492Fnd.js:38347:18)
    at async CAC.<anonymous> (file:///Users/justin/rw/blotter/test-wrangler-update/node_modules/.pnpm/vite@6.3.6_@types+node@22.18.1_terser@5.44.0/node_modules/vite/dist/node/cli.js:753:20)
 ELIFECYCLE  Command failed with exit code 1.

Full Changelog: v0.3.8...v0.3.9