github cloudflare/workers-sdk @cloudflare/unenv-preset@2.9.0

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

Minor Changes

  • #11841 beb96af Thanks @vicb! - Add support for native node:sqlite module when the enable_nodejs_sqlite_module compatibility flag is enabled. This feature is currently experimental and requires nodejs_compat, experimental, and enable_nodejs_sqlite_module compatibility flags to be set.

  • #11834 5c59217 Thanks @vicb! - Export the list of built-in node modules that are available without the node: prefix.
    Modules that are only available with the node: prefix are not included (i.e. node:sqlite).
    Note that new modules will be added with the node: prefix only and not be added to the list.

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.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.