Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into alewis/delay-kv-bulk-delete
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleymichal authored Mar 5, 2020
2 parents 8fc76a7 + 880c298 commit 35c01d3
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 114 deletions.
36 changes: 33 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## 😈 1.8.1

- ### Features

- **Error messaging for internet required to talk to Cloudflare API - [EverlastingBugstopper], [issue/1093] [pull/1114]**

With the release of `wrangler dev` in 1.8.0, it was not clear to users that internet is required since the feature communicates with Cloudflare's API. With this error message, users without internet connection are shown actionable next steps - check internet connection and lastly check if Cloudflare's API is down.

[issue/1093]: https://github.com/cloudflare/wrangler/issues/1093
[pull/1114]: https://github.com/cloudflare/wrangler/pull/1114
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper

- ### Fixes

- **Fix live reload for `wrangler dev` - [EverlastingBugstopper], [issue/1082] [pull/1117]**

`wrangler dev` re-builds and re-uploads your script to the Cloudflare API when it detects a file change. The Cloudflare API returns a new token which allows `wrangler dev` to route subsequent requests to the new script. Previously, `wrangler dev` would re-build, re-upload, and receive the new token, but it wouldn't use it for a couple of minutes due to some faulty threading logic. (darn mutexes!) After this change, `wrangler dev` will block incoming requests when it is switching the token, thus fixing the issue.

[issue/1082]: https://github.com/cloudflare/wrangler/issues/1082
[pull/1117]: https://github.com/cloudflare/wrangler/pull/1117
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper

- **Remove unneeded carriage return in `wrangler secret put` - [gabbifish], [issue/1109] [pull/1112]**

Previously, interactive input from `wrangler secret put` added a carriage return to the secret key/value pairs on Windows. This no longer happens and input is parsed properly before uploading.

[issue/1109]: https://github.com/cloudflare/wrangler/issues/1109
[pull/1112]: https://github.com/cloudflare/wrangler/pull/1112
[gabbifish]: https://github.com/gabbifish

## 🙊 1.8.0

- ### Features
Expand Down Expand Up @@ -750,9 +780,9 @@

Wrangler orchestrates a few other tools under the hood, notably [`wasm-pack`](https://github.com/rustwasm/wasm-pack) and [`cargo-generate`](https://github.com/ashleygwilliams/cargo-generate). We use a library called [`binary-install`](https://github.com/rustwasm/binary-install) to fetch and cache binaries we download. However, to avoid downloading unecessarily, we first check if the user has a copy locally on their machine that they had `cargo install`'d. We had a bug where in this logic branch, we *didn't* check that the local version was the most up-to-date version. This meant that users who had an older installed version may run into errors when wrangler expected to use features of a newer version of that tool. This PR adds the logic to check for the version and will install and cache a newer version for wrangler to use (leaving your local version as is!).

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[issue/666]: https://github.com/cloudflare/wrnagler/issues/666
[pull/726]: https://github.com/cloudflare/wrangler/pull/726
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[issue/666]: https://github.com/cloudflare/wrnagler/issues/666
[pull/726]: https://github.com/cloudflare/wrangler/pull/726

- **Remove link to 000000000000000000.cloudflareworkers.com - [EverlastingBugstopper], [pull]**

Expand Down
145 changes: 37 additions & 108 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 35c01d3

Please sign in to comment.