chore(deps): update dependency wrangler to v4.79.0#163
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency wrangler to v4.79.0#163renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
48c6763 to
cea0250
Compare
05c61ce to
f04ab75
Compare
f04ab75 to
d3094a5
Compare
3d4eb6a to
14a8eca
Compare
14a8eca to
e988749
Compare
e988749 to
a922578
Compare
a922578 to
22f50f6
Compare
22f50f6 to
ab6b6bb
Compare
ab6b6bb to
503bced
Compare
503bced to
275c8e5
Compare
275c8e5 to
7e0f4aa
Compare
7e0f4aa to
bd7015e
Compare
bd7015e to
b2408a9
Compare
b2408a9 to
52f4de8
Compare
42bdb2c to
6c9d109
Compare
6c9d109 to
bb4c20e
Compare
bb4c20e to
34ab641
Compare
34ab641 to
afae241
Compare
afae241 to
c56f1b3
Compare
c56f1b3 to
e121542
Compare
e121542 to
f68a9bd
Compare
f68a9bd to
e9cfdea
Compare
e9cfdea to
b8e6c7e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.59.2→4.79.0Release Notes
cloudflare/workers-sdk (wrangler)
v4.79.0Compare Source
Minor Changes
#12868
ffbc268Thanks @danielgek! - Addwrangler ai-searchcommand namespace for managing Cloudflare AI Search instancesIntroduces a CLI surface for the Cloudflare AI Search API (open beta), including:
ai-search list,create,get,update,deleteai-search searchwith repeatable--filter key=valueflagsai-search statsThe
createcommand uses an interactive wizard to guide configuration. All commands require authentication viawrangler login.#13097
cd0e971Thanks @pombosilva! - Add--localflag to Workflows commands for interacting with local devAll Workflows CLI commands now support a
--localflag that targets a runningwrangler devsession instead of the Cloudflare production API. This uses the/cdn-cgi/explorer/api/workflowsendpoints served by the local dev server.By default, commands continue to hit remote (production). Pass
--localto opt in, and optionally--portto specify a custom dev server port (defaults to 8787).Patch Changes
#13050
ed20a9bThanks @dario-piotrowicz! - Add minimum and maximum version checks for frameworks during auto-configurationWhen Wrangler automatically configures a project, it now validates the installed version of the detected framework before proceeding:
#13111
f214760Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#13079
746858aThanks @penalosa! - FixgetPlatformProxyandunstable_getMiniflareWorkerOptionscrashing whenassetsis configured without adirectorygetPlatformProxyandunstable_getMiniflareWorkerOptionsnow skip asset setup when the config has anassetsblock but nodirectory— instead of throwing "missing requireddirectoryproperty". This happens when an external tool like@cloudflare/vite-pluginhandles asset serving independently.#13112
9aad27fThanks @dario-piotrowicz! - Fix autoconfig failing onwakuprojects that usehonoWaku has a tight integration with Hono, causing both to be detected simultaneously and triggering a "multiple frameworks found" error. Hono is now filtered out when Waku is also detected.
#13113
1fc5518Thanks @dario-piotrowicz! - Skip lock file warning for static projects during autoconfigPreviously, running autoconfig on a static project (one with no framework detected) would emit a misleading warning about a missing lock file, suggesting the project might be in a workspace. Since static projects don't require a lock file, this warning is now suppressed for them.
#13072
b539dc7Thanks @jbwcloudflare! - Skip unnecessaryGET /versions?deployable=trueAPI call inwrangler versions deploywhen all version IDs are explicitly provided and--yesis passedWhen deploying a specific version non-interactively (e.g.
wrangler versions deploy <id> --yes), Wrangler previously always fetched the full list of deployable versions to populate the interactive selection prompt — even though the prompt is skipped entirely when--yesis used and all versions are already specified. The deployable-versions list is now only fetched when actually needed (i.e. when no version IDs are provided, or when running interactively).#13115
2565b1dThanks @dario-piotrowicz! - Improve error message when the assets directory path points to a file instead of a directoryPreviously, if the path provided as the assets directory (via
--assetsflag orassets.directoryconfig) pointed to an existing file rather than a directory, Wrangler would throw an unhelpfulENOTDIRsystem error when trying to read the_redirectsfile inside it. Now Wrangler detects this condition earlier and throws a clear user error.Updated dependencies [
9eff028,f214760,9282493,a532eea,d4c6158]:v4.78.0Compare Source
Minor Changes
#13031
eeaa473Thanks @WalshyDev! - Add support for Cloudflare Access Service Token authentication via environment variablesWhen running
wrangler devwith remote bindings behind a Cloudflare Access-protected domain, Wrangler previously requiredcloudflared access loginwhich opens a browser for interactive authentication. This does not work in CI/CD environments.You can now set the
CLOUDFLARE_ACCESS_CLIENT_IDandCLOUDFLARE_ACCESS_CLIENT_SECRETenvironment variables to authenticate using an Access Service Token instead:Additionally, when running in a non-interactive environment (CI) without these credentials, Wrangler now throws a clear, actionable error instead of hanging on
cloudflared access login.#13027
9fcdfcaThanks @G4brym! - feat: Addai_search_namespacesandai_searchbinding typesTwo new binding types for AI Search:
ai_search_namespaces: Namespace binding —namespaceis required and auto-provisioned at deploy time if it doesn't exist (like R2 buckets)ai_search: Single instance binding bound directly to a pre-existing instance in the default namespaceBoth are remote-only in local dev.
#12874
53ed15aThanks @xortive! - Add Workers VPC service support for Hyperdrive originsHyperdrive configs can now connect to databases through Workers VPC services using the
--service-idoption:This enables Hyperdrive to connect to databases hosted in private networks that are accessible through Workers VPC TCP services.
#12852
6b50bfaThanks @Carolx715! - Add interactive data catalog validation to R2 object and lifecycle commands.When performing R2 operations that could affect data catalog state (object put, object delete, lifecycle add, lifecycle set), Wrangler now validates with the API and prompts users for confirmation if a conflict is detected. For bulk put operations, Wrangler prompts upfront before starting the batch. Users can bypass prompts with
--force(-y). In non-interactive/CI environments, the operation proceeds automatically.#13030
0386553Thanks @natewong1313! - Add local mode support for Stream bindingsMiniflare and
wrangler devnow support using Cloudflare Stream bindings locally.Supported operations:
upload()— upload video via URLvideo(id).details(),.update(),.delete(),.generateToken()videos.list()captions.generate(),.list(),.delete()downloads.generate(),.get(),.delete()watermarks.generate(),.list(),.get(),.delete()The following are not yet supported in local mode and will throw:
createDirectUpload()FileFileData is persisted across restarts by default. You must set
streamPersist: falsein Miniflare options to disable persistence.#12874
53ed15aThanks @xortive! - Add--cert-verification-modeoption towrangler vpc service createandwrangler vpc service updateYou can now configure the TLS certificate verification mode when creating or updating a VPC connectivity service. This controls how the connection to the origin server verifies TLS certificates.
Available modes:
verify_full(default) -- verify certificate chain and hostnameverify_ca-- verify certificate chain only, skip hostname checkdisabled-- do not verify the server certificate at allThis applies to both TCP and HTTP VPC service types. When omitted, the default
verify_fullbehavior is used.#12874
53ed15aThanks @xortive! - Add TCP service type support for Workers VPCYou can now create TCP services in Workers VPC using the
--type tcpoption:This enables exposing TCP-based services like PostgreSQL, MySQL, and other database servers through Workers VPC.
Patch Changes
#13039
bc24ec8Thanks @petebacondarwin! - fix: Angular auto-config now correctly handles projects without SSR configuredPreviously, running
wrangler deploy(orwrangler setup) on a plain Angular SPA (created withng newwithout--ssr) would crash withCannot set properties of undefined (setting 'experimentalPlatform'), because the auto-config code unconditionally assumed SSR was configured.Angular projects without SSR are now treated as assets-only deployments: no
wrangler.jsoncmainentry is generated,angular.jsonis not modified, nosrc/server.tsis created, and no extra dependencies are installed.#13036
0b4c21aThanks @pbrowne011! - Fixwrangler deploy --dry-runskipping asset build-artifact validation checksPreviously,
--dry-runskipped the entire asset sync step, which meant it also skipped validation that runs during asset manifest building. This included the check that errors when a_worker.jsfile or directory would be uploaded as a public static asset (which can expose private server-side code), as well as the per-file size limit check.With this fix,
--dry-runnow runsbuildAssetManifestagainst the asset directory when assets are configured, performing the same file-system validation as a real deploy without uploading anything or making any API calls.#13061
535582dThanks @petebacondarwin! - fix: resolve secondary worker types when environment overrides the worker name in multi-worker type generationWhen running
wrangler typeswith multiple-cconfig flags and the secondary worker has named environments that override the worker name (e.g. a worker nameddo-workerwith envstagingwhose effective name becomesdo-worker-staging), service bindings and Durable Object bindings in the primary worker that referencedo-worker-stagingnow correctly resolve to the typed entry point instead of falling back to an unresolved comment type such asDurableObjectNamespace /* MyClass from do-worker-staging */.The fix extends the secondary entries map to also register environment-specific worker names, so that lookups by the env-qualified name (e.g.
do-worker-staging) resolve to the same source file as the base worker name.#13058
992f9a3Thanks @petebacondarwin! - fix: patch undici to prevent fetch() throwing on 401 responses with a request bodyFetching with a request body (string, JSON, FormData, etc.) to an endpoint that returns a 401 would throw
TypeError: fetch failedwith causeexpected non-null body source. This affectedUnstable_DevWorker.fetch()and any other use of undici's fetch in wrangler.The root cause is
isTraversableNavigable()in undici returningtrueunconditionally, causing the 401 credential-retry logic to run in Node.js where it should never apply (there is no browser UI to prompt for credentials). This is tracked upstream in nodejs/undici#4910. Until an upstream fix is released, we apply a patch to undici that returnsfalsefromisTraversableNavigable().#13017
91b7f73Thanks @petebacondarwin! - fix: prevent Docker container builds from spawning console windows on WindowsOn Windows,
detached: trueinchild_process.spawn()gives each child process its own visible console window, causing many windows to flash open duringwrangler deploywith[[containers]]. Thedetachedoption is now only set on non-Windows platforms (where it is needed for process group cleanup), andwindowsHide: trueis added to further suppress console windows on Windows.#12996
f6cdab2Thanks @guybedford! - Fix source phase imports in bundled and non-bundled WorkersWrangler now preserves
import sourcesyntax when it runs esbuild, including module format detection and bundled deploy output. This fixes both--no-bundleand bundled deployments for Workers that import WebAssembly using source phase imports.#12931
ce65246Thanks @dario-piotrowicz! - Improve error message when modules cannot be resolved during bundlingWhen a module cannot be resolved during bundling, Wrangler now suggests using the
aliasconfiguration option to substitute it with an alternative implementation. This replaces esbuild's default suggestion to "mark the path as external", which is not a supported option in Wrangler.For example, if you try to import a module that doesn't exist:
Wrangler will now suggest:
This provides actionable guidance for resolving import errors.
#13049
7a5be20Thanks @nikitassharma! - add library-push flag to containers registries credentialsThis flag is not available for public use.
#13018
9c5ebf5Thanks @tgarg-cf! - Validate that queue consumers in wrangler config only use the "worker" typePreviously, non-worker consumer types (e.g.
http_pull) could be specified in thequeues.consumersconfig. Now, wrangler will error if a consumertypeother than"worker"is specified in the config file.To configure non-worker consumer types, use the
wrangler queues consumerCLI commands instead (e.g.wrangler queues consumer http-pull add).Updated dependencies [
9fcdfca,1faff35,f4ea4ac,0386553]:v4.77.0Compare Source
Minor Changes
#13023
593c4dbThanks @jamesopstad! - Addwrangler versions uploadsupport for the experimentalsecretsconfiguration propertyWhen the new
secretsproperty is defined,wrangler versions uploadnow validates that all secrets declared insecrets.requiredare configured on the Worker before the upload succeeds. If any required secrets are missing, the upload fails with a clear error listing which secrets need to be set.When
secretsis not defined, the existing behavior is unchanged.#12732
c2e9163Thanks @jamesopstad! - Add deploy support for the experimentalsecretsconfiguration propertyWhen the new
secretsproperty is defined,wrangler deploynow validates that all secrets declared insecrets.requiredare configured on the Worker before the deploy succeeds. If any required secrets are missing, the deploy fails with a clear error listing which secrets need to be set.When
secretsis not defined, the existing behavior is unchanged.Patch Changes
#12896
451dae3Thanks @petebacondarwin! - fix: Add retry and timeout protection to remote preview API callsRemote preview sessions (
wrangler dev --remote) now automatically retry transient 5xx API errors (up to 3 attempts with linear backoff) and enforce a 30-second per-request timeout. Previously, a single hung or failed API response during session creation or worker upload could block the dev session reload indefinitely.#12569
379f2a2Thanks @MattieTK! - Useqwik add cloudflare-workersinstead ofqwik add cloudflare-pagesfor Workers targetsBoth the wrangler autoconfig and C3 Workers template for Qwik were running
qwik add cloudflare-pageseven when targeting Cloudflare Workers. This caused the wrong adapter directory structure to be scaffolded (adapters/cloudflare-pages/instead ofadapters/cloudflare-workers/), and required post-hoc cleanup of Pages-specific files like_routes.json.Qwik now provides a dedicated
cloudflare-workersadapter that generates the correct Workers configuration, includingwrangler.jsoncwithmainandassetsfields, apublic/.assetsignorefile, and the correctadapters/cloudflare-workers/vite.config.ts.Also adds
--skipConfirmation=trueto allqwik addinvocations so the interactive prompt is skipped in automated contexts.#11899
9a1cf29Thanks @hoodmane! - Remove cf-requirements support for Python workers. It hasn't worked with the runtime for a while now.#11800
875da60Thanks @southpolesteve! - Add upgrade hint to unexpected configuration field warnings when an update is availableWhen Wrangler encounters unexpected fields in the configuration file and a newer version of Wrangler is available, it now displays a message suggesting to update. This helps users who may be using configuration options that were added in a newer version of Wrangler.
Updated dependencies [
b8f3309,5aaaab2,5aaaab2,f8516dd,9c9fe30,6a6449e]:v4.76.0Compare Source
Minor Changes
#12893
782df44Thanks @gpanders! - Rewritewrangler containers listto use the paginated Dash API endpointwrangler containers listnow fetches from the/dash/applicationsendpoint instead of/applications, displaying results in a paginated table with columns for ID, Name, State, Live Instances, and Last Modified. Container state is derived from health instance counters (active, degraded, provisioning, ready).The command supports
--per-page(default 25) for interactive pagination with Enter to load more and q/Esc to quit, and--jsonfor machine-readable output. Non-interactive environments load all results in a single request.#12957
62545c9Thanks @natewong1313! - Add Stream binding support to Wrangler and workers-utilsWrangler and workers-utils now recognize the
streambinding in configuration, deployment metadata, and generated worker types. This enables projects to declare Stream bindings inwrangler.jsonand have the binding represented consistently across validation, metadata mapping, and type generation.#12848
ce48b77Thanks @emily-shen! - Enable local explorer by defaultThis ungates the local explorer, a UI that lets you inspect the state of D1, DO and KV resources locally by visiting
/cdn-cgi/explorerduring local development.Note: this feature is still experimental, and can be disabled by setting the env var
X_LOCAL_EXPLORER=false.Patch Changes
#12938
71ab981Thanks @dario-piotrowicz! - Add backward-compatible autoconfig support for Astro v5 and v4 projectsThe
astro add cloudflarecommand in older Astro versions installs the latest adapter version, which causes compatibility issues. This change adds manual configuration logic for projects using Astro versions before 6.0.0:astro add cloudflarecommand (unchanged behavior)@astrojs/cloudflare@12and manually configures the adapter@astrojs/cloudflare@11and manually configures the adapter#11892
7c3c6c6Thanks @staticpayload! - Handle registry ports when matching container image digestsWrangler now strips tags without breaking registry ports when comparing local images to remote digests. This prevents unnecessary pushes for tags like
localhost:5000/app:tag.Updated dependencies [
3c988e2,d028ffb,cb71403,3a1c149,ce48b77,8729f3d]:v4.75.0Compare Source
Minor Changes
#12492
3b81fc6Thanks @thomasgauvin! - feat: addwrangler tunnelcommands for managing Cloudflare TunnelsAdds a new set of commands for managing remotely-managed Cloudflare Tunnels directly from Wrangler:
wrangler tunnel create <name>- Create a new Cloudflare Tunnelwrangler tunnel list- List all tunnels in your accountwrangler tunnel info <tunnel>- Display details about a specific tunnelwrangler tunnel delete <tunnel>- Delete a tunnel (with confirmation)wrangler tunnel run <tunnel>- Run a tunnel using cloudflaredwrangler tunnel quick-start <url>- Start a temporary tunnel (Try Cloudflare)The
runandquick-startcommands automatically download and manage the cloudflared binary, caching it in~/.wrangler/cloudflared/. Users are prompted before downloading and warned if their PATH-installed cloudflared is outdated. You can override the binary location with theCLOUDFLARED_PATHenvironment variable.All commands are marked as experimental.
Patch Changes
#12927
c9b3184Thanks @penalosa! - Bump undici from 7.18.2 to 7.24.4#12875
13df6c7Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12935
df0d112Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12928
81ee98eThanks @petebacondarwin! - Migrate chrome-devtools-patches deployment from Cloudflare Pages to Workers + AssetsThe DevTools frontend is now deployed as a Cloudflare Workers + Assets project instead of a Cloudflare Pages project. This uses
wrangler deployfor production deployments andwrangler versions uploadfor PR preview deployments.The inspector proxy origin allowlists in both wrangler and miniflare have been updated to accept connections from the new
workers.devdomain patterns, while retaining the legacypages.devpatterns for backward compatibility.#12835
c600ce0Thanks @dario-piotrowicz! - Fix execution freezing ondebuggerstatements when DevTools is not attachedPreviously,
wrangleralways sentDebugger.enableto the runtime on connection, even when DevTools wasn't open. This caused scripts to freeze ondebuggerstatements. NowDebugger.enableis only sent when DevTools is actually attached, andDebugger.disableis sent when DevTools disconnects to stop the runtime from performing debugging work.#12894
f509d13Thanks @gpanders! - Simplify description of --json optionRemove extraneous adjectives in the description of the
--jsonoption.#11888
0a7fef9Thanks @staticpayload! - Reject cross-drive module paths in Pages Functions routingOn Windows, module paths using a different drive letter could be parsed in a way that bypassed the project-root check. These paths are now parsed correctly and rejected when they resolve outside the project.
Updated dependencies [
c9b3184,13df6c7,df0d112,81ee98e]:v4.74.0Compare Source
Minor Changes
#10896
351e1e1Thanks @devin-ai-integration! - feat: add--secrets-fileparameter towrangler deployandwrangler versions uploadYou can now upload secrets alongside your Worker code in a single operation using the
--secrets-fileparameter on bothwrangler deployandwrangler versions upload. The file format matches what's used bywrangler versions secret bulk, supporting both JSON and .env formats.Example usage:
Secrets not included in the file will be inherited from the previous version, matching the behavior of
wrangler versions secret bulk.#12873
2b9a186Thanks @gpanders! - Addwrangler containers instances <application_id>command to list container instancesLists all container instances for a given application, matching the Dash instances view. Displays instance ID, state, location, version, and creation time. Supports pagination for applications with many instances. Also adds paginated request support to the containers-shared API client.
Patch Changes
#12873
2b9a186Thanks @gpanders! - AddescapeCodeTimeoutoption toonKeyPressutility for faster Esc key detectionThe
onKeyPressutility now accepts an optionalescapeCodeTimeoutparameter that controls how long readline waits to disambiguate a standalone Esc press from multi-byte escape sequences (e.g. arrow keys). The default remains readline's built-in 500ms, but callers can pass a lower value (e.g. 25ms) for near-instant Esc handling in interactive prompts.#12676
65f1092Thanks @dario-piotrowicz! - Fix autoconfig package installation always failing at workspace rootsWhen running autoconfig at the root of a monorepo workspace, package installation commands now include the appropriate workspace root flags (
--workspace-rootfor pnpm,-Wfor yarn). This prevents errors like "Running this command will add the dependency to the workspace root" that previously occurred when configuring projects at the workspace root.Additionally, autoconfig now allows running at the workspace root if the root directory itself is listed as a workspace package (e.g.,
workspaces: ["packages/*", "."]).#12841
7b0d8f5Thanks @dario-piotrowicz! - Fix unclear error when assets upload session returns anullresponseWhen deploying assets, if the Cloudflare API returns a
nullresponse object, Wrangler now provides a clear error message asking users to retry instead of failing with a confusing error.Updated dependencies [
ade0aed]:v4.73.0Compare Source
Minor Changes
#12853
ff543e3Thanks @gpanders! - Deprecate SSH passthrough flags inwrangler containers sshThe
--cipher,--log-file,--escape-char,--config-file,--pkcs11,--identity-file,--mac-spec,--option, and--tagflags are now deprecated. These flags expose OpenSSH-specific options that are tied to the current implementation. A future release will replace the underlying SSH transport, at which point these flags will be removed. They still function for now.#12815
e63539dThanks @NuroDev! - Support disabling persistence inunstable_startWorker()andunstable_dev()You can now disable persistence entirely by setting
persist: falsein thedevoptions:Or when using
unstable_startWorker():This is useful for testing scenarios where you want to ensure a clean state on each run without any persisted data from previous runs.
Patch Changes
#12861
f7de0fdThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12734
8e89e85Thanks @flostellbrink! - Add back support for wrangler d1 exports with multiple tables.Example:
#12807
8d1e130Thanks @MaxwellCalkin! - fix:vectorizecommands now output valid jsonThis fixes:
wrangler vectorize createwrangler vectorize infowrangler vectorize insertwrangler vectorize upsertwrangler vectorize listwrangler vectorize list-vectorswrangler vectorize list-metadata-indexAlso,
wrangler vectorize create --jsonnow also includes thecreated_at,modified_onanddescriptionfields.#12856
6ee18e1Thanks @dario-piotrowicz! - Fix autoconfig for Astro v6 projects to skip wrangler config generationAstro 6+ generates its own wrangler configuration on build, so autoconfig now detects the Astro version and skips creating a
wrangler.jsoncfile for projects using Astro 6 or later. This prevents conflicts between the autoconfig-generated config and Astro's built-in config generation.#12700
4bb61b9Thanks @RiscadoA! - Add client-side validation for VPC service host flagsThe
--hostname,--ipv4, and--ipv6flags onwrangler vpc service createandwrangler vpc service updatenow validate input before sending requests to the API. Previously, invalid values were accepted by the CLI and only rejected by the API with opaque error messages. Now users get clear, actionable error messages for common mistakes like passing a URL instead of a hostname, using an IP address in the--hostnameflag, or providing malformed IP addresses.Updated dependencies [
f7de0fd,ecc7f79,1dda1c8]:v4.72.0Compare Source
Minor Changes
#12746
211d75dThanks @NuroDev! - Add support for inheritable bindings in type generationWhen using
wrangler typeswith multiple environments, bindings from inheritable config properties (likeassets) are now correctly inherited from the top-level config in all named environments. Previously, if you definedassets.bindingat the top level with named environments, the binding would be marked as optional in the generatedEnvtype because the type generation didn't account for inheritance.Example:
{ "assets": { "binding": "ASSETS", "directory": "./public" }, "env": { "staging": {}, "production": {} } }Before this change,
ASSETSwould be typed asASSETS?: Fetcher(optional). Now,ASSETSis correctly typed asASSETS: Fetcher(required). This fix currently applies to theassetsbinding, with an extensible mechanism to support additional inheritable bindings in the future.#12826
de65c58Thanks @gabivlj! - Enable container egress interception in local dev without theexperimentalcompatibility flagContainer local development now always prepares the egress interceptor sidecar image needed for
interceptOutboundHttp(). This makes container-to-Worker interception available by default in Wrangler, Miniflare, and the Cloudflare Vite plugin.Patch Changes
#12790
5451a7fThanks @petebacondarwin! - Bump node-forge to ^1.3.2 to address security vulnerabilitiesnode-forge had ASN.1 unbounded recursion, OID integer truncation, and ASN.1 validator desynchronization vulnerabilities. This is a bundled dependency used for local HTTPS certificate handling.
#12795
82cc2a8Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12811
3c67c2aThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12827
d645594Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12808
6ed249bThanks @MaxwellCalkin! - Fixwrangler d1 execute --jsonreturning"null"(string) instead ofnull(JSON null) for SQL NULL valuesWhen using
wrangler d1 execute --jsonwith local execution, SQL NULL values were incorrectly serialized as the string"null"instead of JSONnull. This produced invalid JSON output that violated RFC 4627. The fix removes the explicit null-to-string conversion so NULL values are preserved as proper JSON null in the output.#12824
9f93b54Thanks @jamesopstad! - Strip query strings from module names before writing to diskWhen bundling modules with query string suffixes (e.g.
.wasm?module), the?character was included in the output filename. Since?is not a valid filename character on Windows, this caused an ENOENT error duringwrangler dev. This was particularly visible when using Prisma Client with the D1 adapter, which imports.wasm?modulefiles.The fix strips query strings from module names before writing them to disk, while preserving correct module resolution.
#12771
b8c33f5Thanks @penalosa! - Make remote devexchange_urloptionalThe edge-preview API's
exchange_urlis now treated as optional. When unavailable or when the exchange fails, the initial token from the API response is used directly. Theprewarmstep andinspector_websockethave been removed from the remote dev flow in favour oftail_urlfor live logs.Updated dependencies [
5451a7f,82cc2a8,3c67c2a,d645594,de65c58,cb14820,a7c87d1,e4d9510]:v4.71.0Compare Source
Minor Changes
#11656
ec2459eThanks @prydt! - feat(hyperdrive): add MySQL SSL mode and Custom CA supportHyperdrive now supports MySQL-specific SSL modes (
REQUIRED,VERIFY_CA,VERIFY_IDENTITY) alongside the existing PostgreSQL modes. The--sslmodeflag now validates the provided value based on the database scheme (PostgreSQL or MySQL) and enforces appropriate CA certificate requirements for each.Usage:
Patch Changes
5cc8fcf]:v4.70.0Compare Source
Minor Changes
6a8aa5f](https://redirect.github.com/cloudflare/workers-sdk/commit/6a8aa5f28fdf8e83Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.