<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/valibot-v1-5-faster-schema-construction-unicode-code-points-and-stricter-validation-fcqzm9kyo" -->

---
title: Valibot v1.5: Faster schema construction, Unicode code...
description: Valibot 1.5 ships a major schema construction speed improvement (about 21x faster startup, and roughly 77x faster than Zod 4.5 in the same benchmark), four new...
canonical: https://daily.dev/posts/valibot-v1-5-faster-schema-construction-unicode-code-points-and-stricter-validation-fcqzm9kyo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Valibot v1.5: Faster schema construction, Unicode code points, and stricter validation | daily.dev
og:description: Valibot 1.5 ships a major schema construction speed improvement (about 21x faster startup, and roughly 77x faster than Zod 4.5 in the same benchmark), four new...
og:url: https://daily.dev/posts/valibot-v1-5-faster-schema-construction-unicode-code-points-and-stricter-validation-fcqzm9kyo
og:image: https://api.daily.dev/og/posts/fCQzM9kyO.png
og:image:alt: Valibot v1.5: Faster schema construction, Unicode code points, and stricter validation
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Valibot v1.5: Faster schema construction, Unicode code points, and stricter validation

**[Valibot: The modular and type safe schema library](https://daily.dev/sources/valibot)** · 7 min read · 5 upvotes · 1 comments

## Summary

Valibot 1.5 ships a major schema construction speed improvement (about 21x faster startup, and roughly 77x faster than Zod 4.5 in the same benchmark), four new actions for measuring Unicode code points (codePoints, minCodePoints, maxCodePoints, notCodePoints), and a new ksuid validator alongside existing uuid, ulid, cuid2, and nanoid actions. Validation also becomes stricter: the email action drops case-insensitive regex matching to prevent Unicode case-folding bypasses (e.g. Kelvin sign K folding to k), and the ulid action now rejects values above the spec's valid range. Additional fixes address NaN equality handling, cache issue mutation, prototype-pollution-adjacent key collisions in object schemas, intersect merging, stringifyJson value preservation, and URL parsing using URL.canParse. Some values that passed validation in v1.4.2 will now be rejected in v1.5.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://valibot.dev/blog/valibot-v1.5-release-notes>

## Questions this post answers

### Will upgrading to Valibot v1.5 break any email or ULID validation that worked in v1.4.2?

Yes, some previously valid values will now be rejected. The email action removed its case-insensitive regex flag, so Unicode characters that case-fold to ASCII letters (like the Kelvin sign K folding to k, or long s folding to s) no longer pass. The ulid action now restricts the first character to 0-7, matching the ULID spec and rejecting values above the valid 128-bit range.

_Track breaking validation changes like these on daily.dev before rolling out a Valibot upgrade._

### How much faster is Valibot's schema construction compared to Zod?

Valibot v1.5's schema construction is roughly 77 times faster than Zod 4.5 in the same benchmark. Open Circle's Schema Benchmarks show initialization dropping from about 57 microseconds in Valibot v1.4.2 to about 2.7 microseconds in v1.5.0, versus about 208 microseconds for Zod 4.5, achieved by attaching Standard Schema properties directly at creation instead of using a getter with a WeakMap cache.

_Compare validation library performance benchmarks like this on daily.dev before picking a schema tool._

### How do I validate a string by Unicode code points instead of UTF-16 length in Valibot?

Use the new maxCodePoints action instead of maxLength. JavaScript's String.length counts UTF-16 code units, so an emoji like 😀 counts as 2 and can fail a maxLength(1) check; maxCodePoints(1) counts it as a single code point and passes. Valibot v1.5 also adds codePoints, minCodePoints, and notCodePoints, plus a separate maxGraphemes action for counting grapheme clusters as users perceive them.

_Developers wrestling with emoji and string length limits can follow validation library updates on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@agustinbarrientos** · 0 upvotes

> I think `maxGraphemes` should be the default for anything people type themselves

## Similar posts on daily.dev

- [Zod Brings In-Process Schema Compilation and a 9x Cut in Memory Footprint](https://daily.dev/posts/zod-brings-in-process-schema-compilation-and-a-9x-cut-in-memory-footprint-v66bavi13) · InfoQ · 12 upvotes · 1 comments
- [Full Unicode Search at 50× ICU Speed with AVX‑512](https://daily.dev/posts/full-unicode-search-at-50-icu-speed-with-avx-512-s9bwdg8zf) · Hacker News · 0 upvotes · 0 comments
- [Testing LLM Output in CI with Vitest and Schema Validation](https://daily.dev/posts/testing-llm-output-in-ci-with-vitest-and-schema-validation-ecvs0un9p) · SitePoint · 0 upvotes · 0 comments

---

Tags: [#typescript](https://daily.dev/tags/typescript), [#zod](https://daily.dev/tags/zod)

[View this post on daily.dev](https://daily.dev/posts/valibot-v1-5-faster-schema-construction-unicode-code-points-and-stricter-validation-fcqzm9kyo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Valibot v1.5: Faster schema construction, Unicode code points, and stricter validation","url":"https://daily.dev/posts/valibot-v1-5-faster-schema-construction-unicode-code-points-and-stricter-validation-fcqzm9kyo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/valibot-v1-5-faster-schema-construction-unicode-code-points-and-stricter-validation-fcqzm9kyo"},"datePublished":"2026-09-10T18:42:08.381Z","dateModified":"2026-11-05T02:14:45.548Z","description":"Valibot 1.5 ships a major schema construction speed improvement (about 21x faster startup, and roughly 77x faster than Zod 4.5 in the same benchmark), four new...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fe211f8a3a0c935fc76c4f7654ddc6ac?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fe211f8a3a0c935fc76c4f7654ddc6ac?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Valibot: The modular and type safe schema library","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Valibot: The modular and type safe schema library","logo":"https://media.daily.dev/image/upload/s--GHNQZY4x--/f_auto,q_auto/v1787487507/logos/valibot?_a=BAMAMicg0","url":"https://daily.dev/sources/valibot"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/valibot-v1-5-faster-schema-construction-unicode-code-points-and-stricter-validation-fcqzm9kyo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"typescript,zod","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Valibot: The modular and type safe schema library","item":"https://daily.dev/sources/valibot"},{"@type":"ListItem","position":3,"name":"Valibot v1.5: Faster schema construction, Unicode code points, and stricter validation"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/valibot-v1-5-faster-schema-construction-unicode-code-points-and-stricter-validation-fcqzm9kyo","comment":[{"@type":"Comment","text":"I think maxGraphemes should be the default for anything people type themselves","datePublished":"2026-09-15T17:39:49.702Z","url":"https://daily.dev/posts/fCQzM9kyO#c-xrChliOg0","author":{"@type":"Person","name":"Agustin Barrientos","url":"https://daily.dev/agustinbarrientos","image":"https://media.daily.dev/image/upload/s--5ayxQnqn--/f_auto/v1788281802/avatars/avatar_wQYYVe5Tbj0NJ7C7qPoa8?_a=BAMAMicg0"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/valibot-v1-5-faster-schema-construction-unicode-code-points-and-stricter-validation-fcqzm9kyo#faq","mainEntity":[{"@type":"Question","name":"Will upgrading to Valibot v1.5 break any email or ULID validation that worked in v1.4.2?","acceptedAnswer":{"@type":"Answer","text":"Yes, some previously valid values will now be rejected. The email action removed its case-insensitive regex flag, so Unicode characters that case-fold to ASCII letters (like the Kelvin sign K folding to k, or long s folding to s) no longer pass. The ulid action now restricts the first character to 0-7, matching the ULID spec and rejecting values above the valid 128-bit range. Track breaking validation changes like these on daily.dev before rolling out a Valibot upgrade."}},{"@type":"Question","name":"How much faster is Valibot's schema construction compared to Zod?","acceptedAnswer":{"@type":"Answer","text":"Valibot v1.5's schema construction is roughly 77 times faster than Zod 4.5 in the same benchmark. Open Circle's Schema Benchmarks show initialization dropping from about 57 microseconds in Valibot v1.4.2 to about 2.7 microseconds in v1.5.0, versus about 208 microseconds for Zod 4.5, achieved by attaching Standard Schema properties directly at creation instead of using a getter with a WeakMap cache. Compare validation library performance benchmarks like this on daily.dev before picking a schema tool."}},{"@type":"Question","name":"How do I validate a string by Unicode code points instead of UTF-16 length in Valibot?","acceptedAnswer":{"@type":"Answer","text":"Use the new maxCodePoints action instead of maxLength. JavaScript's String.length counts UTF-16 code units, so an emoji like 😀 counts as 2 and can fail a maxLength(1) check; maxCodePoints(1) counts it as a single code point and passes. Valibot v1.5 also adds codePoints, minCodePoints, and notCodePoints, plus a separate maxGraphemes action for counting grapheme clusters as users perceive them. Developers wrestling with emoji and string length limits can follow validation library updates on daily.dev."}}]}
```

