This repository was archived by the owner on Mar 13, 2025. It is now read-only.
v2.5.0
Features
- β° Add support for Durable Object alarms. Thanks @CraigglesO for the PR.
- Add support for
URLPattern. Closes issue #199, thanks @Electroid and @tom-sherman for the PR. - Add support for the
Response.json()static method. Closes issue #272, thanks @Cherry. - Add support for the
startAfterDurable Objectlist()option. Closes issue #266, thanks @vlovich. - Add support for Jest 28 and custom export conditions. By default, the Miniflare Jest environment will use the
workercondition, followed bybrowser. Closes issues #249 and #255, thanks @awwong1 and @SupremeTechnopriest.
Fixes
- Fixed issue where
403 Forbiddenresponses were returned when a site behind Cloudflare was set as the upstream. Closes issue #237, thanks @james-maher for the PR. - Respect
env_pathoption inwrangler.tomlwhen using mounts or the Miniflare Jest environment. Closes issue #240, thanks @bkniffler. - Fix cases where BYOB readers didn't notice the end of the stream. Closes issue #192, thanks @vlovich for the PR.
- Wait for unawaited writes within a Durable Object transaction before attempting to commit. Closes issue #250, thanks @vlovich.
- Correctly bind
thisincryptoandcrypto.subtle. Closes issue #256, thanks @lmcarreiro and @awwong1 for the PR. - Bump
busboyto resolve a security issue. Closes issue #267, thanks @grempe and @Cherry for the PR. - Set incoming
Accept-Encodingheaders togzipand put actual client encodings inrequest.cf.clientAcceptEncodingto match the behaviour of the Workers runtime. Closes issue #180, thanks @evanderkoogh and @leader22 for the PR. - Remove restriction on supported
TextDecoderencodings. Closes issue #212. - Make
headerson returnedfetchResponses immutable. Closes issue #242, thanks @nickreese. - Use lexicographic ordering for KV/Durable Object
list()s. Closes issue #235, thanks @vlovich. - Re-export
Request,RequestInfo,RequestInitandResponsefromminiflare. Closes issue #258, thanks @ajwootto. - Add
jest-environment-miniflare's missingdependencies. Thanks @BasixKOR for the PR.