TanStack / TanStack/router

chore: retire unneeded validation adapters

Open
#7,780 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.1k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
143

Description

Goal

Retire validation adapters that are no longer needed because their schema libraries support Standard Schema directly.

Keep the Zod adapter supported where its fallback behavior remains required.

Scope

  • Confirm which ArkType and Valibot adapter use cases work directly with Standard Schema.
  • Identify any supported input/output typing behavior that still requires an adapter.
  • Deprecate the ArkType and Valibot packages before removing them from the workspace and publication flow.
  • Update examples and documentation to use direct Standard Schema validation where supported.
  • Keep Zod adapter guidance and fallback behavior intact.
  • Run package type/build tests and affected example validation coverage.

Related Work

This continues the discussion in #3830 where the task should use the current package layout and document the migration path for existing users.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the discussion in #3830 and inspecting the current package layout. Check ArkType and Valibot use cases, including input/output typing, against direct Standard Schema support, while preserving Zod fallback guidance. Done means the affected packages are deprecated and removed from workspace/publication flow, examples and documentation show the migration path, and package type/build tests plus affected examples pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation, tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.