#49257d4a4d0 Thanks @dom96! - feature: whoami, logout and login commands mention the CLOUDFLARE_API_TOKEN env var now
It is easy to get confused when trying to logout while the CLOUDFLARE_API_TOKEN env var is set.
The logout command normally prints out a message which states that the user is not logged in. This
change rectifes this to explicitly call out that the CLOUDFLARE_API_TOKEN is set and requests that
the user unsets it to logout.
Patch Changes
#503275f7928 Thanks @dbenCF! - Adding client side error handling for R2 when the user tries to create a bucket with an invalid name. The purpose of this addition is to provide the user with more context when encountering this error.
The watch mode in pages dev for Advanced Mode projects is currently partially broken, as it only watches for changes in the "_worker.js" file, but not for changes in any of its imported dependencies. This means that given the following "_worker.js" file
import { graham } from "./graham-the-dog";
export default {
fetch(request, env) {
return new Response(graham)
}
}
pages dev will reload for any changes in the _worker.js file itself, but not for any changes in graham-the-dog.js, which is its dependency.
Similarly, pages dev will not reload for any changes in non-JS module imports, such as wasm/html/binary module imports.
Sometimes, users want to replace modules with other modules. This commonly happens inside a third party dependency itself. As an example, a user might have imported node-fetch, which will probably never work in workerd. You can use the alias config to replace any of these imports with a module of your choice.
Let's say you make a fetch-nolyfill.js
export default fetch; // all this does is export the standard fetch function`
#49257d4a4d0 Thanks @dom96! - feature: whoami, logout and login commands mention the CLOUDFLARE_API_TOKEN env var now
It is easy to get confused when trying to logout while the CLOUDFLARE_API_TOKEN env var is set.
The logout command normally prints out a message which states that the user is not logged in. This
change rectifes this to explicitly call out that the CLOUDFLARE_API_TOKEN is set and requests that
the user unsets it to logout.
Patch Changes
#503275f7928 Thanks @dbenCF! - Adding client side error handling for R2 when the user tries to create a bucket with an invalid name. The purpose of this addition is to provide the user with more context when encountering this error.
#619988313e5 Thanks @dario-piotrowicz! - fix: make sure getPlatformProxy's ctx methods throw illegal invocation errors like workerd
in workerd detaching the waitUntil and passThroughOnException methods from the ExecutionContext
object results in them throwing illegal invocation errors, such as for example:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps wrangler from 3.62.0 to 3.64.0.
Release notes
Sourced from wrangler's releases.
... (truncated)
Changelog
Sourced from wrangler's changelog.
... (truncated)
Commits
f3dd85a
Version Packages (#6241)75f7928
Update R2 Error Handling for Invalid Characters (#5032)7d4a4d0
Mention env var when using API Token andwhoami
/log(out|in)
commands (#4925)4b1e5bc
Improved tsconfig.json files in examples directory (#4398)fa1b92f
Version Packages (#6202)8679971
Fix parsing tests on Node.js v20+ (#6223)85a22fa
docs: add notes about extra care when updating Pages code (#6195)88313e5
[wrangler] fix: make suregetPlatformProxy
'sctx
methods throw illegal in...75ba960
Simplify pages download config (#5569)70b555d
Version Packages (#6197)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show