Skip to content

fix(deps): bump wrangler from 4.149.0 to 4.163.0 - #2912

Merged
simple-agent-manager[bot] merged 4 commits into
mainfrom
dependabot/npm_and_yarn/wrangler-4.163.0
Nov 20, 2026
Merged

simple-agent-manager[bot] merged 4 commits into
mainfrom
dependabot/npm_and_yarn/wrangler-4.163.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Bumps wrangler from 4.149.0 to 4.163.0.

Release notes

Sourced from wrangler's releases.

wrangler@4.163.0

Minor Changes

  • #16917 d36b39d Thanks @​jamesopstad! - Write Build Output to .cloudflare/output/v1/ and record the producer

    vite build and the experimental wrangler build --experimental-cf-build-output now write Build Output v1, with account settings nested under settings in the root config.json. They also record themselves as the producer, so readers can name the tool that wrote the output in error messages. Previews from Build Output read the account settings from their new location.

  • #16246 349fc4e Thanks @​leostera! - Start local Workflows from Artifacts events

    Declare Artifacts events on exports.workflow({ name, events }) in cloudflare.config.ts to start the owning Workflow locally in cf, Vite, and Workers Vitest. Wrangler configurations continue to use triggers.events. Native config conversion derives those targets from the Workflow export, and cf migrate attaches existing event subscriptions to their matching Workflow exports.

    Local Artifacts namespaces publish the documented cf.artifacts.* messages for repository create, import, fork, and delete operations and token creation and revocation. Successful create, import, and fork operations also publish the initial token-created event. Delivery follows the committed mutation, is unordered, and does not fail the repository operation if a destination rejects it. Push, clone, and fetch events are not yet published locally. This feature does not provide local Artifacts-to-queue subscriptions.

Patch Changes

  • #16803 b219078 Thanks @​petebacondarwin! - Run experimental cf projects with their installed Vite or Vite+ commands

    cf dev, cf build, and deployments that build your project can use Vite or Vite+ even when no framework command is detected. This removes the need for the internal cf-vite delegate and supports dependencies declared and hoisted at the root of a configured workspace. A workspace application using a custom-named Vite config should declare @cloudflare/vite-plugin in its own manifest, or add vite or vite-plus as a dependency or dev dependency to identify its tooling; this keeps shared root tools from selecting Vite for non-Vite siblings. Configs passed later via --config are evaluated by Vite when the command runs. Existing framework commands keep their priority. Consumers resolve bare executables using the detected nodeModulesPaths in order, adding .bin to each directory. Lookup stops at the validated workspace root; standalone applications use only their own node_modules/.bin.

    Project inspection can recognize an existing Cloudflare configuration before dependencies are installed. Running a command provides guidance when the required tools are missing or the plugin version does not support cf profiles (>=2.0.0-beta.v.13 <3). Vite evaluates the project configuration when the command runs, including dynamic configs and custom config files. Repair guidance uses the project’s detected package manager. Automatic setup asks users to convert CommonJS .cjs and .cts Vite configs to ESM imports and exports in .mjs or .mts before adding the ESM-only Cloudflare plugin. Native builds also work with the Windows shell. Pages migration safeguards, unsupported-framework setup checks, and Wrangler command selection retain their existing behavior.

  • #16944 db3c071 Thanks @​danlapid! - Stop wrangler dev from missing config file changes made soon after a reload

    wrangler dev replaced its config file watcher on every reload without waiting for the new one to start, so a change saved in that gap was never applied. It now keeps one watcher while the set of watched files is unchanged, and reports a config as applied only once its files are being watched. A second change saved within 50 ms of the previous one is no longer dropped either.

  • #16920 81e56dd Thanks @​benbuzbee! - Use the effective max_instances value when choosing the default container rollout steps

    When max_instances was omitted, Wrangler deployed 20 instances but chose rollout steps as if there were 0 instances, so the rollout used a single 100% step. Wrangler now uses [10, 100] for omitted max_instances, while still using a single 100% step when max_instances is 0 or 1.

  • #16946 e97c9f8 Thanks @​dependabot! - Update DEFAULT_COMPAT_DATE to 2026-11-16

    Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #16946 e97c9f8 Thanks @​dependabot! - Update dependencies of "miniflare", "wrangler"

    The following dependency versions have been updated:

    Dependency From To
    @​cloudflare/workers-types ^5.20261113.1 ^5.20261116.1
    workerd 1.20261113.1 1.20261116.1
  • #16874 4335eac Thanks @​petebacondarwin! - Avoid redundant OAuth refreshes after a sibling process updates credentials

    Check access-token expiry and select the refresh token from the same fresh credential snapshot. When a sibling has already saved a valid access token, reuse it without another exchange or write. This prevents an unnecessary rotation that can let an older response overwrite a newer refresh token.

  • #16917 d36b39d Thanks @​jamesopstad! - Detect Cloudflare Build Output of any version before deploying

    wrangler deploy, wrangler versions upload and wrangler preview refuse to run in a project that has Cloudflare Build Output, because that output belongs to cf. Detection now looks for any .cloudflare/output/v<N>/ directory rather than only the root config of the current version, so output left by an older or newer cf is still caught.

