Skip to content

v3.0.0-next.11

Pre-release
Pre-release
Compare
Choose a tag to compare
@mrbbot mrbbot released this 27 Feb 14:57
· 196 commits to tre since this 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 regular Fetcher service binding like the real runtime.

  • Add support for the durableObjectsPersist option (#517)

  • Log causes of errors returned with the MF-Experimental-Error-Stack header (#519)

  • Propagate errors returned with the MF-Experimental-Error-Stack header through dispatchFetch() (assuming the Accept header prevents the text/html-typed pretty-error page being returned) (#519)

Fixes

  • Strip MF-Custom-Service header from requests 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 binding fetch(), closes #488 (#515)
  • Bump better-sqlite3 to 8.1.0 allowing installation on Node 19, closes #518 (#521)