Update dependency wrangler to v4.106.0#339
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
2c9a89a to
56355fd
Compare
56355fd to
09a220f
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.103.0→4.106.0Release Notes
cloudflare/workers-sdk (wrangler)
v4.106.0Compare Source
Minor Changes
#14490
75d8cb0Thanks @petebacondarwin! - Addwrangler ai-search jobscommands for managing AI Search indexing jobsYou can now list, trigger, inspect, cancel, and read the logs of indexing jobs for an AI Search instance:
All commands accept
--namespace/-n(defaults todefault). All commands exceptcancelalso accept--jsonfor clean machine-readable output.#14490
75d8cb0Thanks @petebacondarwin! - Add--source-jurisdictiontowrangler ai-search createfor R2-backed instancesR2 buckets can live in a specific jurisdiction (for example
euorfedramp). You can now point an AI Search instance at a bucket in one of those jurisdictions:wrangler ai-search create my-instance --type r2 --source my-bucket --source-jurisdiction euWhen run interactively, the R2 source flow also prompts for a jurisdiction and lists (and can create) buckets within it. The value is a free-form string forwarded to the API as
source_params.r2_jurisdiction(server-side validated); omit the flag for no specific jurisdiction. This AI Search command is in open beta.#14490
75d8cb0Thanks @petebacondarwin! - Add auth profiles for managing multiple OAuth loginsAuth profiles let you maintain separate OAuth logins and bind them to directories, so you can switch between different accounts for different projects without having to re-login.
For example:
New commands under
wrangler auth:wrangler auth create <name>— create or re-authenticate a named profile via OAuthwrangler auth delete <name>— delete a profile and all its directory bindingswrangler auth activate <name> [dir]— bind a profile to a directory (defaults to cwd). Sub-directories will inherit this profile.wrangler auth deactivate [dir]— remove a directory bindingwrangler auth list— list all profiles and their corresponding directoriesThere is also a new global
--profileflag, which you can use to activate a profile for just that command run. Note that if you haveCLOUDFLARE_API_TOKENset, that will still take precedence over all profiles. Any account id settings (viaCLOUDFLARE_ACCOUNT_IDor wrangler config) will also still be respected.#14490
75d8cb0Thanks @petebacondarwin! - Add--strictflag towrangler versions uploadand improve pre-upload safety checkswrangler versions uploadnow runs the same pre-upload checks aswrangler deploy:The new
--strictflag (already available onwrangler deploy) causeswrangler versions uploadto abort in non-interactive/CI environments when any of these conflicts are detected, instead of auto-continuing.#14490
75d8cb0Thanks @petebacondarwin! - Add D1 migration setup tocreateTestHarness()Worker handlesTests using
createTestHarness()can now apply local D1 migrations before running requests:#14490
75d8cb0Thanks @petebacondarwin! - Add Workflow introspection tocreateTestHarness()Worker handles can now introspect Workflow bindings by name, allowing tests to disable sleeps, mock step results, and wait for Workflow outcomes. Tests can introspect a known Workflow instance by ID or track instances created after introspection starts.
#14446
e0cc2cbThanks @edmundhung! - AddbindingOverridesandgetExport()tocreateTestHarness()Test harness workers loaded from Wrangler config files can now replace a configured binding with a Worker in the same harness. This is useful for replacing platform bindings with test Workers while keeping the source Worker config production-like. You can also call
getExport()on a Worker returned byserver.getWorker(name)to access JSRPC methods on the default Worker export, including mock Workers used as override targets.#14490
75d8cb0Thanks @petebacondarwin! - Improvewrangler tailresilience and shutdown behaviourwrangler tailpreviously crashed with a raw stack trace when the keep-alive ping to the Worker timed out, and could exit with an ugly error on Ctrl-C.wrangler tailnow automatically tries to reconnect with exponential back-off (up to 5 retries).Patch Changes
#14490
75d8cb0Thanks @petebacondarwin! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14478
f10d4adThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14490
75d8cb0Thanks @petebacondarwin! - Improve the deploy warning shown when a Workflow name already belongs to another WorkerThe warning still notes that deploying reassigns the workflow to the current Worker, and now also explains why this happens (workflow names must be unique per account) and how to resolve it (rename the workflow in the Wrangler config).
#14490
75d8cb0Thanks @petebacondarwin! - usestreaminstead of deprecatedpipelinekey in pipelines setup config snippetThe
wrangler pipelines setupandwrangler pipelines createcommands now output the correctstreamproperty name in the configuration snippet, matching the rename frompipelinetostreamthat was applied across the rest of the codebase.#14490
75d8cb0Thanks @petebacondarwin! - Improve KV error messages to be clearer and more actionableError messages for KV namespace and key operations now consistently explain what went wrong, which flags or config fields to use, and what commands to run as alternatives. This covers namespace selection errors (delete, rename), binding resolution errors, config file issues, and preview namespace ambiguity.
#14479
d292046Thanks @dario-piotrowicz! - Improve R2 error messages to be clearer and more actionableError messages for
r2 bucket lifecycle,r2 bucket lock,r2 bucket catalog, andr2 sqlcommands now include the specific flag or argument that is missing or invalid, along with usage examples showing the correct syntax.#14490
75d8cb0Thanks @petebacondarwin! - Improvewrangler versions deployerror messages for non-interactive usageError messages in
wrangler versions deployare now clearer and more actionable, especially for non-interactive and agent-driven usage. Each error now explains what went wrong, what was expected, and how to fix it (e.g. suggesting the correct flag or command syntax).#14490
75d8cb0Thanks @petebacondarwin! - Fix the remote secrets override check during deploy targeting the wrong Worker when--nameis passedThe check that warns when a config value would override an existing remote secret was using the Worker name from the config file rather than the resolved name. If you passed
--name <other-worker>, the check ran against the config-file Worker name instead of the Worker actually being uploaded.#14490
75d8cb0Thanks @petebacondarwin! - Abort in-flight custom builds whenwrangler devexits or restarts a buildPreviously,
wrangler devmarked in-flight custom builds as stale but did not pass the abort signal to the spawned build command. This meant Ctrl-C could appear to hang while Wrangler waited for a custom build command to finish naturally. Custom build commands are now cancelled when the dev session tears down or a newer watched build supersedes them.#14490
75d8cb0Thanks @petebacondarwin! - Replace existing bindings when adding newly created resources to Wrangler configurationWhen config updates are authorized interactively or through
--update-configor--binding, Wrangler now replaces an existing resource binding with the selected name instead of adding a duplicate entry. This allows template bindings with placeholder resource IDs to be updated in both interactive and non-interactive workflows.#14490
75d8cb0Thanks @petebacondarwin! - Verify Docker is installed and running beforewrangler containers buildPreviously, running
wrangler containers buildwithout Docker installed or with the Docker daemon stopped would fail with an unhelpful spawn error. Now the command checks that Docker is reachable upfront and shows a clear, actionable error message with installation and troubleshooting steps.#14490
75d8cb0Thanks @petebacondarwin! - Addimagesas a valid--sourceforqueues subscription createThe Cloudflare Images service can emit events (e.g.
image.uploaded) to a Cloudflare Queue via the event subscriptions API, and this is supported by both the REST API and the Cloudflare Dashboard. However, the wrangler CLI was missingimagesfrom the hardcoded--sourcechoices list, causing the command to reject it with an "Invalid values" error.You can now subscribe a queue to Cloudflare Images events via the CLI:
Updated dependencies [
75d8cb0,f10d4ad,75d8cb0,75d8cb0]:v4.105.0Compare Source
Minor Changes
#14311
34e0cefThanks @sherryliu-lsy! - Add Google Artifact Registry support tocontainers registries configurewrangler containers registries configurenow recognizes*-docker.pkg.dev(Google Artifact Registry) domains.--gar-email. It must match theclient_emailin the service account key.--gar-emailand stored base64-encoded.Patch Changes
#14424
5f40dd5Thanks @MattieTK! - Bumpam-i-vibingfrom 0.4.0 to 0.5.0This updates the agentic environment detection library to the latest version, which adds detection for the Pi coding agent (
earendil-works/pi).#14406
3b743c1Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14343
daa5389Thanks @th0m! - Use digest-pinned image references for Dockerfile container deploysDockerfile-backed container deploys now use the pushed image digest when deploying the container application. This lets snapshot-enabled container apps pass Cloudchamber validation while keeping local, non-pushed builds and registry image URI deploys unchanged.
#14394
8a5cf8cThanks @Partha-Shankar! - fix(d1): escapemigrationsTableNameand filenames in SQLite queriesD1 migration commands in both
wranglerand@cloudflare/vitest-pool-workersinterpolated themigrationsTableNameconfig value and migration filenames directly into SQL strings without any escaping. This meant:my"tablewould produce invalid SQL inCREATE TABLE,SELECT, andINSERTstatements, andwhat's-new.sql) would break theINSERT INTO ... VALUES ('...')statement appended after each migration inwrangler.Both identifiers are now properly escaped before interpolation:
migrationsTableNameis wrapped in double-quotes with internal double-quotes doubled (SQL-standard identifier quoting), and migration filenames used as string literals have their single-quotes doubled before insertion.Updated dependencies [
3b743c1]:v4.104.0Compare Source
Minor Changes
#14369
e312decThanks @edmundhung! - AddgetEnv()tocreateTestHarness()Worker handlesTests can now access the full
envobject for a Worker withawait server.getWorker<Env>().getEnv(), including vars, secrets, and bindings.Patch Changes
#14364
a085decThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14383
9a0de8fThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14397
fab565fThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#14388
3f02864Thanks @petebacondarwin! - Stop erroring whenfind_additional_modulesdiscovers a file that only matches a inactive module ruleModule rules assign module types to imported files — they are not include/exclude filters. Also, setting
fallthrough: falsein a rule will cause subsequent rules to become inactive. Previously, whenfind_additional_moduleswalked the filesystem and discovered a file whose only matching rule is inactive, Wrangler would throw an error and fail the build.This meant that adding a user rule like the one below would break the build for any
.txt,.html,.sql,.binor.wasmfile that didn't match the user-supplied globs but lived somewhere under the module root:Discovered files that only match an inactive rule are now silently skipped (a
debug-level log records each skip for troubleshooting), so users can usefallthrough: falseto narrow the set of files attached to their Worker without having to delete or move untouched files on disk.The direct-import path is unchanged: importing a file in code that only matches an inactive rule is still a hard error, because the imported file genuinely needs a defined module type.
Fixes #14257.
#14358
4ef872fThanks @gabivlj! - Fix container egress interception on arm64 Docker runtimesBoth
wrangler devand the Cloudflare Vite plugin no longer force theproxy-everythingsidecar image to pull aslinux/amd64, allowing Docker to select the native image from the multi-platform manifest. SetMINIFLARE_CONTAINER_EGRESS_IMAGE_PLATFORMto force a specific platform when needed.#14362
2a02858Thanks @sherryliu-lsy! - Don't require the private credential when reusing an existing Secrets Store secret incontainers registries configurewrangler containers registries configurenow checks whether the target Secrets Store secret already exists before resolving the private credential. When the secret already exists it is reused by reference, so the private credential no longer needs to be supplied (via stdin in non-interactive mode, or via a prompt interactively). This applies to all external registries.The new-secret path is unchanged: the credential is still required and stored. The only visible interactive change is that the secret prompt now appears last and only when a new secret is being created.
Updated dependencies [
a085dec,9a0de8f,fab565f]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.