← Back to Pull requests

[vite-plugin] Version v1 maintenance release #17358

Closed
unknown closed this pull request without merging on Dec 03, 2026 17:21 UTC
View on GitHub
unknown unknown commented on Dec 03, 2026 16:59 UTC
Author

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to vite-plugin-v1, this PR will be updated.

Releases


@cloudflare/vite-plugin@1.72.0

Minor Changes

  • #17315 05a8bed Thanks @petebacondarwin! - Add local development support for /cdn-cgi/image/ URL transformations
  • Enable images.url_transformations in the Wrangler configuration to transform images locally, including files served by Vite from public/ and through a parent server in middleware mode. Local transforms use the low-fidelity Sharp mock: resize, rotate, format conversion and a small set of options. Requests return 404 when transformations are disabled and 403 for disallowed origins, instead of reaching the Worker.

    Same-host image sources are checked against allowed_origins using the hostname of the first configured route. Projects without a route continue to allow local sources.

  • #17171 e77f312 Thanks @petebacondarwin! - Support oidc_tokens bindings in Vite builds
  • Vite validates OIDC audiences and preserves the binding's audience and optional signing algorithm in the generated Wrangler configuration. OIDC tokens identify the deployed Worker; signing tokens remains unsupported in local development.

  • #17171 e77f312 Thanks @petebacondarwin! - Add RealtimeKit remote bindings during local development
  • Configure a RealtimeKit binding with its app_id and remote: true in your Wrangler configuration to use an existing RealtimeKit app through the remote bindings proxy. RealtimeKit has no local simulator.

    Patch Changes

  • #17293 a3806f7 Thanks @petebacondarwin! - Update the local runtime to the November 29 release
  • Update Miniflare to 5.20261129.0-beta and require Wrangler 4.170.0 or newer. Projects without an explicit compatibility date default to November 29, 2026. Local Artifacts keeps its Git port reserved during startup and stable across configuration reloads, avoiding intermittent address-in-use failures.

  • #17171 e77f312 Thanks @petebacondarwin! - Use database_id for D1 bindings in remote preview uploads
  • Remote D1 bindings can connect to the configured database because preview uploads now use the field expected by the Workers API. Existing D1 binding configuration continues to use database_id.

  • #17171 e77f312 Thanks @petebacondarwin! - Expose EmailMessage.raw as a byte stream during local development
  • Preserve string and stream email inputs as readable byte streams, including Unicode content. Keep the remote email proxy compatible with legacy string payloads and the updated runtime payload format.

  • #17171 e77f312 Thanks @petebacondarwin! - Accept fedramp-high in CLOUDFLARE_COMPLIANCE_REGION
  • Both fedramp-high and fedramp_high select the FedRAMP High region, including when Vite requests managed Container registry credentials. OAuth login errors now identify CLOUDFLARE_COMPLIANCE_REGION as the setting to remove when using OAuth instead of an API token.

  • #17171 e77f312 Thanks @petebacondarwin! - Handle asset directory symlinks safely in Vite preview
  • Upgrade Miniflare so preview skips ignored directories, serves directory aliases using their URL paths, and stops following symlinks back to an ancestor instead of failing with too many symbolic links.
    <!-- devin-review-badge-begin -->

    ---

    <a href="https://cloudflare.devinenterprise.com/review/cloudflare/workers-sdk/pull/17358" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
    <!-- devin-review-badge-end -->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: NuroDev Review duration: 21m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #17358"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%