

LIVERELOAD STATUS 101 SWITCHING PROTOCOLS UPGRADE
WebSocket handshake headers are now included in responses from the HTTP server and WebSocket upgrade fetches. Note this gets merged with the regular watch_dir option: watch_dir = "src1" build_watch_dirs = Thanks for the PR.Īllow multiple build watch paths to be set in wrangler.toml files. Closes issue #258, thanks Add jest-environment-miniflare's missing dependencies. Closes issue #235, thanks Re-export Request, RequestInfo, RequestInit and Response from miniflare. Closes issue #242, thanks Use lexicographic ordering for KV/Durable Object list()s. Make headers on returned fetch Responses immutable.Remove restriction on supported TextDecoder encodings.Closes issue #180, thanks and for the PR. Set incoming Accept-Encoding headers to gzip and put actual client encodings in request.cf.clientAcceptEncoding to match the behaviour of the Workers runtime.Closes issue #267, thanks and for the PR. Bump busboy to resolve a security issue.Closes issue #256, thanks and for the PR. Closes issue #250, thanks Correctly bind this in crypto and crypto.subtle. Wait for unawaited writes within a Durable Object transaction before attempting to commit.Closes issue #240, thanks Fix cases where BYOB readers didn't notice the end of the stream. Respect env_path option in wrangler.toml when using mounts or the Miniflare Jest environment.Closes issues #249 and #255, thanks and Fixed issue where 403 Forbidden responses were returned when a site behind Cloudflare was set as the upstream. By default, the Miniflare Jest environment will use the worker condition, followed by browser. Closes issue #266, thanks Add support for Jest 28 and custom export conditions. Closes issue #272, thanks Add support for the startAfter Durable Object list() option. Add support for the Response.json() static method.Closes issue #199, thanks and for the PR. ⏰ Add support for Durable Object alarms.Closes issue #297, thanks and for the PR. Fix DurableObjectStorage#list() when alarms are scheduled.Closes issue #290, thanks and for the PR. Closes issue #284, thanks Allow Durable Object alarms to be scheduled less than 30 seconds in the future. Closes issue #221, thanks Allow WebSockets to be closed without a status code. Closes issue #186, thanks Improve the error message when Durable Object bindings are missing a script to mention mounting.

Closes issue #174, thanks Correctly handle internationalised domain names in routes. Allow failure WebSocket upgrade responses.Remove name from DurableObjectIds in DurableObjectState to match the behaviour of the Workers runtime.Closes issue #274, thanks Fix logging of accessible hosts in Node.js 18

Closes issue #224, thanks Increase the subrequest limit for unbound workers from 50 to 1000, and limit the number of calls to internal APIs such as KV/Durable Object to 1000. Log warning instead of error when fetching Request#cf object fails.Load service bindings from services instead of experimental_services, and use binding instead of name for the binding name.Thanks for the idea over at cloudflare/wrangler2#1263.

The REPL can also be started programmatically via the Miniflare#startREPL() method. Specifying a script is optional when -repl is enabled. Any other flag can be passed too, and options will automatically be loaded from wrangler.toml files. Closes issue #206, thanks Add an interactive REPL via the -repl flag. Closes issue #225, thanks Add support for (De)CompressionStream. Closes issue #209, thanks Return fixed time from new Date()/ Date.now(), unless the -actual-time/ actualTime: true option is set, to match the behaviour the Workers runtime. Closes issue #276, thank you so much for the massive PR.
