Skip to content

fix(router): zod export - #8887

Open
wmertens wants to merge 3 commits into
mainfrom
fix-zod
Open

fix(router): zod export#8887
wmertens wants to merge 3 commits into
mainfrom
fix-zod

Conversation

@wmertens

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 31, 2026 10:13
@wmertens
wmertens requested review from a team as code owners July 31, 2026 10:13
@changeset-bot

changeset-bot Bot commented Jul 31, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 304bbbb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@qwik.dev/router Patch
eslint-plugin-qwik Patch
@qwik.dev/core Patch
create-qwik Patch
@qwik.dev/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 31, 2026

Copy link
Copy Markdown

Open in StackBlitz

@qwik.dev/core

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@8887

@qwik.dev/router

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@8887

eslint-plugin-qwik

npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@8887

create-qwik

npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@8887

@qwik.dev/optimizer

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/optimizer@8887

@qwik.dev/devtools

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/devtools@8887

commit: 304bbbb

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR primarily updates the Router’s Zod-related public surface and refreshes formatting/tooling outputs across the monorepo (driven by Prettier / API extraction updates), with a changeset included for the router.

Changes:

  • Adjust the Router runtime entry/API docs around the zod / z export and related Zod type references.
  • Bump developer tooling dependencies (notably Prettier, API Extractor/Documenter, Vitest coverage) and reformat many TS/type/doc outputs accordingly.
  • Expand @qwik.dev/core’s vitest peer dependency range to include v4.

Reviewed changes

Copilot reviewed 51 out of 53 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pnpm-lock.yaml Lockfile updates reflecting tool/dependency bumps (Prettier, API Extractor, Vitest coverage, transitive deps).
packages/qwik/src/testing/util.ts Formatting-only change to element node type check comment placement.
packages/qwik/src/server/ssr-render.ts Type formatting for manifest union type.
packages/qwik/src/core/use/use-on.ts Type formatting for EventQRL union type.
packages/qwik/src/core/use/use-core.ts Type formatting for PossibleEvents union type.
packages/qwik/src/core/shared/serdes/subscription-patch.ts Type formatting for constructor param union type.
packages/qwik/src/core/shared/platform/async-local-storage.ts Type formatting for AsyncLocalStorage lookup union type.
packages/qwik/src/core/shared/jsx/types/jsx-qwik-events.ts Type formatting for LiteralUnion.
packages/qwik/src/core/shared/jsx/types/jsx-qwik-attributes.ts Type formatting for event handler unions in JSX attribute types.
packages/qwik/src/core/shared/jsx/types/jsx-generated.ts Type formatting for generated JSX/ARIA types and mapped/filtered helper types.
packages/qwik/src/core/shared/component.public.ts Type formatting inside _AllowPlainQrl conditional type.
packages/qwik/src/core/shared/component-execution.ts Minor formatting in conditional/union type assertions.
packages/qwik/src/core/control-flow/suspense-utils.ts Type formatting for container union type.
packages/qwik/src/core/client/vnode-utils.ts Formatting changes (casts + numeric literal comments).
packages/qwik/src/core/client/vnode-diff.ts Type formatting for parent vnode assertion.
packages/qwik/package.json Update Prettier devDep and widen vitest peerDep range (>=2 <5).
packages/qwik-vite/src/plugins/vite.ts Type formatting for transformedModuleOutput option.
packages/qwik-vite/src/plugins/rollup.ts Type formatting for transformedModuleOutput option.
packages/qwik-vite/src/plugins/plugin.ts Type formatting for transformedModuleOutput option.
packages/qwik-router/src/runtime/src/types.ts Type formatting for ValidatorReturn union type.
packages/qwik-router/src/runtime/src/route-loaders.ts Type formatting for sharedMap value casts.
packages/qwik-router/src/runtime/src/qwik-router.runtime.api.md Update generated API doc import/typing references for Zod (import * as z from 'zod') and related types.
packages/qwik-router/src/runtime/src/index.ts Change how z is exported from the router runtime entry point.
packages/qwik-router/src/runtime/src/form-component.tsx Type formatting for onSubmitCompleted$ prop.
packages/qwik-router/src/middleware/request-handler/types.ts Type formatting for StatusCodes and HttpMethod unions.
packages/qwik-router/src/middleware/request-handler/resolve-request-handlers-core.ts Type formatting for casts and tuple union type.
packages/qwik-router/src/middleware/request-handler/request-event-core.ts Type formatting for server timing cast.
packages/qwik-router/src/middleware/request-handler/handlers/action-handler.ts Type formatting for global actions map cast.
packages/qwik-router/src/buildtime/runtime-generation/generate-routes.ts Formatting change to numeric-literal comment placement in isGroupKey.
packages/qwik-router/package.json Bump @microsoft/api-extractor devDependency.
packages/optimizer/src/path.ts Formatting change to numeric-literal comment placement in path utilities.
packages/insights/package.json Bump Prettier and Tailwind Prettier plugin versions for insights package.
packages/eslint-plugin-qwik/src/scope-use-task.ts Type formatting for AST function node unions.
packages/docs/src/routes/api/qwik/index.mdx Generated API docs formatting/escaping updates and type formatting.
packages/docs/src/routes/api/qwik-router/index.mdx Generated API docs formatting/escaping updates and type formatting.
packages/docs/src/routes/api/qwik-optimizer/index.mdx Generated API docs formatting for option union type.
packages/docs/src/repl/types.ts Type formatting for OutputPanel union type.
packages/docs/src/repl/bundler/repl-ssr-worker.ts Type formatting for outgoing message union type.
packages/docs/package.json Bump Prettier devDependency for docs package.
packages/devtools/ui/src/runtime/preloads.ts Type formatting for global store cast.
packages/devtools/ui/src/features/RenderTree/formatTreeData.ts Type formatting for capture ref cast.
packages/devtools/ui/src/features/HookTree/hookTreeHelpers.ts Type formatting for props cast.
packages/devtools/ui/src/features/HookTree/HookTree.tsx Type formatting for __qrlChunk cast.
packages/devtools/ui/src/devtools/rpc.ts Type formatting for data provider cast.
packages/devtools/ui/src/devtools/page-data-source.ts Type formatting for page data source cast.
packages/devtools/ui/src/components/Tree/type.ts Type formatting for ElementType union.
packages/devtools/package.json Bump Prettier and Tailwind Prettier plugin versions for devtools package.
packages/devtools/kit/src/globals.ts Type formatting for match-mode union.
packages/devtools/kit/src/client-bridge.ts Type formatting for hook cast.
packages/browser-extension/public/qwikloader.js Minor formatting tweak to for (;;) whitespace.
package.json Tooling dependency bumps at repo root (Prettier/plugins, API Extractor/Documenter, Vitest coverage).
e2e/qwik-e2e/apps/qwikrouter-test/src/routes/(common)/actions/validated/index.tsx Type formatting for satisfies union type.
.changeset/quiet-zebras-smile.md Changeset for @qwik.dev/router describing Zod export/tree-shaking fix.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 162 to 166
"peerDependencies": {
"prettier": "*",
"vite": ">=6 <9",
"vitest": ">=2 <4"
"vitest": ">=2 <5"
},
Comment on lines +104 to +105
import * as z from 'zod';
export { z };
@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview 304bbbb

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

Labels

None yet

Projects

Status: Waiting For Review

Development

Successfully merging this pull request may close these issues.

3 participants