Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
[email protected]
Minor Changes
#2629
151733e5
Thanks @mrbbot! - Prefer theworkerd
exports
condition when bundling.This can be used to build isomorphic libraries that have different implementations depending on the JavaScript runtime they're running in.
When bundling, Wrangler will try to load the
workerd
key.This is the standard key for the Cloudflare Workers runtime.
Learn more about the conditional
exports
field here.Patch Changes
#2409
89d78c0a
Thanks @penalosa! - Wrangler now supports an--experimental-json-config
flag which will read your configuration from awrangler.json
file, rather thanwrangler.toml
. The format of this file is exactly the same as thewrangler.toml
configuration file, except that the syntax isJSONC
(JSON with comments) rather thanTOML
. This is experimental, and is not recommended for production use.#2623
04d8a312
Thanks @dario-piotrowicz! - fix d1 directory not being created when running thewrangler d1 execute
command with the--yes
/-y
flag#2608
70daffeb
Thanks @dario-piotrowicz! - fix: Add support for D1 databases when bundling an_worker.js
onwrangler pages publish
#2597
416babf0
Thanks @petebacondarwin! - fix: do not crash in wrangler dev when passing a request object to fetchThis reverts and fixes the changes in fix: allow URL object to be passed to local
fetch()
calls #1769which does not support creating requests from requests whose bodies have already been consumed.
Fixes 🐛 BUG: Cannot construct a Request with a Request object that has already been used #2562
#2622
9778b33e
Thanks @rozenmd! - fix: implementd1 list --json
with clean output for piping into other commandsBefore:
After:
#2631
6b3fe5ef
Thanks @thibmeu! - Fixwrangler publish --dry-run
to not require authentication when using Queues#2627
6f0f2ba6
Thanks @rozenmd! - fix: implementd1 execute --json
with clean output for piping into other commandsBefore:
🚧 D1 is currently in open alpha and is not recommended for production data and traffic
🚧 Please report any bugs to https://github.com/cloudflare/wrangler2/issues/new/choose
🚧 To request features, visit https://community.cloudflare.com/c/developers/d1
🚧 To give feedback, visit https://discord.gg/cloudflaredev
🌀 Mapping SQL input into an array of statements
🌀 Parsing 1 statements
🌀 Executing on test (xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx):
🚣 Executed 1 command in 11.846710999961942ms
┌────────────┬─────────────────────┬───────────────────┐
│ CustomerID │ CompanyName │ ContactName │
├────────────┼─────────────────────┼───────────────────┤
│ 1 │ Alfreds Futterkiste │ Maria Anders │
├────────────┼─────────────────────┼───────────────────┤
│ 4 │ Around the Horn │ Thomas Hardy │
├────────────┼─────────────────────┼───────────────────┤
│ 11 │ Bs Beverages │ Victoria Ashworth │
├────────────┼─────────────────────┼───────────────────┤
│ 13 │ Bs Beverages │ Random Name │
└────────────┴─────────────────────┴───────────────────┘