Skip to content

@cloudflare/worker-bundler@0.2.3

Choose a tag to compare

@github-actions github-actions released this 18 Aug 09:08
· 5 commits to main since this release
d424945

Patch Changes

  • #2043 38bbf5a Thanks @abstractedfox! - Add Python package support.

    Existing worker-bundler users should note:

    • Automatic dependency installation accepts either package.json or pyproject.toml, not both. Projects that provide both must remove one manifest from the bundler input or install dependencies separately.
    • index.py is now considered before src/worker.ts and src/worker.js during default entry-point detection. Set entryPoint, server, or wrangler.main in projects where that is ambiguous.
    • Custom FileSystem.write() implementations used with Python packages must accept both strings and { data: Uint8Array } binary entries.
  • #2016 2ee8424 Thanks @ben-reitz! - Fix dependency extraction for npm tarballs whose enclosing directory is not named package, including DefinitelyTyped packages.