Skip to content

chore(deps): update dependency void to v1.7.0 - #39

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/void-1.x-lockfile
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/void-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
void (source) 1.6.2 → 1.7.0 age adoption passing confidence

Release Notes

voidzero-dev/void (void)

v1.7.0

Compare Source

  • Added rich Pages data serialization. Date, Map, Set, bigint, and other supported values now keep their types through server rendering, hydration, navigation, and deferred loading.
  • Added bracket patterns such as /users/[id] and /files/[...path] to typed routing APIs. Existing colon patterns remain supported.
  • Added route-pattern inference to useParams(), including checks for page names and parameter names.
  • Extended routing.typedRoutes checks to redirects, island forms, ISR revalidation paths, and SSE and live stream client URLs.
  • Added routing.trailingSlash for Pages URLs ending in / and directory-style prerender output.
  • Added automatic types for custom Cloudflare bindings declared in void.config.ts.
  • Added getAuth(c) from void/auth to access the request’s Better Auth instance, including plugin APIs.
  • Added void deploy --skip-migrations for deployments where database migrations run separately.
  • Added support for Nitro 3 prereleases while retaining Nitro 2 compatibility.
  • Added support for custom ASSETS fetchers in Node.js, Bun, and Deno servers, including apps packaged as single executables.
  • Fixed React form status, errors, and resets during overlapping submissions, preserving edits made while a submission is in flight.
  • Fixed body validation for multipart and URL-encoded forms, including nested fields and file uploads.
  • Fixed prerender URLs containing multiple route parameters and catch-all segments.
  • Fixed pagination and filter links being marked active when their query parameters don’t match.
  • Fixed Pages response caching by preserving headers that distinguish HTML from page-data responses.
  • Fixed local .env values being included in native framework Worker bundles.
  • Fixed server values from void/env being unavailable in cron and queue jobs, and env.ts validation being removed from apps marked as having no side effects.
  • Fixed SvelteKit cron and queue job bundles being uploaded as public assets.
  • Fixed Worker Loader bindings being dropped when deploying with existing secrets.
  • Fixed vinext middleware being bypassed for public assets and not being detected on case-insensitive filesystems.
  • Fixed shared asset caches bypassing worker-first routing on Void platforms.
  • Fixed deployments of Workers without a public readiness URL.
  • Improved Cloudflare deployment errors and recovery when updating Worker triggers fails.
  • Fixed AI endpoints ignoring disabled platform capabilities.

Thanks to @​0froq, @​Dazzanova, @​kotarotaniguchi0523, @​L4Ph, @​magurotuna, @​morinokami, @​niteshseram, @​Saeris, and @​yangshun for their contributions!

Rich Pages Data

Return values directly from loaders without converting dates, sets, or big integers yourself:

import { defineHandler } from 'void';

export const loader = defineHandler(() => ({
  publishedAt: new Date(),
  tags: new Set(['void', 'vite']),
  views: 42n,
}));

Loaders and props

Typed Routing

Route patterns can now match your filenames directly. For a page at pages/users/[id].tsx, .vue, or .svelte. Bracket patterns also work with typed fetch(), WebSocket connections, page actions, and useParams():

import { routeUrl } from 'void/routes';

const profile = routeUrl('/users/[id]', {
  params: { id: 42 },
  query: { tab: 'activity' },
});
// /users/42?tab=activity

Typed routing · Typed page params

Trailing-Slash Pages

Enable trailing slashes and directory-style output for hosts such as GitHub Pages. A page at /posts/hello/ is written to posts/hello/index.html:

import { defineConfig } from 'void/config';

export default defineConfig({
  output: 'static',
  routing: { trailingSlash: true },
});

Trailing slashes and directory indexes

More Control over Deployments

Skip application and authentication SQL migrations when they run in a separate release step:

void deploy --skip-migrations

Deployment options

Upgrade Guide

  • Typed fetch() calls to non-GET endpoints now require an explicit method, such as { method: 'POST' }.
  • With routing.typedRoutes enabled, redirects, island forms, ISR revalidation paths, and stream URLs receive additional checks. Use routeUrl() for internal URLs with dynamic parameters.
  • Pages loader values such as dates now arrive as their original types rather than JSON strings. Update code that expects their JSON representation. Already-open tabs automatically reload on their next navigation when the page-data format changes.

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

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

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

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
php-imgproxy 9051712 Nov 10 2026, 06:49 AM

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.

0 participants