# Yup: 5.2 out of 10

Reasonable, with limits. 8th of 10 in [Validation libraries](https://elestia.ai/opensource/validation/index.md).

Yup is a mature, chainable schema validator. It made its name in form validation with Formik and has supported Standard Schema since v1.7. Development has stalled: there have been no commits or releases since September 2025, and its download growth trails the category. Keep it where it already runs, but pick Zod or Valibot for new TypeScript work.

**Best for:** Teams that already run Yup, often with Formik, and want to keep their existing form schemas.

## Scores

- **Overall: 5.2** (likely 4.2 to 6.3)
  - Claude Opus 5.5 (4.5): Yup still works well for form validation and is safe to keep, but development has stalled for over a year. Zod, Valibot and ArkType offer better TypeScript inference and are actively maintained. It is a good choice to keep where it already runs, not to start new projects with. The range stays moderate because a maintenance revival is possible.
  - GPT-6.2 Sol (5.9): Yup remains a reasonable choice for complex forms where its conditional rules and casting simplify the schema. Zod is the stronger general-purpose choice for new TypeScript projects given its more active maintenance and faster validation in the measured workload. Yup's established integrations support continued use, and the long release gap makes its longer-term outlook uncertain.
- **Needed by many: 7.7** (likely 6.7 to 8.7)
  - Claude Opus 5.5 (8.0): Most JavaScript and TypeScript apps need to validate data shapes, especially forms and API input. Yup works on any runtime and is not tied to a framework. Its focus on forms and casting makes it a little narrower than general-purpose validators.
  - GPT-6.2 Sol (7.4): Runtime validation is useful wherever JavaScript and TypeScript apps receive form data, API payloads, or configuration. Yup works in browser and server code, and its coercion and conditional rules are especially useful for forms. Surveys show how common these environments are, though they leave the share of projects that need Yup's particular features uncertain.
- **Helps a lot: 6.4** (likely 5.4 to 7.4)
  - Claude Opus 5.5 (5.5): Yup is solid for form validation, with async tests, conditional schemas, transforms and good error paths. Its v1 TypeScript types and the newer Standard Schema support keep it usable. Type inference is clearly weaker than Zod's or Valibot's. Independent guides rate Zod better for TypeScript-first and server-side use.
  - GPT-6.2 Sol (7.2): Yup 1.7.1 handles sibling-dependent rules, async checks, type inference, and localized field errors. A user reported a strict TypeScript regression when extending string schemas, and an independent benchmark found much lower throughput than Zod and Valibot on one form schema. The docs give coding agents current examples, although older `when()` examples can produce runtime errors. The performance impact depends on how often the application validates.
- **Holds up over time: 3.6** (likely 2.4 to 5.2)
  - Claude Opus 5.5 (3.0): The last commits and the v1.7.1 release date from September 2025. The bundle counts zero commits and zero versions in the past year, and the Scorecard Maintained check is 0. One maintainer releases it, and 106 pull requests are open. The ecosystem is moving toward Zod and Valibot. The repository is not archived, and it may still get occasional small releases.
  - GPT-6.2 Sol (4.1): Yup published 1.7.1 in September 2025, and the public default branch history shows no commits in the past year. An open report about the missing 1.7.1 Git tag has been waiting since January, while Zod and Valibot have shipped updates in 2026. Standard Schema support helps existing schemas stay portable, and future maintenance capacity remains unclear.
- **Used widely: 6.1** (likely 5.1 to 7.2)
  - Claude Opus 5.5 (6.0): About 65M downloads in 4 weeks and 162k dependent repositories show very wide existing use, more dependents than Zod in ecosyste.ms. The 1.9x yearly ratio is well below the 4.1x median, so its share of new projects is shrinking. Zod and Valibot are growing far faster.
  - GPT-6.2 Sol (6.2): Ecosyste.ms found about 162,000 dependent repositories and 4,900 dependent packages, indicating substantial established use. Downloads rose from 33.8 million to 65.0 million over the four-week periods, a 1.92× ratio against the catalog median of 4.1×. Zod and Valibot grew faster, and State of JavaScript respondents reported regular use of Zod almost four times as often as Yup. Automated installs and incomplete repository coverage make new adoption hard to quantify.
- **Vouched for: 6.1** (likely 5.0 to 7.3)
  - Claude Opus 5.5 (5.0): Formik made it its default, and React Hook Form and VeeValidate support it, so it has years of production use. Current endorsements are weak. 2026 comparisons recommend Zod for new work and mention Yup mainly for legacy Formik stacks. It has almost no current buzz on Hacker News or Bluesky.
  - GPT-6.2 Sol (7.1): Strapi builds its core validation utilities on Yup, and Formik and React Hook Form have dedicated integrations. One React Hook Form user reported keeping their Yup schemas when migrating from Formik. These examples support Yup's value in established projects, while current survey evidence on overall satisfaction and retention is limited.
- **Safe: 6.1** (likely 5.0 to 7.3)
  - Claude Opus 5.5 (6.5): Yup has no advisories ever, four small runtime dependencies and an MIT licence. The Scorecard is low at 3.1: branch protection, a security policy, token permissions and pinned dependencies all score 0. One person publishes releases, and the project is now inactive, so a future issue might be fixed slowly.
  - GPT-6.2 Sol (5.7): Yup has an MIT license, four direct dependencies, and no published advisories for the package. Its OpenSSF Scorecard is 3.1, with zero scores for branch protection, workflow token permissions, and pinned dependencies. The npm listing shows one collaborator, and GitHub lists no security policy. The advisory history gives little evidence about how quickly a future security fix would ship.

## Good

- Its fluent API handles form validation well, with per-field async tests, conditional rules through when(), and casting and transforms.
- Formik, React Hook Form resolvers, VeeValidate and most form tools support it, and so do Standard Schema consumers since v1.7.
- It has no known advisories, a small set of four runtime dependencies and an MIT licence.
- Years of tutorials and wide existing use mean AI agents and developers write correct Yup code easily.

## Bad

- There have been no commits or npm releases since September 2025, and 106 pull requests are open.
- TypeScript inference through InferType is weaker and less precise than in Zod, Valibot or ArkType.
- One maintainer does nearly all the work and publishes the releases, and the project has no visible funding.
- Downloads grew 1.9x in a year against a median of 4.1x, so it is losing share to its peers.

## The numbers

- Downloads, 4 weeks: 65M
- In a year: +92%
- GitHub stars: 24k
- Commits, 12 months: 0
- Last npm release: Sept 2025
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/jquense/yup
- npm: https://www.npmjs.com/package/yup

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
