Skip to content

chore: bump up void to v1.11.0 - #281

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/void
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/void

Conversation

@renovate

@renovate renovate Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@void/md (source) 1.8.0 → 1.11.0 age confidence
@void/react (source) 1.8.0 → 1.11.0 age confidence
void (source) 1.8.0 → 1.11.0 age confidence

Release Notes

voidzero-dev/void (@​void/md)

v1.11.0

Compare Source

  • Added database.readReplication to enable or disable D1 replicas. New databases default to replication off.
  • Added setSession() and getBookmark() from void/db, plus bookmark support in createDb(), to preserve previously observed database state across requests.
  • Added large SQL file imports for void db execute --remote --file on direct Cloudflare D1 deployments.
  • Added --yes to void db execute to skip interactive confirmation.
  • Improved void init with a concise setup summary, installation progress, and clearer next steps.
  • Fixed authentication clients triggering dependency re-optimization and page reloads during development.
  • Fixed generated authentication schemas and migrations dropping indexes declared by Better Auth plugins.
  • Fixed cancellation of AI provider requests and response streams.
  • Fixed local void db execute hiding rows returned by WITH, PRAGMA, EXPLAIN, and RETURNING statements.
  • Fixed remote SQL scripts incorrectly skipping confirmation, and D1 queries failing with Windows line endings.
  • Improved sending-only Cloudflare email setup, preserving inbound mail routing and avoiding repeated onboarding prompts.
  • Fixed intermittent platform upgrades and application deployments failing on stale Cloudflare verification reads.
  • Improved dependency alignment to avoid duplicate Cloudflare tooling in fresh installs.

Thanks to @​0froq, @​iPLAYCAFE-dev, and @​morinokami for their contributions!

D1 Sessions and Bookmarks

Enable replicas with database.readReplication: true. To carry database progress between requests, return a bookmark after your queries and send it with the next request:

// routes/users.ts
import { users } from '@schema';
import { defineHandler } from 'void';
import { db, getBookmark, setSession } from 'void/db';

export const GET = defineHandler(async (c) => {
  const bookmark = c.req.header('X-DB-Bookmark');
  setSession(bookmark ? { bookmark } : 'first-primary');

  const result = await db.select().from(users);
  c.header('Cache-Control', 'private, no-store');

  return { users: result, bookmark: getBookmark() };
});

D1 replication and bookmarks

Large SQL Imports

Import SQL files into a directly deployed Cloudflare D1 database. Files larger than 100 KB use D1’s import API, which temporarily pauses database queries while the import runs:

void db execute --remote --file ./data.sql --yes

Database commands

Upgrade Guide

Previously deployed D1 databases may already have replicas enabled. Unless your app intentionally uses replicas with consistency handling, set database.readReplication to false and run void deploy:

import { defineConfig } from 'void/config';

export default defineConfig({
  database: { readReplication: false },
});

v1.10.0

Compare Source

  • Upgraded to Cloudflare Vite plugin 2.0 RC and Cloudflare Build Output v1.
  • Added server-side WebSocket room actions, with typed arguments and results through getRoom() from void/ws/server.
  • Added storage.locationHint to choose a preferred region for new R2 buckets, with a configurable default for self-hosted platforms.
  • Added maxConcurrency to queue consumer exports to limit how many batches run at once.
  • Added the basic Sandbox instance size with 1 GiB of memory.
  • Added support for existing Hyperdrive configurations backed by Workers VPC when installing a platform.
  • Improved Markdown compilation performance by approximately 15× with a new syntax highlighter.
  • Fixed cookies set by getAuth(c).api calls not reaching the browser, including session updates and sign-out.
  • Fixed pending prefetches blocking Pages navigation while waiting for deferred data.
  • Fixed Pages replacing HTTP statuses set by loaders and middleware with 200.
  • Fixed HTTPException bypassing page error components and causing full-page reloads during navigation.
  • Fixed env.ts validation, defaults, and conversions being ignored in TanStack Start, React Router, and vinext.
  • Fixed typed fetch responses losing tuple types and incorrectly typing JSON nulls and omitted properties.
  • Fixed root dynamic routes allowing invalid URLs through routing.typedRoutes checks.
  • Fixed the previous page title remaining after navigating to a page without a title.
  • Fixed public platform installations failing when Cloudflare Access is disabled.
  • Improved Cloudflare deployment reliability when Worker version verification is temporarily unavailable.
  • Fixed void init suggesting the wrong development command when creating a project in a subfolder.

Thanks to @​0froq, @​iPLAYCAFE-dev, @​karthickeyan-dev, @​kotarotaniguchi0523, @​max-voloshyn, @​morinokami, and @​yangshun for their contributions!

Server-Side Room Actions

Declare actions in a WebSocket room to broadcast messages, close connections, or update room state from other server code:

// routes/chat.ws.ts
import * as v from 'valibot';
import { defineRoom } from 'void/ws';

export default defineRoom({
  messages: {
    client: v.string(),
    server: v.string(),
  },
  actions: {
    async announce(ctx, text: string) {
      await ctx.room.broadcast(text);
    },
  },
});

