Releases: cloudflare/workers-sdk
[email protected]
Patch Changes
-
#2339
f6821189
Thanks @GregBrimble! - fix:wrangler dev --local
now correctly lazy-imports@miniflare/tre
Previously, we introduced a bug where we were incorrectly requiring
@miniflare/tre
, even when not using theworkerd
/--experimental-local
mode.
@cloudflare/[email protected]
Patch Changes
-
#2339
f6821189
Thanks @GregBrimble! - fix:wrangler dev --local
now correctly lazy-imports@miniflare/tre
Previously, we introduced a bug where we were incorrectly requiring
@miniflare/tre
, even when not using theworkerd
/--experimental-local
mode.
[email protected]
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
@cloudflare/[email protected]
Patch Changes
-
#2303
1a1f1dc7
Thanks @jrf0110! - fix: Pages asset-server duplicating the hash component
fix: Pages metadata missing line numbers. This could have resulted in redirects precedence ordering not being respected. -
#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
.
[email protected]
Minor Changes
- #2212
b24c2b2d
Thanks @dalbitresb12! - feat: Allow pages dev to proxy websocket requests
Patch Changes
-
#2296
7da8f0e6
Thanks @Skye-31! - Fix: check response status ofd1 backup download
command before writing contents to file -
#2260
c2940160
Thanks @rozenmd! - fix: make it possible to use a local db for d1 migrationsAs of this change, wrangler's d1 migrations commands now accept
local
andpersist-to
as flags, so migrations can run against the local d1 db. -
#1883
60d31c01
Thanks @GregBrimble! - fix: Fix--port=0
option to report the actually used port.
[email protected]
Patch Changes
- #2265
42d88e3f
Thanks @WalshyDev! - Fix D1 bindings inwrangler pages dev
[email protected]
Patch Changes
-
#2249
e41c7e41
Thanks @mrbbot! - Enable pretty source-mapped error pages when using--experimental-local
-
#2208
5bd04296
Thanks @OilyLime! - Add link to Queues tab in dashboard when unauthorized to use Queues -
#2248
effc2215
Thanks @rozenmd! - chore: remove d1 local hardcodingPrior to this change wrangler would only ever use local mode when testing d1.
After this change d1 tests can access both local and remote Workers.
-
#2254
9e296a4d
Thanks @penalosa! - Add an option to customise whetherwrangler login
opens a browser automatically. Usewrangler login --no-browser
to prevent a browser being open—the link will be printed to the console so it can be manually opened.
[email protected]
[email protected]
[email protected]
Minor Changes
-
#2193
0047ad30
Thanks @JacobMGEvans! - Local Mode Console Support
Added support for detailedconsole.log
capability when using--experimental-local
resolves #2122
Patch Changes
-
#2192
add4278a
Thanks @mrbbot! - Add a--experimental-local-remote-kv
flag to enable reading/writing from/to real KV namespaces.
Note this flag requires--experimental-local
to be enabled. -
#2204
c725ce01
Thanks @jahands! - fix: Upload filepath-routing configuration in wrangler pages publishPublishing Pages projects containing a functions directory incorrectly did not upload the filepath-routing config so that the user can view it in Dash. This fixes that, making the generated routes viewable under
Routing configuration
in theFunctions
tab of a deployment.