github cloudflare/miniflare v3.0.0-next.11

latest releases: v2.14.4, v2.14.3, 2.14.3...
pre-release20 months ago

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)

Don't miss a new miniflare release

NewReleases is sending notifications on new releases.