Change8

@cloudflare/kv-asset-handler@0.4.1

Breaking Changes
📦 cloudflare-workersView on GitHub →
2 breaking2 features

Summary

This patch refactors the SDK to generate ESM modules and introduces official support for running on Node.js version 22 and newer.

⚠️ Breaking Changes

  • The SDK now generates ESM modules, which might require updates to how dependencies are imported if you were relying on CommonJS module resolution.
  • Support for Node 22+ has been added, which may introduce subtle environment differences if your build process was tightly coupled to older Node versions.

Migration Steps

  1. Review your import statements to ensure compatibility with ESM module generation, especially if using CommonJS syntax.
  2. Verify functionality when running on Node.js version 22 or newer.

✨ New Features

  • Refactored to generate ESM modules.
  • Added support for Node 22+.