v3.0.0-next.11
Pre-release
Pre-release
Features
-
Add support for D1 via the
d1Databases
option (#519)Note instead of providing a
D1Database
binding with the database name like Miniflare 2, we now provide a regularFetcher
service binding like the real runtime. -
Add support for the
durableObjectsPersist
option (#517) -
Log
cause
s of errors returned with theMF-Experimental-Error-Stack
header (#519) -
Propagate errors returned with the
MF-Experimental-Error-Stack
header throughdispatchFetch()
(assuming theAccept
header prevents thetext/html
-typed pretty-error page being returned) (#519)
Fixes
- Strip
MF-Custom-Service
header fromrequest
s to custom service bindings, closes #475 (#515) - Strip restricted headers from requests back from
workerd
to 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-sqlite3
to8.1.0
allowing installation on Node 19, closes #518 (#521)