Skip to content

Commit

Permalink
Version Packages (#5340)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Mar 21, 2024
1 parent 9c9dedd commit 846c409
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
11 changes: 0 additions & 11 deletions .changeset/rude-mice-study.md

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/worker-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230419.0",
"wrangler": "2.21.0"
"wrangler": "2.21.1"
}
}
6 changes: 3 additions & 3 deletions package-lock.json

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

12 changes: 12 additions & 0 deletions packages/wrangler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# wrangler

## 2.21.1

### Patch Changes

- [#5337](https://github.com/cloudflare/workers-sdk/pull/5337) [`35660e27`](https://github.com/cloudflare/workers-sdk/commit/35660e27d970c282377d04c6fcba8d81a4e86bb4) Thanks [@RamIdeas](https://github.com/RamIdeas)! - fix: Ignore OPTIONS requests in Wrangler's oauth server

In Chrome v123, the auth requests from the browser back to wrangler now first include a CORS OPTIONS preflight request before the expected GET request. Wrangler was able to successfully complete the login with the first (OPTIONS) request, and therefore upon the second (GET) request, errored because the token exchange had already occured and could not be repeated.

Wrangler now stops processing the OPTIONS request before completing the token exchange and only proceeds on the expected GET request.

If you see a `ErrorInvalidGrant` in a previous wrangler version when running `wrangler login`, please try upgrading to this version or later.

## 2.21.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wrangler",
"version": "2.21.0",
"version": "2.21.1",
"description": "Command-line interface for all things Cloudflare Workers",
"keywords": [
"wrangler",
Expand Down

0 comments on commit 846c409

Please sign in to comment.