Features
- 🪣 Add support for R2 bucket bindings. Closes issue #276, thank you so much @CraigglesO for the massive PR.
- Add support for
navigator.userAgent
. Closes issue #209, thanks @Electroid. - 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 #225, thanks @ItalyPaleAle. - Add support for
(De)CompressionStream
. Closes issue #206, thanks @Electroid. - Add an interactive REPL via the
--repl
flag. Any other flag can be passed too, and options will automatically be loaded fromwrangler.toml
files. Specifying a script is optional when--repl
is enabled. The REPL can also be started programmatically via theMiniflare#startREPL()
method. See for more details. Thanks @threepointone for the idea over at cloudflare/wrangler2#1263.
Fixes
- Load service bindings from
services
instead ofexperimental_services
, and usebinding
instead ofname
for the binding name. Thanks @jrencz for the PR. issue #280. - Log warning instead of error when fetching
Request#cf
object fails. Closes issue #224, thanks @threepointone. - 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. Closes issue #274, thanks @isaac-mcfadyen. - Fix logging of accessible hosts in Node.js 18
- Remove
name
fromDurableObjectId
s inDurableObjectState
to match the behaviour of the Workers runtime. Closes issue #219. - Allow failure WebSocket upgrade responses. Closes issue #174, thanks @jinjor.
- Correctly handle internationalised domain names in routes. Closes issue #186, thanks @dsod.
- Improve the error message when Durable Object bindings are missing a script to mention mounting. Closes issue #221, thanks @konsumer.
- Allow WebSockets to be closed without a status code. Closes issue #284, thanks @hansottowirtz.
- Allow Durable Object alarms to be scheduled less than 30 seconds in the future. Closes issue #290, thanks @wighawag and @CraigglesO for the PR.
- Fix
DurableObjectStorage#list()
when alarms are scheduled. Closes issue #297, thanks @evanderkoogh and @CraigglesO for the PR.