From 27784fb6e53c9c4ad0f032a277d64c99e3e70805 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 15:38:07 -0400 Subject: [PATCH] Version Packages (#1936) Co-authored-by: github-actions[bot] --- .changeset/blue-pots-thank.md | 8 -------- .changeset/brave-ties-obey.md | 7 ------- .changeset/curvy-laws-develop.md | 5 ----- .changeset/proud-cheetahs-kick.md | 7 ------- .changeset/silly-beans-film.md | 5 ----- .changeset/tall-radios-report.md | 13 ------------- package-lock.json | 2 +- packages/wrangler/CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ packages/wrangler/package.json | 2 +- 9 files changed, 33 insertions(+), 47 deletions(-) delete mode 100644 .changeset/blue-pots-thank.md delete mode 100644 .changeset/brave-ties-obey.md delete mode 100644 .changeset/curvy-laws-develop.md delete mode 100644 .changeset/proud-cheetahs-kick.md delete mode 100644 .changeset/silly-beans-film.md delete mode 100644 .changeset/tall-radios-report.md diff --git a/.changeset/blue-pots-thank.md b/.changeset/blue-pots-thank.md deleted file mode 100644 index a29a6447c34..00000000000 --- a/.changeset/blue-pots-thank.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"wrangler": patch ---- - -fix: fails to publish due to empty migrations -After this change, `wrangler init --from-dash` will not attempt to add durable object migrations to `wrangler.toml` for Workers that don't have durable objects. - -fixes #1854 diff --git a/.changeset/brave-ties-obey.md b/.changeset/brave-ties-obey.md deleted file mode 100644 index 2031da029ff..00000000000 --- a/.changeset/brave-ties-obey.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -chore: add `env` and `ctx` params to `fetch` in javascript example template - -Just like in the typescript templates, and the javascript template for scheduled workers, we include `env` and `ctx` as parameters to the `fetch` export. This makes it clearer where environment variables live. diff --git a/.changeset/curvy-laws-develop.md b/.changeset/curvy-laws-develop.md deleted file mode 100644 index 89c55b8ef06..00000000000 --- a/.changeset/curvy-laws-develop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Allow `--experimental-local` to be used with module workers diff --git a/.changeset/proud-cheetahs-kick.md b/.changeset/proud-cheetahs-kick.md deleted file mode 100644 index b08bec5d788..00000000000 --- a/.changeset/proud-cheetahs-kick.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -fix: respect variable binding type when printing - -After this change, when printing the bindings it has access to, wrangler will correctly only add quotes around string variables, and serialize objects via JSON.stringify (rather than printing `"[object Object]"`). diff --git a/.changeset/silly-beans-film.md b/.changeset/silly-beans-film.md deleted file mode 100644 index c0ab8c3e475..00000000000 --- a/.changeset/silly-beans-film.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Add `--experimental-local` support to `unstable_dev` diff --git a/.changeset/tall-radios-report.md b/.changeset/tall-radios-report.md deleted file mode 100644 index f75a5fef43c..00000000000 --- a/.changeset/tall-radios-report.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"wrangler": patch ---- - -fix: use node http instead of faye-websocket in proxy server - -We change how websockets are handled in the proxy server, fixing multiple issues of websocket behaviour, particularly to do with headers. - -In particular this fixes: - -- the protocol passed between the client and the worker was being stripped out by wrangler -- wrangler was discarding additional headesr from websocket upgrade response -- websocket close code and reason was not being propagated by wrangler diff --git a/package-lock.json b/package-lock.json index d6c4ca48029..8dd25104ac6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21828,7 +21828,7 @@ } }, "packages/wrangler": { - "version": "2.1.8", + "version": "2.1.9", "license": "MIT OR Apache-2.0", "dependencies": { "@cloudflare/kv-asset-handler": "^0.2.0", diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 7c3b23d81ba..fd049959cc8 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,36 @@ # wrangler +## 2.1.9 + +### Patch Changes + +- [#1937](https://github.com/cloudflare/wrangler2/pull/1937) [`905fce4f`](https://github.com/cloudflare/wrangler2/commit/905fce4feb0ac34200b597ff5e8c325aaf65b491) Thanks [@JacobMGEvans](https://github.com/JacobMGEvans)! - fix: fails to publish due to empty migrations + After this change, `wrangler init --from-dash` will not attempt to add durable object migrations to `wrangler.toml` for Workers that don't have durable objects. + + fixes #1854 + +* [#1943](https://github.com/cloudflare/wrangler2/pull/1943) [`58a430f2`](https://github.com/cloudflare/wrangler2/commit/58a430f27fb683f422e552f7c26338f950f39c2b) Thanks [@cameron-robey](https://github.com/cameron-robey)! - chore: add `env` and `ctx` params to `fetch` in javascript example template + + Just like in the typescript templates, and the javascript template for scheduled workers, we include `env` and `ctx` as parameters to the `fetch` export. This makes it clearer where environment variables live. + +- [#1934](https://github.com/cloudflare/wrangler2/pull/1934) [`7ebaec1a`](https://github.com/cloudflare/wrangler2/commit/7ebaec1a38384b5f04001ad2d8603d7ac0322534) Thanks [@mrbbot](https://github.com/mrbbot)! - Allow `--experimental-local` to be used with module workers + +* [#1939](https://github.com/cloudflare/wrangler2/pull/1939) [`5854cb69`](https://github.com/cloudflare/wrangler2/commit/5854cb6918cd0271683b4f3f62987f3e9e4b3300) Thanks [@rozenmd](https://github.com/rozenmd)! - fix: respect variable binding type when printing + + After this change, when printing the bindings it has access to, wrangler will correctly only add quotes around string variables, and serialize objects via JSON.stringify (rather than printing `"[object Object]"`). + +- [#1953](https://github.com/cloudflare/wrangler2/pull/1953) [`20195479`](https://github.com/cloudflare/wrangler2/commit/20195479c9f57d9fede1f5924f6a4ab36f860bea) Thanks [@mrbbot](https://github.com/mrbbot)! - Add `--experimental-local` support to `unstable_dev` + +* [#1930](https://github.com/cloudflare/wrangler2/pull/1930) [`56798155`](https://github.com/cloudflare/wrangler2/commit/5679815521d7e62d24866eee1653ba409a53e12b) Thanks [@rozenmd](https://github.com/rozenmd)! - fix: use node http instead of faye-websocket in proxy server + + We change how websockets are handled in the proxy server, fixing multiple issues of websocket behaviour, particularly to do with headers. + + In particular this fixes: + + - the protocol passed between the client and the worker was being stripped out by wrangler + - wrangler was discarding additional headesr from websocket upgrade response + - websocket close code and reason was not being propagated by wrangler + ## 2.1.8 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index e1b40d5bf34..49e34b54029 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "2.1.8", + "version": "2.1.9", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "wrangler",