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
startAfter
Durable 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
worker
condition, followed bybrowser
. Closes issues #249 and #255, thanks @awwong1 and @SupremeTechnopriest.
Fixes
- Fixed issue where
403 Forbidden
responses were returned when a site behind Cloudflare was set as the upstream. Closes issue #237, thanks @james-maher for the PR. - Respect
env_path
option inwrangler.toml
when 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
this
incrypto
andcrypto.subtle
. Closes issue #256, thanks @lmcarreiro and @awwong1 for the PR. - Bump
busboy
to resolve a security issue. Closes issue #267, thanks @grempe and @Cherry for the PR. - Set incoming
Accept-Encoding
headers togzip
and put actual client encodings inrequest.cf.clientAcceptEncoding
to match the behaviour of the Workers runtime. Closes issue #180, thanks @evanderkoogh and @leader22 for the PR. - Remove restriction on supported
TextDecoder
encodings. Closes issue #212. - Make
headers
on returnedfetch
Response
s immutable. Closes issue #242, thanks @nickreese. - Use lexicographic ordering for KV/Durable Object
list()
s. Closes issue #235, thanks @vlovich. - Re-export
Request
,RequestInfo
,RequestInit
andResponse
fromminiflare
. Closes issue #258, thanks @ajwootto. - Add
jest-environment-miniflare
's missingdependencies
. Thanks @BasixKOR for the PR.