Skip to content

Commit 803a1db

Browse files
Version Packages
1 parent e78186d commit 803a1db

16 files changed

Lines changed: 83 additions & 46 deletions

File tree

.changeset/dependabot-update-11908.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/native-dgram-module.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/original-hostname-header.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.changeset/ten-pants-wash.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/miniflare/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# miniflare
22

3+
## 4.20260114.0
4+
5+
### Minor Changes
6+
7+
- [#11883](https://github.com/cloudflare/workers-sdk/pull/11883) [`4714ca1`](https://github.com/cloudflare/workers-sdk/commit/4714ca12c1f24c7e3553d3bfd2812a833a07826c) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Add `MF-Original-Hostname` header when using the `upstream` option
8+
9+
When using the `upstream` option in Miniflare, the `Host` header is rewritten to match the upstream server, which means the original hostname is lost. This change adds a new `MF-Original-Hostname` header that preserves the original hostname from the incoming request.
10+
11+
This allows Workers to access the original hostname when proxying requests through an upstream server:
12+
13+
```js
14+
export default {
15+
async fetch(request) {
16+
const originalHostname = request.headers.get("MF-Original-Hostname");
17+
// originalHostname contains the hostname before it was rewritten
18+
},
19+
};
20+
```
21+
22+
### Patch Changes
23+
24+
- [#11908](https://github.com/cloudflare/workers-sdk/pull/11908) [`e78186d`](https://github.com/cloudflare/workers-sdk/commit/e78186dae926c0ae1ab387aaa6cb8ba53bed9992) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "miniflare", "wrangler"
25+
26+
The following dependency versions have been updated:
27+
28+
| Dependency | From | To |
29+
| ---------- | ------------ | ------------ |
30+
| workerd | 1.20260111.0 | 1.20260114.0 |
31+
332
## 4.20260111.0
433

534
### Patch Changes

packages/miniflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "miniflare",
3-
"version": "4.20260111.0",
3+
"version": "4.20260114.0",
44
"description": "Fun, full-featured, fully-local simulator for Cloudflare Workers",
55
"keywords": [
66
"cloudflare",

packages/pages-shared/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @cloudflare/pages-shared
22

3+
## 0.13.99
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`e78186d`](https://github.com/cloudflare/workers-sdk/commit/e78186dae926c0ae1ab387aaa6cb8ba53bed9992), [`4714ca1`](https://github.com/cloudflare/workers-sdk/commit/4714ca12c1f24c7e3553d3bfd2812a833a07826c)]:
8+
- miniflare@4.20260114.0
9+
310
## 0.13.98
411

512
### Patch Changes

packages/pages-shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudflare/pages-shared",
3-
"version": "0.13.98",
3+
"version": "0.13.99",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/cloudflare/workers-sdk.git",

packages/unenv-preset/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @cloudflare/unenv-preset
22

3+
## 2.10.0
4+
5+
### Minor Changes
6+
7+
- [#11701](https://github.com/cloudflare/workers-sdk/pull/11701) [`fec8f5b`](https://github.com/cloudflare/workers-sdk/commit/fec8f5b82e0bb64400bbfcced302748dbe9a3062) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Add support for native `node:dgram` module when the `enable_nodejs_dgram_module` compatibility flag is enabled. This feature is currently experimental and requires both the `enable_nodejs_dgram_module` and `experimental` compatibility flags to be set.
8+
39
## 2.9.0
410

511
### Minor Changes

packages/unenv-preset/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudflare/unenv-preset",
3-
"version": "2.9.0",
3+
"version": "2.10.0",
44
"description": "cloudflare preset for unenv",
55
"keywords": [
66
"cloudflare",

0 commit comments

Comments
 (0)