This repository was archived by the owner on Mar 13, 2025. It is now read-only.
v2.14.0
Features
- Add support for the
Ed25519algorithm and markX448/Ed448algorithms as unsupported. Thanks @panva forjose's comprehensive test suite. - Add
ExecutionContextas a global value to Miniflare's unit testing environments' global types. Miniflare injects theExecutionContextclass into testing environments, so they can be constructed and passed to imported module event handlers. This change ensuresnew ExecutionContext()isn't a type error. - Allow
wrangler.tomlbuild.watch_dirto 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/coreas a dependency of@miniflare/r2. Closes issue #559, thanks @calebmer. - Update
@miniflare/d1READMEwith new API