This repository was archived by the owner on Mar 13, 2025. It is now read-only.
v3.0.0-next.11
Pre-release
Pre-release
Features
-
Add support for D1 via the
d1Databasesoption (#519)Note instead of providing a
D1Databasebinding with the database name like Miniflare 2, we now provide a regularFetcherservice binding like the real runtime. -
Add support for the
durableObjectsPersistoption (#517) -
Log
causes of errors returned with theMF-Experimental-Error-Stackheader (#519) -
Propagate errors returned with the
MF-Experimental-Error-Stackheader throughdispatchFetch()(assuming theAcceptheader prevents thetext/html-typed pretty-error page being returned) (#519)
Fixes
- Strip
MF-Custom-Serviceheader fromrequests to custom service bindings, closes #475 (#515) - Strip restricted headers from requests back from
workerdto Miniflare, closes #476 (#515) - Allow clean exit when using the Cache API, closes #481 (#515)
- Preserve URL passed to
Miniflare#dispatchFetch()and custom service bindingfetch(), closes #488 (#515) - Bump
better-sqlite3to8.1.0allowing installation on Node 19, closes #518 (#521)