<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/6xQ0a75YD" -->

---
title: Zod 4.5 | daily.dev
description: Zod 4.5 ships z.compile() for ahead-of-time schema compilation (3-9x faster parsing), z.creditCard() and z.properties() new APIs, a returning z.deepPartial(),...
canonical: https://daily.dev/posts/6xq0a75yd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Zod 4.5 | daily.dev
og:description: Zod 4.5 ships z.compile() for ahead-of-time schema compilation (3-9x faster parsing), z.creditCard() and z.properties() new APIs, a returning z.deepPartial(),...
og:url: https://daily.dev/posts/6xq0a75yd
og:image: https://api.daily.dev/og/posts/6xQ0a75YD.png
og:image:alt: Post cover image
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.

# Zod 4.5

**[Friedrich WT](https://daily.dev/sources/ecykgssvlzkqy1g7nxkjc)** · [@friedrich](https://daily.dev/friedrich) · 164 upvotes · 15 comments

## Summary

Zod 4.5 ships z.compile() for ahead-of-time schema compilation (3-9x faster parsing), z.creditCard() and z.properties() new APIs, a returning z.deepPartial(), the new .exactPartial() method, and a fast boolean-only z.validate() that's up to 16x faster on invalid input. Memory footprint per schema drops 9x (7.5kb to 784 bytes) via lazy method binding, and safeParse failures are now ~7.5x faster by skipping stack trace capture. Several breaking bug fixes tighten soundness: z.iso.datetime() now requires seconds per RFC 3339, string length counts Unicode code points instead of UTF-16 units, record key/intersection semantics now match TypeScript, __proto__ keys are always stripped, and several string formats (ipv6, ulid, httpUrl, emoji) are validated more strictly. Eight new locales were added.

## Full article

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

## Community discussion

Top comments from developers on daily.dev.

**@cale** · 5 upvotes

> ![GIF](https://static.klipy.com/ii/ce286d05b8e1a47cd4f32b0e1b6dec0e/f5/0a/P5aV2ekW.gif)

**@dash15tonon** · 4 upvotes

> Happy to see this, i enjoyed reading this post. It's been a long time a read you .

**@vladsiu** · 2 upvotes

> ![GIF](https://static.klipy.com/ii/f87f46a2c5aeaeed4c68910815f73eaf/fc/51/de00wpxk.gif)

**@timothygeorgebenjamindas** · 1 upvotes

> ![GIF](https://static.klipy.com/ii/d7aec6f6f171607374b2065c836f92f4/72/cc/XqrPsS9n.gif)

**@paoloap** · 1 upvotes

> ![GIF](https://static.klipy.com/ii/9ed0121ed465c12e1f3dda331ed33f0e/bd/89/xF1hyxmEpGSUgw45oOB.gif)

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/6xq0a75yd)

```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":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/6xq0a75yd","headline":"Zod 4.5","text":"Shared: Zod 4.5","url":"https://daily.dev/posts/6xq0a75yd","datePublished":"2026-08-30T07:58:38.523Z","dateModified":"2026-08-30T07:59:52.097Z","author":{"@type":"Person","name":"Friedrich WT","url":"https://daily.dev/friedrich","image":"https://avatars.githubusercontent.com/u/136119888?v=4","description":"CS Student || Web dev and AI.","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":31060}},"image":"https://media.daily.dev/image/upload/s--HRgLpUt6--/f_auto/v1722860399/public/Placeholder%2003","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":164},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":15}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/uuO927X8P"},"comment":[{"@type":"Comment","text":"","datePublished":"2026-08-30T09:44:25.234Z","url":"https://daily.dev/posts/6xQ0a75YD#c-b4B0GEgyT","author":{"@type":"Person","name":"Cale","url":"https://daily.dev/cale","image":"https://avatars.githubusercontent.com/u/211212128?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5}},{"@type":"Comment","text":"Happy to see this, i enjoyed reading this post. It’s been a long time a read you .","datePublished":"2026-08-30T10:42:55.489Z","url":"https://daily.dev/posts/6xQ0a75YD#c-qO7jl4xRD","author":{"@type":"Person","name":"David15tonon","url":"https://daily.dev/dash15tonon","image":"https://media.daily.dev/image/upload/s--ODg7gW3B--/f_auto/v1779805078/avatars/avatar_I7Oy0mpyXs8dOSJPf3bPC?_a=BAMAMiWQ0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"","datePublished":"2026-08-31T04:12:23.317Z","url":"https://daily.dev/posts/6xQ0a75YD#c-LKeh31tph","author":{"@type":"Person","name":"Vladislav Siumbeli","url":"https://daily.dev/vladsiu","image":"https://media.daily.dev/image/upload/s--GalxSgjS--/f_auto/v1757768087/avatars/avatar_ezH33Lu6a37KM1SfsCwIx?_a=BAMClqZW0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"","datePublished":"2026-09-01T09:58:23.557Z","url":"https://daily.dev/posts/6xQ0a75YD#c-sBSNj0mGR","author":{"@type":"Person","name":"Timothy George Benjamindas","url":"https://daily.dev/timothygeorgebenjamindas","image":"https://lh3.googleusercontent.com/a/ACg8ocIV0XRhGWWtqSjINo-RPf5eTdWNQSV17ORnRqsSMdke2x_M6Ue7=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"","datePublished":"2026-08-31T20:34:29.945Z","url":"https://daily.dev/posts/6xQ0a75YD#c-OgSA8HwRn","author":{"@type":"Person","name":"Paolo Perrone","url":"https://daily.dev/paoloap","image":"https://lh3.googleusercontent.com/a/AGNmyxaOowFqs19Msmo4AtbOanvSwkOb705dhJ-u3fFQ0Nw=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/ecykgssvlzkqy1g7nxkjc","name":"Friedrich WT"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Friedrich WT","item":"https://daily.dev/sources/ecykgssvlzkqy1g7nxkjc"},{"@type":"ListItem","position":3,"name":"Zod 4.5"}]}
```

