Skip to content

chore: bump up void to v1.8.0 - #279

Merged
Brooooooklyn merged 2 commits into
mainfrom
renovate/void
Nov 13, 2026
Merged

Brooooooklyn merged 2 commits into
mainfrom
renovate/void

Conversation

@renovate

@renovate renovate Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

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

v1.8.0

Compare Source

  • Added _not-found and _error Pages components to show errors inside your layouts, with support for nested boundaries across all four framework adapters.
  • Added throwOnError: false to useForm() to keep authentication and server errors inline without losing form input.
  • Added a session option to createDb() for D1 reads that need to start on the primary.
  • Added per-project AI Gateway logging controls, including metadata-only logging that omits prompt and response bodies.
  • Added ActionResult and getValidationErrors() exports to all framework adapters.
  • Added Drizzle’s SQL, SQLWrapper, AnyColumn, and BatchItem type exports to void/db.
  • Added query parameter support to typed named action URLs.
  • Upgraded to Vite+ 1.6, including newly created projects, and updated Cloudflare tooling.
  • Fixed actions dropping the current page’s query parameters and changing the URL, scroll position, or history when updating the page in place.
  • Fixed Vue, Svelte, and Solid forms losing edits made during submission and older submissions overwriting newer form state.
  • Fixed React navigation losing its destination and method while a transition is pending.
  • Fixed D1 authentication reads seeing stale data from replicas.
  • Fixed defaults and automatic updatedAt values when writing to generated Better Auth tables through Drizzle.
  • Fixed async env.ts validators failing in app requests and background jobs.
  • Fixed Vue pages with inline typed props failing to receive their props correctly.
  • Fixed app tests failing because Void tried to start a Worker or run migrations under Vitest.
  • Fixed intentional Worker 404 responses being replaced by static assets on native Cloudflare deployments.
  • Fixed Cloudflare preview and deployment failures for static apps with overlapping server route patterns.
  • Fixed a race between void secret put and the first Cloudflare deployment.
  • Improved diagnostics for queue options and Pages settings that cannot be inferred.
  • Fixed new projects’ .gitignore encouraging .env.example files that Void does not support.
  • Added a testing guide and an llms.txt index for the documentation.

Thanks to @​dvkam, @​jong-kyung, @​karthickeyan-dev, @​morinokami, @​ubugeeei, and @​yangshun for their contributions!

Not Found & Error Pages

Add _not-found and _error components to pages/ or a subdirectory to show errors inside your layouts. Both receive an error prop with status and message. A loader can show the nearest not-found component with c.notFound():

import { defineHandler } from 'void';

export const loader = defineHandler((c) => c.notFound());

Not found and errors

Inline Form Errors

Keep authentication and server errors in form.error, with the form and its input still visible:

import { useForm } from '@void/react'; // or "@void/vue", "@void/svelte", "@void/solid"

const form = useForm(
  '/users',
  { name: '', email: '' },
  { throwOnError: false },
);

Handling action errors

Fresh D1 Reads

Use session: 'first-primary' when a request needs the latest primary data while keeping Drizzle’s schema and query types:

import { users } from '@schema';
import { env } from 'cloudflare:workers';
import { defineHandler } from 'void';
import { createDb } from 'void/db';

export const GET = defineHandler(async () => {
  const db = createDb(env.DB, { session: 'first-primary' });
  return db.select().from(users).all();
});

D1 read replication

Per-Project AI Logging

Platform administrators can keep prompt and response bodies out of a project’s AI Gateway logs while retaining request metadata:

void platform project ai-logging <project-id> metadata

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 is behind base branch, 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 12, 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 (07d3065) with main (7e7933a)2

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

  2. No successful run was found on main (2e781f9) during the generation of this report, so 7e7933a was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@Brooooooklyn
Brooooooklyn merged commit 5d24e3d into main Nov 13, 2026
36 checks passed
@Brooooooklyn
Brooooooklyn deleted the renovate/void branch November 13, 2026 06:51
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.

1 participant