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

Commit

Permalink
๐Ÿ˜ˆ 1.8.1 (#1116)
Browse files Browse the repository at this point in the history
* ๐Ÿ˜ˆ 1.8.1

* Apply suggestions from code review

Co-Authored-By: Avery Harnish <[email protected]>

* Update CHANGELOG.md

Co-Authored-By: Avery Harnish <[email protected]>

Co-authored-by: Gabbi Fisher <[email protected]>
Co-authored-by: Avery Harnish <[email protected]>
  • Loading branch information
3 people authored Mar 3, 2020
1 parent 3651603 commit 0f5289e
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 114 deletions.
24 changes: 21 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## ๐Ÿ™ˆ1.8.1

- ### 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.

- ### Maintenance

- **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.

- **Remove unneeded carriage return in `wrangler config` - [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.

## ๐Ÿ™Š 1.8.0

- ### Features
Expand Down Expand Up @@ -750,9 +768,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.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wrangler"
version = "1.8.0"
version = "1.8.1"
authors = ["Ashley Williams <[email protected]>"]
edition = "2018"
license = "MIT/Apache-2.0"
Expand Down
Loading

0 comments on commit 0f5289e

Please sign in to comment.