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 for the PR.
Add support for the non-standard crypto.subtle.timingSafeEqual() function. Thanks @DaniFoldi for the PR.
Remove requirement for experimental compatibility flag alongside nodejs_compat to use node:assert, node:buffer and node:util modules. Closes [issue #547](cloudflare/miniflare#547), thanks @Skye-31 and @DaniFoldi for the PR.
Fix cloning of Responses 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](cloudflare/miniflare#527), thanks @cwkang1998.
Copy Content-Length from Request/Responsebody streams when constructing a new Request/Response or calling fetch. Closes [issue #522](cloudflare/miniflare#522), thanks @notorca.
Ensure global uniqueness of Durable Objects across mounts. Previously, it was possible to have multiple Durable Object instances with the same ID if they were created from different mounts. Closes #461, thanks @Finistere.
Return a R2MultipartUpload instead of a Promise<R2MultipartUpload> from R2Bucket#resumeMultipartUpload(). Thanks @notorca for the PR.
Copy known-lengths from FixedLengthStreams and Request/Responsebody streams when calling ReadableStream#tee(). Closes [issue #506](cloudflare/miniflare#506), thanks @notorca.
Add support for the new WebSocket() constructor. This is an alternative standard API to fetch-with-Upgrade: websocket for creating WebSocket clients.
Add support for the nodejs_compat compatibility flag, specifically the node:assert, node:async_hooks, node:buffer, node:events, and node:util modules. For now, the experimental compatibility flag must also be enabled to use node:assert, node:buffer or node:events. Thanks @GregBrimble for the PR.
Extract out types for test environment global helper functions. Add either jest-environment-miniflare/globals or vitest-environment-miniflare/globals to your tsconfig.json's types array to include them. Closes [issue #94](cloudflare/miniflare#94), thanks @ryan-mars.
#2966e351afcf Thanks @GregBrimble! - feat: Add support for the undocumented _worker.js/ directory in Pages
#3095133c0423 Thanks @zebp! - feat: add support for placement in wrangler config
Allows a placement object in the wrangler config with a mode of off or smart to configure Smart placement. Enabling Smart Placement can be done in your wrangler.toml like:
Intercept requests from DevTools in Wrangler to inject sourcemaps and enable folders in the Sources Panel of DevTools. When errors are thrown in your Worker, DevTools should now show your source file in the Sources panel, rather than Wrangler's bundled output.
Patch Changes
#29125079f476 Thanks @petebacondarwin! - fix: do not render "value of stdout.lastframe() is undefined" if the output is an empty string
Wrangler no longer buffers all assets into memory before uploading. This should prevent out-of-memory errors when publishing sites with many large files.
Wrangler now limits the number of in-flight asset upload requests to 5, fixing the Too many bulk operations already in progress error.
Wrangler now correctly logs upload progress. Previously, the reported percentage was per upload request group, not across all assets.
Wrangler no longer logs all assets to the console by default. Instead, it will just log the first 100. The rest can be shown by setting the WRANGLER_LOG=debug environment variable. A splash of colour has also been added.
#2966e351afcf Thanks @GregBrimble! - feat: Add support for the undocumented _worker.js/ directory in Pages
#3095133c0423 Thanks @zebp! - feat: add support for placement in wrangler config
Allows a placement object in the wrangler config with a mode of off or smart to configure Smart placement. Enabling Smart Placement can be done in your wrangler.toml like:
Intercept requests from DevTools in Wrangler to inject sourcemaps and enable folders in the Sources Panel of DevTools. When errors are thrown in your Worker, DevTools should now show your source file in the Sources panel, rather than Wrangler's bundled output.
Patch Changes
#29125079f476 Thanks @petebacondarwin! - fix: do not render "value of stdout.lastframe() is undefined" if the output is an empty string
Wrangler no longer buffers all assets into memory before uploading. This should prevent out-of-memory errors when publishing sites with many large files.
Wrangler now limits the number of in-flight asset upload requests to 5, fixing the Too many bulk operations already in progress error.
Wrangler now correctly logs upload progress. Previously, the reported percentage was per upload request group, not across all assets.
Wrangler no longer logs all assets to the console by default. Instead, it will just log the first 100. The rest can be shown by setting the WRANGLER_LOG=debug environment variable. A splash of colour has also been added.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/cdnjs/api-server/network/alerts).
Bumps undici to 5.20.0 and updates ancestor dependencies undici, miniflare and wrangler. These dependencies need to be updated together.
Updates
undici
from 5.9.1 to 5.20.0Release notes
Sourced from undici's releases.
... (truncated)
Commits
28b9dea
Bumped v5.20.030dafe3
feat: change headersTimeout and bodyTimeout to 300s (#1937)eaf4dc9
test: more logs in wpt runner (#1933)8b8bfa7
fix: copy cookies when cloning haders (#1936)eae6807
feat: Support autoSelectFamily when connecting. (#1914)c2387e8
fix: Allow “undefined“ as value in headers (#1929)f73ec63
fix: disable websocket wpts in ci :( (#1932)2971280
perf: improve cookie parsing performance (#1931)984d53b
Bumped v5.19.16c32c0f
lint fixesUpdates
miniflare
from 2.9.0 to 2.13.0Release notes
Sourced from miniflare's releases.
... (truncated)
Commits
Updates
wrangler
from 2.1.9 to 2.20.0Release notes
Sourced from wrangler's releases.
... (truncated)
Changelog
Sourced from wrangler's changelog.
... (truncated)
Commits
738e52f
Version Packages (#3149)5b234cf
Add output for tail being in sampling mode (#3146)133c042
[wrangler] feat: add support for placement in wrangler config (#3095)5fd080c
Support sourcemaps in DevTools (#3140)d078800
nodejs compat functions build (#3133)5079f47
fix: do not render "value of stdout.lastframe() is undefined" if the output i...e351afc
_worker.js/
directory support in Pages (#2966)a029439
Version Packages (#3122)c32f514
[wrangler] feat: Support for Constellation AI (#3091)53a61f3
Version Packages (#3105)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/cdnjs/api-server/network/alerts).