Skip to content

chore: version packages#2293

Merged
james-elicx merged 1 commit into
mainfrom
changeset-release/main
Jun 29, 2026
Merged

chore: version packages#2293
james-elicx merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

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 main, this PR will be updated.

Releases

@vinext/cloudflare@0.2.0

Features

Contributors

vinext@0.2.0

Features

Bug Fixes

App Router

Build

Pages

Pages Router

Misc

Performance

Contributors

@github-actions github-actions Bot force-pushed the changeset-release/main branch 16 times, most recently from 2ed4cd2 to 14ba67f Compare June 26, 2026 15:14
@james-elicx

james-elicx commented Jun 26, 2026

Copy link
Copy Markdown
Member

Today's release includes a revamped vinext init command, moving the deploy command to npx @vinext/cloudflare deploy, more support for configuring vinext in your Vite config file, and a bunch of bug fixes.

When you run vinext init in a project, you will be prompted to choose a target (e.g. 'cloudflare' or 'node'), and all configuration for that target will be done as part of the init command. This replaces the need to run vinext deploy to setup a cloudflare project. Projects using vinext deploy should switch to npx @vinext/cloudflare deploy - the previous command will be removed in a future release, and they are functionally the same.

Cloudflare builds no longer need the custom worker file that used to be generated for applications. You can now point your wrangler config to target a vinext-managed fetch handler that takes care of the generic entry under-the-hood.

{
  "$schema": "node_modules/wrangler/config-schema.json",
  "main": "vinext/server/fetch-handler",
}

When removing the custom worker, you can configure your image optimisation provider and prerendering config in your Vite config.

import vinext from "vinext";
import { imagesOptimizer } from "@vinext/cloudflare/images/images-optimizer";

vinext({
  images: { optimizer: imagesOptimizer() },
  // exclude the prerender config altogether if you do not need prerendering.
  prerender: {
    // only '*' is supported at the moment, more configurability will come in future releases.
    routes: '*'
  },
});

@github-actions github-actions Bot force-pushed the changeset-release/main branch 13 times, most recently from 2a5fe36 to c55f260 Compare June 26, 2026 20:34
@github-actions github-actions Bot force-pushed the changeset-release/main branch 25 times, most recently from 1de054c to 07908d1 Compare June 29, 2026 18:17
@james-elicx james-elicx force-pushed the changeset-release/main branch from 07908d1 to d86b55d Compare June 29, 2026 18:20
@pkg-pr-new

pkg-pr-new Bot commented Jun 29, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@vinext/cloudflare@2293
npm i https://pkg.pr.new/vinext@2293

commit: d86b55d

@github-actions

Copy link
Copy Markdown
Contributor Author
Example Preview Production Original
app-router-cloudflare preview production
pages-router-cloudflare preview production
app-router-playground preview production original
realworld-api-rest preview production
nextra-docs-template preview production
benchmarks preview production
hackernews preview production original
workers-cache preview production
web preview production

@github-actions

Copy link
Copy Markdown
Contributor Author

Performance benchmarks

Compared d86b55d against base bcd4e44 using alternating same-runner rounds. Next.js was unchanged and skipped.

1 improved · 1 regressed · 4 within ±1.5%

Scenario Framework Baseline Current Change
Client bundle size (gzip) vinext 124.0 KB 124.0 KB ⚫ +0.0%
Client entry size (gzip) vinext 118.8 KB 118.8 KB ⚫ -0.0%
Dev server cold start vinext 2.08 s 2.04 s 🟢 -2.0%
Production build time vinext 2.33 s 2.40 s 🔴 +2.9%
RSC entry closure size (gzip) vinext 95.2 KB 95.2 KB ⚫ 0.0%
Server bundle size (gzip) vinext 161.5 KB 161.5 KB ⚫ +0.0%

View detailed results and traces

🟢 improvement · 🔴 regression · ⚫ change below 1.5% · paired base/head

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.

1 participant