github cloudflare/workers-sdk @cloudflare/vite-plugin@1.20.2

latest releases: wrangler@4.59.1, @cloudflare/vitest-pool-workers@0.12.3, @cloudflare/vite-plugin@1.20.3...
12 hours ago

Patch Changes

  • #11834 5c59217 Thanks @vicb! - fix handling of Node builtin modules

    The list of builtin modules should not depend on the version of Node.
    Switch to using the lists published by @cloudflare/unenv-preset.

    This fixes an issue with trying to import i.e. node:sqlite with Node < 22.5.0
    which does not implement this module.

  • #11838 88a9e20 Thanks @jamesopstad! - Set build.rolldownOptions.resolve.extensions for compatibility with Vite 8 beta.

  • #11847 46e09a6 Thanks @jamesopstad! - Apply vite-plugin-cloudflare:nodejs-compat-warnings plugin only to relevant environments.

    This is an optimisation so that it doesn't run for the client environment or Worker environments that have the nodejs_compat compatibility flag enabled.

  • Updated dependencies [b0e54b2, ed60c4f, 5c59217, faa5753, e574ef3, b6148ed, beb96af, 5c59217, ab3859c, 0eb973d, ad65efa, fc96e5f, 43d5363, 0f8d69d]:

    • wrangler@4.59.0
    • miniflare@4.20260111.0
    • @cloudflare/unenv-preset@2.9.0

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.