... (truncated)

Commits
  • 06acbd4 Version Packages (#16915)
  • d36b39d @cloudflare/build-output-utils v1 RC (#16917)
  • 0bf81ac Move @cloudflare/config package to 1.0 RC (#16907)
  • db3c071 Stop wrangler dev from losing config changes after a reload (#16944)
  • 81e56dd Use effective max_instances for container rollout defaults (#16920)
  • 349fc4e [miniflare] Start local Workflows from Artifacts events (#16246)
  • 79b890a Version Packages (#16863)
  • f005593 [wrangler] Use the local Artifacts simulator when remote is omitted (#16735)
  • 032f8c2 [deploy-helpers,wrangler,codemods] Upload Workflow export settings with the W...
  • c889551 [wrangler] Fix requests hanging after local Worker reloads (#16862)
  • Additional commits viewable in compare view

Dependency completion

Updates Wrangler 4.149.0 to 4.163.0 with its matching Miniflare/workerd dependency graph. The worker test pool retains its separate pinned SDK family. Node support fits repository engines; the existing optional workers-types peer mismatch is unchanged.

Actual staging exposed Wrangler 4.150's new source-map upload default: this API's generated maps exceeded Cloudflare's 60 MiB limit. Explicit upload_source_maps = false preserves the previous behavior. The self-host translator drops this Cloudflare upload-only key with a recorded reason and real-config regression coverage; strict unknown-key rejection remains intact. Logs, persisted traces, invocation logging and query-string redaction remain enabled.

Current head: 7905b0edf37f7c7bd2c17edcb6e7abbd9e342e82. H2 main c8f84a8e5 was integrated through a normal two-parent merge and pnpm lockfile regeneration. The diff against main remains exactly five intended files. No H2 feature implementation is duplicated.

Validation and review

  • Frozen install and complete API dependency build passed.
  • Actual Wrangler bundle dry run: 66,945,395-byte source map before the fix; no map after, successful build.
  • Deployment config tests: 72 passed. Full self-host suite: 593 passed, 3 existing skips. Real hosted-git operations: 42/42 passed.
  • Independent Cloudflare/security and completion/docs/constitution reviews passed, including the main integration.
  • Exact-head staging 44670678365 completed successfully: deployment-SHA verification, API upload, container rollout, health and workflow smoke all executed and passed.
  • Fresh workload sign-in and live health/projects API/project overview returned 200 at 04:17 UTC; zero browser/server errors. No new persisted errors or log groups from the 03:52:55 baseline through 04:17:55. Standard 24-hour/10-occurrence noise check passed; Workers telemetry was unavailable (403) and explicitly skipped.
  • Full current-head CI 44670617941 completed successfully at exact current head: all applicable checks passed, including the worker shards and aggregate. E2E, benchmarks and Sonar also passed.
  • Staging lease release 44673503088 succeeded; staging2 was confirmed free with an empty queue at 04:20:05 UTC.

CodeRabbit label workflow skipped. Trusted main request 44661388573 succeeded and received an explicit Review skipped reply. No findings were returned; requests stopped under the best-effort policy.

Ownership: all 257 associations across six pages, exact URL/head active agents and duplicate task searches were reconciled; only this assigned task owns the PR. Latest paginated reviews/comments/threads contain no open findings. Final reconciliation is repeated before merge.

History: Dependabot refreshed snapshot 4be3dd2 to 6dc6537 before task takeover. Completion used normal commits and the normal main merge on the original branch; no force push/history rewrite, branch deletion, runtime/autosave commit, credential handling change or resource/schedule/concurrency override was performed.

  • Preflight completed before code changes
  • external-api-change
  • cross-component-change
  • infra-change

External References

Official documentation: https://developers.cloudflare.com/changelog/post/2026-10-20-source-maps-on-by-default/ and https://developers.cloudflare.com/workers/wrangler/configuration/ confirm the new upload default and supported false opt-out. Official workers-sdk release notes and npm metadata across 4.150–4.163 were reviewed for CLI, credential and runtime compatibility.

Codebase Impact Analysis

pnpm-workspace.yaml and pnpm-lock.yaml update the Wrangler family. apps/api/wrangler.toml explicitly preserves the prior no-source-map-upload behavior. scripts/selfhost/celld-config.ts must drop this Cloudflare upload-only key, while retaining strict rejection of unknown config. The existing real-config drop/report regression covers the translation. No auth, runtime business logic, credential paths, resource limits, schedules or concurrency defaults change.

Documentation & Specs

N/A: dependency and deployment compatibility changes preserve existing product behavior and interfaces. The adjacent Wrangler comment and explicit self-host translation reason document the measured deployment constraint; no public API or setup contract changes.

Constitution & Risk Check

Checked simplicity, security, configuration and cross-boundary correctness. The standard configurable Wrangler key restores prior behavior without a new abstraction, hardcoded runtime limit, dependency override or test weakening. Actual leased staging, full applicable CI, independent reviews and best-effort CodeRabbit remain required before merge. Secrets flow directly from GitHub secrets to consumers; no readback/decryption/copying is added.

Merge result

Merged as ef46680e5700a29cd970cce80b1e7c11bf9abfff at 04:22:06 UTC after every applicable PR gate passed at exact head 7905b0edf. Source branch remains present at the final head. Main CI and an actual production deploy plus successful-deployment marker are being tracked; production verification is not yet claimed.

Post-merge verification: merge ef46680e5700a29cd970cce80b1e7c11bf9abfff has the identical tree to the green PR head. Main CI 44673932318 first attempt failed only the pre-existing SMTP stalled-handshake fixture (OpenSSL wrong-version instead of timeout); downstream aggregates consequently failed and production was skipped. Independently reproduced silent fake-server replying502 to binary CRLF, matching existing SAM idea01M7RKNC0DRWE671N35G4S4JPJ. Unmodified SMTP suite31/31 passed locally. One diagnosed failed-job rerun requested; actual production deploy/marker verification remains pending.

Release verification complete: main CI44673932318 attempt2 SUCCESS. Actual production44678033676 attempt3 SUCCESS on the same merge SHA: Cloudflare job136100306603 executed API deploy/container rollout/health successfully; deployment marker job136102549496 executed successfully. Basic production health healthy200 and app200 at2026-11-20T05:25:26Z. Prior R2 internal10001 and known intermittent startupCPU10021 recorded; no workflow/secret/limit changes. Original source branch remains at7905b0edf37f7c7bd2c17edcb6e7abbd9e342e82.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 19, 2026
@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codspeed

codspeed Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 5 untouched benchmarks
⏩ 1 skipped benchmark1


Comparing dependabot/npm_and_yarn/wrangler-4.163.0 (7905b0e) with main (c8f84a8)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports. ↩

Bumps [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) from 4.149.0 to 4.163.0.
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.163.0/packages/wrangler)

---
updated-dependencies:
- dependency-name: wrangler
  dependency-version: 4.163.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/wrangler-4.163.0 branch from 4be3dd2 to 6dc6537 Compare November 20, 2026 01:50
@simple-agent-manager simple-agent-manager Bot added the coderabbit-review Trigger CodeRabbit review for opt-in PRs label Nov 20, 2026
@raphaeltm

Copy link
Copy Markdown
Owner

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Action not completed

Review skipped.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions
github-actions Bot requested a deployment to staging2 November 20, 2026 03:53 Abandoned
@github-actions
github-actions Bot requested a deployment to staging2 November 20, 2026 03:54 Abandoned
@sonarqubecloud

Copy link
Copy Markdown

@github-actions
github-actions Bot requested a deployment to staging2 November 20, 2026 04:19 Abandoned
@simple-agent-manager
simple-agent-manager Bot merged commit ef46680 into main Nov 20, 2026
52 checks passed

This branch had an error being deployed

1 abandoned and 1 inactive deployments
staging2 — 7905b0ed Deployed Nov 20, 2026 by github-actions[bot]
staging — 7905b0ed Deployed Nov 20, 2026 by simple-agent-manager[bot] via lease #3424
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coderabbit-review Trigger CodeRabbit review for opt-in PRs dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant