Skip to content

Commit dced461

Browse files
Version Packages
1 parent cbf59ef commit dced461

13 files changed

Lines changed: 72 additions & 45 deletions

File tree

.changeset/detect-waf-block-response.md

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

.changeset/stream-local-video-serving.md

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

.changeset/vitest-pool-workers-reset-helper.md

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

packages/miniflare/CHANGELOG.md

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

3+
## 4.20260421.1
4+
5+
### Minor Changes
6+
7+
- [#13234](https://github.com/cloudflare/workers-sdk/pull/13234) [`7fc50c1`](https://github.com/cloudflare/workers-sdk/commit/7fc50c1e5a6dfaaba84e774f4a5053716dae15ee) Thanks [@natewong1313](https://github.com/natewong1313)! - Support serving videos locally, add `publicUrl` option for stable stream preview URLs, and add caption upload support via ReadableStream
8+
9+
Videos uploaded while in local mode are now served at `/cdn-cgi/mf/stream/<video-id>/watch`. The `preview` field in `StreamVideo` is now directly fetchable during development.
10+
11+
A new `publicUrl` option on `MiniflareOptions` allows callers (e.g. Wrangler, the Vite plugin) to advertise a stable, externally-reachable URL for the Miniflare instance. When set, Stream preview URLs use this value instead of the runtime entry URL, so they remain valid across runtime restarts and port changes. The same value is also exposed as a mutable `miniflare.publicUrl` property.
12+
13+
The helper functions `buildPublicUrl` and `getLocallyAccessibleHost` are now exported from `miniflare`, enabling consumers to construct client-reachable URLs that correctly handle IPv6 addresses (bracketing) and wildcard listen addresses (`0.0.0.0`, `::`, `*``127.0.0.1`).
14+
15+
Caption uploads via `ReadableStream` are now supported in local mode. They no longer throw a "not supported in local mode" error.
16+
317
## 4.20260421.0
418

519
### 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.20260421.0",
3+
"version": "4.20260421.1",
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.128
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`7fc50c1`](https://github.com/cloudflare/workers-sdk/commit/7fc50c1e5a6dfaaba84e774f4a5053716dae15ee)]:
8+
- miniflare@4.20260421.1
9+
310
## 0.13.127
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.127",
3+
"version": "0.13.128",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/cloudflare/workers-sdk.git",

packages/vite-plugin-cloudflare/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @cloudflare/vite-plugin
22

3+
## 1.33.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`d5e3c57`](https://github.com/cloudflare/workers-sdk/commit/d5e3c57207f2c76defee1878c3cfaa8ca41dbcc7), [`7fc50c1`](https://github.com/cloudflare/workers-sdk/commit/7fc50c1e5a6dfaaba84e774f4a5053716dae15ee)]:
8+
- wrangler@4.84.2
9+
- miniflare@4.20260421.1
10+
311
## 1.33.1
412

513
### Patch Changes

packages/vite-plugin-cloudflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudflare/vite-plugin",
3-
"version": "1.33.1",
3+
"version": "1.33.2",
44
"description": "Cloudflare plugin for Vite",
55
"keywords": [
66
"cloudflare",

packages/vitest-pool-workers/CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# @cloudflare/vitest-pool-workers
22

3+
## 0.15.0
4+
5+
### Minor Changes
6+
7+
- [#13623](https://github.com/cloudflare/workers-sdk/pull/13623) [`b156b2e`](https://github.com/cloudflare/workers-sdk/commit/b156b2e420351852b408d13c2bea10105ad96390) Thanks [@penalosa](https://github.com/penalosa)! - Add `reset()` and `abortAllDurableObjects()` helpers to `cloudflare:test`
8+
9+
The `reset()` helper deletes all data from attached bindings, and resets all Durable Object instances. This is useful for resetting state between test blocks.
10+
11+
The `abortAllDurableObjects()` helper resets all Durable Object instances without deleting persisted data.
12+
13+
```ts
14+
import { reset } from "cloudflare:test";
15+
import { afterEach } from "vitest";
16+
17+
afterEach(async () => {
18+
await reset();
19+
});
20+
```
21+
22+
### Patch Changes
23+
24+
- Updated dependencies [[`d5e3c57`](https://github.com/cloudflare/workers-sdk/commit/d5e3c57207f2c76defee1878c3cfaa8ca41dbcc7), [`7fc50c1`](https://github.com/cloudflare/workers-sdk/commit/7fc50c1e5a6dfaaba84e774f4a5053716dae15ee)]:
25+
- wrangler@4.84.2
26+
- miniflare@4.20260421.1
27+
328
## 0.14.9
429

530
### Patch Changes

0 commit comments

Comments
 (0)