Repository navigation
wrangler@2.8.0
Minor Changes
-
#2538
af4f27c5Thanks @edevil! - feat: support EmailEvent event type inwrangler tail. -
#2404
3f824347Thanks @petebacondarwin! - feat: support bundling the raw Pages_worker.jsbefore deployingPreviously, if you provided a
_worker.jsfile, then Pages would simply check the
file for disallowed imports and then deploy the file as-is.Not bundling the
_worker.jsfile 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.jsthrough the
normal Wrangler bundling process before deploying by setting the--bundle
command line argument towrangler pages devandwrangler pages publish.This is in keeping with the same flag for
wrangler publish.Currently bundling is opt-in, flag defaults to
falseif not provided.
Patch Changes
-
#2525
fe8c6917Thanks @rozenmd! - fix: sendwrangler docs d1to the right place -
#2542
b44e1a75Thanks @GregBrimble! - chore: Rename--bundleto--no-bundlein Pages commands to make similar to Workers -
#2551
bfffe595Thanks @rozenmd! - fix: wrangler init --from-dash incorrectly expects index.ts while writing index.jsThis PR fixes a bug where Wrangler would write a
wrangler.tomlexpecting an index.ts file, while writing an index.js file. -
#2529
2270507cThanks @CarmenPopoviciu! - Remove "experimental _routes.json" warnings_routes.jsonis no longer considered an experimental feature, so let's
remove all warnings we have in place for that. -
#2548
4db768faThanks @rozenmd! - fix: path should be optional for wrangler d1 backup downloadThis PR fixes a bug that forces folks to provide a
--outputflag towrangler d1 backup download. -
#2528
18208091Thanks @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
6a67efe9Thanks @dario-piotrowicz! - allowfetch()calls locally to accept URL Objects