Repository navigation
wrangler@2.6.0
Minor Changes
-
#2268
3be1c2cfThanks @GregBrimble! - feat: Add support for--experimental-localtowrangler pages devwhich will use theworkerdruntime.Add
@miniflare/treenvironment polyfill to@cloudflare/pages-shared. -
#2163
d73a34beThanks @jimhawkridge! - feat: Add support for Analytics Engine bindings.For example:
analytics_engine_datasets = [ { binding = "ANALYTICS", dataset = "my_dataset" } ]
Patch Changes
-
#2177
e98613f8Thanks @caass! - Trigger login flow if a user runswrangler devwhile 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 --localif
the login fails.Closes #2147
-
#2298
bb5e4f91Thanks @rozenmd! - fix: d1 not using the preview database when usingwrangler devAfter this fix, wrangler will correctly connect to the preview database, rather than the prod database when using
wrangler dev -
#2176
d48ee112Thanks @caass! - Use the user's preferred default branch name if set in .gitconfig.Previously, we would initialize new workers with
mainas 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
bbfb6a96Thanks @mrbbot! - Fix script reloads, and allow clean exits, when using--experimental-localon Linux -
#2275
bbfb6a96Thanks @mrbbot! - Fix DevTools inspector support when using--(experimental-)local