Skip to content

v2.2.1

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Oct 19:44
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
cfe57bc

hron 2.2.1

hron 2.2.1 fixes the WebAssembly package, hron-wasm (#117). Every other package is unchanged from 2.2.0 and takes the new version number, because hron's packages share one version.

hron-wasm

  • No more Vite 8 warning: builds that use hron-wasm no longer print IMPORT_IS_UNDEFINED from its entry. That entry checked at runtime whether it ran in a bundler or in Cloudflare Workers, and the Workers branch read an import that a bundler never provides.
  • An entry per environment: bundlers now get wasm-bindgen's own entry, unchanged. Cloudflare Workers get their own through the package's workerd export condition, which Wrangler picks automatically. Each file of the package can still be imported by path.
  • Tested in Workers: the Workers entry is now tested in workerd, Cloudflare's runtime, on every change.

Other changes

  • The playground uses hron-wasm 2.2.0 (#116).

Full changelog: v2.2.0...v2.2.1