Skip to content

fix(deps): update dependency @cloudflare/vite-plugin to v1.31.1#14

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/cloudflare-vite-plugin-1.x
Open

fix(deps): update dependency @cloudflare/vite-plugin to v1.31.1#14
renovate[bot] wants to merge 1 commit intomainfrom
renovate/cloudflare-vite-plugin-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 27, 2026

This PR contains the following updates:

Package Change Age Confidence
@cloudflare/vite-plugin (source) 1.30.01.31.1 age confidence

Release Notes

cloudflare/workers-sdk (@​cloudflare/vite-plugin)

v1.31.1

Compare Source

Patch Changes

v1.31.0

Compare Source

Minor Changes
  • #​13011 b9b7e9d Thanks @​ruifigueira! - Add experimental headful browser rendering support for local development

    Experimental: This feature may be removed or changed without notice.

    When developing locally with the Browser Rendering API, you can enable headful (visible) mode via the X_BROWSER_HEADFUL environment variable to see the browser while debugging:

    X_BROWSER_HEADFUL=true wrangler dev
    X_BROWSER_HEADFUL=true vite dev

    Note: when using @cloudflare/playwright, two Chrome windows may appear — the initial blank page and the one created by browser.newPage(). This is expected behavior due to how Playwright handles browser contexts via CDP.

  • #​13051 d5bffde Thanks @​dario-piotrowicz! - Update getLocalWorkerdCompatibilityDate to return today's date

    The re-exported getLocalWorkerdCompatibilityDate function from @cloudflare/vite-plugin previously resolved the workerd compatibility date by traversing the local miniflare installation, which was unreliable in some package manager setups. It now simply returns today's date. The function is also marked as deprecated — callers should just use today's date instead, for example like so: new Date().toISOString().slice(0, 10)

Patch Changes
  • #​13125 f76652c Thanks @​kayluhb! - Fix SyntaxError when SSR-transformed module ends with a single-line comment

    When module code ends with a // comment (e.g. //# sourceMappingURL=... preserved by vite-plus), the closing } of the async wrapper in runInlinedModule was absorbed into the comment, causing SyntaxError: Unexpected end of input. Adding a newline before the closing brace prevents this.

  • #​13188 110002c Thanks @​shulaoda! - Normalize the return value of getAssetsDirectory() with vite.normalizePath() to ensure assets.directory in the output wrangler.json always uses forward slashes

  • Updated dependencies [9c4035b, 5d29055, fb67a18, d5bffde, ab44870, 48d83ca, b2f53ea, b9b7e9d, 14e72eb, 4dc94fd, b2f53ea, d5bffde, 48d83ca]:

    • wrangler@​4.80.0
    • miniflare@​4.20260401.0

v1.30.3

Compare Source

Patch Changes
  • #​13111 f214760 Thanks @​dependabot! - Add missing connect key to WorkerEntrypoint and DurableObject key lists in the runner worker

    The connect method was added to the WorkerEntrypoint and DurableObject types in workerd 1.20260329.1 but was missing from the WORKER_ENTRYPOINT_KEYS and DURABLE_OBJECT_KEYS arrays used for RPC property access in the Vite plugin runner worker. This caused the compile-time exhaustiveness check to fail with the updated workers-types.

  • Updated dependencies [ffbc268, 9eff028, ed20a9b, f214760, 746858a, 9aad27f, 1fc5518, b539dc7, 9282493, a532eea, cd0e971, d4c6158, 2565b1d]:

    • wrangler@​4.79.0
    • miniflare@​4.20260329.0

v1.30.2

Compare Source

Patch Changes

v1.30.1

Compare Source

Patch Changes
  • #​12851 86a40f0 Thanks @​jamesopstad! - Fix a bug that prevented using subpath imports for additional module types

    You can now use subpath imports for additional module types (.html, .txt, .sql, .bin, .wasm) by defining them in your package.json imports field:

    // package.json
    {
      "imports": {
        "#templates/page": "./src/templates/page.html"
      }
    }
    import page from "#templates/page";
    
    export default {
      fetch() {
        return new Response(page, {
          headers: { "Content-Type": "text/html" },
        });
      },
    } satisfies ExportedHandler;
  • Updated dependencies [593c4db, b8f3309, 451dae3, 5aaaab2, 5aaaab2, f8516dd, 9c9fe30, 379f2a2, c2e9163, 6a6449e, 9a1cf29, 875da60]:

    • wrangler@​4.77.0
    • miniflare@​4.20260317.2

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Mar 27, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown
Contributor

cloudflare-workers-and-pages bot commented Mar 27, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
vimeejs-playground e7a0db5 Commit Preview URL

Branch Preview URL
Apr 10 2026, 08:41 PM

@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x branch 2 times, most recently from 67f644d to 243f27c Compare March 30, 2026 16:42
@renovate renovate bot changed the title fix(deps): update dependency @cloudflare/vite-plugin to v1.30.1 fix(deps): update dependency @cloudflare/vite-plugin to v1.30.2 Mar 30, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x branch from 243f27c to 0b57625 Compare April 3, 2026 12:57
@renovate renovate bot changed the title fix(deps): update dependency @cloudflare/vite-plugin to v1.30.2 fix(deps): update dependency @cloudflare/vite-plugin to v1.30.3 Apr 3, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x branch from 0b57625 to 1aa1c86 Compare April 5, 2026 13:22
@renovate renovate bot changed the title fix(deps): update dependency @cloudflare/vite-plugin to v1.30.3 fix(deps): update dependency @cloudflare/vite-plugin to v1.31.0 Apr 5, 2026
@renovate renovate bot force-pushed the renovate/cloudflare-vite-plugin-1.x branch from 1aa1c86 to e7a0db5 Compare April 10, 2026 20:40
@renovate renovate bot changed the title fix(deps): update dependency @cloudflare/vite-plugin to v1.31.0 fix(deps): update dependency @cloudflare/vite-plugin to v1.31.1 Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants