Skip to content

[vite-plugin v1 backport] Update to the November 18 runtime - #17012

Merged
petebacondarwin merged 3 commits into
vite-plugin-v1from
codex/vite-v1-backport-17003
Nov 20, 2026
Merged

petebacondarwin merged 3 commits into
vite-plugin-v1from
codex/vite-v1-backport-17003

Conversation

@petebacondarwin

@petebacondarwin petebacondarwin commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Backports #17003 and supplies the compatible runtime from merged Version Packages #16978.

Vite plugin v1 development and preview now use Miniflare 5.20261118.0-beta (workerd 1.20261118.1), Workers types 5.20261118.1 and the November 18 default compatibility date. Public packages stay exact npm dependencies; retained private packages keep workspace:* references.

The published release changed the planned Wrangler version from unpublished 4.164.1 to 4.165.0. Pins are consistent in the plugin and direct retained consumers: Wrangler 4.165.0, workers-utils 0.55.0, deploy-helpers 0.28.0. The real pnpm lockfile is regenerated. No public sibling source or dependency unit tests are restored.

This same release supplies #16719 through the plugin's unstable_getVarsForDev path (reject invalid UTF-8 dev vars), #16954 (local Browser Run Chrome 152) and #17015 (bundled basic-ftp 6.2.6). #14578's public package build changes are included in the published artifacts; its remaining retained build changes are a separate backport. #14334's hashing changes are incidentally included, with no independently called v1 hashing API. No duplicate mapping PRs or changesets are needed.

The original runtime update adds no regression test. Validation on Node 22.22.1/pnpm 10.33.0: pnpm check passed, including build and all 58 lint/type/format tasks; pnpm test:ci passed all eight tasks, including all 268 plugin tests and retained-package suites. Credentialed E2E and the browser/OS matrix were not run locally.

#17031's newer runtime is not yet published and is tracked separately; this PR uses published versions and is ready for review. #16877 remains v2-only per maintainer guidance.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because: the original is a runtime/dependency refresh; existing plugin and retained suites pass against installed published packages.
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: maintenance runtime upgrade documented in the plugin changeset.

Note

This is a contribution from an AI agent: Codex.

@changeset-bot

changeset-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 16931ea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudflare/vite-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@petebacondarwin

Copy link
Copy Markdown
Contributor Author

@NuroDev (verified current human ant-core member, latest qualifying approval of #17003 before merge): please check this v1 backport of #17003 and approve it if it looks good once publication and final validation finish.

The recorded original author is dependabot[bot], so there is no human original author to request. This draft consumes the original runtime/date update through exact published-package pins rather than copying public SDK code. It targets vite-plugin-v1 directly because #16952 and #16983 have merged. The November 17 dependency coverage is preserved; only the November 18 increment is added, with matching Workers types and the intended coupled Wrangler/workers-utils/deploy-helpers versions from open #16978.

Miniflare 5.20261118.0-beta, Wrangler 4.164.1, workers-utils 0.55.0 and deploy-helpers 0.28.0 are not yet on npm. Installation therefore fails; the lockfile is unchanged and this stays draft until actual publication, lockfile regeneration and final build/types/tests. Baseline/static checks are detailed in the PR, without claiming validation of the unpublished runtime.

@ask-bonk

ask-bonk Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@petebacondarwin
petebacondarwin marked this pull request as ready for review November 19, 2026 14:27
@pkg-pr-new

pkg-pr-new Bot commented Nov 19, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/@cloudflare/vite-plugin@17012

commit: 16931ea

@workers-devprod
workers-devprod requested review from a team and dario-piotrowicz and removed request for a team November 19, 2026 14:28
@workers-devprod

workers-devprod commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved — Consistent dependency and runtime version bump with an accurate changeset; no issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

🚀 Release: ✅ LGTM

Overall risk: Medium. The runtime refresh and the new default compatibility date (2026-11-18) can change behaviour for projects that don't set their own compatibility date. The changeset describes both updates as a patch release of @cloudflare/vite-plugin. The pull request description says build, check and test suites passed; credentialed E2E and the browser/OS matrix were not run.


🔒 Security: ✅ LGTM

No security concerns: the only changes are bumps to published dependency versions.


📖 AGENTS.md: ✅ LGTM

The change follows the branch guidelines: exact npm versions for public packages, workspace:* references for private packages, and a plugin changeset.


📋 Code Quality: ✅ LGTM

The version pins are consistent across all changed manifests and the workspace catalog.


⚡ Performance: ✅ LGTM

The only changes are dependency version bumps, which have no performance impact.


📝 Documentation: ✅ LGTM

The changeset accurately describes the runtime update and the new default compatibility date.


Reviewed commit: 16931ea8

@petebacondarwin

Copy link
Copy Markdown
Contributor Author

@petebacondarwin (verified current ant-core member and latest qualifying human approval before merge), please check this v1 dependency backport of #16978 and approve if it looks good.

The original release author is workers-devprod, a service account, so no human original author is established. The published release is now installed: Miniflare 5.20261118.0-beta, coupled Wrangler 4.165.0 (replacing the unpublished planned 4.164.1), workers-utils 0.55.0 and deploy-helpers 0.28.0. Exact pins and the real lockfile supply #17003 and the released Browser Run/FTP/dev-vars fixes without restoring public sibling sources. Full v1 checks and package tests pass. The original #17003 request to @NuroDev already exists and is not repeated.

@workers-devprod workers-devprod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codeowners reviews satisfied

@dario-piotrowicz
dario-piotrowicz removed their request for review November 19, 2026 15:37
@petebacondarwin
petebacondarwin merged commit 2f74598 into vite-plugin-v1 Nov 20, 2026
30 of 33 checks passed
@petebacondarwin
petebacondarwin deleted the codex/vite-v1-backport-17003 branch November 20, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants