Minor Changes
-
#2538
af4f27c5
Thanks @edevil! - feat: support EmailEvent event type inwrangler tail
. -
#2404
3f824347
Thanks @petebacondarwin! - feat: support bundling the raw Pages_worker.js
before deployingPreviously, if you provided a
_worker.js
file, then Pages would simply check the
file for disallowed imports and then deploy the file as-is.Not bundling the
_worker.js
file means that it cannot containing imports to other
JS files, but also prevents Wrangler from adding shims such as the one for the D1 alpha
release.This change adds the ability to tell Wrangler to pass the
_worker.js
through the
normal Wrangler bundling process before deploying by setting the--bundle
command line argument towrangler pages dev
andwrangler pages publish
.This is in keeping with the same flag for
wrangler publish
.Currently bundling is opt-in, flag defaults to
false
if not provided.
Patch Changes
-
#2525
fe8c6917
Thanks @rozenmd! - fix: sendwrangler docs d1
to the right place -
#2542
b44e1a75
Thanks @GregBrimble! - chore: Rename--bundle
to--no-bundle
in Pages commands to make similar to Workers -
#2551
bfffe595
Thanks @rozenmd! - fix: wrangler init --from-dash incorrectly expects index.ts while writing index.jsThis PR fixes a bug where Wrangler would write a
wrangler.toml
expecting an index.ts file, while writing an index.js file. -
#2529
2270507c
Thanks @CarmenPopoviciu! - Remove "experimental _routes.json" warnings_routes.json
is no longer considered an experimental feature, so let's
remove all warnings we have in place for that. -
#2548
4db768fa
Thanks @rozenmd! - fix: path should be optional for wrangler d1 backup downloadThis PR fixes a bug that forces folks to provide a
--output
flag towrangler d1 backup download
. -
#2528
18208091
Thanks @caass! - Add some guidance when folks encounter a 10021 error.Error code 10021 can occur when your worker doesn't pass startup validation. This error message will make it a little easier to reason about what happened and what to do next.
Closes #2519
-
#1769
6a67efe9
Thanks @dario-piotrowicz! - allowfetch()
calls locally to accept URL Objects