Skip to content

Commit 96e97af

Browse files
committed
make changeset clearer
1 parent f090f3a commit 96e97af

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.changeset/async-read-config.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,11 @@
44
"@cloudflare/vitest-pool-workers": minor
55
---
66

7-
Make `experimental_readRawConfig` and `unstable_getMiniflareWorkerOptions` async
7+
Make the exported APIs from Wrangler `experimental_readRawConfig()`, `unstable_getMiniflareWorkerOptions()`, and `unstable_readConfig()` async.
8+
9+
If you'd previously been relying on these unstable APIs, update the callsite to `await` the promise:
10+
11+
```diff
12+
- const config = wrangler.unstable_readConfig()
13+
+ const config = await wrangler.unstable_readConfig()
14+
```

0 commit comments

Comments
 (0)