Call the action from a route, auth hook, queue consumer, or cron job. Arguments are checked against the room definition:

// routes/announce.ts
import { defineHandler } from 'void';
import { requireAuth } from 'void/auth';
import { getRoom } from 'void/ws/server';

export const POST = defineHandler(async (c) => {
  requireAuth(c);
  await getRoom('/chat').actions.announce('Hello, everyone!');
  return { ok: true };
});

Server-side room actions

R2 Location Hints

Choose a preferred region when Void creates your app’s R2 bucket. Hints are best effort and do not move existing buckets:

import { defineConfig } from 'void/config';

export default defineConfig({
  storage: { locationHint: 'apac' },
});

Storage location · Platform defaults

Queue Concurrency

Limit concurrent batches when a queue consumer calls a rate-limited API or another service that needs bounded parallel work. Add this export to your queue file:

export const maxConcurrency = 2;

Consumer options

Upgrade Guide
  • With routing.typedRoutes enabled, URLs handled only by root dynamic routes such as /[slug] or /[...slug] now require routeUrl() with parameters.
  • Calls such as getAuth(c).api.signUpEmail() now sign the current browser in. Use the admin plugin’s createUser when creating accounts for someone else.
  • If you reuse .cloudflare/output between build and deployment steps, rebuild it with the updated toolchain.

v1.9.1

Compare Source

  • Fixed dev server startup on fresh clones when database schemas reference generated authentication tables.
  • Fixed titleTemplate changing page titles containing dollar-sign sequences such as $$ and $&.
  • Fixed titleTemplate being ignored for default 404 and 500 page titles.

Thanks to @​karthickeyan-dev for their contributions!

v1.9.0

Compare Source

  • Added throwRedirect to requireAuth() to redirect unauthenticated visitors to a login page.
  • Added titleTemplate support to middleware headDefaults for section-specific page titles.
  • Added automatic resolution of relative Open Graph and Twitter image URLs against the current request.
  • Added AI Gateway logging defaults to platform plans, with project-specific settings taking precedence.
  • Added copyLabel to voidMarkdown() for translating code-block copy-button tooltips.
  • Improved native Cloudflare deployments of SvelteKit, Nuxt, Analog, and Astro to serve static files and prerendered pages without Worker invocations, while respecting run_worker_first.
  • Fixed AI requests failing with 503 ai_logging_policy_unavailable on hosted Void Cloud.
  • Fixed Pages routers reporting the destination URL after a rewrite instead of the URL in the browser.
  • Fixed spurious React hydration errors on pages using deferred data.
  • Fixed Pages and island action redirects losing URL fragments.
  • Fixed loader c.notFound() responses being replaced by static files at the same URL.
  • Fixed ISR serving cached HTML to requests that negotiate Markdown.
  • Fixed Markdown task lists rendering as plain text instead of checkboxes.
  • Improved right-to-left Markdown layouts and fixed heading anchors overlapping text.
  • Improved errors when void.config.ts imports unsupported TypeScript path aliases.
  • Improved dashboard deployment logs so filters and time ranges survive navigation and background refreshes.

Thanks to @​0froq, @​harshbhx, @​karthickeyan-dev, @​morinokami for their contributions!

Authentication Redirects

Send unauthenticated visitors to your login page from loaders, actions, or middleware. The redirect stops execution and uses 303 after mutations:

import { defineHandler } from 'void';
import { requireAuth } from 'void/auth';

export const loader = defineHandler((c) => {
  const user = requireAuth(c, { throwRedirect: '/login' });
  return { email: user.email };
});

Protecting pages

Page Titles and Social Previews

Override title templates for a section through middleware. Social preview URLs can use relative paths and Void resolves them against the current request:

import { defineMiddleware } from 'void';

export default defineMiddleware(async (c, next) => {
  if (c.req.path.startsWith('/admin')) {
    c.set('headDefaults', {
      ...c.get('headDefaults'),
      titleTemplate: '%s | Admin',
      meta: [{ property: 'og:image', content: '/og-image.png' }],
    });
  }
  await next();
});

Middleware defaults · Social preview URLs

AI Logging Defaults

Set aiLogging in a plan file to choose the default for its projects. You can also change the default through Plans in the dashboard.

{
  "aiLogging": "metadata"
}
void platform config plans set team --file team-plan.json --yes

AI Gateway logging


Configuration

📅 Schedule: (UTC)

  • 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 these updates again.


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

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

@codspeed

codspeed Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning

⚠️ 7 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 7 untouched benchmarks
⏩ 7 skipped benchmarks1


Comparing renovate/void (8122225) with main (5d24e3d)

Open in CodSpeed

Footnotes

  1. 7 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@renovate renovate Bot changed the title chore: bump up void to v1.9.0 chore: bump up void to v1.9.1 Nov 14, 2026
@renovate renovate Bot changed the title chore: bump up void to v1.9.1 chore: bump up void to v1.10.0 Nov 17, 2026
@renovate renovate Bot changed the title chore: bump up void to v1.10.0 chore: bump up void to v1.11.0 Nov 19, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants