Minor Changes
-
#2268
3be1c2cf
Thanks @GregBrimble! - feat: Add support for--experimental-local
towrangler pages dev
which will use theworkerd
runtime.Add
@miniflare/tre
environment polyfill to@cloudflare/pages-shared
. -
#2163
d73a34be
Thanks @jimhawkridge! - feat: Add support for Analytics Engine bindings.For example:
analytics_engine_datasets = [ { binding = "ANALYTICS", dataset = "my_dataset" } ]
Patch Changes
-
#2177
e98613f8
Thanks @caass! - Trigger login flow if a user runswrangler dev
while logged outPreviously, we would just error if a user logged out and then ran
wrangler dev
.
Now, we kick them to the OAuth flow and suggest runningwrangler dev --local
if
the login fails.Closes #2147
-
#2298
bb5e4f91
Thanks @rozenmd! - fix: d1 not using the preview database when usingwrangler dev
After this fix, wrangler will correctly connect to the preview database, rather than the prod database when using
wrangler dev
-
#2176
d48ee112
Thanks @caass! - Use the user's preferred default branch name if set in .gitconfig.Previously, we would initialize new workers with
main
as the name of the default branch.
Now, we see if the user has a custom setting in .gitconfig forinit.defaultBranch
, and use
that if it exists.Closes #2112
-
#2275
bbfb6a96
Thanks @mrbbot! - Fix script reloads, and allow clean exits, when using--experimental-local
on Linux -
#2275
bbfb6a96
Thanks @mrbbot! - Fix DevTools inspector support when using--(experimental-)local