Skip to content

Commit 046780c

Browse files
Version Packages
1 parent 6e09672 commit 046780c

File tree

4 files changed

+36
-38
lines changed

4 files changed

+36
-38
lines changed

.changeset/shaggy-frogs-tap.md

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

.changeset/thick-dots-sit.md

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

packages/wrangler/CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# wrangler
22

3+
## 3.114.11
4+
5+
### Patch Changes
6+
7+
- [#9776](https://github.com/cloudflare/workers-sdk/pull/9776) [`6e09672`](https://github.com/cloudflare/workers-sdk/commit/6e09672d26f29ebed1b359775b5adafa34a162b5) Thanks [@vicb](https://github.com/vicb)! - Cap the number of errors and warnings for bulk KV put to avoid consuming too much memory
8+
9+
- [#9694](https://github.com/cloudflare/workers-sdk/pull/9694) [`dacfc35`](https://github.com/cloudflare/workers-sdk/commit/dacfc3521da735e8d0d748e5b42ccb826660676c) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - add support for assets bindings to `getPlatformProxy`
10+
11+
this change makes sure that that `getPlatformProxy`, when the input configuration
12+
file contains an assets field, correctly returns the appropriate asset binding proxy
13+
14+
example:
15+
16+
```jsonc
17+
// wrangler.jsonc
18+
{
19+
"name": "my-worker",
20+
"assets": {
21+
"directory": "./public/",
22+
"binding": "ASSETS",
23+
},
24+
}
25+
```
26+
27+
```js
28+
import { getPlatformProxy } from "wrangler";
29+
30+
const { env, dispose } = await getPlatformProxy();
31+
32+
const text = await (await env.ASSETS.fetch("http://0.0.0.0/file.txt")).text();
33+
console.log(text); // logs the content of file.txt
34+
35+
await dispose();
36+
```
37+
338
## 3.114.10
439

540
### Patch Changes

packages/wrangler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wrangler",
3-
"version": "3.114.10",
3+
"version": "3.114.11",
44
"description": "Command-line interface for all things Cloudflare Workers",
55
"keywords": [
66
"wrangler",

0 commit comments

Comments
 (0)