This repository was archived by the owner on Mar 13, 2025. It is now read-only.
v2.6.0
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: trueoption 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
--replflag. Any other flag can be passed too, and options will automatically be loaded fromwrangler.tomlfiles. Specifying a script is optional when--replis 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
servicesinstead ofexperimental_services, and usebindinginstead ofnamefor the binding name. Thanks @jrencz for the PR. issue #280. - Log warning instead of error when fetching
Request#cfobject fails. Closes issue #224, thanks @threepointone. - Increase the subrequest limit for
unboundworkers 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
namefromDurableObjectIds inDurableObjectStateto 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.