github cloudflare/miniflare v2.14.0

latest releases: v2.14.4, v2.14.3, 2.14.3...
18 months ago

Features

  • Add support for the Ed25519 algorithm and mark X448/Ed448 algorithms as unsupported. Thanks @panva for jose's comprehensive test suite.
  • Add ExecutionContext as a global value to Miniflare's unit testing environments' global types. Miniflare injects the ExecutionContext class into testing environments, so they can be constructed and passed to imported module event handlers. This change ensures new ExecutionContext() isn't a type error.
  • Allow wrangler.toml build.watch_dir to be an array of directories. Thanks @sj-e2digital for the PR.

Fixes

  • Ensure queue consumers are registered when using Miniflare's unit testing environments.
  • Fix crash when calling Miniflare#reload() with queue consumers set. Closes issue #560, thanks @calebmer.
  • Add @miniflare/core as a dependency of @miniflare/r2. Closes issue #559, thanks @calebmer.
  • Update @miniflare/d1 README with new API

Don't miss a new miniflare release

NewReleases is sending notifications on new releases.