Skip to content

Commit

Permalink
Bump versions to 2.13.0, update CHANGELOG.md and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbbot committed Mar 23, 2023
1 parent 3107e63 commit 1a2cc36
Show file tree
Hide file tree
Showing 28 changed files with 419 additions and 382 deletions.
39 changes: 39 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# 🚧 Changelog

## 2.13.0

### Features

- Add support for `DurableObjectNamespace#jurisdiction()` method. Note the
passed `jurisdiction` is validated but otherwise ignored. IDs generated by
sub-namespaces in different jurisdictions will be the same. Thanks
[@DaniFoldi](https://github.com/DaniFoldi) for
[the PR](https://github.com/cloudflare/miniflare/pull/540).
- Add support for the non-standard `crypto.subtle.timingSafeEqual()` function.
Thanks [@DaniFoldi](https://github.com/DaniFoldi) for
[the PR](https://github.com/cloudflare/miniflare/pull/542).
- Remove requirement for `experimental` compatibility flag alongside
`nodejs_compat` to use `node:assert`, `node:buffer` and `node:util` modules.
Closes [issue #547](https://github.com/cloudflare/miniflare/issues/547),
thanks [@Skye-31](https://github.com/Skye-31) and
[@DaniFoldi](https://github.com/DaniFoldi) for
[the PR](https://github.com/cloudflare/miniflare/pull/548).

### Fixes

- Fix binding of `?N` parameters in D1 prepared statements. Closes issues
[#504](https://github.com/cloudflare/miniflare/issues/504),
[#526](https://github.com/cloudflare/miniflare/issues/526),
[cloudflare/workers-sdk#2811](https://github.com/cloudflare/workers-sdk/issues/2811)
and
[cloudflare/workers-sdk#2887](https://github.com/cloudflare/workers-sdk/issues/2887).
Thanks [@ruslantalpa](https://github.com/ruslantalpa) and
[@maurerbot](https://github.com/maurerbot).
- Fix cloning of `Response`s constructed with byte streams. Notably, byte
streams are returned from lots of Workers runtime APIs (e.g. KV, R2) to
support BYOB reads. Closes
[issue #527](https://github.com/cloudflare/miniflare/issues/527), thanks
[@cwkang1998](https://github.com/cwkang1998).
- Copy `Content-Length` from `Request`/`Response` `body` streams when
constructing a new `Request`/`Response` or calling `fetch`. Closes
[issue #522](https://github.com/cloudflare/miniflare/issues/522), thanks
[@notorca](https://github.com/notorca).

## 2.12.2

### Fixes
Expand Down
6 changes: 2 additions & 4 deletions docs/src/content/core/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ const mf = new Miniflare({

Specifically Miniflare supports the following flags:

- `nodejs_compat` (specifically the _`node:assert`_\*, `node:async_hooks`,
_`node:buffer`_\*, `node:events`, _`node:util`_\* modules)
- `nodejs_compat` (specifically the `node:assert`, `node:async_hooks`,
`node:buffer`, `node:events`, `node:util` modules)
- [`transformstream_enable_standard_constructor`/`transformstream_disable_standard_constructor`](https://developers.cloudflare.com/workers/platform/compatibility-dates#compliant-transformstream-constructor)
- [`streams_enable_constructors`/`streams_disable_constructors`](https://developers.cloudflare.com/workers/platform/compatibility-dates#streams-constructors)
- [`export_commonjs_default`/`export_commonjs_namespace`](https://developers.cloudflare.com/workers/platform/compatibility-dates#commonjs-modules-do-not-export-a-module-namespace)
Expand All @@ -80,5 +80,3 @@ Specifically Miniflare supports the following flags:
- [`fetch_refuses_unknown_protocols`/`fetch_treats_unknown_protocols_as_http`](https://developers.cloudflare.com/workers/platform/compatibility-dates#fetch-improperly-interprets-unknown-protocols-as-http)
- [`formdata_parser_supports_files`/`formdata_parser_converts_files_to_strings`](https://developers.cloudflare.com/workers/platform/compatibility-dates#formdata-parsing-supports-file)
- [`html_rewriter_treats_esi_include_as_void_tag`](https://developers.cloudflare.com/workers/platform/compatibility-dates#htmlrewriter-handling-of-esiinclude)

\* _Additionally requires the `experimental` compatibility flag to be set_
Loading

0 comments on commit 1a2cc36

Please sign in to comment.