Repository navigation
wrangler@3.28.3
Patch Changes
-
#5026
04584722Thanks @dario-piotrowicz! - fix: make suregetPlatformProxyproduces a production-likecachesobjectmake sure that the
cachesobject returned togetPlatformProxybehaves
in the same manner as the one present in production (where calling unsupported
methods throws a helpful error message)note: make sure that the unsupported methods are however not included in the
CacheStoragetype definition -
#5030
55ea0721Thanks @mrbbot! - fix: don't suggest reporting user errors to GitHubWrangler has two different types of errors: internal errors caused by something going wrong, and user errors caused by an invalid configuration. Previously, we would encourage users to submit bug reports for user errors, even though there's nothing we can do to fix them. This change ensures we only suggest this for internal errors.
-
#4900
3389f2e9Thanks @OilyLime! - feature: allow hyperdrive users to set local connection string as environment variableWrangler dev now supports the HYPERDRIVE_LOCAL_CONNECTION_STRING environmental variable for connecting to a local database instance when testing Hyperdrive in local development. This environmental variable takes precedence over the localConnectionString set in wrangler.toml.
-
#5033
b1ace91bThanks @mrbbot! - fix: wait for actual port before opening browser with--port=0Previously, running
wrangler dev --remote --port=0and then immediately pressingbwould openlocalhost:0in your default browser. This change queues up opening the browser until Wrangler knows the port the dev server was started on. -
#5026
04584722Thanks @dario-piotrowicz! - fix: relax thegetPlatformProxy's' cache request/response typesprior to these changes the caches obtained from
getPlatformProxy
would useunknowns as their types, this proved too restrictive
and incompatible with the equivalent@cloudflare/workers-types
types, we decided to useanys instead to allow for more flexibility
whilst also making the type compatible with workers-types -
Updated dependencies [
7723ac17,027f9719,027f9719,027f9719,027f9719,027f9719,027f9719]:- miniflare@3.20240129.3