Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .changeset/dependabot-update-13557.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"miniflare": patch
"wrangler": patch
---

Update dependencies of "miniflare", "wrangler"

The following dependency versions have been updated:

| Dependency | From | To |
| ---------- | ------------ | ------------ |
| workerd | 1.20260415.1 | 1.20260416.2 |
7 changes: 7 additions & 0 deletions .changeset/rename-flags-to-flagship.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"miniflare": patch
---

Rename `Flags` type to `Flagship` to match the upstream rename in `@cloudflare/workers-types`

The `Flags` type was renamed to `Flagship` in `@cloudflare/workers-types`. This updates the import and the return type of `getFlagshipBinding` accordingly.
2 changes: 1 addition & 1 deletion packages/miniflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@cspotcode/source-map-support": "0.8.1",
"sharp": "^0.34.5",
"undici": "catalog:default",
"workerd": "1.20260415.1",
"workerd": "1.20260416.2",
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
"ws": "catalog:default",
"youch": "4.1.0-beta.10"
},
Expand Down
7 changes: 5 additions & 2 deletions packages/miniflare/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ import type {
D1Database,
DurableObjectNamespace,
Fetcher,
Flags,
Flagship,
ImagesBinding,
KVNamespace,
KVNamespaceListKey,
Expand Down Expand Up @@ -2976,7 +2976,10 @@ export class Miniflare {
}> {
return this.#getProxy(HELLO_WORLD_PLUGIN_NAME, bindingName, workerName);
}
getFlagshipBinding(bindingName: string, workerName?: string): Promise<Flags> {
getFlagshipBinding(
bindingName: string,
workerName?: string
): Promise<Flagship> {
return this.#getProxy(FLAGSHIP_PLUGIN_NAME, bindingName, workerName);
}
getStreamBinding(
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"miniflare": "workspace:*",
"path-to-regexp": "6.3.0",
"unenv": "2.0.0-rc.24",
"workerd": "1.20260415.1"
"workerd": "1.20260416.2"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.721.0",
Expand Down
Loading
Loading