fix(deps): update all minor dependencies #43

Open
renovatebot wants to merge 1 commit from renovate/all-minor-dependencies into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence Type Update
@base-ui/react (source) 1.7.01.8.0 age confidence dependencies minor
@libsql/client (source) 0.17.40.18.0 age confidence pnpm.catalog.default minor
@shadcn/react (source) 0.3.00.3.1 age confidence dependencies patch
@tsparticles/engine (source) 4.3.24.4.0 age confidence dependencies minor
@tsparticles/react (source) 4.3.24.4.0 age confidence dependencies minor
@types/node (source) 22.20.122.20.2 age confidence devDependencies patch
hono (source) 4.13.24.13.7 age confidence pnpm.catalog.default patch
node (source) 24.20.0-slim24.21.0-slim age confidence final minor
node (source) 24.20.0-slim24.21.0-slim age confidence stage minor
oxfmt (source) 0.63.00.67.0 age confidence devDependencies minor
shadcn (source) 4.18.04.21.0 age confidence dependencies minor
tsdown (source) 0.22.140.23.0 age confidence devDependencies minor
tsparticles (source) 4.3.24.4.0 age confidence dependencies minor
tsx (source) 4.23.124.23.13 age confidence devDependencies patch
zod (source) 4.4.34.6.2 age confidence pnpm.catalog.default minor

Release Notes

mui/base-ui (@​base-ui/react)

v1.8.0

Compare Source

Sep 4, 2026

General changes
Alert Dialog
Autocomplete
Avatar
Checkbox
Checkbox Group
Combobox
Dialog
Drawer
Field
Form
  • Fix clearErrors dropping updates when multiple fields change at once (#​5446) by @​sai6855
Menu
Menubar
Navigation Menu
Number Field
Popover
Scroll Area
Select
Slider
Switch
Tabs
Toast
Tooltip

All contributors of this release in alphabetical order: @​alex-js-ltd, @​atomiks, @​azeng4499, @​chuganzy, @​edwardhorsey, @​flaviendelangle, @​gilsmt, @​gonzoblasco, @​jjenzz, @​marwenilo, @​michaldudak, @​radist2s, @​sai6855, @​vikuscz, @​wanxiankai, @​XionWCFM

tursodatabase/libsql-client-ts (@​libsql/client)

v0.18.0

Compare Source

shadcn-ui/ui (@​shadcn/react)

v0.3.1

Compare Source

Patch Changes
  • #​11720 503a3a57aec9a3817e37f90aa0817b1fabd284d0 Thanks @​shadcn! - Set data-pending-scroll on the MessageScroller root and viewport until defaultScrollPosition ("end" or "last-anchor") is applied, so the viewport can be hidden and a server-rendered transcript does not flash the top of the thread on reload.
tsparticles/tsparticles (@​tsparticles/engine)

v4.4.0

Compare Source

Bug Fixes
  • various fixes for 4.4.0 (475d06d)

4.3.3 (2026-07-23)

Bug Fixes
  • fixed common instance usage in engine initialization (77d6718)
  • fixed double opacity calc, fixes #​5903 (3e128d2)

4.3.2 (2026-07-10)

Bug Fixes
  • fixed some issues in deepExtend (4ba3518)

4.3.1 (2026-07-01)

Note: Version bump only for package @​tsparticles/engine

tsparticles/tsparticles (@​tsparticles/react)

v4.4.0

Compare Source

Bug Fixes
  • various fixes for 4.4.0 (475d06d)

4.3.3 (2026-07-23)

Note: Version bump only for package @​tsparticles/react

4.3.2 (2026-07-10)

Bug Fixes

4.3.1 (2026-07-01)

Note: Version bump only for package @​tsparticles/react

honojs/hono (hono)

v4.13.7

Compare Source

Security fixes

This release includes a fix for the following security issue:

hono/jsx renders plain strings unescaped in boundary components, leading to XSS

Affects: Suspense, ErrorBoundary, and Context.Provider in hono/jsx, and renderToString() / renderToReadableStream() in hono/jsx/dom/server. Fixes missing HTML escaping for a plain string placed directly as a child or fallback of these components, or as the root value of the server rendering functions, so untrusted strings could be emitted as markup. GHSA-hxh3-vqpv-xpqv


Users who render untrusted strings inside Suspense, ErrorBoundary, or Context.Provider, or pass them directly to hono/jsx/dom/server, are strongly encouraged to upgrade to this version.

v4.13.6

Compare Source

What's Changed

  • fix(client): keep a param value of "index" in $url() and $path() in #​5297
  • fix(client): normalize root WebSocket URLs in #​5291
  • fix(types): allow symbol keys in Context get and set fallbacks in #​5300
  • chore: bump editorconfig-checker in #​5336
  • refactor(on-handler): use forEach for consistent handler iteration in #​5326

Full Changelog: https://github.com/honojs/hono/compare/v4.13.5...v4.13.6

v4.13.5

Compare Source

Security fixes

This release includes fixes for the following security issues:

Query parser reads parameters after the URL fragment, causing cache-key and proxy interpretation differentials

Affects: Cache Middleware and applications behind a proxy, WAF, or logging layer that inspects query strings. Fixes query parsing that did not stop at the URL fragment, so a ? after a # was treated as the start of a query string and the application could read parameters that the other component never saw. GHSA-crvj-82cr-hjcx

Incomplete fix for CVE-2026-39408: toSSG() still writes files outside the output directory

Affects: toSSG() for Static Site Generation. Fixes a path normalization gap where consecutive parent-directory segments in ssgParams values were not fully collapsed, bypassing the containment check added in 4.12.12. GHSA-gqvv-2mrq-wpjv

Unbounded dot-notation nesting in parseBody() can cause memory exhaustion

Affects: parseBody() when dot-notation parsing is enabled. Fixes unbounded expansion of dot-separated field names, where a small request body could allocate a disproportionately large object graph and concurrent requests could exhaust the heap. GHSA-g6gw-c38x-mqfc


Users who use Cache Middleware, deploy behind a proxy or WAF that inspects query strings, use Static Site Generation, or use parseBody({ dot: true }) are strongly encouraged to upgrade to this version.

v4.13.4

Compare Source

What's Changed

  • fix(request): handle params on unmatched requests in #​5268
  • fix(jsx/dom): execute previous ref cleanup when ref prop changes on re-render in #​5264
  • fix(reg-exp-router): associate wildcard middleware with matching routes in #​5266
  • perf(router): share null object creation in #​5267
  • fix(etag): match If-None-Match tags with optional whitespace before the comma in #​5222
  • fix(client): skip undefined header and cookie values in #​5244
  • fix(client): skip an undefined entry inside a query array in #​5272
  • fix(client): skip an undefined entry inside a form array in #​5280
  • fix(client): support custom buildSearchParams and filter undefined query in $ws() bin #​5256
  • fix(accepts): support wildcard media types and specificity ordering in defaultMatch in #​5255
  • fix(client): omit empty query delimiter in #​5283
  • fix(request): drop stale content length for cloned FormData in #​5282
  • fix(request): serialize cached JSON body in cloneRawRequest in #​5288
  • fix(cookie): allow parsing signed cookies with empty string values in #​5246
  • fix(utils/stream): do not let abort listeners crash abort() in #​5274

Full Changelog: https://github.com/honojs/hono/compare/v4.13.3...v4.13.4

v4.13.3

Compare Source

What's Changed

  • fix(client): prevent URL corruption when replaceUrlParam contains $ replacement tokens in #​5227
  • fix(etag): copy pending stream bytes in #​5239
  • fix(etag): avoid skipping headers when filtering 304 response headers in #​5234
  • fix(cors): append Origin to Vary header on OPTIONS preflight in #​5235
  • docs(context): add custom headers append option example to Context JSDoc in #​5248
  • fix(trie-router): match suffix wildcard routes in #​5236
  • fix(pattern-router/linear-router): prevent prefix overmatch on wildcard routes in #​5252
  • fix(csrf): exempt OPTIONS request from CSRF validation in #​5250
  • fix(utils/ipaddr): avoid truncation on embedded IPv4 addresses in expand IPv6 in #​5247
  • feat(pretty-json): support structured JSON content-types (+json) in #​5226

Full Changelog: https://github.com/honojs/hono/compare/v4.13.2...v4.13.3

nodejs/node (node)

v24.21.0: 2026-09-08, Version 24.21.0 'Krypton' (LTS), @​aduh95

Compare Source

Notable Changes
  • [71106e1f17] - crypto: update root certificates to NSS 3.126 (Node.js GitHub Bot) #​65495
  • [afca0a912d] - (SEMVER-MINOR) crypto: support loading private keys through STORE loaders (Filip Skokan) #​63949
  • [6274fccbd9] - deps: update OpenSSL to 3.5.8 (Node.js GitHub Bot) #​65542
  • [53cba013c7] - deps: update Undici to 7.29.1 (Node.js GitHub Bot) #​65789
  • [0529772798] - (SEMVER-MINOR) lib,src: improve histogram implementation (James M Snell) #​65024
  • [41c7062b81] - (SEMVER-MINOR) net: improve performance of net.BlockList (James M Snell) #​64974
  • [5197b5a3c5] - (SEMVER-MINOR) perf_hooks: add statistical hypothesis testing to histogram (James M Snell) #​65416
  • [35c635b032] - (SEMVER-MINOR) util: add non-throwing MIMEType.parse (James M Snell) #​64965
Commits
oxc-project/oxc (oxfmt)

v0.67.0

Compare Source

🛡️ Security

v0.66.0

Compare Source

v0.65.0

Compare Source

v0.64.0

Compare Source

🚀 Features
📚 Documentation
shadcn-ui/ui (shadcn)

v4.21.0

Compare Source

Minor Changes
Patch Changes

v4.20.1

Compare Source

Patch Changes

v4.20.0

Compare Source

Minor Changes

v4.19.1

Compare Source

Patch Changes

v4.19.0

Compare Source

Minor Changes
rolldown/tsdown (tsdown)

v0.23.0

Compare Source

   🧭 Migration Guide

Most users can upgrade directly. Before upgrading, run one final build with tsdown@0.22.14 and resolve all deprecation warnings.

  • config:
    • bundle: falseunbundle: true; bundle: true can be removed
    • outExtensionoutExtensions
    • publicDir / --public-dircopy / --copy
    • removeNodeProtocol: truenodeProtocol: 'strip'
    • injectStylecss.inject
  • deps:
    • inlineOnly / deps.onlyAllowBundledeps.onlyBundle
    • skipNodeModulesBundle: truedeps.neverBundle: true
    • resolveDepSubpath now defaults to false; set it to true to preserve the previous behavior
  • dts:
    • rolldown-plugin-dts was upgraded from 0.27.13 to 0.28.5
    • dts.oxc: truedts.generator: 'oxc'
    • dts.tsgo: truedts.generator: 'tsgo'; oxc and tsgo objects now only configure their respective generators
    • dts.volarPluginsdts.customLanguages; rename each language's create hook to createVolarPlugins
    • Custom languages, including vue, now throw when combined with an incompatible generator
    • dts.cjsReexport was removed; dual-format builds now generate CJS declarations in a separate pass
  • attw:
    • The default profile changed from strict to esm-only; set profile: 'strict' to preserve the previous checks
  • programmatic API:
    • build() now returns { bundles, watch }; replace const bundles = await build() with const { bundles } = await build()
  • requirements:
    • Node.js 25 is no longer supported; use ^22.18.0, ^24.11.0, or >=26.0.0
    • rolldown-plugin-dts now requires Rolldown 1.2.x
    • Legacy types and typesVersions fallbacks were removed; use TypeScript's bundler, node16, or nodenext module resolution
   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub
tsparticles/tsparticles (tsparticles)

v4.4.0

Compare Source

Note: Version bump only for package tsparticles

4.3.3 (2026-07-23)

Note: Version bump only for package tsparticles

4.3.2 (2026-07-10)

Note: Version bump only for package tsparticles

4.3.1 (2026-07-01)

Note: Version bump only for package tsparticles

privatenumber/tsx (tsx)

v4.23.13

Compare Source

Bug Fixes

This release is also available on:

colinhacks/zod (zod)

v4.6.2

Compare Source

Commits:

v4.6.1

Compare Source

A patch on top of 4.6.0.

v4.6.0

Compare Source

Zod 4.6 is now available.

npm install zod@latest

At a glance:

  • .validate() — checks input validity without building a result (up to 35x faster than .safeParse().success on a compiled schema)
  • z.instanceof().properties() — validates properties of an instance
  • fromJSONSchema() — enforces six validation keywords it used to ignore
  • z.iban() — electronic-format IBAN plus mod-97 checksum
  • z.withParser() — installs a parser generated elsewhere, for environments without new Function
  • Faster CommonJS — drops the getter on every export (~3x faster z.validate() under require)
  • Memory retention in recursive schemas — releases the parsed input, fixing a 4.5 out-of-memory regression
  • @zod/mini — Zod Mini as a standalone package, versioned in lockstep with zod since 4.5

.validate()

Standalone boolean validation, in Zod, Zod Mini, and Zod Core. It answers "is this input valid?" without constructing a ZodError, which makes rejection cheap. The return type is a guard on the schema's input type.

z.validate(z.string(), "hi"); // true
z.validate(z.string(), 42);   // false

It is a method on Zod Classic schemas too. (#​6547)

const Player = z.object({
  username: z.string(),
  xp: z.number(),
});

if (Player.validate(data)) {
  data.username; // narrowed
}

In conjunction with z.compile(), this can be up to 35x faster than .safeParse().success on invalid input.

Time per call on invalid input, schemas compiled with z.compile(), safeParse().success as a gray bar with .validate() as a blue bar inside it: a union of 3 objects 28 ns (34.9x faster), an array of 10 strings 23 ns (24.6x), a 3-element tuple 28 ns (16.1x), a 5-key object 21 ns (16.3x), a discriminated union of 3 21 ns (15.7x), z.number() 19 ns (13.8x), z.string() 19 ns (13.2x), z.boolean() 19 ns (13.7x); up to 34.9x faster

Time per call on invalid input, compiled with z.compile() — lower is better (benchmark)

Uncompiled schemas

Without compilation it is up to 5.9x faster. The saving is the result object: .safeParse() allocates one with an accessor pair on every call, and .validate() allocates nothing.

Time per call on invalid input, plain schemas, safeParse().success as a gray bar with .validate() as a blue bar inside it: a union of 3 objects 659 ns (1.5x faster), an array of 10 strings 211 ns (2.3x), a 3-element tuple 166 ns (2.5x), a discriminated union of 3 93 ns (3.3x), a 5-key object 75 ns (3.9x), z.number() 47 ns (5.3x), z.string() 42 ns (5.8x), z.boolean() 42 ns (5.9x); up to 5.9x faster

Time per call on invalid input, plain schemas — lower is better (benchmark)

Both charts measure the failure path. The key feature of .validate() is that it can short-circuit on the first issue it encounters, instead of aggregating a full ZodIssue[] array.

[!NOTE]
Async refinements are covered by .validateAsync().

z.properties()

A new API for validating specific properties of an object. Unlike z.object() it validates in-place, so it plays nice with class instances. (#​6536)

const responseLike = z.properties({ status: z.number().min(200).max(299) });

responseLike.parse(new Response("ok", { status: 200 }));  // ✅ a real Response
responseLike.parse({ status: 204 });                      // ✅ a plain object

A corresponding .properties() method has been added to ZodInstanceOf.

Zod

const okResponse = z.instanceof(Response).properties({
  ok: z.literal(true),
  status: z.number().min(200).max(299),
});

Zod Mini

const okResponse = z.instanceof(Response).check(...z.properties({
  ok: z.literal(true),
  status: z.number().check(z.minimum(200), z.maximum(299)),
}));

The input comes back untouched, so the prototype survives and the methods still work. That is the part z.object() cannot do: it would hand back a plain object and the Response would be gone.

const res = await fetch("/api/user");

okResponse.parse(res) === res; // ✅ true

fromJSONSchema()

Six additional JSON Schema keywords are now supported in z.fromJSONSchema(). (#​6535)

const schema = z.fromJSONSchema({
  type: "object",
  minProperties: 2,      // also maxProperties
});

schema.parse({ a: 1 });        // ❌ too few properties
schema.parse({ a: 1, b: 2 });  // ✅

Both property bounds count the input's own keys. Array uniqueness is structural, so [{ a: 1 }, { a: 1 }] is a duplicate.

z.fromJSONSchema({ type: "array", uniqueItems: true }).parse([{ a: 1 }, { a: 1 }]); // ❌

z.fromJSONSchema({
  type: "array",
  contains: { type: "number" },   // also minContains and maxContains
  minContains: 2,
}).parse(["a", 2]);               // ❌ only one number

z.iban()

A new string format: an IBAN in electronic format, with a valid ISO 7064 MOD 97-10 checksum. (#​6571)

z.iban().parse("DE89370400440532013000"); // ✅
z.iban().parse("DE89370400440532013001"); // ❌ bad checksum

z.withParser()

z.compile() builds its parser with new Function, which a strict Content Security Policy blocks. z.withParser() is that installer on its own: it takes a parser generated somewhere else, at build time or by a native compiler, and installs it under the same contract. (#​6575)

const Player = z.object({ username: z.string(), xp: z.number() });

// isPlayer is a type guard your build step generated
const Fast = z.withParser(Player, (input) =>
  isPlayer(input) ? { username: input.username, xp: input.xp } : z.INVALID
);

The supplied parser owns the whole result, so it has to return what the schema would have returned. This one rebuilds the object rather than handing back its input, because z.object() strips unknown keys. Returning z.INVALID hands the input to the runtime, which stays the only source of ZodErrors.

Faster CommonJS

TypeScript compiles a re-export to a getter, and 252 of the 255 exports on Zod 4.5's CommonJS entrypoint were getters. V8 could not see a constant callee behind one, so it could not inline the call. The 4.6 build emits plain properties and freezes the exports object. On a compiled schema, z.validate() under require is about 3x faster than it was in Zod 4.5. (#​6564)

const { z } = require("zod");
const CompiledPlayer = z.compile(Player);

z.validate(CompiledPlayer, data); // ~3x faster than Zod 4.5

Only calls through the namespace were affected. A method call like Player.safeParse(data) never reads the exports object, and the ESM build is unchanged.

Memory retention in recursive schemas

A recursive schema held the input and output of its last parse until the next parse replaced it, so one long-lived schema pinned every object it had touched. Zod 4.4 released that input and Zod 4.5 did not, which surfaced as an out-of-memory failure on a repository-wide lint run. The parse state is weak throughout now: one parse of a 29k-node tree retains 2.2 MB where it used to retain 10.1 MB, and recursive parses give up about 6% for it. (#​6572)

const Category = z.object({
  name: z.string(),
  get children() {
    return z.array(Category);
  },
});

Bug fixes

⚠️ Error maps run on the first read of error

Because safeParse() now builds its error lazily, error maps — global, locale, and per-schema error — run when result.error is first read, not at parse time. Code that swaps z.config() between the parse and the read gets the newer configuration. (#​6519)

const result = schema.safeParse(12);
z.config(z.locales.fr());
result.error.issues[0].message; // French in 4.6, English in 4.5

An error map with a side effect never runs if nothing reads the error. Throwing parses are unaffected — .parse() builds and throws its error immediately, never takes the lazy path, and its stack still points at your call site.

⚠️ z.emoji() rejects component-only strings

Unicode's Emoji_Component property covers the pieces that attach to an emoji, so z.emoji() accepted "123", "#", "*", and a lone zero-width joiner, variation selector, or skin tone modifier. The pattern now requires at least one pictograph, regional indicator, or keycap. (#​6532)

z.emoji().parse("😀");   // ✅
z.emoji().parse("1️⃣");   // ✅ the keycap is the anchor
z.emoji().parse("123");  // ❌ was accepted in 4.5

Flags, subdivision flags, skin-tone-modified emoji, and ZWJ sequences are unchanged. Closes #​6515.

⚠️ Numeric enum options no longer include the reverse mappings

A numeric TypeScript enum also carries its reverse mapping (0 to "UK") at runtime. The parser already ignored those keys, but .options was read straight off the enum object, so a three-member enum listed six values and three of them failed to parse. (#​6542)

enum Country { UK, Germany, France }

z.enum(Country).options; // 4.5: ["UK", "Germany", "France", 0, 1, 2] — 4.6: [0, 1, 2]
⚠️ base64 patterns

The runtime patterns for z.base64() and z.base64url() are the character sets, with length and padding enforced in code, so a multi-megabyte string can no longer overflow the regex stack through a composed schema. The JSON Schema output still emits the exact block forms, so z.toJSONSchema() is unchanged. (#​6534, #​6527)

Composing z.base64() into a template literal now checks the alphabet but not the length, which is how z.creditCard() already behaves there. The exported z.regexes.base64url is now the length-aware form, so it overflows on a multi-megabyte input the same way z.regexes.base64 does.

⚠️ The email pattern dropped its lookaheads

z.email() opened with two lookaheads, and the second scanned the whole string before the match began. Both are gone, and the rule they enforced — no empty segment in the local part — is expressed structurally instead, so z.email() accepts and rejects exactly what it did before. Valid addresses validate roughly twice as fast. (#​6573)

The pattern string is user-visible, and every copy of it changes: z.regexes.email, which has no capture groups now — neither of the two it used to expose held a usable value; issue.pattern on a failed z.email(); and the pattern that z.toJSONSchema() emits, which no longer carries a lookahead, so validators outside ECMAScript can compile it.

Composing an email into a template literal also stops applying its no-consecutive-dots rule to the rest of the string.

z.templateLiteral([z.email(), "|", z.string()]).parse("a@b.cc|a..b");
// 4.5: ❌ — the lookahead reached past the email segment — 4.6: ✅
⚠️ Chained checks no longer overwrite each other in JSON Schema

Each check used to write its own bounds into the schema as it attached, in chain order, so a format check applied after .min() and .max() replaced the tighter values with its own range. The converter folds the checks as a conjunction now. The order they are chained in no longer changes the output. (#​6554, #​6553)

z.toJSONSchema(z.number().min(0).max(23).int());
// 4.5: { minimum: -9007199254740991, maximum: 9007199254740991 }
// 4.6: { minimum: 0, maximum: 23 }

Runtime parsing enforced the bounds in every version. Only the emitted schema was wrong. The same fold fixes two more cases: a repeated multipleOf kept the first divisor and dropped the rest, so z.number().multipleOf(2).multipleOf(3) emitted a schema that accepts 4, and z.string().min(8).length(5) emitted minLength: 5, widening a bound the runtime still rejected. Closes #​6550.

⚠️ Metadata members materialize on first read

Eight members on a Zod Classic schema — .format, .minLength, .maxLength, .minValue, .maxValue, .isInt, .minDate and .maxDate — are computed from the checks now instead of being written onto every instance at construction. Each one is a prototype getter that becomes an own property on first read. (#​6554)

const s = z.string().min(3).max(9);

Object.keys(s); // 4.5: ["def", "type", "format", "minLength", "maxLength"] — 4.6: ["def", "type"]
s.minLength;    // 3 in both
Object.keys(s); // 4.6: ["def", "type", "minLength"]

A key is absent until something reads it, and Object.assign({}, schema) copies only the members that have been read. Deleting one restores the getter, and the next read recomputes it.

The values can move too, because the getters read the same fold the JSON Schema converter does. An order-dependent chain reports the tighter bound now instead of whichever check wrote last.

z.string().min(8).length(5).minLength; // 4.5: 5 — 4.6: 8

Commits

Zod 4.6 rolls up 72 commits.

v4.5.4

Compare Source

Commits:

v4.5.3

Compare Source

Commits:

  • e6b6ab3 docs(blog): widen the z.compile example to a 20-property schema
  • 87d6464 fix(docs): drop the OG description when the title wraps past two lines
  • 99fce39 bench(v4): z.compile() against zod-compiler (#​6499)
  • e3a695b docs(v4): record the email regex and container output-shape findings under Open
  • 7e24a24 docs(blog): drop the reading time and put a GitHub link in the navbar
  • eab51ff fix(v4): emit record numeric keys as strings in toJSONSchema (#​6497)

v4.5.2

Compare Source

Commits:

  • a354314 fix(docs): keep blog posts out of the docs collection (#​6484)
  • d378c42 ci: drop canary publishing from the release workflow (#​6487)
  • 212b941 fix(v4): let a prototype method getter answer a bare call so vi.spyOn works (#​6488)
  • e7576f5 docs(blog): let the page show through the navbar in dark mode (#​6489)
  • fedb06f fix(docs): match the blog TOC hover bar to the 2px active indicator
  • 6c932fc chore: bump devcontainer image to Node 24 (#​6470)
  • 6635d9d docs(blog): soften the "method memoization" attribution
  • 019ae29 fix(docs): drop ISR on the docs route so the home page hydrates
  • 652bb43 chore(docs): drop the scroll log from the route-change scroller
  • 571c8e8 fix(docs): render blog tabs with the stock fumadocs tab card
  • 9a193aa 4.5.2

v4.5.1

Compare Source

Commits:

  • 2e862db ci: gate the GitHub release and JSR publish on the version being live on npm
  • 8e03380 4.5.1

v4.5.0

Compare Source

Zod 4.5 is now available.

npm install zod@latest

At a glance:

z.compile()

You can now pre-compile any Zod schema using z.compile(schema). This dramatically speeds up parsing performance.

import * as z from "zod";

const Player = z.object({
  username: z.string(),
  bio: z.string(),
  xp: z.number(),
  // ...20 more properties...
});

const CompiledPlayer = z.compile(Player);

A compiled schema can be used exactly like an uncompiled one. There are no special rules around compiled schemas. They're just faster.

Player.parse({ ... });
CompiledPlayer.parse({ ... }); // ~9x faster

On objects, arrays, and unions, this speeds up parsing by a factor of ~3–9. More complex schemas stand to benefit more than simpler ones.

Time per parse on a shared nanosecond axis, standard parser as a gray bar with the compiled time as a blue bar inside it: an array of 10 objects 377 ns to 68 ns (5.5x), a 20-key object 301 ns to 38 ns (7.8x), an array of 10 strings 241 ns to 33 ns (7.3x), a union of 3 objects 190 ns to 36 ns (5.3x), a 3-element tuple 119 ns to 33 ns (3.6x), a 5-key strict object 117 ns to 32 ns (3.7x), a discriminated union 92 ns to 27 ns (3.4x), a 5-key object 76 ns to 28 ns (2.8x); up to 7.8x faster when compiled

Time per parse by schema type, standard parser vs compiled — lower is better (benchmark)

Below are the Moltar benchmark results comparing Zod (compiled and uncompiled) against the Moltar ParseSafe bench.

Bar chart of operations per second on the moltar benchmark fixture, parseSafe category: Zod 4 compiled 47.5M, typia 45.3M, Zod 4 11.6M, valibot 1.8M, effect 1.7M, Zod 3 1.2M, arktype 152k, yup 121k

Throughput on the moltar benchmark fixture (parseSafe: returns a new object with unknown keys stripped) — higher is better (benchmark)

And the equivalent results for the Moltar AssertLoose bench. Tested against the new z.validate(schema, input) function (detailed later in the post).

Bar chart of operations per second on the moltar benchmark fixture, assertLoose category: typia 74.9M, arktype 66.2M, Zod 4 compiled 60.6M, Zod 4 6.5M, valibot 1.9M, effect 1.7M, Zod 3 1.2M, yup 124k

Throughput on the moltar benchmark fixture (assertLoose: returns a boolean, unknown keys allowed) — higher is better (benchmark)

Zod's entire test suite runs twice—once normally and again with auto-compilation enabled globally—to ensure perfect fidelity.

How it works

Under the hood, z.compile() walks the entire schema once and produces a hyperoptimized snippet of flat, loop-free JavaScript that can validate inputs far faster than a standard runtime validator. This snippet can be executed via new Function() (effectively a more powerful eval) to serve as a fast-path validator. Schemas use this to "fast check" validity, falling back to the regular runtime logic on validation failure to provide granular error information.

Take this simple Point schema:

const Point = z.object({
  x: z.number(),
  y: z.number()
});

Here is the generated snippet for it:

const isPoint = new Function("input", `
  if (typeof input !== "object" || input === null) return false;
  if (typeof input.x !== "number") return false;
  if (typeof input.y !== "number") return false;
  return true;
`);

isPoint({ x: 1, y: 2 }); // true
isPoint({ x: "1" });     // false

For the large majority of inputs, the generated function validates the data with the fastest logic JavaScript can express: straight-line typeof checks and property reads, with no interpreter in between. When it can't handle an input, Zod falls back to the standard parser.

This is the function Zod generates for the Player schema above:

if (typeof input !== "object" || input === null || Array.isArray(input)) return INVALID;
const v0 = input["username"];
if (typeof v0 !== "string") return INVALID;
const v1 = input["bio"];
if (typeof v1 !== "string") return INVALID;
const v2 = input["xp"];
if (typeof v2 !== "number" || !Number.isFinite(v2)) return INVALID;
const v3 = { "username": v0, "bio": v1, "xp": v2 };
return v3;

Armed with the power of new Function(), this happens in-process at runtime. There is no need to integrate with your build system.

The compiled schema is purely additive on top of the existing schema. It tacks on the pre-compiled fast path for checking valid inputs. When invalid data is detected, it returns the INVALID symbol to signal that parsing should fall back to the uncompiled parser. This structurally prevents subtle deviations in error reporting between compiled and uncompiled variants.

import "zod/compile"

To compile every schema in an application, import zod/compile once at the top of your entry point. Every schema constructed after that import is automatically compiled the first time it's used to parse data.

import "zod/compile"; // must come before modules that define schemas
import * as z from "zod";

const schema = z.object({ name: z.string() });
schema.parse({ name: "ok" }); // compiled on first parse

It also works as a Node.js CLI flag, which guarantees it runs before any module defines a schema:

node --import zod/compile app.js

Or set preload in bunfig.toml or nub.jsonc.

{
  "preload": ["zod/compile"]
}

All schemas benefit to varying degrees, though complex object/tuple/array schemas benefit more than simple scalar validators.

Read the docs, or the full technical writeup: Introducing z.compile()

z.creditCard()

A new string format: 12–19 digits, optionally separated by single spaces or hyphens, with a valid Luhn checksum. (#​5931)

z.creditCard().parse("4111 1111 1111 1111"); // ✅
z.creditCard().parse("4111 1111 1111 1112"); // ❌ bad checksum

z.properties()

The multi-property counterpart to z.property(). (#​5912)

const httpsUrl = z.instanceof(URL).check(
  ...z.properties({
    protocol: z.literal("https:" as string),
    hostname: z.string().regex(z.regexes.domain),
  })
);

httpsUrl.parse(new URL("https://example.com")); // ✅
httpsUrl.parse(new URL("http://localhost")); // ❌ protocol

z.deepPartial()

Back in functional form after being removed as a method in Zod 4. (#​5928)

const Post = z.object({
  title: z.string(),
  author: z.object({ name: z.string(), email: z.string() }),
});

const PartialPost = z.deepPartial(Post);
type PartialPost = z.output<typeof PartialPost>;
// => { title?: string; author?: { name?: string; email?: string } }

PartialPost.parse({ author: {} }); // ✅

The result is still a ZodObject, so .shape and .extend() keep working.

.exactPartial()

Like .partial(), but wraps each field in z.exactOptional() instead of z.optional(): keys may be omitted, but an explicit undefined is rejected. This matches TypeScript's Partial<> under exactOptionalPropertyTypes. (#​6065)

const Recipe = z.object({ title: z.string(), servings: z.number() });

const PartialRecipe = Recipe.exactPartial();
PartialRecipe.parse({});                    // ✅
PartialRecipe.parse({ title: undefined });  // ❌

In Zod Mini it's a top-level function: z.exactPartial(Recipe).

z.validate()

Standalone boolean validation, in Zod, Zod Mini, and Zod Core. It answers "is this input valid?" without constructing a ZodError, which makes rejection cheap: on invalid input it is up to 16x faster than .safeParse().success. The return type is a guard on the schema's input type, and z.validateAsync() covers schemas with async refinements. (#​6471)

z.validate(z.string(), "hi"); // true
z.validate(z.string(), 42);   // false

z.input() / z.output()

Project a schema onto its input or output side. Useful for validating the two halves of a codec independently. (#​5928)

const isoDate = z.codec(z.iso.datetime(), z.date(), {
  decode: (s) => new Date(s),
  encode: (d) => d.toISOString(),
});

const Event = z.object({ name: z.string(), at: isoDate });

z.input(Event).parse({ name: "launch", at: "2024-01-01T00:00:00Z" }); // ✅
z.output(Event).parse({ name: "launch", at: new Date() });            // ✅

This is a no-op on schemas not containing codecs/pipes.

z.toZod<T>()

A utility to define a Zod schema that agrees exactly with a static type, often one that is handwritten or externally defined. (#​5913)

type Player = { username: string; xp: number };

const Player = z.toZod<Player>()(
  z.object({
    username: z.string(),
    xp: z.number(),
  })
);

Player.shape.username; // ZodString — the schema is returned unchanged

z.getDiscriminatedOption()

Extract a discriminated union member by discriminator value. (#​5947)

const Fruit = z.object({ type: z.literal("fruit"), seeds: z.boolean() });
const Veg = z.object({ type: z.literal("vegetable"), leafy: z.boolean() });
const Produce = z.discriminatedUnion("type", [Fruit, Veg]);

z.getDiscriminatedOption(Produce, "fruit"); // typeof Fruit
z.getDiscriminatedOption(Produce, "meat");  // ❌ TypeScript error

Cyclical inputs

Zod recursive schemas now support cyclical data. For bundle size reasons, Zod Mini requires you to register a memoizer explicitly. (#​6387, #​6482)

Zod

const Category = z.object({
  name: z.string(),
  get subcategories() {
    return z.array(Category);
  },
});

const input: any = { name: "root", subcategories: [] };
input.subcategories.push(input);

const result = Category.parse(input);
result.subcategories[0] === result; // true

Zod Mini

// register a memoizer before defining any schemas
z.config({ memoizer: z.memoizer() });

const result = Category.parse(input);
result.subcategories[0] === result; // true

9x reduction in schema memory footprint

In Zod 4.4 a bare z.string() retained 7.5kb of heap. In Zod 4.5 it retains 784 bytes.

Bar chart of heap retained by one schema instance, zod 4.4.3 versus 4.5: a 10-key object 82.0kb to 11.0kb, a union 17.5kb to 2.13kb, z.string().min(1) 16.7kb to 3.37kb, a record 16.4kb to 2.64kb, z.string().optional() 12.6kb to 1.50kb, an array of strings 11.2kb to 1.93kb, z.string() 7.53kb to 784b, z.number() 4.44kb to 706b. Up to 9.8x smaller than 4.4.3.

Retained heap per schema instance, Zod 4.4.3 vs 4.5 (benchmark)

In Zod 4.4 and earlier, all schema methods were automatically bound to the instance itself. This allowed users to pluck methods from schemas without causing issues due to this-binding.

const { parse } = z.string();

parse("some data");

A consequence of this is that each bound method allocates space on the heap; method implementations are not shared across all instances via prototype, as you'd expect. Zod 4.5 implements a method memoization pattern that avoids allocating bound methods until they are actually accessed.

Read the deep dive: Reducing Zod's memory footprint by an order of magnitude

Faster failures

Zod .parse()/.safeParse() instantiates a JavaScript Error, which captures a stack trace. In the case of validation failures, this is often much slower than the parsing logic itself. When using .safeParse(), Zod no longer captures this stack trace, speeding up failure-path parses by a factor of ~7.5x. (#​6316, #​6450)

const result = Player.safeParse({ username: 42, bio: "hello", xp: 12 });
result.success; // false — ~7.5x faster than Zod 4.4
Bar chart of time per failing safeParse: zod 4.4 at 6.3 microseconds, zod 4.5 at 840 nanoseconds — 7.6x faster

Player schema (benchmark)

Symbol keys in z.object()

A shape can now declare a symbol key. TypeScript tracks it: a const symbol infers as unique symbol, so z.infer makes the key required and checks its value type. Undeclared symbol keys are still ignored. (#​6448)

const TAG = Symbol("tag");
const schema = z.object({ name: z.string(), [TAG]: z.number() });

schema.parse({ name: "alice", [TAG]: 42 }); // ✅ { name: "alice", [TAG]: 42 }
schema.safeParse({ name: "alice" });        // ❌ the symbol key is required

Bug fixes

All of these fix soundness issues, so a schema that relied on the old behavior may now reject input it used to accept.

⚠️ z.iso.datetime() requires seconds

RFC 3339 mandates seconds. z.iso.datetime() and z.iso.datetime({ offset: true }) no longer accept minute-precision input like 2020-01-01T06:15Z. local: true still admits 2020-01-01T06:15, since an unqualified datetime is outside RFC 3339 either way. (#​6457)

z.iso.datetime().parse("2020-01-01T06:15:00Z"); // ✅
z.iso.datetime().parse("2020-01-01T06:15Z");    // ❌ was accepted in 4.4

To accept both forms, union the two precisions:

z.union([z.iso.datetime(), z.iso.datetime({ precision: -1 })]);
⚠️ String length counts code points

.min(), .max(), and .length() counted UTF-16 code units, so z.string().max(5) rejected five emoji. They now count Unicode code points, which is what every non-JS consumer of a length bound does (Postgres, MySQL, Go, Python, and the maxLength that z.toJSONSchema() emits). .max() only loosens; .min() and .length() tighten for astral input. Graphemes are unchanged — a ZWJ sequence is still several code points. (#​6441)

z.string().max(5).parse("😀😀😀😀😀"); // was too_big, now passes
z.string().min(5).parse("😀😀😀");     // was fine, now too_small

Closes #​3355.

⚠️ Record keys and intersections match TypeScript

A record's key schema now governs only the keys that match it, the way TypeScript treats an index signature. Intersecting an object with a pattern-keyed record no longer rejects the object's own keys. (#​6412)

z.object({ name: z.string() })
  .and(z.record(z.string().regex(/^S_/), z.string()))
  .parse({ name: "a", S_a: "s" });
// 4.4: throws invalid_key on "name"
// 4.5: { name: "a", S_a: "s" }

Separately, an unrecognized_keys issue no longer aborts the schema it came from, so a strict object with an extra key and a bad value now reports both issues instead of just the first. Closes #​2200, #​2573, #​4017, #​5663.

⚠️ __proto__ is always stripped

Object and record parsers now drop a __proto__ key whether it comes from the input, is declared by the schema, or is produced by a record key transform. A key that a record's key schema normalizes to __proto__ is dropped too. .strict() reports an own __proto__ input key as unrecognized_keys instead of silently swallowing it. Error formatters and both JSON Schema converters use own-property writes so a toString or constructor path segment can't walk onto Object.prototype (#​6213, #​6367, #​6346). (#​6386, #​6354, #​6355, #​6221)

⚠️ Stricter string formats
  • z.ipv6() validated by handing the string to new URL(), which let ::@1\ and ::1\n through. It now checks the address alphabet directly (#​6442).
  • z.ulid() restricts the first character to 07; anything higher overflows the 48-bit timestamp. A fixture that doesn't start with a real timestamp, such as one with a leading letter, is now rejected (#​6095).
  • z.httpUrl() enforces the RFC 1035 length limits on the host, matching z.hostname() (#​6035).
  • z.emoji() no longer backtracks exponentially on a failed match (#​6347).
  • z.string().includes(sub, { position: N }) emits a JSON Schema pattern that allows at least N leading characters, matching String.prototype.includes (#​6024).

Commits

Zod 4.5 rolls up 155 commits. Thanks to everyone who contributed: @​dokson, @​deepshekhardas, @​zirkelc, @​francisjohnjohnston-web, @​MerlijnW70, @​codinsonn, @​oimo23, @​JSap0914, @​zelinewang, @​abhishek-chaudhary2003, @​spokodev, @​Mohammad-Faiz-Cloud-Engineer, @​hamed-bavar, @​MGPOCKY, @​ChiChuRita, @​dinwwwh, @​thristhart, @​tsmartin9, @​vedanshshetti, @​belicam, @​frastefanini, @​andersk, @​musaddiq-rafi, @​tachmyratsaparmyradov, @​arvindfroi, @​KUMachine, @​spidersouris, @​catdalfonso, @​mneetika, @​gwagjiug, @​MahinAnowar, @​MaksZhukov, @​emmayusufu, @​agcty, @​devareddy05, @​Vish05, @​yamcodes, @​mattiasahlsen, @​samchungy, @​ozzyfromspace, @​udohjeremiah, @​patrickwehbe, @​gajus, @​Harm-Nullix, @​thwbh, @​IdanGonen, @​irfanfandi, @​JuerGenie, @​marcalexiei, @​itsahmedbilal, @​DucMinhNe, @​meliharik.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | Type | Update | |---|---|---|---|---|---| | [@base-ui/react](https://base-ui.com) ([source](https://github.com/mui/base-ui/tree/HEAD/packages/react)) | [`1.7.0` → `1.8.0`](https://renovatebot.com/diffs/npm/@base-ui%2freact/1.7.0/1.8.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@base-ui%2freact/1.8.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@base-ui%2freact/1.7.0/1.8.0?slim=true) | dependencies | minor | | [@libsql/client](https://github.com/tursodatabase/libsql-client-ts) ([source](https://github.com/tursodatabase/libsql-client-ts/tree/HEAD/packages/libsql-client)) | [`0.17.4` → `0.18.0`](https://renovatebot.com/diffs/npm/@libsql%2fclient/0.17.4/0.18.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@libsql%2fclient/0.18.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@libsql%2fclient/0.17.4/0.18.0?slim=true) | pnpm.catalog.default | minor | | [@shadcn/react](https://ui.shadcn.com) ([source](https://github.com/shadcn-ui/ui/tree/HEAD/packages/react)) | [`0.3.0` → `0.3.1`](https://renovatebot.com/diffs/npm/@shadcn%2freact/0.3.0/0.3.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@shadcn%2freact/0.3.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@shadcn%2freact/0.3.0/0.3.1?slim=true) | dependencies | patch | | [@tsparticles/engine](https://particles.js.org) ([source](https://github.com/tsparticles/tsparticles/tree/HEAD/engine)) | [`4.3.2` → `4.4.0`](https://renovatebot.com/diffs/npm/@tsparticles%2fengine/4.3.2/4.4.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@tsparticles%2fengine/4.4.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tsparticles%2fengine/4.3.2/4.4.0?slim=true) | dependencies | minor | | [@tsparticles/react](https://github.com/tsparticles/tsparticles) ([source](https://github.com/tsparticles/tsparticles/tree/HEAD/wrappers/react)) | [`4.3.2` → `4.4.0`](https://renovatebot.com/diffs/npm/@tsparticles%2freact/4.3.2/4.4.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@tsparticles%2freact/4.4.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tsparticles%2freact/4.3.2/4.4.0?slim=true) | dependencies | minor | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`22.20.1` → `22.20.2`](https://renovatebot.com/diffs/npm/@types%2fnode/22.20.1/22.20.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/22.20.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/22.20.1/22.20.2?slim=true) | devDependencies | patch | | [hono](https://hono.dev) ([source](https://github.com/honojs/hono)) | [`4.13.2` → `4.13.7`](https://renovatebot.com/diffs/npm/hono/4.13.2/4.13.7) | ![age](https://developer.mend.io/api/mc/badges/age/npm/hono/4.13.7?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/hono/4.13.2/4.13.7?slim=true) | pnpm.catalog.default | patch | | [node](https://hub.docker.com/_/node) ([source](https://github.com/nodejs/node)) | `24.20.0-slim` → `24.21.0-slim` | ![age](https://developer.mend.io/api/mc/badges/age/docker/node/24.21.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/node/24.20.0/24.21.0?slim=true) | final | minor | | [node](https://hub.docker.com/_/node) ([source](https://github.com/nodejs/node)) | `24.20.0-slim` → `24.21.0-slim` | ![age](https://developer.mend.io/api/mc/badges/age/docker/node/24.21.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/node/24.20.0/24.21.0?slim=true) | stage | minor | | [oxfmt](https://oxc.rs/docs/guide/usage/formatter) ([source](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxfmt)) | [`0.63.0` → `0.67.0`](https://renovatebot.com/diffs/npm/oxfmt/0.63.0/0.67.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/oxfmt/0.67.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxfmt/0.63.0/0.67.0?slim=true) | devDependencies | minor | | [shadcn](https://ui.shadcn.com) ([source](https://github.com/shadcn-ui/ui/tree/HEAD/packages/shadcn)) | [`4.18.0` → `4.21.0`](https://renovatebot.com/diffs/npm/shadcn/4.18.0/4.21.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/shadcn/4.21.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/shadcn/4.18.0/4.21.0?slim=true) | dependencies | minor | | [tsdown](http://tsdown.dev/) ([source](https://github.com/rolldown/tsdown)) | [`0.22.14` → `0.23.0`](https://renovatebot.com/diffs/npm/tsdown/0.22.14/0.23.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/tsdown/0.23.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tsdown/0.22.14/0.23.0?slim=true) | devDependencies | minor | | [tsparticles](https://particles.js.org) ([source](https://github.com/tsparticles/tsparticles/tree/HEAD/bundles/full)) | [`4.3.2` → `4.4.0`](https://renovatebot.com/diffs/npm/tsparticles/4.3.2/4.4.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/tsparticles/4.4.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tsparticles/4.3.2/4.4.0?slim=true) | dependencies | minor | | [tsx](https://tsx.hirok.io) ([source](https://github.com/privatenumber/tsx)) | [`4.23.12` → `4.23.13`](https://renovatebot.com/diffs/npm/tsx/4.23.12/4.23.13) | ![age](https://developer.mend.io/api/mc/badges/age/npm/tsx/4.23.13?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tsx/4.23.12/4.23.13?slim=true) | devDependencies | patch | | [zod](https://zod.dev) ([source](https://github.com/colinhacks/zod)) | [`4.4.3` → `4.6.2`](https://renovatebot.com/diffs/npm/zod/4.4.3/4.6.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/zod/4.6.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zod/4.4.3/4.6.2?slim=true) | pnpm.catalog.default | minor | --- ### Release Notes <details> <summary>mui/base-ui (@&#8203;base-ui/react)</summary> ### [`v1.8.0`](https://github.com/mui/base-ui/blob/HEAD/CHANGELOG.md#v180) [Compare Source](https://github.com/mui/base-ui/compare/v1.7.0...v1.8.0) <!-- generated comparing v1.7.0...master --> *Sep 4, 2026* ##### General changes - Fix label association when a control unregisters ([#&#8203;5456](https://github.com/mui/base-ui/issues/5456)) by [@&#8203;atomiks](https://github.com/atomiks) - Reduce animation completion work ([#&#8203;5535](https://github.com/mui/base-ui/issues/5535)) by [@&#8203;atomiks](https://github.com/atomiks) - Fix prop and ref merging for lazy render elements ([#&#8203;5562](https://github.com/mui/base-ui/issues/5562)) by [@&#8203;atomiks](https://github.com/atomiks) - Fix roving focus when items are added or removed ([#&#8203;5447](https://github.com/mui/base-ui/issues/5447)) by [@&#8203;atomiks](https://github.com/atomiks) - Fix hover and focus interaction issues ([#&#8203;5037](https://github.com/mui/base-ui/issues/5037)) by [@&#8203;atomiks](https://github.com/atomiks) - Improve trigger mount performance ([#&#8203;5426](https://github.com/mui/base-ui/issues/5426)) by [@&#8203;atomiks](https://github.com/atomiks) - Fix disabled anchor tracking on scroll ([#&#8203;5478](https://github.com/mui/base-ui/issues/5478)) by [@&#8203;atomiks](https://github.com/atomiks) - Fix transform origin for start/end alignment ([#&#8203;5015](https://github.com/mui/base-ui/issues/5015)) by [@&#8203;atomiks](https://github.com/atomiks) - Remove duplicate options key from arrow middleware ([#&#8203;5606](https://github.com/mui/base-ui/issues/5606)) by [@&#8203;atomiks](https://github.com/atomiks) - Register passive touch listeners ([#&#8203;5572](https://github.com/mui/base-ui/issues/5572)) by [@&#8203;wanxiankai](https://github.com/wanxiankai) ##### Alert Dialog - Ignore outside clicks from presses that began before open ([#&#8203;5378](https://github.com/mui/base-ui/issues/5378)) by [@&#8203;michaldudak](https://github.com/michaldudak) ##### Autocomplete - Render groups with the rowgroup role in grid mode ([#&#8203;5564](https://github.com/mui/base-ui/issues/5564)) by [@&#8203;atomiks](https://github.com/atomiks) - Allow opening and browsing the popup while `readOnly` ([#&#8203;5541](https://github.com/mui/base-ui/issues/5541)) by [@&#8203;vikuscz](https://github.com/vikuscz) - Move `aria-orientation` to the role owners ([#&#8203;5551](https://github.com/mui/base-ui/issues/5551)) by [@&#8203;gonzoblasco](https://github.com/gonzoblasco) - Hide group labels and scrollbars from the accessibility tree ([#&#8203;5598](https://github.com/mui/base-ui/issues/5598)) by [@&#8203;azeng4499](https://github.com/azeng4499) ##### Avatar - Add `keepMounted` prop to `<Avatar.Image>` ([#&#8203;5536](https://github.com/mui/base-ui/issues/5536)) by [@&#8203;atomiks](https://github.com/atomiks) ##### Checkbox - Fix stale and duplicated control IDs ([#&#8203;5457](https://github.com/mui/base-ui/issues/5457)) by [@&#8203;atomiks](https://github.com/atomiks) - Fix controlled blur validation and stale filled state ([#&#8203;5563](https://github.com/mui/base-ui/issues/5563)) by [@&#8203;atomiks](https://github.com/atomiks) ##### Checkbox Group - Fix stale and duplicated control IDs ([#&#8203;5457](https://github.com/mui/base-ui/issues/5457)) by [@&#8203;atomiks](https://github.com/atomiks) ##### Combobox - Fix applying `data-readonly` to `<Combobox.Trigger>` ([#&#8203;5418](https://github.com/mui/base-ui/issues/5418)) by [@&#8203;sai6855](https://github.com/sai6855) - Add `createItems` collection API ([#&#8203;5326](https://github.com/mui/base-ui/issues/5326)) by [@&#8203;atomiks](https://github.com/atomiks) - Fix cancellation when preserving the filter after selection ([#&#8203;5362](https://github.com/mui/base-ui/issues/5362)) by [@&#8203;atomiks](https://github.com/atomiks) - Render groups with the rowgroup role in grid mode ([#&#8203;5564](https://github.com/mui/base-ui/issues/5564)) by [@&#8203;atomiks](https://github.com/atomiks) - Allow opening and browsing the popup while `readOnly` ([#&#8203;5541](https://github.com/mui/base-ui/issues/5541)) by [@&#8203;vikuscz](https://github.com/vikuscz) - Move `aria-orientation` to the role owners ([#&#8203;5551](https://github.com/mui/base-ui/issues/5551)) by [@&#8203;gonzoblasco](https://github.com/gonzoblasco) - Fix record item label lookup reading from `Object.prototype` ([#&#8203;5518](https://github.com/mui/base-ui/issues/5518)) by [@&#8203;XionWCFM](https://github.com/XionWCFM) - Anchor multiple selection to the first selected item with a linear lookup ([#&#8203;5573](https://github.com/mui/base-ui/issues/5573), [#&#8203;5613](https://github.com/mui/base-ui/issues/5613)) by [@&#8203;atomiks](https://github.com/atomiks) and [@&#8203;michaldudak](https://github.com/michaldudak) - Hide group labels and scrollbars from the accessibility tree ([#&#8203;5598](https://github.com/mui/base-ui/issues/5598)) by [@&#8203;azeng4499](https://github.com/azeng4499) ##### Dialog - Ignore outside clicks from presses that began before open ([#&#8203;5378](https://github.com/mui/base-ui/issues/5378)) by [@&#8203;michaldudak](https://github.com/michaldudak) ##### Drawer - Ignore swipes without an attributed direction when using snap points ([#&#8203;5477](https://github.com/mui/base-ui/issues/5477)) by [@&#8203;atomiks](https://github.com/atomiks) - Respect canceled snap point dismissal ([#&#8203;5571](https://github.com/mui/base-ui/issues/5571)) by [@&#8203;radist2s](https://github.com/radist2s) - Ignore the page scroller when starting a swipe ([#&#8203;5567](https://github.com/mui/base-ui/issues/5567)) by [@&#8203;flaviendelangle](https://github.com/flaviendelangle) ##### Field - Fix custom validity ownership and validation lifecycle ([#&#8203;5449](https://github.com/mui/base-ui/issues/5449)) by [@&#8203;atomiks](https://github.com/atomiks) - Sync controlled value changes with field state ([#&#8203;5460](https://github.com/mui/base-ui/issues/5460)) by [@&#8203;atomiks](https://github.com/atomiks) - Fix stale and duplicated control IDs ([#&#8203;5457](https://github.com/mui/base-ui/issues/5457)) by [@&#8203;atomiks](https://github.com/atomiks) - Validate once on Enter inside a Form ([#&#8203;5459](https://github.com/mui/base-ui/issues/5459)) by [@&#8203;atomiks](https://github.com/atomiks) - Publish neutral validity while async validation is in flight ([#&#8203;5600](https://github.com/mui/base-ui/issues/5600)) by [@&#8203;atomiks](https://github.com/atomiks) - Fix controlled blur validation and stale filled state ([#&#8203;5563](https://github.com/mui/base-ui/issues/5563)) by [@&#8203;atomiks](https://github.com/atomiks) ##### Form - Fix `clearErrors` dropping updates when multiple fields change at once ([#&#8203;5446](https://github.com/mui/base-ui/issues/5446)) by [@&#8203;sai6855](https://github.com/sai6855) ##### Menu - Play the enter transition for an initially open submenu ([#&#8203;4383](https://github.com/mui/base-ui/issues/4383)) by [@&#8203;michaldudak](https://github.com/michaldudak) - Move `aria-orientation` to the role owners ([#&#8203;5551](https://github.com/mui/base-ui/issues/5551)) by [@&#8203;gonzoblasco](https://github.com/gonzoblasco) - Hide group labels and scrollbars from the accessibility tree ([#&#8203;5598](https://github.com/mui/base-ui/issues/5598)) by [@&#8203;azeng4499](https://github.com/azeng4499) ##### Menubar - Fix menubar accessibility tree to satisfy `aria-required-children` ([#&#8203;5058](https://github.com/mui/base-ui/issues/5058)) by [@&#8203;michaldudak](https://github.com/michaldudak) ##### Navigation Menu - Fix pointer-events lock when sweeping quickly across a trigger ([#&#8203;5454](https://github.com/mui/base-ui/issues/5454)) by [@&#8203;edwardhorsey](https://github.com/edwardhorsey) - Keep focus on trigger when opening ([#&#8203;5479](https://github.com/mui/base-ui/issues/5479)) by [@&#8203;atomiks](https://github.com/atomiks) - Add disabled data attribute to `<NavigationMenu.Trigger>` ([#&#8203;5521](https://github.com/mui/base-ui/issues/5521)) by [@&#8203;sai6855](https://github.com/sai6855) ##### Number Field - Stop incrementing when disabled during press-and-hold ([#&#8203;5435](https://github.com/mui/base-ui/issues/5435)) by [@&#8203;alex-js-ltd](https://github.com/alex-js-ltd) - Prevent scrubbing on horizontal wheel events ([#&#8203;5463](https://github.com/mui/base-ui/issues/5463)) by [@&#8203;sai6855](https://github.com/sai6855) - Preserve native and consumer-controlled selection when focusing the input ([#&#8203;5578](https://github.com/mui/base-ui/issues/5578), [#&#8203;5619](https://github.com/mui/base-ui/issues/5619)) by [@&#8203;atomiks](https://github.com/atomiks) ##### Popover - Ignore outside clicks from presses that began before open ([#&#8203;5378](https://github.com/mui/base-ui/issues/5378)) by [@&#8203;michaldudak](https://github.com/michaldudak) - Fix detached trigger store migration ([#&#8203;5442](https://github.com/mui/base-ui/issues/5442)) by [@&#8203;atomiks](https://github.com/atomiks) ##### Scroll Area - Hide group labels and scrollbars from the accessibility tree ([#&#8203;5598](https://github.com/mui/base-ui/issues/5598)) by [@&#8203;azeng4499](https://github.com/azeng4499) - Prevent scrollbars from stealing focus ([#&#8203;5430](https://github.com/mui/base-ui/issues/5430)) by [@&#8203;marwenilo](https://github.com/marwenilo) ##### Select - Move `aria-orientation` to the role owners ([#&#8203;5551](https://github.com/mui/base-ui/issues/5551)) by [@&#8203;gonzoblasco](https://github.com/gonzoblasco) - Anchor multiple selection to the first selected item with a linear lookup ([#&#8203;5573](https://github.com/mui/base-ui/issues/5573), [#&#8203;5613](https://github.com/mui/base-ui/issues/5613)) by [@&#8203;atomiks](https://github.com/atomiks) and [@&#8203;michaldudak](https://github.com/michaldudak) - Hide group labels and scrollbars from the accessibility tree ([#&#8203;5598](https://github.com/mui/base-ui/issues/5598)) by [@&#8203;azeng4499](https://github.com/azeng4499) - Fix the root ID being ignored inside a Field ([#&#8203;5461](https://github.com/mui/base-ui/issues/5461)) by [@&#8203;atomiks](https://github.com/atomiks) - Remove redundant size check in `<Select.Positioner>` ([#&#8203;5469](https://github.com/mui/base-ui/issues/5469)) by [@&#8203;sai6855](https://github.com/sai6855) - Allow opening and browsing the popup while `readOnly` ([#&#8203;5531](https://github.com/mui/base-ui/issues/5531)) by [@&#8203;vikuscz](https://github.com/vikuscz) - Fix record item label lookup reading from `Object.prototype` ([#&#8203;5518](https://github.com/mui/base-ui/issues/5518)) by [@&#8203;XionWCFM](https://github.com/XionWCFM) ##### Slider - Prevent update loops from unstable refs ([#&#8203;5441](https://github.com/mui/base-ui/issues/5441)) by [@&#8203;atomiks](https://github.com/atomiks) ##### Switch - Fix controlled blur validation and stale filled state ([#&#8203;5563](https://github.com/mui/base-ui/issues/5563)) by [@&#8203;atomiks](https://github.com/atomiks) ##### Tabs - Prevent update loops from unstable refs ([#&#8203;5441](https://github.com/mui/base-ui/issues/5441)) by [@&#8203;atomiks](https://github.com/atomiks) - Consider 3D transforms when positioning the indicator ([#&#8203;4852](https://github.com/mui/base-ui/issues/4852)) by [@&#8203;michaldudak](https://github.com/michaldudak) ##### Toast - Allow functional toast updates derived from the current toast ([#&#8203;5464](https://github.com/mui/base-ui/issues/5464), [#&#8203;5611](https://github.com/mui/base-ui/issues/5611), [#&#8203;5629](https://github.com/mui/base-ui/issues/5629)) by [@&#8203;chuganzy](https://github.com/chuganzy) and [@&#8203;michaldudak](https://github.com/michaldudak) ##### Tooltip - Respect trigger delay with zero provider delay ([#&#8203;5444](https://github.com/mui/base-ui/issues/5444)) by [@&#8203;atomiks](https://github.com/atomiks) All contributors of this release in alphabetical order: [@&#8203;alex-js-ltd](https://github.com/alex-js-ltd), [@&#8203;atomiks](https://github.com/atomiks), [@&#8203;azeng4499](https://github.com/azeng4499), [@&#8203;chuganzy](https://github.com/chuganzy), [@&#8203;edwardhorsey](https://github.com/edwardhorsey), [@&#8203;flaviendelangle](https://github.com/flaviendelangle), [@&#8203;gilsmt](https://github.com/gilsmt), [@&#8203;gonzoblasco](https://github.com/gonzoblasco), [@&#8203;jjenzz](https://github.com/jjenzz), [@&#8203;marwenilo](https://github.com/marwenilo), [@&#8203;michaldudak](https://github.com/michaldudak), [@&#8203;radist2s](https://github.com/radist2s), [@&#8203;sai6855](https://github.com/sai6855), [@&#8203;vikuscz](https://github.com/vikuscz), [@&#8203;wanxiankai](https://github.com/wanxiankai), [@&#8203;XionWCFM](https://github.com/XionWCFM) </details> <details> <summary>tursodatabase/libsql-client-ts (@&#8203;libsql/client)</summary> ### [`v0.18.0`](https://github.com/tursodatabase/libsql-client-ts/compare/v0.17.4...v0.18.0) [Compare Source](https://github.com/tursodatabase/libsql-client-ts/compare/v0.17.4...v0.18.0) </details> <details> <summary>shadcn-ui/ui (@&#8203;shadcn/react)</summary> ### [`v0.3.1`](https://github.com/shadcn-ui/ui/blob/HEAD/packages/react/CHANGELOG.md#031) [Compare Source](https://github.com/shadcn-ui/ui/compare/@shadcn/react@0.3.0...@shadcn/react@0.3.1) ##### Patch Changes - [#&#8203;11720](https://github.com/shadcn-ui/ui/pull/11720) [`503a3a57aec9a3817e37f90aa0817b1fabd284d0`](https://github.com/shadcn-ui/ui/commit/503a3a57aec9a3817e37f90aa0817b1fabd284d0) Thanks [@&#8203;shadcn](https://github.com/shadcn)! - Set `data-pending-scroll` on the MessageScroller root and viewport until `defaultScrollPosition` (`"end"` or `"last-anchor"`) is applied, so the viewport can be hidden and a server-rendered transcript does not flash the top of the thread on reload. </details> <details> <summary>tsparticles/tsparticles (@&#8203;tsparticles/engine)</summary> ### [`v4.4.0`](https://github.com/tsparticles/tsparticles/blob/HEAD/engine/CHANGELOG.md#440-2026-08-30) [Compare Source](https://github.com/tsparticles/tsparticles/compare/v4.3.2...v4.4.0) ##### Bug Fixes - various fixes for 4.4.0 ([475d06d](https://github.com/tsparticles/tsparticles/commit/475d06da27e1497bb097c0822fcfcb72d7142456)) #### [4.3.3](https://github.com/tsparticles/tsparticles/compare/v4.3.2...v4.3.3) (2026-07-23) ##### Bug Fixes - fixed common instance usage in engine initialization ([77d6718](https://github.com/tsparticles/tsparticles/commit/77d67187216afb9591c4fa92700176f64771a3a9)) - fixed double opacity calc, fixes [#&#8203;5903](https://github.com/tsparticles/tsparticles/issues/5903) ([3e128d2](https://github.com/tsparticles/tsparticles/commit/3e128d2a8f2c346a3cfc96c13569b72f8523a32e)) #### [4.3.2](https://github.com/tsparticles/tsparticles/compare/v4.3.1...v4.3.2) (2026-07-10) ##### Bug Fixes - fixed some issues in deepExtend ([4ba3518](https://github.com/tsparticles/tsparticles/commit/4ba351881184f155a0d72894e36bc64a267418df)) #### [4.3.1](https://github.com/tsparticles/tsparticles/compare/v4.3.0...v4.3.1) (2026-07-01) **Note:** Version bump only for package [@&#8203;tsparticles/engine](https://github.com/tsparticles/engine) </details> <details> <summary>tsparticles/tsparticles (@&#8203;tsparticles/react)</summary> ### [`v4.4.0`](https://github.com/tsparticles/tsparticles/blob/HEAD/wrappers/react/CHANGELOG.md#440-2026-08-30) [Compare Source](https://github.com/tsparticles/tsparticles/compare/v4.3.2...v4.4.0) ##### Bug Fixes - various fixes for 4.4.0 ([475d06d](https://github.com/tsparticles/tsparticles/commit/475d06da27e1497bb097c0822fcfcb72d7142456)) #### [4.3.3](https://github.com/tsparticles/tsparticles/compare/v4.3.2...v4.3.3) (2026-07-23) **Note:** Version bump only for package [@&#8203;tsparticles/react](https://github.com/tsparticles/react) #### [4.3.2](https://github.com/tsparticles/tsparticles/compare/v4.3.1...v4.3.2) (2026-07-10) ##### Bug Fixes - fixed some broken pages in websites, closes [#&#8203;5882](https://github.com/tsparticles/tsparticles/issues/5882) ([061e623](https://github.com/tsparticles/tsparticles/commit/061e6234acf8c2a9de1ff35cfdc07b91bc7c0178)) #### [4.3.1](https://github.com/tsparticles/tsparticles/compare/v4.3.0...v4.3.1) (2026-07-01) **Note:** Version bump only for package [@&#8203;tsparticles/react](https://github.com/tsparticles/react) </details> <details> <summary>honojs/hono (hono)</summary> ### [`v4.13.7`](https://github.com/honojs/hono/releases/tag/v4.13.7) [Compare Source](https://github.com/honojs/hono/compare/v4.13.6...v4.13.7) #### Security fixes This release includes a fix for the following security issue: ##### `hono/jsx` renders plain strings unescaped in boundary components, leading to XSS Affects: `Suspense`, `ErrorBoundary`, and `Context.Provider` in `hono/jsx`, and `renderToString()` / `renderToReadableStream()` in `hono/jsx/dom/server`. Fixes missing HTML escaping for a plain string placed directly as a child or `fallback` of these components, or as the root value of the server rendering functions, so untrusted strings could be emitted as markup. GHSA-hxh3-vqpv-xpqv *** Users who render untrusted strings inside `Suspense`, `ErrorBoundary`, or `Context.Provider`, or pass them directly to `hono/jsx/dom/server`, are strongly encouraged to upgrade to this version. ### [`v4.13.6`](https://github.com/honojs/hono/releases/tag/v4.13.6) [Compare Source](https://github.com/honojs/hono/compare/v4.13.5...v4.13.6) #### What's Changed - fix(client): keep a param value of "index" in $url() and $path() in [#&#8203;5297](https://github.com/honojs/hono/pull/5297) - fix(client): normalize root WebSocket URLs in [#&#8203;5291](https://github.com/honojs/hono/pull/5291) - fix(types): allow symbol keys in Context<any> get and set fallbacks in [#&#8203;5300](https://github.com/honojs/hono/pull/5300) - chore: bump `editorconfig-checker` in [#&#8203;5336](https://github.com/honojs/hono/pull/5336) - refactor(on-handler): use forEach for consistent handler iteration in [#&#8203;5326](https://github.com/honojs/hono/pull/5326) **Full Changelog**: <https://github.com/honojs/hono/compare/v4.13.5...v4.13.6> ### [`v4.13.5`](https://github.com/honojs/hono/releases/tag/v4.13.5) [Compare Source](https://github.com/honojs/hono/compare/v4.13.4...v4.13.5) #### Security fixes This release includes fixes for the following security issues: ##### Query parser reads parameters after the URL fragment, causing cache-key and proxy interpretation differentials Affects: Cache Middleware and applications behind a proxy, WAF, or logging layer that inspects query strings. Fixes query parsing that did not stop at the URL fragment, so a `?` after a `#` was treated as the start of a query string and the application could read parameters that the other component never saw. GHSA-crvj-82cr-hjcx ##### Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory Affects: `toSSG()` for Static Site Generation. Fixes a path normalization gap where consecutive parent-directory segments in `ssgParams` values were not fully collapsed, bypassing the containment check added in 4.12.12. GHSA-gqvv-2mrq-wpjv ##### Unbounded dot-notation nesting in `parseBody()` can cause memory exhaustion Affects: `parseBody()` when dot-notation parsing is enabled. Fixes unbounded expansion of dot-separated field names, where a small request body could allocate a disproportionately large object graph and concurrent requests could exhaust the heap. GHSA-g6gw-c38x-mqfc *** Users who use Cache Middleware, deploy behind a proxy or WAF that inspects query strings, use Static Site Generation, or use `parseBody({ dot: true })` are strongly encouraged to upgrade to this version. ### [`v4.13.4`](https://github.com/honojs/hono/releases/tag/v4.13.4) [Compare Source](https://github.com/honojs/hono/compare/v4.13.3...v4.13.4) #### What's Changed - fix(request): handle params on unmatched requests in [#&#8203;5268](https://github.com/honojs/hono/pull/5268) - fix(jsx/dom): execute previous ref cleanup when ref prop changes on re-render in [#&#8203;5264](https://github.com/honojs/hono/pull/5264) - fix(reg-exp-router): associate wildcard middleware with matching routes in [#&#8203;5266](https://github.com/honojs/hono/pull/5266) - perf(router): share null object creation in [#&#8203;5267](https://github.com/honojs/hono/pull/5267) - fix(etag): match If-None-Match tags with optional whitespace before the comma in [#&#8203;5222](https://github.com/honojs/hono/pull/5222) - fix(client): skip undefined header and cookie values in [#&#8203;5244](https://github.com/honojs/hono/pull/5244) - fix(client): skip an undefined entry inside a query array in [#&#8203;5272](https://github.com/honojs/hono/pull/5272) - fix(client): skip an undefined entry inside a form array in [#&#8203;5280](https://github.com/honojs/hono/pull/5280) - fix(client): support custom buildSearchParams and filter undefined query in $ws() bin [#&#8203;5256](https://github.com/honojs/hono/pull/5256) - fix(accepts): support wildcard media types and specificity ordering in defaultMatch in [#&#8203;5255](https://github.com/honojs/hono/pull/5255) - fix(client): omit empty query delimiter in [#&#8203;5283](https://github.com/honojs/hono/pull/5283) - fix(request): drop stale content length for cloned FormData in [#&#8203;5282](https://github.com/honojs/hono/pull/5282) - fix(request): serialize cached JSON body in cloneRawRequest in [#&#8203;5288](https://github.com/honojs/hono/pull/5288) - fix(cookie): allow parsing signed cookies with empty string values in [#&#8203;5246](https://github.com/honojs/hono/pull/5246) - fix(utils/stream): do not let abort listeners crash abort() in [#&#8203;5274](https://github.com/honojs/hono/pull/5274) **Full Changelog**: <https://github.com/honojs/hono/compare/v4.13.3...v4.13.4> ### [`v4.13.3`](https://github.com/honojs/hono/releases/tag/v4.13.3) [Compare Source](https://github.com/honojs/hono/compare/v4.13.2...v4.13.3) #### What's Changed - fix(client): prevent URL corruption when replaceUrlParam contains $ replacement tokens in [#&#8203;5227](https://github.com/honojs/hono/pull/5227) - fix(etag): copy pending stream bytes in [#&#8203;5239](https://github.com/honojs/hono/pull/5239) - fix(etag): avoid skipping headers when filtering 304 response headers in [#&#8203;5234](https://github.com/honojs/hono/pull/5234) - fix(cors): append Origin to Vary header on OPTIONS preflight in [#&#8203;5235](https://github.com/honojs/hono/pull/5235) - docs(context): add custom headers append option example to Context JSDoc in [#&#8203;5248](https://github.com/honojs/hono/pull/5248) - fix(trie-router): match suffix wildcard routes in [#&#8203;5236](https://github.com/honojs/hono/pull/5236) - fix(pattern-router/linear-router): prevent prefix overmatch on wildcard routes in [#&#8203;5252](https://github.com/honojs/hono/pull/5252) - fix(csrf): exempt OPTIONS request from CSRF validation in [#&#8203;5250](https://github.com/honojs/hono/pull/5250) - fix(utils/ipaddr): avoid truncation on embedded IPv4 addresses in expand IPv6 in [#&#8203;5247](https://github.com/honojs/hono/pull/5247) - feat(pretty-json): support structured JSON content-types (+json) in [#&#8203;5226](https://github.com/honojs/hono/pull/5226) **Full Changelog**: <https://github.com/honojs/hono/compare/v4.13.2...v4.13.3> </details> <details> <summary>nodejs/node (node)</summary> ### [`v24.21.0`](https://github.com/nodejs/node/releases/tag/v24.21.0): 2026-09-08, Version 24.21.0 'Krypton' (LTS), @&#8203;aduh95 [Compare Source](https://github.com/nodejs/node/compare/v24.20.0...v24.21.0) ##### Notable Changes - \[[`71106e1f17`](https://github.com/nodejs/node/commit/71106e1f17)] - **crypto**: update root certificates to NSS 3.126 (Node.js GitHub Bot) [#&#8203;65495](https://github.com/nodejs/node/pull/65495) - \[[`afca0a912d`](https://github.com/nodejs/node/commit/afca0a912d)] - **(SEMVER-MINOR)** **crypto**: support loading private keys through STORE loaders (Filip Skokan) [#&#8203;63949](https://github.com/nodejs/node/pull/63949) - \[[`6274fccbd9`](https://github.com/nodejs/node/commit/6274fccbd9)] - **deps**: update OpenSSL to 3.5.8 (Node.js GitHub Bot) [#&#8203;65542](https://github.com/nodejs/node/pull/65542) - \[[`53cba013c7`](https://github.com/nodejs/node/commit/53cba013c7)] - **deps**: update Undici to 7.29.1 (Node.js GitHub Bot) [#&#8203;65789](https://github.com/nodejs/node/pull/65789) - \[[`0529772798`](https://github.com/nodejs/node/commit/0529772798)] - **(SEMVER-MINOR)** **lib,src**: improve histogram implementation (James M Snell) [#&#8203;65024](https://github.com/nodejs/node/pull/65024) - \[[`41c7062b81`](https://github.com/nodejs/node/commit/41c7062b81)] - **(SEMVER-MINOR)** **net**: improve performance of `net.BlockList` (James M Snell) [#&#8203;64974](https://github.com/nodejs/node/pull/64974) - \[[`5197b5a3c5`](https://github.com/nodejs/node/commit/5197b5a3c5)] - **(SEMVER-MINOR)** **perf\_hooks**: add statistical hypothesis testing to histogram (James M Snell) [#&#8203;65416](https://github.com/nodejs/node/pull/65416) - \[[`35c635b032`](https://github.com/nodejs/node/commit/35c635b032)] - **(SEMVER-MINOR)** **util**: add non-throwing `MIMEType.parse` (James M Snell) [#&#8203;64965](https://github.com/nodejs/node/pull/64965) ##### Commits - \[[`84d706cb9b`](https://github.com/nodejs/node/commit/84d706cb9b)] - **assert**: improve documentation wording (Kamal Rawal) [#&#8203;64953](https://github.com/nodejs/node/pull/64953) - \[[`90d127db33`](https://github.com/nodejs/node/commit/90d127db33)] - **(SEMVER-MINOR)** **benchmark**: add --analyze mode to compare.js (James M Snell) [#&#8203;65416](https://github.com/nodejs/node/pull/65416) - \[[`ad1d7884c3`](https://github.com/nodejs/node/commit/ad1d7884c3)] - **benchmark**: add test-only and mock timers cases (Luan Muniz) [#&#8203;64097](https://github.com/nodejs/node/pull/64097) - \[[`1d8f045914`](https://github.com/nodejs/node/commit/1d8f045914)] - **benchmark**: apply `highWaterMark` in webstreams `pipe-to` (Matteo Collina) [#&#8203;65138](https://github.com/nodejs/node/pull/65138) - \[[`ed7ba3c993`](https://github.com/nodejs/node/commit/ed7ba3c993)] - **benchmark**: complete the sqlite is-transaction fix (Edy Silva) [#&#8203;65218](https://github.com/nodejs/node/pull/65218) - \[[`c8837e1aa3`](https://github.com/nodejs/node/commit/c8837e1aa3)] - **benchmark**: add test runner hooks and options (Luan Muniz) [#&#8203;63754](https://github.com/nodejs/node/pull/63754) - \[[`2ba8661e23`](https://github.com/nodejs/node/commit/2ba8661e23)] - **buffer**: prevent string write offset overflow (Matteo Collina) [#&#8203;65043](https://github.com/nodejs/node/pull/65043) - \[[`cc9ee6c2ae`](https://github.com/nodejs/node/commit/cc9ee6c2ae)] - **buffer**: treat detached ArrayBuffers as empty (Archkon) [#&#8203;64504](https://github.com/nodejs/node/pull/64504) - \[[`5a5d73e4c5`](https://github.com/nodejs/node/commit/5a5d73e4c5)] - **build**: pass target architecture to small-icu genccode (ulofiai) [#&#8203;65095](https://github.com/nodejs/node/pull/65095) - \[[`273e72d1a5`](https://github.com/nodejs/node/commit/273e72d1a5)] - **build**: deprecate always enabled `--enable-static` (Chengzhong Wu) [#&#8203;65103](https://github.com/nodejs/node/pull/65103) - \[[`89a67246e3`](https://github.com/nodejs/node/commit/89a67246e3)] - **build**: check FIPS option value in node.gyp (Filip Skokan) [#&#8203;64982](https://github.com/nodejs/node/pull/64982) - \[[`2d21f41cd5`](https://github.com/nodejs/node/commit/2d21f41cd5)] - **build**: handle malformed OpenSSL macros (Filip Skokan) [#&#8203;64982](https://github.com/nodejs/node/pull/64982) - \[[`f62bc0f862`](https://github.com/nodejs/node/commit/f62bc0f862)] - **build,win**: add PGO workload scripts (Stefan Stojanovic) [#&#8203;63696](https://github.com/nodejs/node/pull/63696) - \[[`33d0c7dc12`](https://github.com/nodejs/node/commit/33d0c7dc12)] - **child\_process**: keep SIGWINCH from killing on Win (Kirill Saied) [#&#8203;64510](https://github.com/nodejs/node/pull/64510) - \[[`71106e1f17`](https://github.com/nodejs/node/commit/71106e1f17)] - **crypto**: update root certificates to NSS 3.126 (Node.js GitHub Bot) [#&#8203;65495](https://github.com/nodejs/node/pull/65495) - \[[`419af8b86d`](https://github.com/nodejs/node/commit/419af8b86d)] - **crypto**: fix missing error checks on ASN1\_STRING\_to\_UTF8() (Nora Dossche) [#&#8203;65200](https://github.com/nodejs/node/pull/65200) - \[[`8029383f3f`](https://github.com/nodejs/node/commit/8029383f3f)] - **crypto**: use available BoringSSL APIs (Filip Skokan) [#&#8203;65423](https://github.com/nodejs/node/pull/65423) - \[[`a9bd780e19`](https://github.com/nodejs/node/commit/a9bd780e19)] - **crypto**: remove obsolete BoringSSL shims (Filip Skokan) [#&#8203;65423](https://github.com/nodejs/node/pull/65423) - \[[`7defefad3f`](https://github.com/nodejs/node/commit/7defefad3f)] - **crypto**: read WebCrypto inputs through primordials (Filip Skokan) [#&#8203;65115](https://github.com/nodejs/node/pull/65115) - \[[`6ed1e38627`](https://github.com/nodejs/node/commit/6ed1e38627)] - **crypto**: fix disabling FIPS mode (Filip Skokan) [#&#8203;64982](https://github.com/nodejs/node/pull/64982) - \[[`afca0a912d`](https://github.com/nodejs/node/commit/afca0a912d)] - **(SEMVER-MINOR)** **crypto**: support loading private keys through STORE loaders (Filip Skokan) [#&#8203;63949](https://github.com/nodejs/node/pull/63949) - \[[`9b9dd6e9cf`](https://github.com/nodejs/node/commit/9b9dd6e9cf)] - **debugger**: wait for target startup (Filip Skokan) [#&#8203;65194](https://github.com/nodejs/node/pull/65194) - \[[`07faaeeffd`](https://github.com/nodejs/node/commit/07faaeeffd)] - **deps**: update corepack to 0.36.0 (Node.js GitHub Bot) [#&#8203;65653](https://github.com/nodejs/node/pull/65653) - \[[`53cba013c7`](https://github.com/nodejs/node/commit/53cba013c7)] - **deps**: update undici to 7.29.1 (Node.js GitHub Bot) [#&#8203;65789](https://github.com/nodejs/node/pull/65789) - \[[`0268ca547c`](https://github.com/nodejs/node/commit/0268ca547c)] - **deps**: update archs files for openssl-3.5.8 (Node.js GitHub Bot) [#&#8203;65542](https://github.com/nodejs/node/pull/65542) - \[[`6274fccbd9`](https://github.com/nodejs/node/commit/6274fccbd9)] - **deps**: upgrade openssl sources to openssl-3.5.8 (Node.js GitHub Bot) [#&#8203;65542](https://github.com/nodejs/node/pull/65542) - \[[`6bdcd121fa`](https://github.com/nodejs/node/commit/6bdcd121fa)] - **deps**: update zlib to 1.3.2.1-motley-8002e91 (Node.js GitHub Bot) [#&#8203;65316](https://github.com/nodejs/node/pull/65316) - \[[`c2aa446b6d`](https://github.com/nodejs/node/commit/c2aa446b6d)] - **deps**: update simdjson to 4.6.7 (Node.js GitHub Bot) [#&#8203;65318](https://github.com/nodejs/node/pull/65318) - \[[`3e58e48ea8`](https://github.com/nodejs/node/commit/3e58e48ea8)] - **deps**: update googletest to [`49495ea`](https://github.com/nodejs/node/commit/49495eacfdbda3f4b6ba219923fedbb2e3f99376) (Node.js GitHub Bot) [#&#8203;65317](https://github.com/nodejs/node/pull/65317) - \[[`670b3665c0`](https://github.com/nodejs/node/commit/670b3665c0)] - **deps**: cherry-pick [libuv/libuv@`e640dc9`](https://github.com/libuv/libuv/commit/e640dc9) (ulofiai) [#&#8203;65118](https://github.com/nodejs/node/pull/65118) - \[[`ca1c67b021`](https://github.com/nodejs/node/commit/ca1c67b021)] - **deps**: float ICU-23262 patch for icu78 (René) [#&#8203;64678](https://github.com/nodejs/node/pull/64678) - \[[`4ad043b0aa`](https://github.com/nodejs/node/commit/4ad043b0aa)] - **deps**: enable AVX-512 OpenSSL asm with clang (Daniel Lemire) [#&#8203;65136](https://github.com/nodejs/node/pull/65136) - \[[`96b4af109b`](https://github.com/nodejs/node/commit/96b4af109b)] - **deps**: update googletest to [`d89aac5`](https://github.com/nodejs/node/commit/d89aac5f0dd4021198d903d39de16f896726de21) (Node.js GitHub Bot) [#&#8203;65153](https://github.com/nodejs/node/pull/65153) - \[[`774f663c56`](https://github.com/nodejs/node/commit/774f663c56)] - **dgram**: don't swallow bind errors when callback is provided (armanmikoyan) [#&#8203;62602](https://github.com/nodejs/node/pull/62602) - \[[`94b118d62e`](https://github.com/nodejs/node/commit/94b118d62e)] - **diagnostics\_channel**: validate before channel activation (Trivikram Kamat) [#&#8203;65313](https://github.com/nodejs/node/pull/65313) - \[[`09788665bd`](https://github.com/nodejs/node/commit/09788665bd)] - **dns**: validate address type in lookupService (Lazizbek Ergashev) [#&#8203;64878](https://github.com/nodejs/node/pull/64878) - \[[`15f95fc0e2`](https://github.com/nodejs/node/commit/15f95fc0e2)] - **dns**: validate port range in `setServers()` (René) [#&#8203;65021](https://github.com/nodejs/node/pull/65021) - \[[`37b9e9a154`](https://github.com/nodejs/node/commit/37b9e9a154)] - **dns**: fix crash on setServers with port 0 (Lazizbek Ergashev) [#&#8203;65009](https://github.com/nodejs/node/pull/65009) - \[[`cd6205fa0d`](https://github.com/nodejs/node/commit/cd6205fa0d)] - **doc**: update AHAFS reference link (Taeuk Ha) [#&#8203;65481](https://github.com/nodejs/node/pull/65481) - \[[`0e6f9ae42e`](https://github.com/nodejs/node/commit/0e6f9ae42e)] - **doc**: fix property names in os.networkInterfaces() example (Jihwan) [#&#8203;65469](https://github.com/nodejs/node/pull/65469) - \[[`034a827b41`](https://github.com/nodejs/node/commit/034a827b41)] - **doc**: fix broken links in cli.md (Donghoon Kang) [#&#8203;65412](https://github.com/nodejs/node/pull/65412) - \[[`eb364621d4`](https://github.com/nodejs/node/commit/eb364621d4)] - **doc**: remove outdated WASI version fallback (이혜미) [#&#8203;65303](https://github.com/nodejs/node/pull/65303) - \[[`b13f425bf8`](https://github.com/nodejs/node/commit/b13f425bf8)] - **doc**: fix broken GYP link in n-api.md (Donghoon Kang) [#&#8203;65413](https://github.com/nodejs/node/pull/65413) - \[[`45c4011067`](https://github.com/nodejs/node/commit/45c4011067)] - **doc**: document that an empty OPENSSL\_CONF skips config loading (Orgad Shaneh) [#&#8203;64949](https://github.com/nodejs/node/pull/64949) - \[[`fde6776c5f`](https://github.com/nodejs/node/commit/fde6776c5f)] - **doc**: fix broken TLS security level example (soreavis) [#&#8203;65391](https://github.com/nodejs/node/pull/65391) - \[[`290c1fec04`](https://github.com/nodejs/node/commit/290c1fec04)] - **doc**: clarify socket destroyed behavior (Dayun) [#&#8203;65395](https://github.com/nodejs/node/pull/65395) - \[[`a7e8269947`](https://github.com/nodejs/node/commit/a7e8269947)] - **doc**: update outdated nodejs.org guide links (Donghoon Kang) [#&#8203;65394](https://github.com/nodejs/node/pull/65394) - \[[`7809f11249`](https://github.com/nodejs/node/commit/7809f11249)] - **doc**: clarify that ipv4 mapped to ipv6 are classified as ipv6 (Vedant Kulkarni) [#&#8203;62117](https://github.com/nodejs/node/pull/62117) - \[[`64cd3a6e95`](https://github.com/nodejs/node/commit/64cd3a6e95)] - **doc**: clarify how fs.Dirent file types are determined (soreavis) [#&#8203;64532](https://github.com/nodejs/node/pull/64532) - \[[`9b92fdce14`](https://github.com/nodejs/node/commit/9b92fdce14)] - **doc**: update security release prepare command (Rafael Gonzaga) [#&#8203;64699](https://github.com/nodejs/node/pull/64699) - \[[`6f9b9df3c1`](https://github.com/nodejs/node/commit/6f9b9df3c1)] - **doc**: clarify copyFile symlink behavior (T) [#&#8203;62941](https://github.com/nodejs/node/pull/62941) - \[[`2480acb550`](https://github.com/nodejs/node/commit/2480acb550)] - **doc**: document setRawMode write access on Windows (Erik Demaine) [#&#8203;63856](https://github.com/nodejs/node/pull/63856) - \[[`a1e9c3a5db`](https://github.com/nodejs/node/commit/a1e9c3a5db)] - **doc**: add missing return types in fs.md (Chaseton Collins) [#&#8203;65307](https://github.com/nodejs/node/pull/65307) - \[[`4533572040`](https://github.com/nodejs/node/commit/4533572040)] - **doc**: add missing return types in buffer.md (Yuya Inoue) [#&#8203;65308](https://github.com/nodejs/node/pull/65308) - \[[`39ecedbbd2`](https://github.com/nodejs/node/commit/39ecedbbd2)] - **doc**: fix lint clean command (greenhead) [#&#8203;65274](https://github.com/nodejs/node/pull/65274) - \[[`0b1fb8fcd8`](https://github.com/nodejs/node/commit/0b1fb8fcd8)] - **doc**: fix typo in onboarding.md (서울민트초코) [#&#8203;65295](https://github.com/nodejs/node/pull/65295) - \[[`3165b5d38a`](https://github.com/nodejs/node/commit/3165b5d38a)] - **doc**: add missing `added:` tags to `fs.lchmod` (Lazizbek Ergashev) [#&#8203;65283](https://github.com/nodejs/node/pull/65283) - \[[`113b808e59`](https://github.com/nodejs/node/commit/113b808e59)] - **doc**: fix SQLite changeset constant descriptions (greenhead) [#&#8203;65265](https://github.com/nodejs/node/pull/65265) - \[[`c3eb51d5a1`](https://github.com/nodejs/node/commit/c3eb51d5a1)] - **doc**: document open pull request limit (Matteo Collina) [#&#8203;65250](https://github.com/nodejs/node/pull/65250) - \[[`d7accdcd52`](https://github.com/nodejs/node/commit/d7accdcd52)] - **doc**: document http2 header constants (Harjoth Khara) [#&#8203;64548](https://github.com/nodejs/node/pull/64548) - \[[`f47111416f`](https://github.com/nodejs/node/commit/f47111416f)] - **doc**: create ai-guidelines and include to CONTRIBUTING (Rafael Gonzaga) [#&#8203;62105](https://github.com/nodejs/node/pull/62105) - \[[`c3b120e737`](https://github.com/nodejs/node/commit/c3b120e737)] - **doc**: update synopsis (Augustin Mauroy) [#&#8203;65171](https://github.com/nodejs/node/pull/65171) - \[[`39f4c831fd`](https://github.com/nodejs/node/commit/39f4c831fd)] - **doc**: fix broken internal links (greenhead) [#&#8203;64901](https://github.com/nodejs/node/pull/64901) - \[[`be25cdd69e`](https://github.com/nodejs/node/commit/be25cdd69e)] - **doc**: report proper return type on urlPattern.test (Brian Muenzenmeyer) [#&#8203;64831](https://github.com/nodejs/node/pull/64831) - \[[`1bf7737810`](https://github.com/nodejs/node/commit/1bf7737810)] - **doc**: fix permission documentation examples (greenhead) [#&#8203;64897](https://github.com/nodejs/node/pull/64897) - \[[`b7932e68a1`](https://github.com/nodejs/node/commit/b7932e68a1)] - **doc**: document sqlite parameter binding (Guilherme Araújo) [#&#8203;65089](https://github.com/nodejs/node/pull/65089) - \[[`5234a5169c`](https://github.com/nodejs/node/commit/5234a5169c)] - **doc**: finalize statements in sqlite examples (Guilherme Araújo) [#&#8203;65088](https://github.com/nodejs/node/pull/65088) - \[[`39ea929da7`](https://github.com/nodejs/node/commit/39ea929da7)] - **doc**: document quic stopSending() and resetStream() (Issac) [#&#8203;64888](https://github.com/nodejs/node/pull/64888) - \[[`2ba198db73`](https://github.com/nodejs/node/commit/2ba198db73)] - **doc**: clarify sqlite bare parameter default (Sumit Kumar Das) [#&#8203;62009](https://github.com/nodejs/node/pull/62009) - \[[`314f9b200f`](https://github.com/nodejs/node/commit/314f9b200f)] - **doc**: remove usage of `util.inherits` (Augustin Mauroy) [#&#8203;60817](https://github.com/nodejs/node/pull/60817) - \[[`d82a61662c`](https://github.com/nodejs/node/commit/d82a61662c)] - **doc**: fix grammar in worker\_threads.md (이혜미) [#&#8203;64913](https://github.com/nodejs/node/pull/64913) - \[[`44c0c8ff5b`](https://github.com/nodejs/node/commit/44c0c8ff5b)] - **doc**: clarify OpenSSL FIPS configuration (Filip Skokan) [#&#8203;64982](https://github.com/nodejs/node/pull/64982) - \[[`9b2ca70e0d`](https://github.com/nodejs/node/commit/9b2ca70e0d)] - **doc**: remove `--expose-gc` flag from CLI documentation (Dario Piotrowicz) [#&#8203;58909](https://github.com/nodejs/node/pull/58909) - \[[`a0a12397b9`](https://github.com/nodejs/node/commit/a0a12397b9)] - **doc**: document ArrayBuffer support in pbkd2Sync (kyungrae2002) [#&#8203;64976](https://github.com/nodejs/node/pull/64976) - \[[`b48699e077`](https://github.com/nodejs/node/commit/b48699e077)] - **doc**: correct default highWaterMark values (Yilong Li) [#&#8203;64617](https://github.com/nodejs/node/pull/64617) - \[[`0312ee133c`](https://github.com/nodejs/node/commit/0312ee133c)] - **esm**: avoid super-linear data URL MIME regex (Sumit Kumar Das) [#&#8203;61951](https://github.com/nodejs/node/pull/61951) - \[[`cd84d55c81`](https://github.com/nodejs/node/commit/cd84d55c81)] - **esm**: only register text format when enabled (Efe Karasakal) [#&#8203;64992](https://github.com/nodejs/node/pull/64992) - \[[`c0a8ef611e`](https://github.com/nodejs/node/commit/c0a8ef611e)] - **esm**: fix wasm import name in error message (이혜미) [#&#8203;64950](https://github.com/nodejs/node/pull/64950) - \[[`e6c34f90c2`](https://github.com/nodejs/node/commit/e6c34f90c2)] - **events**: inline iterationCondition hybrid dispatch closure (Szymon Łągiewka) [#&#8203;64473](https://github.com/nodejs/node/pull/64473) - \[[`6ee4b40c91`](https://github.com/nodejs/node/commit/6ee4b40c91)] - **events**: inline createEvent hybrid dispatch closure (Szymon Łągiewka) [#&#8203;64473](https://github.com/nodejs/node/pull/64473) - \[[`367549eed5`](https://github.com/nodejs/node/commit/367549eed5)] - **fs**: use sized reads for large files in readFileUtf8 (Shelley Vohr) [#&#8203;65328](https://github.com/nodejs/node/pull/65328) - \[[`8a5b1ae4c2`](https://github.com/nodejs/node/commit/8a5b1ae4c2)] - **fs**: fix realpath of namespaced drive paths (Jason Zhang) [#&#8203;65378](https://github.com/nodejs/node/pull/65378) - \[[`c9233b950d`](https://github.com/nodejs/node/commit/c9233b950d)] - **fs**: fix glob early return skipping sibling entries (Srinu desetti) [#&#8203;64895](https://github.com/nodejs/node/pull/64895) - \[[`bc54dd8905`](https://github.com/nodejs/node/commit/bc54dd8905)] - **fs**: pass symlink type in cp when filter is provided (Jerry Zhao) [#&#8203;62654](https://github.com/nodejs/node/pull/62654) - \[[`fcb4333aca`](https://github.com/nodejs/node/commit/fcb4333aca)] - **fs**: allocate FSReqPromise stat arrays lazily (Samuel Attard) [#&#8203;63886](https://github.com/nodejs/node/pull/63886) - \[[`c35876154e`](https://github.com/nodejs/node/commit/c35876154e)] - **fs**: fix out-of-bounds write in mkdtemp for long prefixes (Hierax\_Umbra) [#&#8203;64770](https://github.com/nodejs/node/pull/64770) - \[[`b269616936`](https://github.com/nodejs/node/commit/b269616936)] - **fs**: treat `std::errc::permission_denied` as `EPERM` error (Kirill Saied) [#&#8203;64698](https://github.com/nodejs/node/pull/64698) - \[[`212fe77e76`](https://github.com/nodejs/node/commit/212fe77e76)] - **fs**: add windowsHandle option to file streams (Kirill Saied) [#&#8203;63851](https://github.com/nodejs/node/pull/63851) - \[[`75df6cb435`](https://github.com/nodejs/node/commit/75df6cb435)] - **http**: improve performance with known-length calls to end() (Tim Perry) [#&#8203;65466](https://github.com/nodejs/node/pull/65466) - \[[`48d9cd4a28`](https://github.com/nodejs/node/commit/48d9cd4a28)] - **http**: cache maxHeaderPairs per header section (GetThatCookie) [#&#8203;64988](https://github.com/nodejs/node/pull/64988) - \[[`04785c8f43`](https://github.com/nodejs/node/commit/04785c8f43)] - **http**: fix keylog listener setup on existing agent sockets (Shani Singh) [#&#8203;65066](https://github.com/nodejs/node/pull/65066) - \[[`4b90031534`](https://github.com/nodejs/node/commit/4b90031534)] - **http**: emit drain on socket takeover and avoid stale HWM reuse (Naman Trivedi) [#&#8203;64991](https://github.com/nodejs/node/pull/64991) - \[[`83a27559cd`](https://github.com/nodejs/node/commit/83a27559cd)] - **http2**: adapt receive deferral for Node.js 24 (Matteo Collina) [#&#8203;65093](https://github.com/nodejs/node/pull/65093) - \[[`f43bed0ecc`](https://github.com/nodejs/node/commit/f43bed0ecc)] - **http2**: avoid uaf while receiving and sending rst\_stream (esgor) [#&#8203;64166](https://github.com/nodejs/node/pull/64166) - \[[`b42d664321`](https://github.com/nodejs/node/commit/b42d664321)] - **inspector**: avoid calling into JS from V8 interrupts (Joyee Cheung) [#&#8203;65028](https://github.com/nodejs/node/pull/65028) - \[[`6bf852197d`](https://github.com/nodejs/node/commit/6bf852197d)] - **lib**: use bracket notation instead of startsWith/endsWith for single char (Taejin Kim) [#&#8203;61500](https://github.com/nodejs/node/pull/61500) - \[[`151ca7e104`](https://github.com/nodejs/node/commit/151ca7e104)] - **lib**: harden webidl dictionary member reads (Filip Skokan) [#&#8203;65115](https://github.com/nodejs/node/pull/65115) - \[[`7e8c2c9f44`](https://github.com/nodejs/node/commit/7e8c2c9f44)] - **lib**: use validateArray for array arguments (greenhead) [#&#8203;64959](https://github.com/nodejs/node/pull/64959) - \[[`424fe2bc5a`](https://github.com/nodejs/node/commit/424fe2bc5a)] - **lib**: add and test \[EnforceRange] in webcrypto dictionaries (Filip Skokan) [#&#8203;65091](https://github.com/nodejs/node/pull/65091) - \[[`0529772798`](https://github.com/nodejs/node/commit/0529772798)] - **(SEMVER-MINOR)** **lib,src**: improve histogram implementation (James M Snell) [#&#8203;65024](https://github.com/nodejs/node/pull/65024) - \[[`186e1b76e8`](https://github.com/nodejs/node/commit/186e1b76e8)] - **meta**: move targos to emeritus (Michaël Zasso) [#&#8203;65393](https://github.com/nodejs/node/pull/65393) - \[[`b41b07c72a`](https://github.com/nodejs/node/commit/b41b07c72a)] - **meta**: add unified http api initiative (James M Snell) [#&#8203;65139](https://github.com/nodejs/node/pull/65139) - \[[`f85b6ecd67`](https://github.com/nodejs/node/commit/f85b6ecd67)] - **meta**: move one or more collaborators to emeritus (Node.js GitHub Bot) [#&#8203;65182](https://github.com/nodejs/node/pull/65182) - \[[`8f3d01bdce`](https://github.com/nodejs/node/commit/8f3d01bdce)] - **meta**: add Aviv Keller to `.mailmap` (Aviv Keller) [#&#8203;65048](https://github.com/nodejs/node/pull/65048) - \[[`cfad1d5b28`](https://github.com/nodejs/node/commit/cfad1d5b28)] - **meta**: update sccache to 0.17.0 (René) [#&#8203;64985](https://github.com/nodejs/node/pull/64985) - \[[`349c53c441`](https://github.com/nodejs/node/commit/349c53c441)] - **module**: report unreadable package.json (Paul Bouchon) [#&#8203;65223](https://github.com/nodejs/node/pull/65223) - \[[`bd21e6706e`](https://github.com/nodejs/node/commit/bd21e6706e)] - **module**: cache nearest parent package.json per directory (Shelley Vohr) [#&#8203;65326](https://github.com/nodejs/node/pull/65326) - \[[`961bd04370`](https://github.com/nodejs/node/commit/961bd04370)] - **module**: fix --check on ambiguous ESM files (Paul Bouchon) [#&#8203;65203](https://github.com/nodejs/node/pull/65203) - \[[`f45ef73420`](https://github.com/nodejs/node/commit/f45ef73420)] - **net**: handle undefined parent in \_unrefTimer and \_destroy (Shivay-98) [#&#8203;64644](https://github.com/nodejs/node/pull/64644) - \[[`41c7062b81`](https://github.com/nodejs/node/commit/41c7062b81)] - **(SEMVER-MINOR)** **net**: improve performance of net.BlockList (James M Snell) [#&#8203;64974](https://github.com/nodejs/node/pull/64974) - \[[`5197b5a3c5`](https://github.com/nodejs/node/commit/5197b5a3c5)] - **(SEMVER-MINOR)** **perf\_hooks**: add statistical hypothesis testing to histogram (James M Snell) [#&#8203;65416](https://github.com/nodejs/node/pull/65416) - \[[`1722ddac28`](https://github.com/nodejs/node/commit/1722ddac28)] - **permission**: enforce addon permission in GetLinkedBinding (Rafael Gonzaga) [#&#8203;65432](https://github.com/nodejs/node/pull/65432) - \[[`dff2b675db`](https://github.com/nodejs/node/commit/dff2b675db)] - **process**: validate resource stats array offsets (Archkon) [#&#8203;65098](https://github.com/nodejs/node/pull/65098) - \[[`f277983e7b`](https://github.com/nodejs/node/commit/f277983e7b)] - **quic**: changes for nghttp3\_conn\_close\_stream2 (Marten Richter) [#&#8203;64574](https://github.com/nodejs/node/pull/64574) - \[[`a4c770c78e`](https://github.com/nodejs/node/commit/a4c770c78e)] - **quic**: mark drain promise handled (James M Snell) [#&#8203;65319](https://github.com/nodejs/node/pull/65319) - \[[`2460b171c5`](https://github.com/nodejs/node/commit/2460b171c5)] - **quic**: reset rejected HTTP/3 request streams with H3\_REQUEST\_REJECTED (trivenay) [#&#8203;65442](https://github.com/nodejs/node/pull/65442) - \[[`18a7ccf302`](https://github.com/nodejs/node/commit/18a7ccf302)] - **quic**: write desired size needs update on maxstream (Marten Richter) [#&#8203;64768](https://github.com/nodejs/node/pull/64768) - \[[`9017f4a780`](https://github.com/nodejs/node/commit/9017f4a780)] - **quic**: do not destroy incoming streams that have a consumer (trivenay) [#&#8203;65335](https://github.com/nodejs/node/pull/65335) - \[[`ddc41c1ef4`](https://github.com/nodejs/node/commit/ddc41c1ef4)] - **quic**: fix wake up blob (Marten Richter) [#&#8203;64044](https://github.com/nodejs/node/pull/64044) - \[[`88bee43d7c`](https://github.com/nodejs/node/commit/88bee43d7c)] - **quic**: convert incoming :status header to number (Hallison Pereira Melo) [#&#8203;63589](https://github.com/nodejs/node/pull/63589) - \[[`cd776fe97c`](https://github.com/nodejs/node/commit/cd776fe97c)] - **quic**: fix infinite loop if STOP\_SENDING received on a buffering stream (Tim Perry) [#&#8203;64715](https://github.com/nodejs/node/pull/64715) - \[[`4f6eda3c23`](https://github.com/nodejs/node/commit/4f6eda3c23)] - **repl**: keep entries added while history file is loading (Mhayk Whandson) [#&#8203;64513](https://github.com/nodejs/node/pull/64513) - \[[`cd1e6ce29b`](https://github.com/nodejs/node/commit/cd1e6ce29b)] - **repl**: add benchmarks (Aviv Keller) [#&#8203;64590](https://github.com/nodejs/node/pull/64590) - \[[`2ba740669d`](https://github.com/nodejs/node/commit/2ba740669d)] - **sea**: avoid dangling CLI option pointers (Archkon) [#&#8203;64755](https://github.com/nodejs/node/pull/64755) - \[[`ec5e2d6856`](https://github.com/nodejs/node/commit/ec5e2d6856)] - **sea**: handle NUL bytes in asset keys (Archkon) [#&#8203;64773](https://github.com/nodejs/node/pull/64773) - \[[`703b854293`](https://github.com/nodejs/node/commit/703b854293)] - **sea**: reject trailing content in config JSON (Archkon) [#&#8203;64774](https://github.com/nodejs/node/pull/64774) - \[[`a61a5fdd1c`](https://github.com/nodejs/node/commit/a61a5fdd1c)] - **sqlite**: prevent reentrant session.close() (Trivikram Kamat) [#&#8203;65349](https://github.com/nodejs/node/pull/65349) - \[[`6ae81be0a3`](https://github.com/nodejs/node/commit/6ae81be0a3)] - **sqlite**: reject statement-less SQL in prepare() (Trevor Burnham) [#&#8203;65157](https://github.com/nodejs/node/pull/65157) - \[[`043dfe4996`](https://github.com/nodejs/node/commit/043dfe4996)] - **sqlite**: reject statement-less SQL in SQLTagStore (Trevor Burnham) [#&#8203;65157](https://github.com/nodejs/node/pull/65157) - \[[`b8faee02e1`](https://github.com/nodejs/node/commit/b8faee02e1)] - **sqlite**: check null returns from sqlite value functions (Nora Dossche) [#&#8203;63288](https://github.com/nodejs/node/pull/63288) - \[[`d6d2a71bee`](https://github.com/nodejs/node/commit/d6d2a71bee)] - **sqlite**: validate maxSize argument in createTagStore() (Anshika Jain) [#&#8203;63792](https://github.com/nodejs/node/pull/63792) - \[[`61a046309f`](https://github.com/nodejs/node/commit/61a046309f)] - **sqlite**: reject non-positive backup rates (Trivikram Kamat) [#&#8203;64893](https://github.com/nodejs/node/pull/64893) - \[[`514e3f30fb`](https://github.com/nodejs/node/commit/514e3f30fb)] - **sqlite**: clear SQLTagStore bindings (Matteo Collina) [#&#8203;65041](https://github.com/nodejs/node/pull/65041) - \[[`c1542255b8`](https://github.com/nodejs/node/commit/c1542255b8)] - **sqlite**: bind Boolean (mike-git374) [#&#8203;62001](https://github.com/nodejs/node/pull/62001) - \[[`cdb732beb5`](https://github.com/nodejs/node/commit/cdb732beb5)] - **sqlite**: fix undefined behaviour in `Session::Changeset()` (Nora Dossche) [#&#8203;63637](https://github.com/nodejs/node/pull/63637) - \[[`fbe8861111`](https://github.com/nodejs/node/commit/fbe8861111)] - **sqlite**: bind ArrayBuffer (mike-git374) [#&#8203;62061](https://github.com/nodejs/node/pull/62061) - \[[`e3c6bd6bc8`](https://github.com/nodejs/node/commit/e3c6bd6bc8)] - **src**: add missing vector include (Filip Skokan) [#&#8203;65622](https://github.com/nodejs/node/pull/65622) - \[[`793cf69df8`](https://github.com/nodejs/node/commit/793cf69df8)] - **src**: fix heap value deduplication in embedder graph (Ilyas Shabi) [#&#8203;64801](https://github.com/nodejs/node/pull/64801) - \[[`ea5935b04c`](https://github.com/nodejs/node/commit/ea5935b04c)] - **src**: fix out-of-bounds write when transcoding odd-length ucs2 (nashit hayat) [#&#8203;64512](https://github.com/nodejs/node/pull/64512) - \[[`22e5023f4d`](https://github.com/nodejs/node/commit/22e5023f4d)] - **src**: escape Windows environment variables in task runner (Antoine du Hamel) [#&#8203;65217](https://github.com/nodejs/node/pull/65217) - \[[`a0f3c62bd9`](https://github.com/nodejs/node/commit/a0f3c62bd9)] - **src**: simplify c++ diagnostics channel API (James M Snell) [#&#8203;65158](https://github.com/nodejs/node/pull/65158) - \[[`8e831a3d2e`](https://github.com/nodejs/node/commit/8e831a3d2e)] - **src**: make minor cleanup to permission checks (James M Snell) [#&#8203;65158](https://github.com/nodejs/node/pull/65158) - \[[`968b2ca3a3`](https://github.com/nodejs/node/commit/968b2ca3a3)] - **src**: use DictionaryTemplate for permission diag channel message (James M Snell) [#&#8203;65158](https://github.com/nodejs/node/pull/65158) - \[[`18e16e7f8d`](https://github.com/nodejs/node/commit/18e16e7f8d)] - **src**: cache permission strings (James M Snell) [#&#8203;65158](https://github.com/nodejs/node/pull/65158) - \[[`c8625a4b6f`](https://github.com/nodejs/node/commit/c8625a4b6f)] - **src**: add SetAbortHandler (Max H Fisher) [#&#8203;64684](https://github.com/nodejs/node/pull/64684) - \[[`c990140d60`](https://github.com/nodejs/node/commit/c990140d60)] - **src**: match cmd.exe case-insensitively in task runner (Archkon) [#&#8203;64907](https://github.com/nodejs/node/pull/64907) - \[[`d7463b9dbc`](https://github.com/nodejs/node/commit/d7463b9dbc)] - **src**: reuse cached env strings in remaining files (Seongeun Lee) [#&#8203;65039](https://github.com/nodejs/node/pull/65039) - \[[`b055a43b93`](https://github.com/nodejs/node/commit/b055a43b93)] - **src**: expose Windows-only fs open flags (Kirill Saied) [#&#8203;64775](https://github.com/nodejs/node/pull/64775) - \[[`7f21e37496`](https://github.com/nodejs/node/commit/7f21e37496)] - **src**: report why --enable-fips failed (Filip Skokan) [#&#8203;64979](https://github.com/nodejs/node/pull/64979) - \[[`8c11beae27`](https://github.com/nodejs/node/commit/8c11beae27)] - **src**: update repeated use strings to env (James M Snell) [#&#8203;64760](https://github.com/nodejs/node/pull/64760) - \[[`9e2c477e26`](https://github.com/nodejs/node/commit/9e2c477e26)] - **stream**: normalize fused stateless transform results (Trivikram Kamat) [#&#8203;65367](https://github.com/nodejs/node/pull/65367) - \[[`107e96dd41`](https://github.com/nodejs/node/commit/107e96dd41)] - **stream**: encode whole chunks in TextEncoderStream (Matteo Collina) [#&#8203;65414](https://github.com/nodejs/node/pull/65414) - \[[`164068279b`](https://github.com/nodejs/node/commit/164068279b)] - **stream**: prevent share from eagerly draining source (Trivikram Kamat) [#&#8203;65338](https://github.com/nodejs/node/pull/65338) - \[[`93d822bdc1`](https://github.com/nodejs/node/commit/93d822bdc1)] - **stream**: drain pending writes before broadcast end (Trivikram Kamat) [#&#8203;65334](https://github.com/nodejs/node/pull/65334) - \[[`6b8b9c362f`](https://github.com/nodejs/node/commit/6b8b9c362f)] - **stream**: reuse unexposed managed read buffers (GetThatCookie) [#&#8203;64990](https://github.com/nodejs/node/pull/64990) - \[[`4ec4fab367`](https://github.com/nodejs/node/commit/4ec4fab367)] - **stream**: avoid duplicated endReadableNT scheduling (Matteo Collina) [#&#8203;65310](https://github.com/nodejs/node/pull/65310) - \[[`86d1196ebf`](https://github.com/nodejs/node/commit/86d1196ebf)] - **stream**: decouple transform backpressure changes (Matteo Collina) [#&#8203;65143](https://github.com/nodejs/node/pull/65143) - \[[`b8a7a75b19`](https://github.com/nodejs/node/commit/b8a7a75b19)] - **stream**: reject pull on signal abort during flush (Trivikram Kamat) [#&#8203;65346](https://github.com/nodejs/node/pull/65346) - \[[`386ed6a06d`](https://github.com/nodejs/node/commit/386ed6a06d)] - **stream**: avoid leaking consumers on signal failure (Trivikram Kamat) [#&#8203;65299](https://github.com/nodejs/node/pull/65299) - \[[`74d53bd73b`](https://github.com/nodejs/node/commit/74d53bd73b)] - **stream**: use validateObject for zlib/iter params (greenhead) [#&#8203;65015](https://github.com/nodejs/node/pull/65015) - \[[`3a174ce16b`](https://github.com/nodejs/node/commit/3a174ce16b)] - **stream**: use validateNumber for BYOB reader options.min (greenhead) [#&#8203;65014](https://github.com/nodejs/node/pull/65014) - \[[`859ea01cb2`](https://github.com/nodejs/node/commit/859ea01cb2)] - **stream**: consolidate non-op algorithm callbacks (Matteo Collina) [#&#8203;65138](https://github.com/nodejs/node/pull/65138) - \[[`c577669825`](https://github.com/nodejs/node/commit/c577669825)] - **stream**: cut promise churn in webstreams hot paths (Matteo Collina) [#&#8203;65138](https://github.com/nodejs/node/pull/65138) - \[[`d631e910db`](https://github.com/nodejs/node/commit/d631e910db)] - **stream**: preserve falsy cancellation reasons (Trivikram Kamat) [#&#8203;64705](https://github.com/nodejs/node/pull/64705) - \[[`f9c21eabbd`](https://github.com/nodejs/node/commit/f9c21eabbd)] - **stream**: use validateBuffer for BYOB reader view (greenhead) [#&#8203;65046](https://github.com/nodejs/node/pull/65046) - \[[`b89c8f5d1e`](https://github.com/nodejs/node/commit/b89c8f5d1e)] - **stream**: fix recursive WritableStream abort (Jeong SeokChan) [#&#8203;64825](https://github.com/nodejs/node/pull/64825) - \[[`39e0457e86`](https://github.com/nodejs/node/commit/39e0457e86)] - **test**: fix link-local dgram scope assertion (Filip Skokan) [#&#8203;65629](https://github.com/nodejs/node/pull/65629) - \[[`1433cf9d5b`](https://github.com/nodejs/node/commit/1433cf9d5b)] - **test**: account for varied OpenSSL CCM final behaviours (Filip Skokan) [#&#8203;65542](https://github.com/nodejs/node/pull/65542) - \[[`7d135d24b7`](https://github.com/nodejs/node/commit/7d135d24b7)] - **test**: convert forEach to for of test-messageevent-brandcheck file (Nachiketa Pathak) [#&#8203;65279](https://github.com/nodejs/node/pull/65279) - \[[`421ee11715`](https://github.com/nodejs/node/commit/421ee11715)] - **test**: use spawnSyncAndAssert in windowsHide test (Junsoo Ha) [#&#8203;65351](https://github.com/nodejs/node/pull/65351) - \[[`929d5705bc`](https://github.com/nodejs/node/commit/929d5705bc)] - **test**: remove test-debugger-run-after-quit-restart as flaky on macOS (Yuya Inoue) [#&#8203;65424](https://github.com/nodejs/node/pull/65424) - \[[`f38f154c14`](https://github.com/nodejs/node/commit/f38f154c14)] - **test**: simplify test-timers-interval-promisified.js (Donghoon Kang) [#&#8203;65322](https://github.com/nodejs/node/pull/65322) - \[[`a98e27f2a9`](https://github.com/nodejs/node/commit/a98e27f2a9)] - **test**: add Headers coverage and benchmark (Yagiz Nizipli) [#&#8203;65365](https://github.com/nodejs/node/pull/65365) - \[[`38fdbb62aa`](https://github.com/nodejs/node/commit/38fdbb62aa)] - **test**: deflake test-net-listen-ipv6only (sangwook) [#&#8203;64173](https://github.com/nodejs/node/pull/64173) - \[[`06c7684b01`](https://github.com/nodejs/node/commit/06c7684b01)] - **test**: use common/child\_process spawnSync helpers (Junsoo Ha) [#&#8203;65377](https://github.com/nodejs/node/pull/65377) - \[[`6438c70004`](https://github.com/nodejs/node/commit/6438c70004)] - **test**: fix Linux debug skip in SEA test guard (구현우) [#&#8203;63751](https://github.com/nodejs/node/pull/63751) - \[[`fe0e4f1b65`](https://github.com/nodejs/node/commit/fe0e4f1b65)] - **test**: avoid timer race in event loop delay test (Trivikram Kamat) [#&#8203;64728](https://github.com/nodejs/node/pull/64728) - \[[`6ff69baea8`](https://github.com/nodejs/node/commit/6ff69baea8)] - **test**: enforce exit code in `test-http-server-stale-close` (Antoine du Hamel) [#&#8203;65198](https://github.com/nodejs/node/pull/65198) - \[[`ba87603016`](https://github.com/nodejs/node/commit/ba87603016)] - **test**: convert test-async-local-storage-bind to async loop (freida-code) [#&#8203;65270](https://github.com/nodejs/node/pull/65270) - \[[`8d6b89f454`](https://github.com/nodejs/node/commit/8d6b89f454)] - **test**: replace `forEach()` with `for...of` in parallel tests (Phillip Markert) [#&#8203;65272](https://github.com/nodejs/node/pull/65272) - \[[`a60572a7bb`](https://github.com/nodejs/node/commit/a60572a7bb)] - **test**: convert forEach to for in test-constant.js file (NIxxy25) [#&#8203;65271](https://github.com/nodejs/node/pull/65271) - \[[`f82060c6ce`](https://github.com/nodejs/node/commit/f82060c6ce)] - **test**: use for-of instead of forEach (Felix P.) [#&#8203;65268](https://github.com/nodejs/node/pull/65268) - \[[`5ded71f9cc`](https://github.com/nodejs/node/commit/5ded71f9cc)] - **test**: cover `realpathSync` resolving symlinks after a FIFO stat (Hendrik Liebau) [#&#8203;65113](https://github.com/nodejs/node/pull/65113) - \[[`ac9835225e`](https://github.com/nodejs/node/commit/ac9835225e)] - **test**: account for \[EnforceRange] in test-webcrypto-prototype-pollution (Filip Skokan) [#&#8203;65173](https://github.com/nodejs/node/pull/65173) - \[[`550d24277e`](https://github.com/nodejs/node/commit/550d24277e)] - **test**: update WPT for WebCryptoAPI to [`4c2fd05`](https://github.com/nodejs/node/commit/4c2fd05ed5) (Node.js GitHub Bot) [#&#8203;65150](https://github.com/nodejs/node/pull/65150) - \[[`2aa26559f0`](https://github.com/nodejs/node/commit/2aa26559f0)] - **test**: update WPT for urlpattern to [`4832db4`](https://github.com/nodejs/node/commit/4832db4761) (Node.js GitHub Bot) [#&#8203;65151](https://github.com/nodejs/node/pull/65151) - \[[`d45c010108`](https://github.com/nodejs/node/commit/d45c010108)] - **test**: fix hidden error in test-http-server-stale-close.js (Meghan Denny) [#&#8203;59357](https://github.com/nodejs/node/pull/59357) - \[[`881f8d092d`](https://github.com/nodejs/node/commit/881f8d092d)] - **test**: avoid deadlock issue in pipeline http2 tests to fix flakiness (Tim Perry) [#&#8203;65079](https://github.com/nodejs/node/pull/65079) - \[[`e4b1e3ee75`](https://github.com/nodejs/node/commit/e4b1e3ee75)] - **test**: allow half-open CONNECT tunnel sockets (Trivikram Kamat) [#&#8203;64973](https://github.com/nodejs/node/pull/64973) - \[[`00f4240d48`](https://github.com/nodejs/node/commit/00f4240d48)] - **test**: update passphrases to comply with the next OpenSSL FIPS mode (Filip Skokan) [#&#8203;65077](https://github.com/nodejs/node/pull/65077) - \[[`cf7680efb7`](https://github.com/nodejs/node/commit/cf7680efb7)] - **test**: use libuv clock for immediate queue test (Trivikram Kamat) [#&#8203;64889](https://github.com/nodejs/node/pull/64889) - \[[`b0c12772ff`](https://github.com/nodejs/node/commit/b0c12772ff)] - **test**: increase timeout in probe-failure-hang-during-evaluate (Joyee Cheung) [#&#8203;64719](https://github.com/nodejs/node/pull/64719) - \[[`7e279104b4`](https://github.com/nodejs/node/commit/7e279104b4)] - **test**: update WPT for WebCryptoAPI to [`82c3d90`](https://github.com/nodejs/node/commit/82c3d9069c) (Node.js GitHub Bot) [#&#8203;64977](https://github.com/nodejs/node/pull/64977) - \[[`ac11f88d16`](https://github.com/nodejs/node/commit/ac11f88d16)] - **test,doc**: cover and document multi-byte offset/size in randomFill (kyungrae2002) [#&#8203;64834](https://github.com/nodejs/node/pull/64834) - \[[`67da38cada`](https://github.com/nodejs/node/commit/67da38cada)] - **test\_runner**: match dotfiles in default coverage exclude (semimikoh) [#&#8203;63401](https://github.com/nodejs/node/pull/63401) - \[[`b06c61a08f`](https://github.com/nodejs/node/commit/b06c61a08f)] - **test\_runner**: print coverage and diagnostic info with dot reporter (mag123c) [#&#8203;61423](https://github.com/nodejs/node/pull/61423) - \[[`7cb9c9c126`](https://github.com/nodejs/node/commit/7cb9c9c126)] - **test\_runner**: use run options with isolation="none" (Sylvester Keil) [#&#8203;62269](https://github.com/nodejs/node/pull/62269) - \[[`339acf4201`](https://github.com/nodejs/node/commit/339acf4201)] - **test\_runner**: mock dual-package with conditional exports (Maruthan G) [#&#8203;62943](https://github.com/nodejs/node/pull/62943) - \[[`e7a68bca08`](https://github.com/nodejs/node/commit/e7a68bca08)] - **test\_runner**: add classname hierarchy for JUnit reporter (mag123c) [#&#8203;60220](https://github.com/nodejs/node/pull/60220) - \[[`6a248acefe`](https://github.com/nodejs/node/commit/6a248acefe)] - **test\_runner**: fix junit report on empty diagnostic (Lazizbek Ergashev) [#&#8203;65357](https://github.com/nodejs/node/pull/65357) - \[[`d01dda79b6`](https://github.com/nodejs/node/commit/d01dda79b6)] - **test\_runner**: do not tag-filter test file wrappers (Chemi Atlow) [#&#8203;65170](https://github.com/nodejs/node/pull/65170) - \[[`32ead10ddd`](https://github.com/nodejs/node/commit/32ead10ddd)] - **test\_runner**: fix env option validation (Jihwan) [#&#8203;64865](https://github.com/nodejs/node/pull/64865) - \[[`b0ef155440`](https://github.com/nodejs/node/commit/b0ef155440)] - **tls**: throw on invalid ALPNProtocols instead of aborting (Sankalp Thakur) [#&#8203;65076](https://github.com/nodejs/node/pull/65076) - \[[`dcf65c50ce`](https://github.com/nodejs/node/commit/dcf65c50ce)] - **tls**: fix authorized state on no-cert TLS1.3 client cert resumption (Tim Perry) [#&#8203;64677](https://github.com/nodejs/node/pull/64677) - \[[`b0f54bda78`](https://github.com/nodejs/node/commit/b0f54bda78)] - **tools**: improve commit queue failure comment (Filip Skokan) [#&#8203;65433](https://github.com/nodejs/node/pull/65433) - \[[`bc1f2718d5`](https://github.com/nodejs/node/commit/bc1f2718d5)] - **tools**: fix max body length handler in `create-release-proposal.sh` (Antoine du Hamel) [#&#8203;65455](https://github.com/nodejs/node/pull/65455) - \[[`bbe76516a9`](https://github.com/nodejs/node/commit/bbe76516a9)] - **tools**: bump brace-expansion in `/tools/clang-format` (dependabot\[bot]) [#&#8203;64984](https://github.com/nodejs/node/pull/64984) - \[[`67697debdf`](https://github.com/nodejs/node/commit/67697debdf)] - **tools**: make env variables consistent in cron jobs (Antoine du Hamel) [#&#8203;65168](https://github.com/nodejs/node/pull/65168) - \[[`ac8a68ec92`](https://github.com/nodejs/node/commit/ac8a68ec92)] - **tools**: only include fast-tracked and old enough PRs in CQ (Antoine du Hamel) [#&#8203;65197](https://github.com/nodejs/node/pull/65197) - \[[`6d9999fa2e`](https://github.com/nodejs/node/commit/6d9999fa2e)] - **tools**: remove skip logic in `commit-queue.sh` (Antoine du Hamel) [#&#8203;65162](https://github.com/nodejs/node/pull/65162) - \[[`60bfa1694e`](https://github.com/nodejs/node/commit/60bfa1694e)] - **tools**: bump js-yaml from 4.2.0 to 4.3.1 in /tools/lint-md (dependabot\[bot]) [#&#8203;65129](https://github.com/nodejs/node/pull/65129) - \[[`782748527e`](https://github.com/nodejs/node/commit/782748527e)] - **tools**: bump js-yaml from 4.2.0 to 4.3.1 in /tools/eslint (dependabot\[bot]) [#&#8203;65130](https://github.com/nodejs/node/pull/65130) - \[[`dac257340f`](https://github.com/nodejs/node/commit/dac257340f)] - **tools**: fix GITHUB\_TOKEN permissions for CQ workflow (Antoine du Hamel) [#&#8203;65192](https://github.com/nodejs/node/pull/65192) - \[[`e624785846`](https://github.com/nodejs/node/commit/e624785846)] - **tools**: use the read-only token when filtering PRs in CQ (Antoine du Hamel) [#&#8203;65169](https://github.com/nodejs/node/pull/65169) - \[[`7d9dcfaaa7`](https://github.com/nodejs/node/commit/7d9dcfaaa7)] - **tools**: delay removal of `commit-queue` label (Antoine du Hamel) [#&#8203;65101](https://github.com/nodejs/node/pull/65101) - \[[`0d7c7936e7`](https://github.com/nodejs/node/commit/0d7c7936e7)] - **tools**: move ncu config to global for commit queue (Filip Skokan) [#&#8203;65132](https://github.com/nodejs/node/pull/65132) - \[[`5e1db5a38a`](https://github.com/nodejs/node/commit/5e1db5a38a)] - **tools**: prefilter commit queue metadata (Filip Skokan) [#&#8203;64343](https://github.com/nodejs/node/pull/64343) - \[[`f41509b91d`](https://github.com/nodejs/node/commit/f41509b91d)] - **tools**: lazy-abort failed PR merges in CQ (Antoine du Hamel) [#&#8203;65004](https://github.com/nodejs/node/pull/65004) - \[[`ceb0e99acd`](https://github.com/nodejs/node/commit/ceb0e99acd)] - **tools**: sync mk-ca-bundle.pl with curl (Archkon) [#&#8203;64753](https://github.com/nodejs/node/pull/64753) - \[[`600663b23f`](https://github.com/nodejs/node/commit/600663b23f)] - **tty**: add raw-vt and io raw modes (Samuel Williams) [#&#8203;64140](https://github.com/nodejs/node/pull/64140) - \[[`a40bfc742e`](https://github.com/nodejs/node/commit/a40bfc742e)] - **typings**: add signal\_wrap internal binding types (Seongeun Lee) [#&#8203;65229](https://github.com/nodejs/node/pull/65229) - \[[`b103a4a3b9`](https://github.com/nodejs/node/commit/b103a4a3b9)] - **typings**: add diagnostics\_channel typings (Seongeun Lee) [#&#8203;65227](https://github.com/nodejs/node/pull/65227) - \[[`e64de34b89`](https://github.com/nodejs/node/commit/e64de34b89)] - **typings**: add watchdog internal binding types (Seongeun Lee) [#&#8203;65228](https://github.com/nodejs/node/pull/65228) - \[[`c57c83b4d1`](https://github.com/nodejs/node/commit/c57c83b4d1)] - **typings**: add internal\_only\_v8 binding typeis (Donghoon Kang) [#&#8203;65071](https://github.com/nodejs/node/pull/65071) - \[[`f15e8c9dcd`](https://github.com/nodejs/node/commit/f15e8c9dcd)] - **typings**: add credentials internal binding types (Donghoon Kang) [#&#8203;65036](https://github.com/nodejs/node/pull/65036) - \[[`a500256b0b`](https://github.com/nodejs/node/commit/a500256b0b)] - **url**: skip unused href reuse comparison (Yagiz Nizipli) [#&#8203;65361](https://github.com/nodejs/node/pull/65361) - \[[`58390f8bec`](https://github.com/nodejs/node/commit/58390f8bec)] - **url**: speed up WHATWG URL parsing (Yagiz Nizipli) [#&#8203;65361](https://github.com/nodejs/node/pull/65361) - \[[`7d5428c812`](https://github.com/nodejs/node/commit/7d5428c812)] - **url**: speed up URLSearchParams (Yagiz Nizipli) [#&#8203;65363](https://github.com/nodejs/node/pull/65363) - \[[`8e2461d819`](https://github.com/nodejs/node/commit/8e2461d819)] - **url**: bounds-check short Windows file URL paths (Archkon) [#&#8203;64788](https://github.com/nodejs/node/pull/64788) - \[[`9ffc0da90c`](https://github.com/nodejs/node/commit/9ffc0da90c)] - **url**: handle unparsable serialized URLs in setters (Matteo Collina) [#&#8203;64651](https://github.com/nodejs/node/pull/64651) - \[[`fa9d4e075d`](https://github.com/nodejs/node/commit/fa9d4e075d)] - **util**: allow single-line format when break length is infinite (Hamid Reza Ghavami) [#&#8203;64238](https://github.com/nodejs/node/pull/64238) - \[[`b68a7c3862`](https://github.com/nodejs/node/commit/b68a7c3862)] - **util**: fix OSC 8 hyperlink stripping in stripVTControlCharacters (Dushyant Singh Hada) [#&#8203;64319](https://github.com/nodejs/node/pull/64319) - \[[`10cbb6dc00`](https://github.com/nodejs/node/commit/10cbb6dc00)] - **util**: fix formatting of functions returned from getters (Richard Gibson) [#&#8203;64839](https://github.com/nodejs/node/pull/64839) - \[[`64c20b449e`](https://github.com/nodejs/node/commit/64c20b449e)] - **util**: use more primordials in `comparisons.js` (Ayoub Mabrouk) [#&#8203;61198](https://github.com/nodejs/node/pull/61198) - \[[`cea9786de8`](https://github.com/nodejs/node/commit/cea9786de8)] - **util**: preserve function names without source map names (Hiroki Osame) [#&#8203;65108](https://github.com/nodejs/node/pull/65108) - \[[`35c635b032`](https://github.com/nodejs/node/commit/35c635b032)] - **(SEMVER-MINOR)** **util**: add non-throwing MIMEType.parse (James M Snell) [#&#8203;64965](https://github.com/nodejs/node/pull/64965) - \[[`5858c2ba9a`](https://github.com/nodejs/node/commit/5858c2ba9a)] - **zlib**: validate pledgedSrcSize for sync zstd (Archkon) [#&#8203;64601](https://github.com/nodejs/node/pull/64601) </details> <details> <summary>oxc-project/oxc (oxfmt)</summary> ### [`v0.67.0`](https://github.com/oxc-project/oxc/blob/HEAD/npm/oxfmt/CHANGELOG.md#0670---2026-09-07) [Compare Source](https://github.com/oxc-project/oxc/compare/oxfmt_v0.66.0...oxfmt_v0.67.0) ##### 🛡️ Security - [`9a612d5`](https://github.com/oxc-project/oxc/commit/9a612d5) deps: Update npm packages ([#&#8203;26178](https://github.com/oxc-project/oxc/issues/26178)) (renovate\[bot]) ### [`v0.66.0`](https://github.com/oxc-project/oxc/compare/oxfmt_v0.65.0...oxfmt_v0.66.0) [Compare Source](https://github.com/oxc-project/oxc/compare/oxfmt_v0.65.0...oxfmt_v0.66.0) ### [`v0.65.0`](https://github.com/oxc-project/oxc/compare/oxfmt_v0.64.0...oxfmt_v0.65.0) [Compare Source](https://github.com/oxc-project/oxc/compare/oxfmt_v0.64.0...oxfmt_v0.65.0) ### [`v0.64.0`](https://github.com/oxc-project/oxc/blob/HEAD/npm/oxfmt/CHANGELOG.md#0640---2026-08-18) [Compare Source](https://github.com/oxc-project/oxc/compare/oxfmt_v0.63.0...oxfmt_v0.64.0) ##### 🚀 Features - [`c07fe7c`](https://github.com/oxc-project/oxc/commit/c07fe7c) oxfmt: Support `experimentalOperatorPosition` ([#&#8203;25643](https://github.com/oxc-project/oxc/issues/25643)) (leaysgur) ##### 📚 Documentation - [`fed6681`](https://github.com/oxc-project/oxc/commit/fed6681) oxfmt: Skip expanding overrides options ([#&#8203;25572](https://github.com/oxc-project/oxc/issues/25572)) (leaysgur) </details> <details> <summary>shadcn-ui/ui (shadcn)</summary> ### [`v4.21.0`](https://github.com/shadcn-ui/ui/blob/HEAD/packages/shadcn/CHANGELOG.md#4210) [Compare Source](https://github.com/shadcn-ui/ui/compare/shadcn@4.20.1...shadcn@4.21.0) ##### Minor Changes - [#&#8203;11758](https://github.com/shadcn-ui/ui/pull/11758) [`c257f688cf4de7ec10cc1be84cad29cd4631182c`](https://github.com/shadcn-ui/ui/commit/c257f688cf4de7ec10cc1be84cad29cd4631182c) Thanks [@&#8203;shadcn](https://github.com/shadcn)! - install `cn` and generate `export { cn } from "cn"` for `lib/utils` on init. Registry components now import `cn` from the `cn` package. ##### Patch Changes - [`8720dec73f5aebed9f649ea58636f54599fdedf1`](https://github.com/shadcn-ui/ui/commit/8720dec73f5aebed9f649ea58636f54599fdedf1) Thanks [@&#8203;shadcn](https://github.com/shadcn)! - use `twMerge` from `cn` instead of `tailwind-merge` internally. ### [`v4.20.1`](https://github.com/shadcn-ui/ui/blob/HEAD/packages/shadcn/CHANGELOG.md#4201) [Compare Source](https://github.com/shadcn-ui/ui/compare/shadcn@4.20.0...shadcn@4.20.1) ##### Patch Changes - [#&#8203;11742](https://github.com/shadcn-ui/ui/pull/11742) [`04bb134c52af23af7d77673618ef4e3862b7c310`](https://github.com/shadcn-ui/ui/commit/04bb134c52af23af7d77673618ef4e3862b7c310) Thanks [@&#8203;shadcn](https://github.com/shadcn)! - preserve leading comments when running `shadcn migrate cn`. ### [`v4.20.0`](https://github.com/shadcn-ui/ui/blob/HEAD/packages/shadcn/CHANGELOG.md#4200) [Compare Source](https://github.com/shadcn-ui/ui/compare/shadcn@4.19.1...shadcn@4.20.0) ##### Minor Changes - [#&#8203;11728](https://github.com/shadcn-ui/ui/pull/11728) [`51f3e12203b0026ea106cafb4f770bda9abead87`](https://github.com/shadcn-ui/ui/commit/51f3e12203b0026ea106cafb4f770bda9abead87) Thanks [@&#8203;shadcn](https://github.com/shadcn)! - add `npx shadcn migrate cn` to replace `clsx`, `tailwind-merge` and `cnfast` in Tailwind CSS v4 projects. ### [`v4.19.1`](https://github.com/shadcn-ui/ui/blob/HEAD/packages/shadcn/CHANGELOG.md#4191) [Compare Source](https://github.com/shadcn-ui/ui/compare/shadcn@4.19.0...shadcn@4.19.1) ##### Patch Changes - [#&#8203;11713](https://github.com/shadcn-ui/ui/pull/11713) [`f9ea1e600ea5dd7b1b79769b7b25cafa400cee6f`](https://github.com/shadcn-ui/ui/commit/f9ea1e600ea5dd7b1b79769b7b25cafa400cee6f) Thanks [@&#8203;shadcn](https://github.com/shadcn)! - Add the official shadcn/ui website to the package metadata. ### [`v4.19.0`](https://github.com/shadcn-ui/ui/blob/HEAD/packages/shadcn/CHANGELOG.md#4190) [Compare Source](https://github.com/shadcn-ui/ui/compare/shadcn@4.18.0...shadcn@4.19.0) ##### Minor Changes - [#&#8203;11582](https://github.com/shadcn-ui/ui/pull/11582) [`33c81f991f1013653444d6819107b2b356563f57`](https://github.com/shadcn-ui/ui/commit/33c81f991f1013653444d6819107b2b356563f57) Thanks [@&#8203;shadcn](https://github.com/shadcn)! - add private repository support to GitHub registries via GitHub CLI credentials or GH\_TOKEN. - [#&#8203;11248](https://github.com/shadcn-ui/ui/pull/11248) [`b4f2023b1d5c733db67d4e90eb9485a95c5ed480`](https://github.com/shadcn-ui/ui/commit/b4f2023b1d5c733db67d4e90eb9485a95c5ed480) Thanks [@&#8203;rbadillap](https://github.com/rbadillap)! - add `npx shadcn migrate base-color` to switch a project's base color. </details> <details> <summary>rolldown/tsdown (tsdown)</summary> ### [`v0.23.0`](https://github.com/rolldown/tsdown/releases/tag/v0.23.0) [Compare Source](https://github.com/rolldown/tsdown/compare/v0.22.14...v0.23.0) #####    🧭 Migration Guide Most users can upgrade directly. Before upgrading, run one final build with `tsdown@0.22.14` and resolve all deprecation warnings. - **config**: - `bundle: false` → `unbundle: true`; `bundle: true` can be removed - `outExtension` → `outExtensions` - `publicDir` / `--public-dir` → `copy` / `--copy` - `removeNodeProtocol: true` → `nodeProtocol: 'strip'` - `injectStyle` → `css.inject` - **deps**: - `inlineOnly` / `deps.onlyAllowBundle` → `deps.onlyBundle` - `skipNodeModulesBundle: true` → `deps.neverBundle: true` - `resolveDepSubpath` now defaults to `false`; set it to `true` to preserve the previous behavior - **dts**: - `rolldown-plugin-dts` was upgraded from `0.27.13` to `0.28.5` - `dts.oxc: true` → `dts.generator: 'oxc'` - `dts.tsgo: true` → `dts.generator: 'tsgo'`; `oxc` and `tsgo` objects now only configure their respective generators - `dts.volarPlugins` → `dts.customLanguages`; rename each language's `create` hook to `createVolarPlugins` - Custom languages, including `vue`, now throw when combined with an incompatible generator - `dts.cjsReexport` was removed; dual-format builds now generate CJS declarations in a separate pass - **attw**: - The default profile changed from `strict` to `esm-only`; set `profile: 'strict'` to preserve the previous checks - **programmatic API**: - `build()` now returns `{ bundles, watch }`; replace `const bundles = await build()` with `const { bundles } = await build()` - **requirements**: - Node.js 25 is no longer supported; use `^22.18.0`, `^24.11.0`, or `>=26.0.0` - `rolldown-plugin-dts` now requires Rolldown 1.2.x - Legacy `types` and `typesVersions` fallbacks were removed; use TypeScript's `bundler`, `node16`, or `nodenext` module resolution #####    🚨 Breaking Changes - Drop support for Node.js 25  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(26950)</samp>](https://github.com/rolldown/tsdown/commit/26950f1) - Remove deprecated tsup compatibility options  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(50766)</samp>](https://github.com/rolldown/tsdown/commit/507661c) - Drop `types` and `typesVersions`fields  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(be3ea)</samp>](https://github.com/rolldown/tsdown/commit/be3ea86) - **attw**: - Change default profile to `esm-only`  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(9b3cf)</samp>](https://github.com/rolldown/tsdown/commit/9b3cfca) - **deps**: - Remove deprecated `deps.onlyAllowBundle`  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(30c55)</samp>](https://github.com/rolldown/tsdown/commit/30c553d) - Disable `resolveDepSubpath` by default  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(d300f)</samp>](https://github.com/rolldown/tsdown/commit/d300fcc) - Remove deprecated `skipNodeModulesBundle`  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(f2a3d)</samp>](https://github.com/rolldown/tsdown/commit/f2a3d8e) - **dts**: - Remove dts.cjsReexport option  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(9c70f)</samp>](https://github.com/rolldown/tsdown/commit/9c70fa9) - Make `dts.generator` the only way to select generator  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(eb75f)</samp>](https://github.com/rolldown/tsdown/commit/eb75f9d) #####    🚀 Features - Expose programmatic watch controls  -  by [@&#8203;sxzz](https://github.com/sxzz) in [#&#8203;1062](https://github.com/rolldown/tsdown/issues/1062) [<samp>(96a40)</samp>](https://github.com/rolldown/tsdown/commit/96a4098) - **css**: Support function form for `css.modules.localsConvention`  -  by [@&#8203;sxzz](https://github.com/sxzz) and [@&#8203;lazerg](https://github.com/lazerg) [<samp>(b566f)</samp>](https://github.com/rolldown/tsdown/commit/b566f6d) - **report**: Add `summary` option to skip per-file size logs  -  by [@&#8203;lazerg](https://github.com/lazerg) in [#&#8203;1036](https://github.com/rolldown/tsdown/issues/1036) [<samp>(020e9)</samp>](https://github.com/rolldown/tsdown/commit/020e9cd) #####    🐞 Bug Fixes - Allow `unplugin-unused` v0.5+  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(53c78)</samp>](https://github.com/rolldown/tsdown/commit/53c78cb) - Ignore optional dependencies in type definitions  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(94622)</samp>](https://github.com/rolldown/tsdown/commit/946224d) - **cli**: - Camel-case nested flag keys  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(bf53f)</samp>](https://github.com/rolldown/tsdown/commit/bf53f43) - **css**: - Watch files imported via `@import`  -  by [@&#8203;lazerg](https://github.com/lazerg) in [#&#8203;1038](https://github.com/rolldown/tsdown/issues/1038) [<samp>(ebee5)</samp>](https://github.com/rolldown/tsdown/commit/ebee509) - **deps**: - Apply `resolveDepSubpath` when `neverBundle` is `true`  -  by [@&#8203;lazerg](https://github.com/lazerg) in [#&#8203;1053](https://github.com/rolldown/tsdown/issues/1053) [<samp>(4943c)</samp>](https://github.com/rolldown/tsdown/commit/4943c08) - **exports**: - Scope inlined dependencies to configs with exports  -  by [@&#8203;lazerg](https://github.com/lazerg) in [#&#8203;1040](https://github.com/rolldown/tsdown/issues/1040) [<samp>(d5b80)</samp>](https://github.com/rolldown/tsdown/commit/d5b8015) - **migrate**: - Pin migrated projects to tsdown 0.22.14  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(113fb)</samp>](https://github.com/rolldown/tsdown/commit/113fb8a) - Support non-interactive environments  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(51e41)</samp>](https://github.com/rolldown/tsdown/commit/51e4183) #####    🏎 Performance - Remove `asyncDispose` polyfill  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(82675)</samp>](https://github.com/rolldown/tsdown/commit/826755e) - Replace `ansis` with `util.styleText`  -  by [@&#8203;sxzz](https://github.com/sxzz) [<samp>(be6bf)</samp>](https://github.com/rolldown/tsdown/commit/be6bfd2) #####     [View changes on GitHub](https://github.com/rolldown/tsdown/compare/v0.22.14...v0.23.0) </details> <details> <summary>tsparticles/tsparticles (tsparticles)</summary> ### [`v4.4.0`](https://github.com/tsparticles/tsparticles/blob/HEAD/bundles/full/CHANGELOG.md#440-2026-08-30) [Compare Source](https://github.com/tsparticles/tsparticles/compare/v4.3.2...v4.4.0) **Note:** Version bump only for package tsparticles #### [4.3.3](https://github.com/tsparticles/tsparticles/compare/v4.3.2...v4.3.3) (2026-07-23) **Note:** Version bump only for package tsparticles #### [4.3.2](https://github.com/tsparticles/tsparticles/compare/v4.3.1...v4.3.2) (2026-07-10) **Note:** Version bump only for package tsparticles #### [4.3.1](https://github.com/tsparticles/tsparticles/compare/v4.3.0...v4.3.1) (2026-07-01) **Note:** Version bump only for package tsparticles </details> <details> <summary>privatenumber/tsx (tsx)</summary> ### [`v4.23.13`](https://github.com/privatenumber/tsx/releases/tag/v4.23.13) [Compare Source](https://github.com/privatenumber/tsx/compare/v4.23.12...v4.23.13) ##### Bug Fixes - **cache:** bound shared transform cache memory ([#&#8203;835](https://github.com/privatenumber/tsx/issues/835)) ([28e1f12](https://github.com/privatenumber/tsx/commit/28e1f12d04cd2afe1db17f8555b14fe5fb567c6e)) *** This release is also available on: - [npm package (@&#8203;latest dist-tag)](https://www.npmjs.com/package/tsx/v/4.23.13) </details> <details> <summary>colinhacks/zod (zod)</summary> ### [`v4.6.2`](https://github.com/colinhacks/zod/releases/tag/v4.6.2) [Compare Source](https://github.com/colinhacks/zod/compare/v4.6.1...v4.6.2) #### Commits: - [`a00c3f3`](https://github.com/colinhacks/zod/commit/a00c3f348abb8b56ccb6281ac4c946141e2728d5) docs: use Trigger.dev's brand-kit lockups for the platinum card - [`0c483c5`](https://github.com/colinhacks/zod/commit/0c483c58849fdb6445aea4f54b1bac6b57ab3d22) docs: Zod 4.6 announcement post ([#&#8203;6546](https://github.com/colinhacks/zod/issues/6546)) - [`9446b5c`](https://github.com/colinhacks/zod/commit/9446b5cc14c5bf137790f1f66abf602044871223) fix: preserve undefined prefault outputs and object keys ([#&#8203;6587](https://github.com/colinhacks/zod/issues/6587)) - [`e359f73`](https://github.com/colinhacks/zod/commit/e359f7378fe56d695134701cda1e9055a08892dc) 4.6.2 ### [`v4.6.1`](https://github.com/colinhacks/zod/releases/tag/v4.6.1) [Compare Source](https://github.com/colinhacks/zod/compare/v4.6.0...v4.6.1) A patch on top of [4.6.0](https://github.com/colinhacks/zod/releases/tag/v4.6.0). - [`b12aa523`](https://github.com/colinhacks/zod/commit/b12aa523) fix: preserve unique tags with defaulted discriminators ([#&#8203;6582](https://github.com/colinhacks/zod/pull/6582)) — closes [#&#8203;6577](https://github.com/colinhacks/zod/issues/6577) - [`dd9c36fa`](https://github.com/colinhacks/zod/commit/dd9c36fa) fix(v4): defer recursive object index inference ([#&#8203;6580](https://github.com/colinhacks/zod/pull/6580)) - [`3b154992`](https://github.com/colinhacks/zod/commit/3b154992) feat(lang): add Tajik (`tg`) locale ([#&#8203;6581](https://github.com/colinhacks/zod/pull/6581)) by [@&#8203;ismoil77](https://github.com/ismoil77) - [`2efa8b80`](https://github.com/colinhacks/zod/commit/2efa8b80) ci: give the npm wait a real budget and drop the back-publish path ([#&#8203;6583](https://github.com/colinhacks/zod/pull/6583)) ### [`v4.6.0`](https://github.com/colinhacks/zod/releases/tag/v4.6.0) [Compare Source](https://github.com/colinhacks/zod/compare/v4.5.4...v4.6.0) Zod 4.6 is now available. ```sh npm install zod@latest ``` At a glance: - [`.validate()`](https://zod.dev/blog/zod-4-6#validate) — checks input validity without building a result (up to 35x faster than `.safeParse().success` on a compiled schema) - [`z.instanceof().properties()`](https://zod.dev/blog/zod-4-6#zproperties) — validates properties of an instance - [`fromJSONSchema()`](https://zod.dev/blog/zod-4-6#fromjsonschema) — enforces six validation keywords it used to ignore - [`z.iban()`](https://zod.dev/blog/zod-4-6#ziban) — electronic-format IBAN plus mod-97 checksum - [`z.withParser()`](https://zod.dev/blog/zod-4-6#zwithparser) — installs a parser generated elsewhere, for environments without `new Function` - [Faster CommonJS](https://zod.dev/blog/zod-4-6#faster-commonjs) — drops the getter on every export (\~3x faster `z.validate()` under `require`) - [Memory retention in recursive schemas](https://zod.dev/blog/zod-4-6#memory-retention-in-recursive-schemas) — releases the parsed input, fixing a 4.5 out-of-memory regression - [`@zod/mini`](https://zod.dev/packages/mini) — Zod Mini as a standalone package, versioned in lockstep with `zod` since 4.5 #### `.validate()` Standalone boolean validation, in Zod, Zod Mini, and Zod Core. It answers "is this input valid?" without constructing a `ZodError`, which makes rejection cheap. The return type is a guard on the schema's input type. ```ts z.validate(z.string(), "hi"); // true z.validate(z.string(), 42); // false ``` It is a method on Zod Classic schemas too. ([#&#8203;6547](https://github.com/colinhacks/zod/pull/6547)) ```ts const Player = z.object({ username: z.string(), xp: z.number(), }); if (Player.validate(data)) { data.username; // narrowed } ``` In conjunction with [`z.compile()`](https://zod.dev/compile), this can be up to 35x faster than `.safeParse().success` on invalid input. ![Time per call on invalid input, schemas compiled with z.compile(), safeParse().success as a gray bar with .validate() as a blue bar inside it: a union of 3 objects 28 ns (34.9x faster), an array of 10 strings 23 ns (24.6x), a 3-element tuple 28 ns (16.1x), a 5-key object 21 ns (16.3x), a discriminated union of 3 21 ns (15.7x), z.number() 19 ns (13.8x), z.string() 19 ns (13.2x), z.boolean() 19 ns (13.7x); up to 34.9x faster](https://raw.githubusercontent.com/colinhacks/zod/0c483c58849fdb6445aea4f54b1bac6b57ab3d22/packages/docs/public/blog/validate-compiled-invalid.svg) *Time per call on invalid input, compiled with z.compile() — lower is better ([benchmark](https://github.com/colinhacks/zod/blob/main/packages/bench/validate-vs-safeparse.ts))* <details> <summary><b>Uncompiled schemas</b></summary> Without compilation it is up to 5.9x faster. The saving is the result object: `.safeParse()` allocates one with an accessor pair on every call, and `.validate()` allocates nothing. ![Time per call on invalid input, plain schemas, safeParse().success as a gray bar with .validate() as a blue bar inside it: a union of 3 objects 659 ns (1.5x faster), an array of 10 strings 211 ns (2.3x), a 3-element tuple 166 ns (2.5x), a discriminated union of 3 93 ns (3.3x), a 5-key object 75 ns (3.9x), z.number() 47 ns (5.3x), z.string() 42 ns (5.8x), z.boolean() 42 ns (5.9x); up to 5.9x faster](https://raw.githubusercontent.com/colinhacks/zod/0c483c58849fdb6445aea4f54b1bac6b57ab3d22/packages/docs/public/blog/validate-invalid.svg) *Time per call on invalid input, plain schemas — lower is better ([benchmark](https://github.com/colinhacks/zod/blob/main/packages/bench/validate-vs-safeparse.ts))* </details> Both charts measure the failure path. The key feature of `.validate()` is that it can *short-circuit* on the first issue it encounters, instead of aggregating a full `ZodIssue[]` array. > \[!NOTE] > Async refinements are covered by `.validateAsync()`. #### `z.properties()` A new API for validating specific properties of an object. Unlike `z.object()` it validates *in-place*, so it plays nice with class instances. ([#&#8203;6536](https://github.com/colinhacks/zod/pull/6536)) ```ts const responseLike = z.properties({ status: z.number().min(200).max(299) }); responseLike.parse(new Response("ok", { status: 200 })); // ✅ a real Response responseLike.parse({ status: 204 }); // ✅ a plain object ``` A corresponding `.properties()` method has been added to `ZodInstanceOf`. **Zod** ```ts const okResponse = z.instanceof(Response).properties({ ok: z.literal(true), status: z.number().min(200).max(299), }); ``` **Zod Mini** ```ts const okResponse = z.instanceof(Response).check(...z.properties({ ok: z.literal(true), status: z.number().check(z.minimum(200), z.maximum(299)), })); ``` The input comes back untouched, so the prototype survives and the methods still work. That is the part `z.object()` cannot do: it would hand back a plain object and the `Response` would be gone. ```ts const res = await fetch("/api/user"); okResponse.parse(res) === res; // ✅ true ``` #### `fromJSONSchema()` Six additional JSON Schema keywords are now supported in `z.fromJSONSchema()`. ([#&#8203;6535](https://github.com/colinhacks/zod/pull/6535)) - [`minProperties`](https://json-schema.org/understanding-json-schema/reference/object#size) / [`maxProperties`](https://json-schema.org/understanding-json-schema/reference/object#size) - [`uniqueItems`](https://json-schema.org/understanding-json-schema/reference/array#uniqueItems) - [`contains`](https://json-schema.org/understanding-json-schema/reference/array#contains) - [`minContains`](https://json-schema.org/understanding-json-schema/reference/array#mincontains-maxcontains) / [`maxContains`](https://json-schema.org/understanding-json-schema/reference/array#mincontains-maxcontains) ```ts const schema = z.fromJSONSchema({ type: "object", minProperties: 2, // also maxProperties }); schema.parse({ a: 1 }); // ❌ too few properties schema.parse({ a: 1, b: 2 }); // ✅ ``` Both property bounds count the input's own keys. Array uniqueness is structural, so `[{ a: 1 }, { a: 1 }]` is a duplicate. ```ts z.fromJSONSchema({ type: "array", uniqueItems: true }).parse([{ a: 1 }, { a: 1 }]); // ❌ z.fromJSONSchema({ type: "array", contains: { type: "number" }, // also minContains and maxContains minContains: 2, }).parse(["a", 2]); // ❌ only one number ``` #### `z.iban()` A new string format: an IBAN in electronic format, with a valid ISO 7064 MOD 97-10 checksum. ([#&#8203;6571](https://github.com/colinhacks/zod/pull/6571)) ```ts z.iban().parse("DE89370400440532013000"); // ✅ z.iban().parse("DE89370400440532013001"); // ❌ bad checksum ``` #### `z.withParser()` `z.compile()` builds its parser with `new Function`, which a strict Content Security Policy blocks. `z.withParser()` is that installer on its own: it takes a parser generated somewhere else, at build time or by a native compiler, and installs it under the same contract. ([#&#8203;6575](https://github.com/colinhacks/zod/pull/6575)) ```ts const Player = z.object({ username: z.string(), xp: z.number() }); // isPlayer is a type guard your build step generated const Fast = z.withParser(Player, (input) => isPlayer(input) ? { username: input.username, xp: input.xp } : z.INVALID ); ``` The supplied parser owns the whole result, so it has to return what the schema would have returned. This one rebuilds the object rather than handing back its input, because `z.object()` strips unknown keys. Returning `z.INVALID` hands the input to the runtime, which stays the only source of `ZodError`s. #### Faster CommonJS TypeScript compiles a re-export to a getter, and 252 of the 255 exports on Zod 4.5's CommonJS entrypoint were getters. V8 could not see a constant callee behind one, so it could not inline the call. The 4.6 build emits plain properties and freezes the exports object. On a compiled schema, `z.validate()` under `require` is about 3x faster than it was in Zod 4.5. ([#&#8203;6564](https://github.com/colinhacks/zod/pull/6564)) ```ts const { z } = require("zod"); const CompiledPlayer = z.compile(Player); z.validate(CompiledPlayer, data); // ~3x faster than Zod 4.5 ``` Only calls through the namespace were affected. A method call like `Player.safeParse(data)` never reads the exports object, and the ESM build is unchanged. #### Memory retention in recursive schemas A recursive schema held the input and output of its last parse until the next parse replaced it, so one long-lived schema pinned every object it had touched. Zod 4.4 released that input and Zod 4.5 did not, which surfaced as an out-of-memory failure on a repository-wide lint run. The parse state is weak throughout now: one parse of a 29k-node tree retains 2.2 MB where it used to retain 10.1 MB, and recursive parses give up about 6% for it. ([#&#8203;6572](https://github.com/colinhacks/zod/pull/6572)) ```ts const Category = z.object({ name: z.string(), get children() { return z.array(Category); }, }); ``` #### Bug fixes ##### ⚠️ Error maps run on the first read of `error` Because `safeParse()` now builds its error lazily, error maps — global, locale, and per-schema `error` — run when `result.error` is first read, not at parse time. Code that swaps `z.config()` between the parse and the read gets the newer configuration. ([#&#8203;6519](https://github.com/colinhacks/zod/pull/6519)) ```ts const result = schema.safeParse(12); z.config(z.locales.fr()); result.error.issues[0].message; // French in 4.6, English in 4.5 ``` An error map with a side effect never runs if nothing reads the error. Throwing parses are unaffected — `.parse()` builds and throws its error immediately, never takes the lazy path, and its stack still points at your call site. ##### ⚠️ `z.emoji()` rejects component-only strings Unicode's `Emoji_Component` property covers the pieces that attach to an emoji, so `z.emoji()` accepted `"123"`, `"#"`, `"*"`, and a lone zero-width joiner, variation selector, or skin tone modifier. The pattern now requires at least one pictograph, regional indicator, or keycap. ([#&#8203;6532](https://github.com/colinhacks/zod/pull/6532)) ```ts z.emoji().parse("😀"); // ✅ z.emoji().parse("1️⃣"); // ✅ the keycap is the anchor z.emoji().parse("123"); // ❌ was accepted in 4.5 ``` Flags, subdivision flags, skin-tone-modified emoji, and ZWJ sequences are unchanged. Closes [#&#8203;6515](https://github.com/colinhacks/zod/issues/6515). ##### ⚠️ Numeric enum options no longer include the reverse mappings A numeric TypeScript enum also carries its reverse mapping (`0` to `"UK"`) at runtime. The parser already ignored those keys, but `.options` was read straight off the enum object, so a three-member enum listed six values and three of them failed to parse. ([#&#8203;6542](https://github.com/colinhacks/zod/pull/6542)) ```ts enum Country { UK, Germany, France } z.enum(Country).options; // 4.5: ["UK", "Germany", "France", 0, 1, 2] — 4.6: [0, 1, 2] ``` ##### ⚠️ base64 patterns The runtime patterns for `z.base64()` and `z.base64url()` are the character sets, with length and padding enforced in code, so a multi-megabyte string can no longer overflow the regex stack through a composed schema. The JSON Schema output still emits the exact block forms, so `z.toJSONSchema()` is unchanged. ([#&#8203;6534](https://github.com/colinhacks/zod/pull/6534), [#&#8203;6527](https://github.com/colinhacks/zod/pull/6527)) Composing `z.base64()` into a template literal now checks the alphabet but not the length, which is how `z.creditCard()` already behaves there. The exported `z.regexes.base64url` is now the length-aware form, so it overflows on a multi-megabyte input the same way `z.regexes.base64` does. ##### ⚠️ The email pattern dropped its lookaheads `z.email()` opened with two lookaheads, and the second scanned the whole string before the match began. Both are gone, and the rule they enforced — no empty segment in the local part — is expressed structurally instead, so `z.email()` accepts and rejects exactly what it did before. Valid addresses validate roughly twice as fast. ([#&#8203;6573](https://github.com/colinhacks/zod/pull/6573)) The pattern string is user-visible, and every copy of it changes: `z.regexes.email`, which has no capture groups now — neither of the two it used to expose held a usable value; `issue.pattern` on a failed `z.email()`; and the `pattern` that `z.toJSONSchema()` emits, which no longer carries a lookahead, so validators outside ECMAScript can compile it. Composing an email into a template literal also stops applying its no-consecutive-dots rule to the rest of the string. ```ts z.templateLiteral([z.email(), "|", z.string()]).parse("a@b.cc|a..b"); // 4.5: ❌ — the lookahead reached past the email segment — 4.6: ✅ ``` ##### ⚠️ Chained checks no longer overwrite each other in JSON Schema Each check used to write its own bounds into the schema as it attached, in chain order, so a format check applied after `.min()` and `.max()` replaced the tighter values with its own range. The converter folds the checks as a conjunction now. The order they are chained in no longer changes the output. ([#&#8203;6554](https://github.com/colinhacks/zod/pull/6554), [#&#8203;6553](https://github.com/colinhacks/zod/pull/6553)) ```ts z.toJSONSchema(z.number().min(0).max(23).int()); // 4.5: { minimum: -9007199254740991, maximum: 9007199254740991 } // 4.6: { minimum: 0, maximum: 23 } ``` Runtime parsing enforced the bounds in every version. Only the emitted schema was wrong. The same fold fixes two more cases: a repeated `multipleOf` kept the first divisor and dropped the rest, so `z.number().multipleOf(2).multipleOf(3)` emitted a schema that accepts 4, and `z.string().min(8).length(5)` emitted `minLength: 5`, widening a bound the runtime still rejected. Closes [#&#8203;6550](https://github.com/colinhacks/zod/issues/6550). ##### ⚠️ Metadata members materialize on first read Eight members on a Zod Classic schema — `.format`, `.minLength`, `.maxLength`, `.minValue`, `.maxValue`, `.isInt`, `.minDate` and `.maxDate` — are computed from the checks now instead of being written onto every instance at construction. Each one is a prototype getter that becomes an own property on first read. ([#&#8203;6554](https://github.com/colinhacks/zod/pull/6554)) ```ts const s = z.string().min(3).max(9); Object.keys(s); // 4.5: ["def", "type", "format", "minLength", "maxLength"] — 4.6: ["def", "type"] s.minLength; // 3 in both Object.keys(s); // 4.6: ["def", "type", "minLength"] ``` A key is absent until something reads it, and `Object.assign({}, schema)` copies only the members that have been read. Deleting one restores the getter, and the next read recomputes it. The values can move too, because the getters read the same fold the JSON Schema converter does. An order-dependent chain reports the tighter bound now instead of whichever check wrote last. ```ts z.string().min(8).length(5).minLength; // 4.5: 5 — 4.6: 8 ``` #### Commits Zod 4.6 rolls up 72 commits. - [`661673ae`](https://github.com/colinhacks/zod/commit/661673ae) docs: make the 9thCO logo visible on the light theme by [@&#8203;colinhacks](https://github.com/colinhacks) - [`6de10dce`](https://github.com/colinhacks/zod/commit/6de10dce) docs: reconcile the sponsor listings against every active sponsorship ([#&#8203;6579](https://github.com/colinhacks/zod/pull/6579)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`213ee75d`](https://github.com/colinhacks/zod/commit/213ee75d) feat(compile): add z.withParser for externally generated parsers ([#&#8203;6575](https://github.com/colinhacks/zod/pull/6575)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`f9465d4e`](https://github.com/colinhacks/zod/commit/f9465d4e) docs: reconcile the sponsor listings with active sponsorships ([#&#8203;6576](https://github.com/colinhacks/zod/pull/6576)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`f7fd5548`](https://github.com/colinhacks/zod/commit/f7fd5548) perf(v4): drop the lookaheads from the email regex ([#&#8203;6573](https://github.com/colinhacks/zod/pull/6573)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`36f17960`](https://github.com/colinhacks/zod/commit/36f17960) fix(v4): stop the memoizer from pinning a finished parse ([#&#8203;6572](https://github.com/colinhacks/zod/pull/6572)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`22bed613`](https://github.com/colinhacks/zod/commit/22bed613) feat(v4): add z.iban() string format with mod-97 checksum ([#&#8203;6571](https://github.com/colinhacks/zod/pull/6571)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`c5b9bcb3`](https://github.com/colinhacks/zod/commit/c5b9bcb3) bench: measure what a runtime island's leaked indent cost the generated source by [@&#8203;colinhacks](https://github.com/colinhacks) - [`e54716cb`](https://github.com/colinhacks/zod/commit/e54716cb) docs(ecosystem): add [@&#8203;apical-ts/craft](https://github.com/apical-ts/craft) ([#&#8203;5946](https://github.com/colinhacks/zod/pull/5946)) by [@&#8203;gunzip](https://github.com/gunzip) - [`dcbcf052`](https://github.com/colinhacks/zod/commit/dcbcf052) fix(compile): unwind the doc indent when a child generator throws ([#&#8203;6570](https://github.com/colinhacks/zod/pull/6570)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`277613a6`](https://github.com/colinhacks/zod/commit/277613a6) docs: move the release procedure to the maintainer-local notes by [@&#8203;colinhacks](https://github.com/colinhacks) - [`eb1c1089`](https://github.com/colinhacks/zod/commit/eb1c1089) ci: release only on workflow\_dispatch behind the npm environment ([#&#8203;6569](https://github.com/colinhacks/zod/pull/6569)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`741981ff`](https://github.com/colinhacks/zod/commit/741981ff) perf(compile): for-in record walk, cheaper issue finalization, and a generative compile differential ([#&#8203;6567](https://github.com/colinhacks/zod/pull/6567)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`804e0f52`](https://github.com/colinhacks/zod/commit/804e0f52) perf: seal the CommonJS exports so require("zod") stops reading through a getter ([#&#8203;6564](https://github.com/colinhacks/zod/pull/6564)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`6f048367`](https://github.com/colinhacks/zod/commit/6f048367) fix(v4): derive JSON Schema constraints by folding checks in the converter ([#&#8203;6554](https://github.com/colinhacks/zod/pull/6554)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`e4d67f3e`](https://github.com/colinhacks/zod/commit/e4d67f3e) Migrate development and CI to Nub ([#&#8203;6562](https://github.com/colinhacks/zod/pull/6562)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`7a002366`](https://github.com/colinhacks/zod/commit/7a002366) fix(v4): don't let format checks overwrite tighter min/max bounds ([#&#8203;6553](https://github.com/colinhacks/zod/pull/6553)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`5489a532`](https://github.com/colinhacks/zod/commit/5489a532) test(v4): pin the check-chain case that keeps compiled validate's definite guard ([#&#8203;6551](https://github.com/colinhacks/zod/pull/6551)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`e7604717`](https://github.com/colinhacks/zod/commit/e7604717) docs: attribute the compiled failure cost to the fallback, not the double pass by [@&#8203;colinhacks](https://github.com/colinhacks) - [`764ac59f`](https://github.com/colinhacks/zod/commit/764ac59f) perf(v4): settle z.validate on the first failure in parse order ([#&#8203;6544](https://github.com/colinhacks/zod/pull/6544)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`07917f4c`](https://github.com/colinhacks/zod/commit/07917f4c) test(v4): pin the lazy safeParse error's stack behavior ([#&#8203;6548](https://github.com/colinhacks/zod/pull/6548)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`62e6624b`](https://github.com/colinhacks/zod/commit/62e6624b) feat(v4): add .validate() and .validateAsync() to Zod Classic ([#&#8203;6547](https://github.com/colinhacks/zod/pull/6547)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`cafbee47`](https://github.com/colinhacks/zod/commit/cafbee47) fix(v4): parse recursive schemas built by a factory ([#&#8203;6530](https://github.com/colinhacks/zod/pull/6530)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`4d730882`](https://github.com/colinhacks/zod/commit/4d730882) Release the parsed input once a failing safeParse builds its error ([#&#8203;6543](https://github.com/colinhacks/zod/pull/6543)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`90269c60`](https://github.com/colinhacks/zod/commit/90269c60) Keep a numeric TS enum's reverse-mapping keys out of `.options` ([#&#8203;6542](https://github.com/colinhacks/zod/pull/6542)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`18e71c71`](https://github.com/colinhacks/zod/commit/18e71c71) Rename the JSON Schema `process` helper so bundler polyfills cannot collide ([#&#8203;6541](https://github.com/colinhacks/zod/pull/6541)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`68aca3dc`](https://github.com/colinhacks/zod/commit/68aca3dc) docs: cover the 4.5 API surface that never made it into the reference by [@&#8203;colinhacks](https://github.com/colinhacks) - [`eca96871`](https://github.com/colinhacks/zod/commit/eca96871) fix(v4): enforce the six JSON Schema keywords fromJSONSchema silently dropped ([#&#8203;6535](https://github.com/colinhacks/zod/pull/6535)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`81ded991`](https://github.com/colinhacks/zod/commit/81ded991) perf: answer z.validate from the compiled fast path on invalid input ([#&#8203;6538](https://github.com/colinhacks/zod/pull/6538)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`51caf010`](https://github.com/colinhacks/zod/commit/51caf010) refactor: collapse cachedInternal back into cached ([#&#8203;6540](https://github.com/colinhacks/zod/pull/6540)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`abfb3897`](https://github.com/colinhacks/zod/commit/abfb3897) feat(v4): make z.properties() a schema, and give z.instanceof() a .properties() method ([#&#8203;6536](https://github.com/colinhacks/zod/pull/6536)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`69f2a7ff`](https://github.com/colinhacks/zod/commit/69f2a7ff) Collapse toZod's normalizer and move its docs to the API reference ([#&#8203;6539](https://github.com/colinhacks/zod/pull/6539)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`bf990216`](https://github.com/colinhacks/zod/commit/bf990216) perf: move util.cached's accessor to a prototype ([#&#8203;6537](https://github.com/colinhacks/zod/pull/6537)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`bec73bea`](https://github.com/colinhacks/zod/commit/bec73bea) perf(v4): build the safeParse error on first read ([#&#8203;6519](https://github.com/colinhacks/zod/pull/6519)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`07c43e2a`](https://github.com/colinhacks/zod/commit/07c43e2a) Keep the runtime base64 regexes linear so composed parse paths cannot overflow ([#&#8203;6534](https://github.com/colinhacks/zod/pull/6534)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`bc1157e7`](https://github.com/colinhacks/zod/commit/bc1157e7) docs: use a Response example for z.properties() by [@&#8203;colinhacks](https://github.com/colinhacks) - [`2ec972ec`](https://github.com/colinhacks/zod/commit/2ec972ec) refactor: collapse toZod's enum leaf normalizer to a dummy union ([#&#8203;6533](https://github.com/colinhacks/zod/pull/6533)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`68a609ac`](https://github.com/colinhacks/zod/commit/68a609ac) Widen literal inputs in property check types ([#&#8203;6520](https://github.com/colinhacks/zod/pull/6520)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`0227e53d`](https://github.com/colinhacks/zod/commit/0227e53d) docs: bump the star pill's GitHub mark to 20px by [@&#8203;colinhacks](https://github.com/colinhacks) - [`84dd3b0f`](https://github.com/colinhacks/zod/commit/84dd3b0f) perf: build literal and enum pattern regexes lazily ([#&#8203;6531](https://github.com/colinhacks/zod/pull/6531)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`f83ab511`](https://github.com/colinhacks/zod/commit/f83ab511) fix(v4): reject component-only strings from z.emoji() ([#&#8203;6532](https://github.com/colinhacks/zod/pull/6532)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`74f9a6d3`](https://github.com/colinhacks/zod/commit/74f9a6d3) docs: drop the toZod enum block from basics and pin the page's curation rule in a comment by [@&#8203;colinhacks](https://github.com/colinhacks) - [`a2a019a5`](https://github.com/colinhacks/zod/commit/a2a019a5) Accept enum-typed targets in z.toZod ([#&#8203;6528](https://github.com/colinhacks/zod/pull/6528)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`319f47f4`](https://github.com/colinhacks/zod/commit/319f47f4) Emit a length-aware base64url pattern in toJSONSchema ([#&#8203;6527](https://github.com/colinhacks/zod/pull/6527)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`08ba069e`](https://github.com/colinhacks/zod/commit/08ba069e) perf(v4): read Luhn digits with charCodeAt instead of string indexing ([#&#8203;6529](https://github.com/colinhacks/zod/pull/6529)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`1ec6b7c5`](https://github.com/colinhacks/zod/commit/1ec6b7c5) docs: add an RSS feed to the blog at /blog/rss.xml by [@&#8203;colinhacks](https://github.com/colinhacks) - [`b801439b`](https://github.com/colinhacks/zod/commit/b801439b) bench: add typebox (compiled and dynamic) to the moltar cross-library harness by [@&#8203;colinhacks](https://github.com/colinhacks) - [`7ae49d64`](https://github.com/colinhacks/zod/commit/7ae49d64) docs: drop the circle around the star pill's GitHub mark and center it on the pill's arc by [@&#8203;colinhacks](https://github.com/colinhacks) - [`93f3ab32`](https://github.com/colinhacks/zod/commit/93f3ab32) docs: replace the blog navbar's GitHub icon with a star-count pill by [@&#8203;colinhacks](https://github.com/colinhacks) - [`fb2fedfd`](https://github.com/colinhacks/zod/commit/fb2fedfd) docs: tighten the memory chart callout, pad the canvas, say "less memory" by [@&#8203;colinhacks](https://github.com/colinhacks) - [`ff56a551`](https://github.com/colinhacks/zod/commit/ff56a551) docs: center the memory chart callout labels and pad them off the number by [@&#8203;colinhacks](https://github.com/colinhacks) - [`8cd1250f`](https://github.com/colinhacks/zod/commit/8cd1250f) docs: center the memory chart callout labels by [@&#8203;colinhacks](https://github.com/colinhacks) - [`3195ed01`](https://github.com/colinhacks/zod/commit/3195ed01) docs: label the memory chart like the compile chart by [@&#8203;colinhacks](https://github.com/colinhacks) - [`a6b49390`](https://github.com/colinhacks/zod/commit/a6b49390) Mark the compile internals [@&#8203;internal](https://github.com/internal) instead of hiding them ([#&#8203;6518](https://github.com/colinhacks/zod/pull/6518)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`40b4d0b3`](https://github.com/colinhacks/zod/commit/40b4d0b3) fix(ci): read zod's latest version with npm view when picking the backfill dist-tag by [@&#8203;colinhacks](https://github.com/colinhacks) - [`5ff95665`](https://github.com/colinhacks/zod/commit/5ff95665) Stop re-exporting the compile internals from zod/v4/core ([#&#8203;6511](https://github.com/colinhacks/zod/pull/6511)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`f412178d`](https://github.com/colinhacks/zod/commit/f412178d) ci: publish [@&#8203;zod/mini](https://github.com/zod/mini) to JSR in lockstep with npm ([#&#8203;6510](https://github.com/colinhacks/zod/pull/6510)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`f3e7c72e`](https://github.com/colinhacks/zod/commit/f3e7c72e) fix(docs): render the docs 404 page inside the (doc) layout once by [@&#8203;colinhacks](https://github.com/colinhacks) - [`f3cb3644`](https://github.com/colinhacks/zod/commit/f3cb3644) docs: surface the blog on the home page and in the sidebar by [@&#8203;colinhacks](https://github.com/colinhacks) - [`cd4f9a67`](https://github.com/colinhacks/zod/commit/cd4f9a67) perf(v4): report Standard Schema issues without constructing a ZodError ([#&#8203;6509](https://github.com/colinhacks/zod/pull/6509)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`43b9bfc5`](https://github.com/colinhacks/zod/commit/43b9bfc5) docs: drop the bound-methods section from the Zod package page by [@&#8203;colinhacks](https://github.com/colinhacks) - [`70eb2c07`](https://github.com/colinhacks/zod/commit/70eb2c07) docs: drop the traits section and the compilation feature bullet by [@&#8203;colinhacks](https://github.com/colinhacks) - [`1c0bce0c`](https://github.com/colinhacks/zod/commit/1c0bce0c) docs: bring the 4.5 charts and worked examples into the docs pages by [@&#8203;colinhacks](https://github.com/colinhacks) - [`a0898b4b`](https://github.com/colinhacks/zod/commit/a0898b4b) ci: wait hours for npm to serve a publish, not ten minutes ([#&#8203;6502](https://github.com/colinhacks/zod/pull/6502)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`c46eeff0`](https://github.com/colinhacks/zod/commit/c46eeff0) chore: narrow blanket biome-ignore comments ([#&#8203;6504](https://github.com/colinhacks/zod/pull/6504)) by [@&#8203;pullfrog\[bot\]](https://github.com/pullfrog\[bot]) - [`c7ec94d3`](https://github.com/colinhacks/zod/commit/c7ec94d3) ci: check zod and [@&#8203;zod/mini](https://github.com/zod/mini) lockstep on npm after every publish ([#&#8203;6507](https://github.com/colinhacks/zod/pull/6507)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`81065739`](https://github.com/colinhacks/zod/commit/81065739) chore(docs): build with Turbopack by [@&#8203;colinhacks](https://github.com/colinhacks) - [`abd41adb`](https://github.com/colinhacks/zod/commit/abd41adb) docs(wiki): move plans and comparisons into a gitignored internal/ ([#&#8203;6506](https://github.com/colinhacks/zod/pull/6506)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`2956c4c2`](https://github.com/colinhacks/zod/commit/2956c4c2) chore(mini): sync [@&#8203;zod/mini](https://github.com/zod/mini) to 4.5.4 by [@&#8203;colinhacks](https://github.com/colinhacks) - [`8ce9e8d5`](https://github.com/colinhacks/zod/commit/8ce9e8d5) feat(mini): publish Zod Mini as the standalone [@&#8203;zod/mini](https://github.com/zod/mini) package ([#&#8203;6491](https://github.com/colinhacks/zod/pull/6491)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`93186cab`](https://github.com/colinhacks/zod/commit/93186cab) docs(wiki): drop the zod-compiler benchmark ([#&#8203;6505](https://github.com/colinhacks/zod/pull/6505)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`908c9e17`](https://github.com/colinhacks/zod/commit/908c9e17) fix(docs): retry the GitHub stars fetch and log the real status by [@&#8203;colinhacks](https://github.com/colinhacks) ### [`v4.5.4`](https://github.com/colinhacks/zod/releases/tag/v4.5.4) [Compare Source](https://github.com/colinhacks/zod/compare/v4.5.3...v4.5.4) #### Commits: - [`84e416f`](https://github.com/colinhacks/zod/commit/84e416fbf4740527bbc8f319634f4e1b065bb42c) fix(v4): stop the cycle walk from firing a default factory ([#&#8203;6500](https://github.com/colinhacks/zod/issues/6500)) - [`e8e206f`](https://github.com/colinhacks/zod/commit/e8e206fa33ac5fe7ce20a2beb12d57b1cb3df653) 4.5.4 ### [`v4.5.3`](https://github.com/colinhacks/zod/releases/tag/v4.5.3) [Compare Source](https://github.com/colinhacks/zod/compare/v4.5.2...v4.5.3) #### Commits: - [`e6b6ab3`](https://github.com/colinhacks/zod/commit/e6b6ab347675cd2bd54b1bdbed16f98c59be82a9) docs(blog): widen the z.compile example to a 20-property schema - [`87d6464`](https://github.com/colinhacks/zod/commit/87d6464418582bb96fc665a01f852ca6da324ad0) fix(docs): drop the OG description when the title wraps past two lines - [`99fce39`](https://github.com/colinhacks/zod/commit/99fce394a026823e602b9c30d8d5d9f5f1932ce7) bench(v4): z.compile() against zod-compiler ([#&#8203;6499](https://github.com/colinhacks/zod/issues/6499)) - [`e3a695b`](https://github.com/colinhacks/zod/commit/e3a695b6bf3f0d591ea682816e3cdaea04b0f967) docs(v4): record the email regex and container output-shape findings under Open - [`7e24a24`](https://github.com/colinhacks/zod/commit/7e24a24288183ce02554f1ded7775d0650a7b7e6) docs(blog): drop the reading time and put a GitHub link in the navbar - [`eab51ff`](https://github.com/colinhacks/zod/commit/eab51ff3592b2d11d863f4ee4d5452f31a3de1b6) fix(v4): emit record numeric keys as strings in toJSONSchema ([#&#8203;6497](https://github.com/colinhacks/zod/issues/6497)) ### [`v4.5.2`](https://github.com/colinhacks/zod/releases/tag/v4.5.2) [Compare Source](https://github.com/colinhacks/zod/compare/v4.5.1...v4.5.2) #### Commits: - [`a354314`](https://github.com/colinhacks/zod/commit/a354314ac04fdd5484aa62dd5c3a4b553211a0e4) fix(docs): keep blog posts out of the docs collection ([#&#8203;6484](https://github.com/colinhacks/zod/issues/6484)) - [`d378c42`](https://github.com/colinhacks/zod/commit/d378c42aff6869f0929058a7923cd775880f5c4c) ci: drop canary publishing from the release workflow ([#&#8203;6487](https://github.com/colinhacks/zod/issues/6487)) - [`212b941`](https://github.com/colinhacks/zod/commit/212b941791e7faae078e17645eb612824fd8f79a) fix(v4): let a prototype method getter answer a bare call so vi.spyOn works ([#&#8203;6488](https://github.com/colinhacks/zod/issues/6488)) - [`e7576f5`](https://github.com/colinhacks/zod/commit/e7576f542a7bc7ef3cc5eeec237714fd0e6b6e98) docs(blog): let the page show through the navbar in dark mode ([#&#8203;6489](https://github.com/colinhacks/zod/issues/6489)) - [`fedb06f`](https://github.com/colinhacks/zod/commit/fedb06fafe33a66ce0b5c236ad2557e0a5a170fe) fix(docs): match the blog TOC hover bar to the 2px active indicator - [`6c932fc`](https://github.com/colinhacks/zod/commit/6c932fcb2eea6eb671710ea058ca9fdc382ada89) chore: bump devcontainer image to Node 24 ([#&#8203;6470](https://github.com/colinhacks/zod/issues/6470)) - [`6635d9d`](https://github.com/colinhacks/zod/commit/6635d9dd367a664109de83c021995821f48efa29) docs(blog): soften the "method memoization" attribution - [`019ae29`](https://github.com/colinhacks/zod/commit/019ae299cc75daa132bf1acf59086a520abf6b85) fix(docs): drop ISR on the docs route so the home page hydrates - [`652bb43`](https://github.com/colinhacks/zod/commit/652bb438aa4c626c1cd7948c6849c4691239fca7) chore(docs): drop the scroll log from the route-change scroller - [`571c8e8`](https://github.com/colinhacks/zod/commit/571c8e8a3d73b4305f4abfdd6977773cc12f2bf5) fix(docs): render blog tabs with the stock fumadocs tab card - [`9a193aa`](https://github.com/colinhacks/zod/commit/9a193aa24b4efa3b315b91d4c56c8bc385b8513f) 4.5.2 ### [`v4.5.1`](https://github.com/colinhacks/zod/releases/tag/v4.5.1) [Compare Source](https://github.com/colinhacks/zod/compare/v4.5.0...v4.5.1) #### Commits: - [`2e862db`](https://github.com/colinhacks/zod/commit/2e862dbf89da2835e5206a8fd3d3be61afe3cf7f) ci: gate the GitHub release and JSR publish on the version being live on npm - [`8e03380`](https://github.com/colinhacks/zod/commit/8e03380510db36fa6fda979fc78a375fdea8021c) 4.5.1 ### [`v4.5.0`](https://github.com/colinhacks/zod/releases/tag/v4.5.0) [Compare Source](https://github.com/colinhacks/zod/compare/v4.4.3...v4.5.0) Zod 4.5 is now available. ```sh npm install zod@latest ``` At a glance: - [`z.compile()`](#zcompile) — the flagship feature of Zod 4.5 - [`z.creditCard()`](#zcreditcard) — 12–19 digits plus Luhn checksum - [`z.properties()`](#zproperties) — the multi-property counterpart to `z.property()` - [`z.deepPartial()`](#zdeeppartial)/[`.exactPartial()`](#exactpartial) - [`z.validate(): boolean`](#zvalidate) — a fast-path to verify input validity without a full parse (up to 16x faster on invalid data) - [9x reduction in memory footprint](#&#8203;9x-reduction-in-schema-memory-footprint) - [New locales](https://zod.dev/error-customization#locales): Bengali (`bn`), Central Kurdish (`ckb`), Hindi (`hi`), Kannada (`kn`), Norwegian Nynorsk (`nn`), Brazilian Portuguese (`pt-BR`), Slovak (`sk`), Turkmen (`tk`) #### `z.compile()` You can now pre-compile any Zod schema using `z.compile(schema)`. This dramatically speeds up parsing performance. ```ts import * as z from "zod"; const Player = z.object({ username: z.string(), bio: z.string(), xp: z.number(), // ...20 more properties... }); const CompiledPlayer = z.compile(Player); ``` A compiled schema can be used *exactly* like an uncompiled one. There are no special rules around compiled schemas. They're just faster. ```ts Player.parse({ ... }); CompiledPlayer.parse({ ... }); // ~9x faster ``` On objects, arrays, and unions, this speeds up parsing by a factor of \~3–9. More complex schemas stand to benefit more than simpler ones. <picture> <source media="(prefers-color-scheme: dark)" srcset="https://zod.dev/blog/compile-speedup-dark.svg"> <img alt="Time per parse on a shared nanosecond axis, standard parser as a gray bar with the compiled time as a blue bar inside it: an array of 10 objects 377 ns to 68 ns (5.5x), a 20-key object 301 ns to 38 ns (7.8x), an array of 10 strings 241 ns to 33 ns (7.3x), a union of 3 objects 190 ns to 36 ns (5.3x), a 3-element tuple 119 ns to 33 ns (3.6x), a 5-key strict object 117 ns to 32 ns (3.7x), a discriminated union 92 ns to 27 ns (3.4x), a 5-key object 76 ns to 28 ns (2.8x); up to 7.8x faster when compiled" src="https://zod.dev/blog/compile-speedup-light.svg"> </picture> *Time per parse by schema type, standard parser vs compiled — lower is better ([benchmark](https://github.com/colinhacks/zod/blob/main/packages/bench/compile-matrix.ts))* Below are the Moltar benchmark results comparing Zod (compiled and uncompiled) against the [**Moltar ParseSafe**](https://github.com/moltar/typescript-runtime-type-benchmarks) bench. <picture> <source media="(prefers-color-scheme: dark)" srcset="https://zod.dev/blog/moltar-dark.svg"> <img alt="Bar chart of operations per second on the moltar benchmark fixture, parseSafe category: Zod 4 compiled 47.5M, typia 45.3M, Zod 4 11.6M, valibot 1.8M, effect 1.7M, Zod 3 1.2M, arktype 152k, yup 121k" src="https://zod.dev/blog/moltar-light.svg"> </picture> *Throughput on the moltar benchmark fixture (parseSafe: returns a new object with unknown keys stripped) — higher is better ([benchmark](https://github.com/moltar/typescript-runtime-type-benchmarks/pull/2329))* And the equivalent results for the Moltar AssertLoose bench. Tested against the new `z.validate(schema, input)` function (detailed later in the post). <picture> <source media="(prefers-color-scheme: dark)" srcset="https://zod.dev/blog/moltar-assertLoose-dark.svg"> <img alt="Bar chart of operations per second on the moltar benchmark fixture, assertLoose category: typia 74.9M, arktype 66.2M, Zod 4 compiled 60.6M, Zod 4 6.5M, valibot 1.9M, effect 1.7M, Zod 3 1.2M, yup 124k" src="https://zod.dev/blog/moltar-assertLoose-light.svg"> </picture> *Throughput on the moltar benchmark fixture (assertLoose: returns a boolean, unknown keys allowed) — higher is better ([benchmark](https://github.com/moltar/typescript-runtime-type-benchmarks/pull/2329))* Zod's entire test suite runs twice—once normally and again with auto-compilation enabled globally—to ensure perfect fidelity. <details> <summary>How it works</summary> Under the hood, `z.compile()` walks the entire schema once and produces a hyperoptimized snippet of flat, loop-free JavaScript that can validate inputs far faster than a standard runtime validator. This snippet can be executed via `new Function()` (effectively a more powerful `eval`) to serve as a fast-path validator. Schemas use this to "fast check" validity, falling back to the regular runtime logic on validation failure to provide granular error information. Take this simple `Point` schema: ```ts const Point = z.object({ x: z.number(), y: z.number() }); ``` Here is the generated snippet for it: ```ts const isPoint = new Function("input", ` if (typeof input !== "object" || input === null) return false; if (typeof input.x !== "number") return false; if (typeof input.y !== "number") return false; return true; `); isPoint({ x: 1, y: 2 }); // true isPoint({ x: "1" }); // false ``` For the large majority of inputs, the generated function validates the data with the fastest logic JavaScript can express: straight-line `typeof` checks and property reads, with no interpreter in between. When it can't handle an input, Zod falls back to the standard parser. This is the function Zod generates for the `Player` schema above: ```js if (typeof input !== "object" || input === null || Array.isArray(input)) return INVALID; const v0 = input["username"]; if (typeof v0 !== "string") return INVALID; const v1 = input["bio"]; if (typeof v1 !== "string") return INVALID; const v2 = input["xp"]; if (typeof v2 !== "number" || !Number.isFinite(v2)) return INVALID; const v3 = { "username": v0, "bio": v1, "xp": v2 }; return v3; ``` Armed with the power of `new Function()`, this happens in-process at runtime. There is no need to integrate with your build system. > The compiled schema is purely additive on top of the existing schema. It tacks on the pre-compiled fast path for checking valid inputs. When invalid data is detected, it returns the `INVALID` symbol to signal that parsing should fall back to the uncompiled parser. This structurally prevents subtle deviations in error reporting between compiled and uncompiled variants. </details> ##### `import "zod/compile"` To compile every schema in an application, import `zod/compile` once at the top of your entry point. Every schema constructed after that import is *automatically compiled* the first time it's used to parse data. ```ts import "zod/compile"; // must come before modules that define schemas import * as z from "zod"; const schema = z.object({ name: z.string() }); schema.parse({ name: "ok" }); // compiled on first parse ``` It also works as a Node.js CLI flag, which guarantees it runs before any module defines a schema: ```sh node --import zod/compile app.js ``` Or set `preload` in [`bunfig.toml`](https://bun.com/docs/runtime/bunfig#preload) or [`nub.jsonc`](https://nubjs.com/docs/config#preload). ```jsonc { "preload": ["zod/compile"] } ``` All schemas benefit to varying degrees, though complex object/tuple/array schemas benefit more than simple scalar validators. > Read the [docs](https://zod.dev/compile), or the full technical writeup: [Introducing `z.compile()`](https://zod.dev/blog/introducing-z-compile) #### `z.creditCard()` A new string format: 12–19 digits, optionally separated by single spaces or hyphens, with a valid Luhn checksum. ([#&#8203;5931](https://github.com/colinhacks/zod/pull/5931)) ```ts z.creditCard().parse("4111 1111 1111 1111"); // ✅ z.creditCard().parse("4111 1111 1111 1112"); // ❌ bad checksum ``` #### `z.properties()` The multi-property counterpart to `z.property()`. ([#&#8203;5912](https://github.com/colinhacks/zod/pull/5912)) ```ts const httpsUrl = z.instanceof(URL).check( ...z.properties({ protocol: z.literal("https:" as string), hostname: z.string().regex(z.regexes.domain), }) ); httpsUrl.parse(new URL("https://example.com")); // ✅ httpsUrl.parse(new URL("http://localhost")); // ❌ protocol ``` #### `z.deepPartial()` Back in functional form after being removed as a method in Zod 4. ([#&#8203;5928](https://github.com/colinhacks/zod/pull/5928)) ```ts const Post = z.object({ title: z.string(), author: z.object({ name: z.string(), email: z.string() }), }); const PartialPost = z.deepPartial(Post); type PartialPost = z.output<typeof PartialPost>; // => { title?: string; author?: { name?: string; email?: string } } PartialPost.parse({ author: {} }); // ✅ ``` The result is still a `ZodObject`, so `.shape` and `.extend()` keep working. #### `.exactPartial()` Like `.partial()`, but wraps each field in `z.exactOptional()` instead of `z.optional()`: keys may be omitted, but an explicit `undefined` is rejected. This matches TypeScript's `Partial<>` under `exactOptionalPropertyTypes`. ([#&#8203;6065](https://github.com/colinhacks/zod/pull/6065)) ```ts const Recipe = z.object({ title: z.string(), servings: z.number() }); const PartialRecipe = Recipe.exactPartial(); PartialRecipe.parse({}); // ✅ PartialRecipe.parse({ title: undefined }); // ❌ ``` In Zod Mini it's a top-level function: `z.exactPartial(Recipe)`. #### `z.validate()` Standalone boolean validation, in Zod, Zod Mini, and Zod Core. It answers "is this input valid?" without constructing a `ZodError`, which makes rejection cheap: on invalid input it is up to 16x faster than `.safeParse().success`. The return type is a guard on the schema's input type, and `z.validateAsync()` covers schemas with async refinements. ([#&#8203;6471](https://github.com/colinhacks/zod/pull/6471)) ```ts z.validate(z.string(), "hi"); // true z.validate(z.string(), 42); // false ``` #### `z.input()` / `z.output()` Project a schema onto its input or output side. Useful for validating the two halves of a codec independently. ([#&#8203;5928](https://github.com/colinhacks/zod/pull/5928)) ```ts const isoDate = z.codec(z.iso.datetime(), z.date(), { decode: (s) => new Date(s), encode: (d) => d.toISOString(), }); const Event = z.object({ name: z.string(), at: isoDate }); z.input(Event).parse({ name: "launch", at: "2024-01-01T00:00:00Z" }); // ✅ z.output(Event).parse({ name: "launch", at: new Date() }); // ✅ ``` This is a no-op on schemas not containing codecs/pipes. #### `z.toZod<T>()` A utility to define a Zod schema that agrees exactly with a static type, often one that is handwritten or externally defined. ([#&#8203;5913](https://github.com/colinhacks/zod/pull/5913)) ```ts type Player = { username: string; xp: number }; const Player = z.toZod<Player>()( z.object({ username: z.string(), xp: z.number(), }) ); Player.shape.username; // ZodString — the schema is returned unchanged ``` #### `z.getDiscriminatedOption()` Extract a discriminated union member by discriminator value. ([#&#8203;5947](https://github.com/colinhacks/zod/pull/5947)) ```ts const Fruit = z.object({ type: z.literal("fruit"), seeds: z.boolean() }); const Veg = z.object({ type: z.literal("vegetable"), leafy: z.boolean() }); const Produce = z.discriminatedUnion("type", [Fruit, Veg]); z.getDiscriminatedOption(Produce, "fruit"); // typeof Fruit z.getDiscriminatedOption(Produce, "meat"); // ❌ TypeScript error ``` #### Cyclical inputs Zod recursive schemas now support cyclical data. For bundle size reasons, Zod Mini requires you to register a memoizer explicitly. ([#&#8203;6387](https://github.com/colinhacks/zod/pull/6387), [#&#8203;6482](https://github.com/colinhacks/zod/pull/6482)) **Zod** ```ts const Category = z.object({ name: z.string(), get subcategories() { return z.array(Category); }, }); const input: any = { name: "root", subcategories: [] }; input.subcategories.push(input); const result = Category.parse(input); result.subcategories[0] === result; // true ``` **Zod Mini** ```ts // register a memoizer before defining any schemas z.config({ memoizer: z.memoizer() }); const result = Category.parse(input); result.subcategories[0] === result; // true ``` #### 9x reduction in schema memory footprint In Zod 4.4 a bare `z.string()` retained 7.5kb of heap. In Zod 4.5 it retains 784 bytes. <picture> <source media="(prefers-color-scheme: dark)" srcset="https://zod.dev/blog/memory-dark.svg"> <img alt="Bar chart of heap retained by one schema instance, zod 4.4.3 versus 4.5: a 10-key object 82.0kb to 11.0kb, a union 17.5kb to 2.13kb, z.string().min(1) 16.7kb to 3.37kb, a record 16.4kb to 2.64kb, z.string().optional() 12.6kb to 1.50kb, an array of strings 11.2kb to 1.93kb, z.string() 7.53kb to 784b, z.number() 4.44kb to 706b. Up to 9.8x smaller than 4.4.3." src="https://zod.dev/blog/memory-light.svg"> </picture> *Retained heap per schema instance, Zod 4.4.3 vs 4.5 ([benchmark](https://github.com/colinhacks/zod/blob/main/packages/bench/memory/schema-footprint.ts))* In Zod 4.4 and earlier, all schema methods were automatically bound to the instance itself. This allowed users to pluck methods from schemas without causing issues due to `this`-binding. ```ts const { parse } = z.string(); parse("some data"); ``` A consequence of this is that each bound method allocates space on the heap; method implementations are not shared across all instances via `prototype`, as you'd expect. Zod 4.5 implements a method memoization pattern that avoids allocating bound methods until they are actually accessed. > Read the deep dive: [Reducing Zod's memory footprint by an order of magnitude](https://zod.dev/blog/reducing-memory-footprint) #### Faster failures Zod `.parse()`/`.safeParse()` instantiates a JavaScript `Error`, which captures a stack trace. In the case of validation failures, this is often much slower than the parsing logic itself. When using `.safeParse()`, Zod no longer captures this stack trace, speeding up failure-path parses by a factor of \~7.5x. ([#&#8203;6316](https://github.com/colinhacks/zod/pull/6316), [#&#8203;6450](https://github.com/colinhacks/zod/pull/6450)) ```ts const result = Player.safeParse({ username: 42, bio: "hello", xp: 12 }); result.success; // false — ~7.5x faster than Zod 4.4 ``` <picture> <source media="(prefers-color-scheme: dark)" srcset="https://zod.dev/blog/fail-dark.svg"> <img alt="Bar chart of time per failing safeParse: zod 4.4 at 6.3 microseconds, zod 4.5 at 840 nanoseconds — 7.6x faster" src="https://zod.dev/blog/fail-light.svg"> </picture> *Player schema ([benchmark](https://github.com/colinhacks/zod/blob/main/packages/bench/failing-safeparse.ts))* #### Symbol keys in `z.object()` A shape can now declare a symbol key. TypeScript tracks it: a `const` symbol infers as `unique symbol`, so `z.infer` makes the key required and checks its value type. Undeclared symbol keys are still ignored. ([#&#8203;6448](https://github.com/colinhacks/zod/pull/6448)) ```ts const TAG = Symbol("tag"); const schema = z.object({ name: z.string(), [TAG]: z.number() }); schema.parse({ name: "alice", [TAG]: 42 }); // ✅ { name: "alice", [TAG]: 42 } schema.safeParse({ name: "alice" }); // ❌ the symbol key is required ``` #### Bug fixes All of these fix soundness issues, so a schema that relied on the old behavior may now reject input it used to accept. ##### ⚠️ `z.iso.datetime()` requires seconds RFC 3339 mandates seconds. `z.iso.datetime()` and `z.iso.datetime({ offset: true })` no longer accept minute-precision input like `2020-01-01T06:15Z`. `local: true` still admits `2020-01-01T06:15`, since an unqualified datetime is outside RFC 3339 either way. ([#&#8203;6457](https://github.com/colinhacks/zod/pull/6457)) ```ts z.iso.datetime().parse("2020-01-01T06:15:00Z"); // ✅ z.iso.datetime().parse("2020-01-01T06:15Z"); // ❌ was accepted in 4.4 ``` To accept both forms, union the two precisions: ```ts z.union([z.iso.datetime(), z.iso.datetime({ precision: -1 })]); ``` ##### ⚠️ String length counts code points `.min()`, `.max()`, and `.length()` counted UTF-16 code units, so `z.string().max(5)` rejected five emoji. They now count Unicode code points, which is what every non-JS consumer of a length bound does (Postgres, MySQL, Go, Python, and the `maxLength` that `z.toJSONSchema()` emits). `.max()` only loosens; `.min()` and `.length()` tighten for astral input. Graphemes are unchanged — a ZWJ sequence is still several code points. ([#&#8203;6441](https://github.com/colinhacks/zod/pull/6441)) ```ts z.string().max(5).parse("😀😀😀😀😀"); // was too_big, now passes z.string().min(5).parse("😀😀😀"); // was fine, now too_small ``` Closes [#&#8203;3355](https://github.com/colinhacks/zod/issues/3355). ##### ⚠️ Record keys and intersections match TypeScript A record's key schema now governs only the keys that match it, the way TypeScript treats an index signature. Intersecting an object with a pattern-keyed record no longer rejects the object's own keys. ([#&#8203;6412](https://github.com/colinhacks/zod/pull/6412)) ```ts z.object({ name: z.string() }) .and(z.record(z.string().regex(/^S_/), z.string())) .parse({ name: "a", S_a: "s" }); // 4.4: throws invalid_key on "name" // 4.5: { name: "a", S_a: "s" } ``` Separately, an `unrecognized_keys` issue no longer aborts the schema it came from, so a strict object with an extra key *and* a bad value now reports both issues instead of just the first. Closes [#&#8203;2200](https://github.com/colinhacks/zod/issues/2200), [#&#8203;2573](https://github.com/colinhacks/zod/issues/2573), [#&#8203;4017](https://github.com/colinhacks/zod/issues/4017), [#&#8203;5663](https://github.com/colinhacks/zod/issues/5663). ##### ⚠️ `__proto__` is always stripped Object and record parsers now drop a `__proto__` key whether it comes from the input, is declared by the schema, or is produced by a record key transform. A key that a record's key schema *normalizes* to `__proto__` is dropped too. `.strict()` reports an own `__proto__` input key as `unrecognized_keys` instead of silently swallowing it. Error formatters and both JSON Schema converters use own-property writes so a `toString` or `constructor` path segment can't walk onto `Object.prototype` ([#&#8203;6213](https://github.com/colinhacks/zod/pull/6213), [#&#8203;6367](https://github.com/colinhacks/zod/pull/6367), [#&#8203;6346](https://github.com/colinhacks/zod/pull/6346)). ([#&#8203;6386](https://github.com/colinhacks/zod/pull/6386), [#&#8203;6354](https://github.com/colinhacks/zod/pull/6354), [#&#8203;6355](https://github.com/colinhacks/zod/pull/6355), [#&#8203;6221](https://github.com/colinhacks/zod/pull/6221)) ##### ⚠️ Stricter string formats - `z.ipv6()` validated by handing the string to `new URL()`, which let `::@1\` and `::1\n` through. It now checks the address alphabet directly ([#&#8203;6442](https://github.com/colinhacks/zod/pull/6442)). - `z.ulid()` restricts the first character to `0`–`7`; anything higher overflows the 48-bit timestamp. A fixture that doesn't start with a real timestamp, such as one with a leading letter, is now rejected ([#&#8203;6095](https://github.com/colinhacks/zod/pull/6095)). - `z.httpUrl()` enforces the RFC 1035 length limits on the host, matching `z.hostname()` ([#&#8203;6035](https://github.com/colinhacks/zod/pull/6035)). - `z.emoji()` no longer backtracks exponentially on a failed match ([#&#8203;6347](https://github.com/colinhacks/zod/pull/6347)). - `z.string().includes(sub, { position: N })` emits a JSON Schema pattern that allows *at least* N leading characters, matching `String.prototype.includes` ([#&#8203;6024](https://github.com/colinhacks/zod/pull/6024)). #### Commits Zod 4.5 rolls up 155 commits. Thanks to everyone who contributed: [@&#8203;dokson](https://github.com/dokson), [@&#8203;deepshekhardas](https://github.com/deepshekhardas), [@&#8203;zirkelc](https://github.com/zirkelc), [@&#8203;francisjohnjohnston-web](https://github.com/francisjohnjohnston-web), [@&#8203;MerlijnW70](https://github.com/MerlijnW70), [@&#8203;codinsonn](https://github.com/codinsonn), [@&#8203;oimo23](https://github.com/oimo23), [@&#8203;JSap0914](https://github.com/JSap0914), [@&#8203;zelinewang](https://github.com/zelinewang), [@&#8203;abhishek-chaudhary2003](https://github.com/abhishek-chaudhary2003), [@&#8203;spokodev](https://github.com/spokodev), [@&#8203;Mohammad-Faiz-Cloud-Engineer](https://github.com/Mohammad-Faiz-Cloud-Engineer), [@&#8203;hamed-bavar](https://github.com/hamed-bavar), [@&#8203;MGPOCKY](https://github.com/MGPOCKY), [@&#8203;ChiChuRita](https://github.com/ChiChuRita), [@&#8203;dinwwwh](https://github.com/dinwwwh), [@&#8203;thristhart](https://github.com/thristhart), [@&#8203;tsmartin9](https://github.com/tsmartin9), [@&#8203;vedanshshetti](https://github.com/vedanshshetti), [@&#8203;belicam](https://github.com/belicam), [@&#8203;frastefanini](https://github.com/frastefanini), [@&#8203;andersk](https://github.com/andersk), [@&#8203;musaddiq-rafi](https://github.com/musaddiq-rafi), [@&#8203;tachmyratsaparmyradov](https://github.com/tachmyratsaparmyradov), [@&#8203;arvindfroi](https://github.com/arvindfroi), [@&#8203;KUMachine](https://github.com/KUMachine), [@&#8203;spidersouris](https://github.com/spidersouris), [@&#8203;catdalfonso](https://github.com/catdalfonso), [@&#8203;mneetika](https://github.com/mneetika), [@&#8203;gwagjiug](https://github.com/gwagjiug), [@&#8203;MahinAnowar](https://github.com/MahinAnowar), [@&#8203;MaksZhukov](https://github.com/MaksZhukov), [@&#8203;emmayusufu](https://github.com/emmayusufu), [@&#8203;agcty](https://github.com/agcty), [@&#8203;devareddy05](https://github.com/devareddy05), [@&#8203;Vish05](https://github.com/Vish05), [@&#8203;yamcodes](https://github.com/yamcodes), [@&#8203;mattiasahlsen](https://github.com/mattiasahlsen), [@&#8203;samchungy](https://github.com/samchungy), [@&#8203;ozzyfromspace](https://github.com/ozzyfromspace), [@&#8203;udohjeremiah](https://github.com/udohjeremiah), [@&#8203;patrickwehbe](https://github.com/patrickwehbe), [@&#8203;gajus](https://github.com/gajus), [@&#8203;Harm-Nullix](https://github.com/Harm-Nullix), [@&#8203;thwbh](https://github.com/thwbh), [@&#8203;IdanGonen](https://github.com/IdanGonen), [@&#8203;irfanfandi](https://github.com/irfanfandi), [@&#8203;JuerGenie](https://github.com/JuerGenie), [@&#8203;marcalexiei](https://github.com/marcalexiei), [@&#8203;itsahmedbilal](https://github.com/itsahmedbilal), [@&#8203;DucMinhNe](https://github.com/DucMinhNe), [@&#8203;meliharik](https://github.com/meliharik). - [`9782f87c`](https://github.com/colinhacks/zod/commit/9782f87c) perf(v4): validate without building the output, and keep schemas out of dictionary mode ([#&#8203;6480](https://github.com/colinhacks/zod/pull/6480)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`773a4867`](https://github.com/colinhacks/zod/commit/773a4867) refactor(v4): declare a trait's members on $constructor ([#&#8203;6478](https://github.com/colinhacks/zod/pull/6478)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`68fb3f13`](https://github.com/colinhacks/zod/commit/68fb3f13) feat(v4): make z.compile() fall back instead of throwing ([#&#8203;6479](https://github.com/colinhacks/zod/pull/6479)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`37b01501`](https://github.com/colinhacks/zod/commit/37b01501) feat(v4): add z.isValid and z.isValidAsync ([#&#8203;6471](https://github.com/colinhacks/zod/pull/6471)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`749f5452`](https://github.com/colinhacks/zod/commit/749f5452) docs: add fullproduct.dev to v4 ecosystem page ([#&#8203;6001](https://github.com/colinhacks/zod/pull/6001)) by [@&#8203;codinsonn](https://github.com/codinsonn) - [`24cdb7fd`](https://github.com/colinhacks/zod/commit/24cdb7fd) perf(v4): close the fastpass bindings into the compiled parser ([#&#8203;6464](https://github.com/colinhacks/zod/pull/6464)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`8d896186`](https://github.com/colinhacks/zod/commit/8d896186) fix(v4): stop emitting a multipleOf that JSON Schema rejects ([#&#8203;6468](https://github.com/colinhacks/zod/pull/6468)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`43f729db`](https://github.com/colinhacks/zod/commit/43f729db) feat(v4): make a tuple's items optional with .partial() ([#&#8203;6465](https://github.com/colinhacks/zod/pull/6465)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`97edaf7d`](https://github.com/colinhacks/zod/commit/97edaf7d) fix(v4): don't throw from safeParse on bigint multipleOf(0n) ([#&#8203;6466](https://github.com/colinhacks/zod/pull/6466)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`21a6f0cb`](https://github.com/colinhacks/zod/commit/21a6f0cb) feat(v4): let z.nanoid() take a custom length ([#&#8203;4004](https://github.com/colinhacks/zod/pull/4004)) by [@&#8203;oimo23](https://github.com/oimo23) - [`9d5b20ef`](https://github.com/colinhacks/zod/commit/9d5b20ef) fix(v4): restrict the first ULID character to \[0-7] ([#&#8203;6095](https://github.com/colinhacks/zod/pull/6095)) by [@&#8203;JSap0914](https://github.com/JSap0914) - [`1cf9cd09`](https://github.com/colinhacks/zod/commit/1cf9cd09) docs: record that error maps run per parse, and how to translate at render by [@&#8203;colinhacks](https://github.com/colinhacks) - [`7ce3e77d`](https://github.com/colinhacks/zod/commit/7ce3e77d) fix(v4): run a wrapper's inner schema on its own payload ([#&#8203;6462](https://github.com/colinhacks/zod/pull/6462)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`7b612b53`](https://github.com/colinhacks/zod/commit/7b612b53) fix(v4): fold an intersection of object schemas into one object ([#&#8203;6461](https://github.com/colinhacks/zod/pull/6461)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`1c43b774`](https://github.com/colinhacks/zod/commit/1c43b774) docs(v4): record why the failure path is not worth compiling by [@&#8203;colinhacks](https://github.com/colinhacks) - [`badf0b78`](https://github.com/colinhacks/zod/commit/badf0b78) fix(v4): build the catch context from the input that failed ([#&#8203;6192](https://github.com/colinhacks/zod/pull/6192)) by [@&#8203;zelinewang](https://github.com/zelinewang) - [`a87ac366`](https://github.com/colinhacks/zod/commit/a87ac366) fix(v4)!: distinguish number and bigint formats at the type level ([#&#8203;6052](https://github.com/colinhacks/zod/pull/6052)) by [@&#8203;abhishek-chaudhary2003](https://github.com/abhishek-chaudhary2003) - [`6726c1dd`](https://github.com/colinhacks/zod/commit/6726c1dd) docs: record what z.input and z.output do with transforms and wrappers by [@&#8203;colinhacks](https://github.com/colinhacks) - [`7cfc0122`](https://github.com/colinhacks/zod/commit/7cfc0122) fix(v4): keep a wrapper's stored value only on the side it belongs to by [@&#8203;colinhacks](https://github.com/colinhacks) - [`a825c1b0`](https://github.com/colinhacks/zod/commit/a825c1b0) fix(v4): empty enums and literals match nothing ([#&#8203;6459](https://github.com/colinhacks/zod/pull/6459)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`7c070db9`](https://github.com/colinhacks/zod/commit/7c070db9) feat(v4): expose the function schema on .implement() results ([#&#8203;6267](https://github.com/colinhacks/zod/pull/6267)) by [@&#8203;deepshekhardas](https://github.com/deepshekhardas) - [`3a496968`](https://github.com/colinhacks/zod/commit/3a496968) fix(v4): make record input keys optional when the value can fill them ([#&#8203;6460](https://github.com/colinhacks/zod/pull/6460)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`53cec2a0`](https://github.com/colinhacks/zod/commit/53cec2a0) fix(v4): resolve z.input past a preprocess transform by [@&#8203;colinhacks](https://github.com/colinhacks) - [`2125d30c`](https://github.com/colinhacks/zod/commit/2125d30c) fix(v4): accept exact decimal multiples in multipleOf ([#&#8203;6223](https://github.com/colinhacks/zod/pull/6223)) by [@&#8203;spokodev](https://github.com/spokodev) - [`168122fc`](https://github.com/colinhacks/zod/commit/168122fc) fix(v4): carry a pipe's own checks through z.output by [@&#8203;colinhacks](https://github.com/colinhacks) - [`51a1368a`](https://github.com/colinhacks/zod/commit/51a1368a) fix(v4): let the includes(position) pattern match at or after the offset ([#&#8203;6024](https://github.com/colinhacks/zod/pull/6024)) by [@&#8203;francisjohnjohnston-web](https://github.com/francisjohnjohnston-web) - [`72a05c4f`](https://github.com/colinhacks/zod/commit/72a05c4f) feat(v4): expose stringbool truthy/falsy/case via \_zod.bag ([#&#8203;6357](https://github.com/colinhacks/zod/pull/6357)) by [@&#8203;hamed-bavar](https://github.com/hamed-bavar) - [`036b39f4`](https://github.com/colinhacks/zod/commit/036b39f4) fix(v4)!: require seconds once a datetime carries a Z or an offset ([#&#8203;6457](https://github.com/colinhacks/zod/pull/6457)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`5825605e`](https://github.com/colinhacks/zod/commit/5825605e) perf(v4): skip the eager stack capture when building a ZodError ([#&#8203;6450](https://github.com/colinhacks/zod/pull/6450)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`d85472c4`](https://github.com/colinhacks/zod/commit/d85472c4) feat(v4): support declared symbol keys in z.object() ([#&#8203;6448](https://github.com/colinhacks/zod/pull/6448)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`d4108872`](https://github.com/colinhacks/zod/commit/d4108872) fix(v4): correct the date/time format keywords in both JSON Schema directions ([#&#8203;6452](https://github.com/colinhacks/zod/pull/6452)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`555e5f46`](https://github.com/colinhacks/zod/commit/555e5f46) Add z.toZod helper ([#&#8203;5913](https://github.com/colinhacks/zod/pull/5913)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`e0e51a55`](https://github.com/colinhacks/zod/commit/e0e51a55) docs(v4): cut the compile comments down to what they explain ([#&#8203;6449](https://github.com/colinhacks/zod/pull/6449)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`6574e784`](https://github.com/colinhacks/zod/commit/6574e784) fix(v4): stop catch resurrecting issues an optional already resolved ([#&#8203;6440](https://github.com/colinhacks/zod/pull/6440)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`937b5d01`](https://github.com/colinhacks/zod/commit/937b5d01) perf(v4): prefix issue paths in place in the object JIT failure path ([#&#8203;6445](https://github.com/colinhacks/zod/pull/6445)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`b63db248`](https://github.com/colinhacks/zod/commit/b63db248) fix(v4): keep a memoized node's cached issues private to the cache ([#&#8203;6443](https://github.com/colinhacks/zod/pull/6443)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`6ec3d043`](https://github.com/colinhacks/zod/commit/6ec3d043) fix(resolution): keep pnpm's own warnings out of the attw snapshot ([#&#8203;6446](https://github.com/colinhacks/zod/pull/6446)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`830ba314`](https://github.com/colinhacks/zod/commit/830ba314) fix(v4): validate the address, and return the string that was validated ([#&#8203;6442](https://github.com/colinhacks/zod/pull/6442)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`f101d8ca`](https://github.com/colinhacks/zod/commit/f101d8ca) Preserve callsites in parse stack traces ([#&#8203;5910](https://github.com/colinhacks/zod/pull/5910)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`6c77d028`](https://github.com/colinhacks/zod/commit/6c77d028) feat: compact simple anyOf unions to type array in toJSONSchema ([#&#8203;6339](https://github.com/colinhacks/zod/pull/6339)) by [@&#8203;deepshekhardas](https://github.com/deepshekhardas) - [`28e1ebd8`](https://github.com/colinhacks/zod/commit/28e1ebd8) fix(v4): measure string length in Unicode code points ([#&#8203;6441](https://github.com/colinhacks/zod/pull/6441)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`060bc9f3`](https://github.com/colinhacks/zod/commit/060bc9f3) refactor: share default when-clauses for size/length checks ([#&#8203;6394](https://github.com/colinhacks/zod/pull/6394)) by [@&#8203;zirkelc](https://github.com/zirkelc) - [`2848177d`](https://github.com/colinhacks/zod/commit/2848177d) docs: point the flattened/formatted error deprecations at a symbol that exists by [@&#8203;colinhacks](https://github.com/colinhacks) - [`3c2dee9e`](https://github.com/colinhacks/zod/commit/3c2dee9e) Add properties checks for instanceof schemas ([#&#8203;5912](https://github.com/colinhacks/zod/pull/5912)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`87ffeb0f`](https://github.com/colinhacks/zod/commit/87ffeb0f) fix(v4): an absent key on the middle rung supplies nothing ([#&#8203;6434](https://github.com/colinhacks/zod/pull/6434)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`7785fc82`](https://github.com/colinhacks/zod/commit/7785fc82) feat(v4): add z.getDiscriminatedOption ([#&#8203;5947](https://github.com/colinhacks/zod/pull/5947)) by [@&#8203;dokson](https://github.com/dokson) - [`0135c85a`](https://github.com/colinhacks/zod/commit/0135c85a) feat(v4): allow passing extra args to apply() ([#&#8203;6337](https://github.com/colinhacks/zod/pull/6337)) by [@&#8203;deepshekhardas](https://github.com/deepshekhardas) - [`ca246d26`](https://github.com/colinhacks/zod/commit/ca246d26) fix(v4): drop empty alternation branch from datetime pattern ([#&#8203;6439](https://github.com/colinhacks/zod/pull/6439)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`e073d55b`](https://github.com/colinhacks/zod/commit/e073d55b) docs: z.iso.datetime() accepts a subset of ISO 8601, not all of it by [@&#8203;colinhacks](https://github.com/colinhacks) - [`d6ca12ae`](https://github.com/colinhacks/zod/commit/d6ca12ae) fix(v4): infer recursive getter options in discriminatedUnion ([#&#8203;6422](https://github.com/colinhacks/zod/pull/6422)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`dc51404b`](https://github.com/colinhacks/zod/commit/dc51404b) Add shorn to Zod Utilities ([#&#8203;6398](https://github.com/colinhacks/zod/pull/6398)) by [@&#8203;ChiChuRita](https://github.com/ChiChuRita) - [`580111da`](https://github.com/colinhacks/zod/commit/580111da) docs: mark AOT compilation as canary-only by [@&#8203;colinhacks](https://github.com/colinhacks) - [`6b0dae79`](https://github.com/colinhacks/zod/commit/6b0dae79) docs: note that a catch callback is not islanded by [@&#8203;colinhacks](https://github.com/colinhacks) - [`898c4461`](https://github.com/colinhacks/zod/commit/898c4461) refactor(v4): give the runtime and compiled code one URL implementation by [@&#8203;colinhacks](https://github.com/colinhacks) - [`260e5d4b`](https://github.com/colinhacks/zod/commit/260e5d4b) fix(v4): stop islanding a catch callback, which diverged silently by [@&#8203;colinhacks](https://github.com/colinhacks) - [`11c9268b`](https://github.com/colinhacks/zod/commit/11c9268b) revert(core): drop the exactOptional parse prototype from [#&#8203;6432](https://github.com/colinhacks/zod/issues/6432) ([#&#8203;6438](https://github.com/colinhacks/zod/pull/6438)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`a38ab4a8`](https://github.com/colinhacks/zod/commit/a38ab4a8) fix(core): an omittable discriminator claims undefined ([#&#8203;6432](https://github.com/colinhacks/zod/pull/6432)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`c9ec89e0`](https://github.com/colinhacks/zod/commit/c9ec89e0) perf(core): drop the seal and the per-key WeakSet from the lazy internals ([#&#8203;6435](https://github.com/colinhacks/zod/pull/6435)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`3c9ca1d9`](https://github.com/colinhacks/zod/commit/3c9ca1d9) feat(json-schema): emit a root $ref when the root schema has an id ([#&#8203;6029](https://github.com/colinhacks/zod/pull/6029)) by [@&#8203;dinwwwh](https://github.com/dinwwwh) - [`fa77a4d7`](https://github.com/colinhacks/zod/commit/fa77a4d7) feat(v4): z.compile — ahead-of-time schema compilation ([#&#8203;6085](https://github.com/colinhacks/zod/pull/6085)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`f300476d`](https://github.com/colinhacks/zod/commit/f300476d) fix(v4): let a schema's error map cover its own checks' issues ([#&#8203;6426](https://github.com/colinhacks/zod/pull/6426)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`9f0a3d81`](https://github.com/colinhacks/zod/commit/9f0a3d81) fix(core): restore defineLazy semantics lost in the internals move ([#&#8203;6429](https://github.com/colinhacks/zod/pull/6429)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`604464c3`](https://github.com/colinhacks/zod/commit/604464c3) fix(locales): da/nn/no/sv called an IP address a range ([#&#8203;6430](https://github.com/colinhacks/zod/pull/6430)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`7378e7cd`](https://github.com/colinhacks/zod/commit/7378e7cd) fix(locales): backfill the mac and Sizable.map gaps, and pin dictionary parity ([#&#8203;6427](https://github.com/colinhacks/zod/pull/6427)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`b1077f05`](https://github.com/colinhacks/zod/commit/b1077f05) perf(memory): install derived internals on a per-constructor prototype ([#&#8203;6415](https://github.com/colinhacks/zod/pull/6415)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`ccc15144`](https://github.com/colinhacks/zod/commit/ccc15144) fix(locales): add the credit\_card key to the seven locales missing it ([#&#8203;6424](https://github.com/colinhacks/zod/pull/6424)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`73bacbbb`](https://github.com/colinhacks/zod/commit/73bacbbb) fix(from-json-schema): drop redundant inclusive bound for draft-04 exclusive ranges ([#&#8203;6022](https://github.com/colinhacks/zod/pull/6022)) by [@&#8203;francisjohnjohnston-web](https://github.com/francisjohnjohnston-web) - [`86b2e6da`](https://github.com/colinhacks/zod/commit/86b2e6da) docs: list el and hr in the supported locales ([#&#8203;6423](https://github.com/colinhacks/zod/pull/6423)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`45fdeda5`](https://github.com/colinhacks/zod/commit/45fdeda5) fix(v4): refine optin into a three-rung ladder, retire the fallback payload flag ([#&#8203;6419](https://github.com/colinhacks/zod/pull/6419)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`5b34c0ce`](https://github.com/colinhacks/zod/commit/5b34c0ce) Improve Portuguese localization and add Brazilian Portuguese (pt-BR) ([#&#8203;6076](https://github.com/colinhacks/zod/pull/6076)) by [@&#8203;thristhart](https://github.com/thristhart) - [`dc1a40a5`](https://github.com/colinhacks/zod/commit/dc1a40a5) fix(locales): improve french translation ([#&#8203;6120](https://github.com/colinhacks/zod/pull/6120)) by [@&#8203;tsmartin9](https://github.com/tsmartin9) - [`0175a043`](https://github.com/colinhacks/zod/commit/0175a043) feat(locales): add Hindi and Kannada locale support ([#&#8203;6315](https://github.com/colinhacks/zod/pull/6315)) by [@&#8203;vedanshshetti](https://github.com/vedanshshetti) - [`536ee3b0`](https://github.com/colinhacks/zod/commit/536ee3b0) Locales: added Slovak (sk) language ([#&#8203;6041](https://github.com/colinhacks/zod/pull/6041)) by [@&#8203;belicam](https://github.com/belicam) - [`07b0c3d8`](https://github.com/colinhacks/zod/commit/07b0c3d8) fix: preserve explicit superRefine issue input ([#&#8203;6053](https://github.com/colinhacks/zod/pull/6053)) by [@&#8203;frastefanini](https://github.com/frastefanini) - [`ba98071c`](https://github.com/colinhacks/zod/commit/ba98071c) feat: add .exactPartial() to ZodObject ([#&#8203;6065](https://github.com/colinhacks/zod/pull/6065)) by [@&#8203;andersk](https://github.com/andersk) - [`234c407d`](https://github.com/colinhacks/zod/commit/234c407d) feat(lang): Added Bengali locale ([#&#8203;5974](https://github.com/colinhacks/zod/pull/5974)) by [@&#8203;musaddiq-rafi](https://github.com/musaddiq-rafi) - [`377cd9d7`](https://github.com/colinhacks/zod/commit/377cd9d7) feat(locales): add turkmen (tk) locale ([#&#8203;6168](https://github.com/colinhacks/zod/pull/6168)) by [@&#8203;tachmyratsaparmyradov](https://github.com/tachmyratsaparmyradov) - [`69b6bb08`](https://github.com/colinhacks/zod/commit/69b6bb08) feat(locales): add Norwegian Nynorsk (nn) locale ([#&#8203;6092](https://github.com/colinhacks/zod/pull/6092)) by [@&#8203;arvindfroi](https://github.com/arvindfroi) - [`33d82e6b`](https://github.com/colinhacks/zod/commit/33d82e6b) Add Central Kurdish (ckb) locale ([#&#8203;6078](https://github.com/colinhacks/zod/pull/6078)) by [@&#8203;KUMachine](https://github.com/KUMachine) - [`06666fe2`](https://github.com/colinhacks/zod/commit/06666fe2) fix(fr): remove hyphen in "non-optionnel" ([#&#8203;5999](https://github.com/colinhacks/zod/pull/5999)) by [@&#8203;spidersouris](https://github.com/spidersouris) - [`79cfedea`](https://github.com/colinhacks/zod/commit/79cfedea) feat(v4): expose the owning schema on check-originated issues ([#&#8203;6420](https://github.com/colinhacks/zod/pull/6420)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`436b5da8`](https://github.com/colinhacks/zod/commit/436b5da8) docs: propose compiled constructor graph by [@&#8203;colinhacks](https://github.com/colinhacks) - [`eb4682c9`](https://github.com/colinhacks/zod/commit/eb4682c9) fix(json-schema): resolve tuple minItems past transform and catch in input mode ([#&#8203;6418](https://github.com/colinhacks/zod/pull/6418)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`4d6b5cd3`](https://github.com/colinhacks/zod/commit/4d6b5cd3) fix(json-schema): route unrepresentable default values through `unrepresentable` by [@&#8203;colinhacks](https://github.com/colinhacks) - [`2abc9e05`](https://github.com/colinhacks/zod/commit/2abc9e05) docs: note that the JSON Schema emitter reads static optin ([#&#8203;6417](https://github.com/colinhacks/zod/pull/6417)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`578e1cd0`](https://github.com/colinhacks/zod/commit/578e1cd0) feat(v4): support format: "hostname" in fromJSONSchema ([#&#8203;6305](https://github.com/colinhacks/zod/pull/6305)) by [@&#8203;catdalfonso](https://github.com/catdalfonso) - [`942bf8cb`](https://github.com/colinhacks/zod/commit/942bf8cb) feat(v4): parse input containing reference cycles ([#&#8203;6387](https://github.com/colinhacks/zod/pull/6387)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`78b523f0`](https://github.com/colinhacks/zod/commit/78b523f0) fix(json-schema): keep preprocess object properties required in input mode ([#&#8203;6133](https://github.com/colinhacks/zod/pull/6133)) by [@&#8203;MerlijnW70](https://github.com/MerlijnW70) - [`973b1b44`](https://github.com/colinhacks/zod/commit/973b1b44) fix(v4): strip output-typed catch values from the input JSON Schema ([#&#8203;6409](https://github.com/colinhacks/zod/pull/6409)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`5e608851`](https://github.com/colinhacks/zod/commit/5e608851) feat(v4): add z.deepPartial and runtime z.input / z.output ([#&#8203;5928](https://github.com/colinhacks/zod/pull/5928)) by [@&#8203;dokson](https://github.com/dokson) - [`4e1720c8`](https://github.com/colinhacks/zod/commit/4e1720c8) fix(v4): align record keys and intersection strictness with TypeScript ([#&#8203;6412](https://github.com/colinhacks/zod/pull/6412)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`4cc4053d`](https://github.com/colinhacks/zod/commit/4cc4053d) fix: honor loose mode for closed record key schemas ([#&#8203;6157](https://github.com/colinhacks/zod/pull/6157)) by [@&#8203;pullfrog\[bot\]](https://github.com/pullfrog\[bot]) - [`69be843f`](https://github.com/colinhacks/zod/commit/69be843f) fix(v4): stop the object JIT fastpass keeping a swallowed issue's value ([#&#8203;6407](https://github.com/colinhacks/zod/pull/6407)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`b899cd17`](https://github.com/colinhacks/zod/commit/b899cd17) perf(json-schema): make toJSONSchema(registry) linear in registry size ([#&#8203;6408](https://github.com/colinhacks/zod/pull/6408)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`6074828e`](https://github.com/colinhacks/zod/commit/6074828e) fix(v4): make fromJSONSchema propertyNames compose with the other object keywords ([#&#8203;6411](https://github.com/colinhacks/zod/pull/6411)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`d7b209f3`](https://github.com/colinhacks/zod/commit/d7b209f3) docs: point the Web URLs callout at z.httpUrl() ([#&#8203;6410](https://github.com/colinhacks/zod/pull/6410)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`611bd762`](https://github.com/colinhacks/zod/commit/611bd762) fix(mini): make merge() take an object schema, matching classic ([#&#8203;6404](https://github.com/colinhacks/zod/pull/6404)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`b53e53cc`](https://github.com/colinhacks/zod/commit/b53e53cc) fix(v4): use exact flag in English locale too\_small/too\_big messages ([#&#8203;6177](https://github.com/colinhacks/zod/pull/6177)) by [@&#8203;pullfrog\[bot\]](https://github.com/pullfrog\[bot]) - [`421cc9a5`](https://github.com/colinhacks/zod/commit/421cc9a5) fix(json-schema): unescape JSON Pointer tokens when resolving $ref ([#&#8203;6402](https://github.com/colinhacks/zod/pull/6402)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`4c27fe87`](https://github.com/colinhacks/zod/commit/4c27fe87) fix(v4): give z.xor() a distinct error when multiple options match ([#&#8203;6376](https://github.com/colinhacks/zod/pull/6376)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`a106fbe7`](https://github.com/colinhacks/zod/commit/a106fbe7) fix(v4): make fromJSONSchema tuples open-ended by default ([#&#8203;6020](https://github.com/colinhacks/zod/pull/6020)) by [@&#8203;mneetika](https://github.com/mneetika) - [`e8034eba`](https://github.com/colinhacks/zod/commit/e8034eba) fix(v4): make prefixItems/draft-7 items respect minItems in fromJSONSchema ([#&#8203;6201](https://github.com/colinhacks/zod/pull/6201)) by [@&#8203;pullfrog\[bot\]](https://github.com/pullfrog\[bot]) - [`784e5c26`](https://github.com/colinhacks/zod/commit/784e5c26) fix(v4): let bundlers tree-shake locales out of the default import ([#&#8203;6384](https://github.com/colinhacks/zod/pull/6384)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`97edd70a`](https://github.com/colinhacks/zod/commit/97edd70a) fix(toJSONSchema): constrain closed tuple length ([#&#8203;6194](https://github.com/colinhacks/zod/pull/6194)) by [@&#8203;pullfrog\[bot\]](https://github.com/pullfrog\[bot]) - [`f150020d`](https://github.com/colinhacks/zod/commit/f150020d) fix(v4): escape non-string enum values in template literal patterns ([#&#8203;5934](https://github.com/colinhacks/zod/pull/5934)) by [@&#8203;gwagjiug](https://github.com/gwagjiug) - [`faf33a28`](https://github.com/colinhacks/zod/commit/faf33a28) fix: surface [@&#8203;deprecated](https://github.com/deprecated) on re-exported compat aliases ([#&#8203;6072](https://github.com/colinhacks/zod/pull/6072)) by [@&#8203;MahinAnowar](https://github.com/MahinAnowar) - [`3956224a`](https://github.com/colinhacks/zod/commit/3956224a) docs: state that metadata wins over generated JSON Schema keywords ([#&#8203;6401](https://github.com/colinhacks/zod/pull/6401)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`a1904fc2`](https://github.com/colinhacks/zod/commit/a1904fc2) fix(v4): report date origin for numeric min/max bounds ([#&#8203;6129](https://github.com/colinhacks/zod/pull/6129)) by [@&#8203;MerlijnW70](https://github.com/MerlijnW70) - [`bd18314c`](https://github.com/colinhacks/zod/commit/bd18314c) fix: escape JSON Pointer reserved characters in toJSONSchema $ref (closes [#&#8203;6027](https://github.com/colinhacks/zod/issues/6027)) ([#&#8203;6144](https://github.com/colinhacks/zod/pull/6144)) by [@&#8203;MaksZhukov](https://github.com/MaksZhukov) - [`2a5164f5`](https://github.com/colinhacks/zod/commit/2a5164f5) fix(v4): enforce RFC 1035 length limits in regexes.domain ([#&#8203;6035](https://github.com/colinhacks/zod/pull/6035)) by [@&#8203;emmayusufu](https://github.com/emmayusufu) - [`0e5bc4b1`](https://github.com/colinhacks/zod/commit/0e5bc4b1) fix(v4): respect additionalProperties:false with patternProperties in fromJSONSchema ([#&#8203;6199](https://github.com/colinhacks/zod/pull/6199)) by [@&#8203;pullfrog\[bot\]](https://github.com/pullfrog\[bot]) - [`c8f06d36`](https://github.com/colinhacks/zod/commit/c8f06d36) fix(v4): clarify infinite number errors ([#&#8203;5906](https://github.com/colinhacks/zod/pull/5906)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`9a7ecc35`](https://github.com/colinhacks/zod/commit/9a7ecc35) fix(json-schema): accept RFC 3339 numeric offsets in date-time format ([#&#8203;6298](https://github.com/colinhacks/zod/pull/6298)) by [@&#8203;agcty](https://github.com/agcty) - [`0a76f3d7`](https://github.com/colinhacks/zod/commit/0a76f3d7) feat(v4): add z.creditCard() string format ([#&#8203;5931](https://github.com/colinhacks/zod/pull/5931)) by [@&#8203;dokson](https://github.com/dokson) - [`bd6619c0`](https://github.com/colinhacks/zod/commit/bd6619c0) feat(json-schema): accept a function for `unrepresentable` ([#&#8203;6380](https://github.com/colinhacks/zod/pull/6380)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`9d20fdc3`](https://github.com/colinhacks/zod/commit/9d20fdc3) fix(v4): preserve z.preprocess input narrowing ([#&#8203;5967](https://github.com/colinhacks/zod/pull/5967)) by [@&#8203;devareddy05](https://github.com/devareddy05) - [`3063993a`](https://github.com/colinhacks/zod/commit/3063993a) perf(v4): cut per-schema memory \~90% by moving methods to the prototype ([#&#8203;6318](https://github.com/colinhacks/zod/pull/6318)) by [@&#8203;zirkelc](https://github.com/zirkelc) - [`fd074106`](https://github.com/colinhacks/zod/commit/fd074106) feat(json-schema): run `override` before the unrepresentable error ([#&#8203;6391](https://github.com/colinhacks/zod/pull/6391)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`2715c12e`](https://github.com/colinhacks/zod/commit/2715c12e) fix(v4): preserve default English locale across tree-shaken bundles ([#&#8203;5959](https://github.com/colinhacks/zod/pull/5959)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`81d9fc6c`](https://github.com/colinhacks/zod/commit/81d9fc6c) docs: add zod-form-action to ecosystem ([#&#8203;6314](https://github.com/colinhacks/zod/pull/6314)) by [@&#8203;Vish05](https://github.com/Vish05) - [`d86df5e0`](https://github.com/colinhacks/zod/commit/d86df5e0) docs: add ArkEnv to ecosystem page ([#&#8203;6203](https://github.com/colinhacks/zod/pull/6203)) by [@&#8203;yamcodes](https://github.com/yamcodes) - [`18b4ff99`](https://github.com/colinhacks/zod/commit/18b4ff99) docs(ecosystem): add zodql to API Libraries ([#&#8203;6227](https://github.com/colinhacks/zod/pull/6227)) by [@&#8203;mattiasahlsen](https://github.com/mattiasahlsen) - [`479d6f51`](https://github.com/colinhacks/zod/commit/479d6f51) shill oxlint ([#&#8203;6196](https://github.com/colinhacks/zod/pull/6196)) by [@&#8203;samchungy](https://github.com/samchungy) - [`85dba7e1`](https://github.com/colinhacks/zod/commit/85dba7e1) docs: document that any/unknown object keys are required ([#&#8203;6388](https://github.com/colinhacks/zod/pull/6388)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`d24fb4c3`](https://github.com/colinhacks/zod/commit/d24fb4c3) fix: consistently strip **proto** from parsed objects ([#&#8203;6386](https://github.com/colinhacks/zod/pull/6386)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`7708d447`](https://github.com/colinhacks/zod/commit/7708d447) perf(v4): lazy ZodError construction ([#&#8203;6316](https://github.com/colinhacks/zod/pull/6316)) by [@&#8203;zirkelc](https://github.com/zirkelc) - [`8ac9ae51`](https://github.com/colinhacks/zod/commit/8ac9ae51) fix(docs-v3): serve the docsify SPA fallback on Vercel ([#&#8203;6378](https://github.com/colinhacks/zod/pull/6378)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`31384464`](https://github.com/colinhacks/zod/commit/31384464) fix(v4): complete reserved-key hardening ([#&#8203;6371](https://github.com/colinhacks/zod/pull/6371)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`600c6909`](https://github.com/colinhacks/zod/commit/600c6909) docs: add Attaform to ecosystem ([#&#8203;6188](https://github.com/colinhacks/zod/pull/6188)) by [@&#8203;ozzyfromspace](https://github.com/ozzyfromspace) - [`37c05fa5`](https://github.com/colinhacks/zod/commit/37c05fa5) docs(ecosystem): rename zod-to-mongo-schema to zod-mongo-schema ([#&#8203;6178](https://github.com/colinhacks/zod/pull/6178)) by [@&#8203;udohjeremiah](https://github.com/udohjeremiah) - [`badfdf08`](https://github.com/colinhacks/zod/commit/badfdf08) docs: update keyof() ZodEnum type to the v4 form ([#&#8203;6124](https://github.com/colinhacks/zod/pull/6124)) by [@&#8203;patrickwehbe](https://github.com/patrickwehbe) - [`e25b68e1`](https://github.com/colinhacks/zod/commit/e25b68e1) perf(v4): let three dead declarations tree-shake under esbuild ([#&#8203;6381](https://github.com/colinhacks/zod/pull/6381)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`53397351`](https://github.com/colinhacks/zod/commit/53397351) docs(ecosystem): Add zod-mongoose list item in Zod To X ([#&#8203;6062](https://github.com/colinhacks/zod/pull/6062)) by [@&#8203;Harm-Nullix](https://github.com/Harm-Nullix) - [`dfa0deb1`](https://github.com/colinhacks/zod/commit/dfa0deb1) docs: add tauri-typegen to ecosystem ([#&#8203;6032](https://github.com/colinhacks/zod/pull/6032)) by [@&#8203;thwbh](https://github.com/thwbh) - [`9c914ee8`](https://github.com/colinhacks/zod/commit/9c914ee8) docs: add dynamic error message and combined refinement examples for refine() ([#&#8203;6002](https://github.com/colinhacks/zod/pull/6002)) by [@&#8203;IdanGonen](https://github.com/IdanGonen) - [`921649de`](https://github.com/colinhacks/zod/commit/921649de) fix(v4): formatError and treeifyError handle inherited-name path elements ([#&#8203;6367](https://github.com/colinhacks/zod/pull/6367)) by [@&#8203;deepshekhardas](https://github.com/deepshekhardas) - [`e7029aa4`](https://github.com/colinhacks/zod/commit/e7029aa4) fix(v4): report own **proto** key under .strict() ([#&#8203;6221](https://github.com/colinhacks/zod/pull/6221)) by [@&#8203;pullfrog\[bot\]](https://github.com/pullfrog\[bot]) - [`9c540db8`](https://github.com/colinhacks/zod/commit/9c540db8) fix(v4): re-check the record key after the key schema runs ([#&#8203;6355](https://github.com/colinhacks/zod/pull/6355)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`8bb89ea4`](https://github.com/colinhacks/zod/commit/8bb89ea4) docs: add .nonempty() to Strings, Arrays, Sets, and Maps sections ([#&#8203;6056](https://github.com/colinhacks/zod/pull/6056)) by [@&#8203;pullfrog\[bot\]](https://github.com/pullfrog\[bot]) - [`599c0e41`](https://github.com/colinhacks/zod/commit/599c0e41) docs(ecosystem): Add `@chrock-studio/overload` and `@chrock-studio/zod-utils` ([#&#8203;6040](https://github.com/colinhacks/zod/pull/6040)) by [@&#8203;JuerGenie](https://github.com/JuerGenie) - [`27a9036a`](https://github.com/colinhacks/zod/commit/27a9036a) docs(ecosystem): `eslint-plugin-zod` is `eslint-zod` now ([#&#8203;5975](https://github.com/colinhacks/zod/pull/5975)) by [@&#8203;marcalexiei](https://github.com/marcalexiei) - [`e177a0ee`](https://github.com/colinhacks/zod/commit/e177a0ee) docs(v4): document coerce missing-key breaking change ([#&#8203;5957](https://github.com/colinhacks/zod/pull/5957)) ([#&#8203;5964](https://github.com/colinhacks/zod/pull/5964)) by [@&#8203;dokson](https://github.com/dokson) - [`66fba964`](https://github.com/colinhacks/zod/commit/66fba964) docs: show z.instanceof with built-in classes ([#&#8203;6059](https://github.com/colinhacks/zod/pull/6059)) by [@&#8203;itsahmedbilal](https://github.com/itsahmedbilal) - [`2d90846a`](https://github.com/colinhacks/zod/commit/2d90846a) fix(docs): make the prefault example runnable ([#&#8203;6063](https://github.com/colinhacks/zod/pull/6063)) by [@&#8203;DucMinhNe](https://github.com/DucMinhNe) - [`ead9fcb3`](https://github.com/colinhacks/zod/commit/ead9fcb3) fix(v4): write a declared **proto** key as an own property ([#&#8203;6354](https://github.com/colinhacks/zod/pull/6354)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`c58764c5`](https://github.com/colinhacks/zod/commit/c58764c5) docs: fix UUID helper list in v4 introduction ([#&#8203;6214](https://github.com/colinhacks/zod/pull/6214)) by [@&#8203;meliharik](https://github.com/meliharik) - [`f238fbd2`](https://github.com/colinhacks/zod/commit/f238fbd2) fix: remove exponential backtracking from the emoji regex ([#&#8203;6347](https://github.com/colinhacks/zod/pull/6347)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`e6c213ec`](https://github.com/colinhacks/zod/commit/e6c213ec) fix(json-schema): keep **proto** keys as own properties in schema conversion ([#&#8203;6346](https://github.com/colinhacks/zod/pull/6346)) by [@&#8203;colinhacks](https://github.com/colinhacks) - [`573fcb75`](https://github.com/colinhacks/zod/commit/573fcb75) fix(errors): use own-property semantics in every error-tree walker ([#&#8203;6213](https://github.com/colinhacks/zod/pull/6213)) by [@&#8203;pullfrog\[bot\]](https://github.com/pullfrog\[bot]) - [`6f5e99fd`](https://github.com/colinhacks/zod/commit/6f5e99fd) fix(docs-v3): rename README.md to home.md so Vercel serves it by [@&#8203;colinhacks](https://github.com/colinhacks) - [`bbc68f99`](https://github.com/colinhacks/zod/commit/bbc68f99) docs: soften Zod 3 EOL callouts to informational tone by [@&#8203;colinhacks](https://github.com/colinhacks) - [`3fc9b25f`](https://github.com/colinhacks/zod/commit/3fc9b25f) docs: reframe library-authors page Zod-4-first; note Zod 3 EOL by [@&#8203;colinhacks](https://github.com/colinhacks) - [`f29f2a6d`](https://github.com/colinhacks/zod/commit/f29f2a6d) fix(v4): cidrv6 JSON schema pattern matches runtime ([#&#8203;5945](https://github.com/colinhacks/zod/pull/5945)) by [@&#8203;dokson](https://github.com/dokson) - [`dfd8766b`](https://github.com/colinhacks/zod/commit/dfd8766b) fix(v4): break circular import between classic schemas and iso ([#&#8203;5275](https://github.com/colinhacks/zod/pull/5275)) ([#&#8203;5926](https://github.com/colinhacks/zod/pull/5926)) by [@&#8203;dokson](https://github.com/dokson) - [`fbe8ad1b`](https://github.com/colinhacks/zod/commit/fbe8ad1b) fix(v4): allow dynamic `.catch()` under `unrepresentable: "any"` ([#&#8203;5273](https://github.com/colinhacks/zod/pull/5273)) ([#&#8203;5925](https://github.com/colinhacks/zod/pull/5925)) by [@&#8203;dokson](https://github.com/dokson) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42MS4yIiwidXBkYXRlZEluVmVyIjoiNDQuNjEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
fix(deps): update all minor dependencies
Some checks failed
Portfolio CI / lint-and-build (pull_request) Successful in 26s
Server CI / lint-and-build (pull_request) Successful in 22s
Web CI / lint-and-build (pull_request) Successful in 34s
Portfolio CI / build-and-publish (pull_request) Failing after 3s
Server CI / build-and-publish (pull_request) Failing after 3s
Web CI / build-and-publish (pull_request) Failing after 3s
4000c97135
renovatebot force-pushed renovate/all-minor-dependencies from 4000c97135
Some checks failed
Portfolio CI / lint-and-build (pull_request) Successful in 26s
Server CI / lint-and-build (pull_request) Successful in 22s
Web CI / lint-and-build (pull_request) Successful in 34s
Portfolio CI / build-and-publish (pull_request) Failing after 3s
Server CI / build-and-publish (pull_request) Failing after 3s
Web CI / build-and-publish (pull_request) Failing after 3s
to 7f5ad04990
Some checks failed
Server CI / lint-and-build (pull_request) Successful in 22s
Web CI / lint-and-build (pull_request) Successful in 44s
Portfolio CI / lint-and-build (pull_request) Failing after 11m3s
Server CI / build-and-publish (pull_request) Successful in 58s
Web CI / build-and-publish (pull_request) Successful in 38s
Portfolio CI / build-and-publish (pull_request) Has been cancelled
2026-09-08 21:06:24 +03:00
Compare
renovatebot force-pushed renovate/all-minor-dependencies from 7f5ad04990
Some checks failed
Server CI / lint-and-build (pull_request) Successful in 22s
Web CI / lint-and-build (pull_request) Successful in 44s
Portfolio CI / lint-and-build (pull_request) Failing after 11m3s
Server CI / build-and-publish (pull_request) Successful in 58s
Web CI / build-and-publish (pull_request) Successful in 38s
Portfolio CI / build-and-publish (pull_request) Has been cancelled
to 05ff6b9665
All checks were successful
Portfolio CI / lint-and-build (pull_request) Successful in 28s
Server CI / lint-and-build (pull_request) Successful in 23s
Web CI / lint-and-build (pull_request) Successful in 36s
Portfolio CI / build-and-publish (pull_request) Successful in 1m19s
Server CI / build-and-publish (pull_request) Successful in 56s
Web CI / build-and-publish (pull_request) Successful in 38s
2026-09-09 22:04:27 +03:00
Compare
renovatebot force-pushed renovate/all-minor-dependencies from 05ff6b9665
All checks were successful
Portfolio CI / lint-and-build (pull_request) Successful in 28s
Server CI / lint-and-build (pull_request) Successful in 23s
Web CI / lint-and-build (pull_request) Successful in 36s
Portfolio CI / build-and-publish (pull_request) Successful in 1m19s
Server CI / build-and-publish (pull_request) Successful in 56s
Web CI / build-and-publish (pull_request) Successful in 38s
to af144f6127
All checks were successful
Portfolio CI / lint-and-build (pull_request) Successful in 27s
Server CI / lint-and-build (pull_request) Successful in 21s
Web CI / lint-and-build (pull_request) Successful in 49s
Portfolio CI / build-and-publish (pull_request) Successful in 32s
Server CI / build-and-publish (pull_request) Successful in 56s
Web CI / build-and-publish (pull_request) Successful in 39s
2026-09-09 23:04:13 +03:00
Compare
renovatebot force-pushed renovate/all-minor-dependencies from af144f6127
All checks were successful
Portfolio CI / lint-and-build (pull_request) Successful in 27s
Server CI / lint-and-build (pull_request) Successful in 21s
Web CI / lint-and-build (pull_request) Successful in 49s
Portfolio CI / build-and-publish (pull_request) Successful in 32s
Server CI / build-and-publish (pull_request) Successful in 56s
Web CI / build-and-publish (pull_request) Successful in 39s
to 828c76781e
All checks were successful
Portfolio CI / lint-and-build (pull_request) Successful in 27s
Server CI / lint-and-build (pull_request) Successful in 22s
Web CI / lint-and-build (pull_request) Successful in 35s
Portfolio CI / build-and-publish (pull_request) Successful in 32s
Server CI / build-and-publish (pull_request) Successful in 56s
Web CI / build-and-publish (pull_request) Successful in 38s
2026-09-10 00:04:10 +03:00
Compare
renovatebot force-pushed renovate/all-minor-dependencies from 828c76781e
All checks were successful
Portfolio CI / lint-and-build (pull_request) Successful in 27s
Server CI / lint-and-build (pull_request) Successful in 22s
Web CI / lint-and-build (pull_request) Successful in 35s
Portfolio CI / build-and-publish (pull_request) Successful in 32s
Server CI / build-and-publish (pull_request) Successful in 56s
Web CI / build-and-publish (pull_request) Successful in 38s
to e242fc6019
All checks were successful
Portfolio CI / lint-and-build (pull_request) Successful in 28s
Server CI / lint-and-build (pull_request) Successful in 22s
Web CI / lint-and-build (pull_request) Successful in 36s
Portfolio CI / build-and-publish (pull_request) Successful in 31s
Server CI / build-and-publish (pull_request) Successful in 56s
Web CI / build-and-publish (pull_request) Successful in 39s
2026-09-10 01:04:31 +03:00
Compare
renovatebot force-pushed renovate/all-minor-dependencies from e242fc6019
All checks were successful
Portfolio CI / lint-and-build (pull_request) Successful in 28s
Server CI / lint-and-build (pull_request) Successful in 22s
Web CI / lint-and-build (pull_request) Successful in 36s
Portfolio CI / build-and-publish (pull_request) Successful in 31s
Server CI / build-and-publish (pull_request) Successful in 56s
Web CI / build-and-publish (pull_request) Successful in 39s
to 3d5e7816b3
All checks were successful
Portfolio CI / lint-and-build (pull_request) Successful in 26s
Server CI / lint-and-build (pull_request) Successful in 22s
Web CI / lint-and-build (pull_request) Successful in 35s
Portfolio CI / build-and-publish (pull_request) Successful in 31s
Server CI / build-and-publish (pull_request) Successful in 56s
Web CI / build-and-publish (pull_request) Successful in 37s
2026-09-11 01:03:29 +03:00
Compare
All checks were successful
Portfolio CI / lint-and-build (pull_request) Successful in 26s
Server CI / lint-and-build (pull_request) Successful in 22s
Web CI / lint-and-build (pull_request) Successful in 35s
Portfolio CI / build-and-publish (pull_request) Successful in 31s
Server CI / build-and-publish (pull_request) Successful in 56s
Web CI / build-and-publish (pull_request) Successful in 37s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/all-minor-dependencies:renovate/all-minor-dependencies
git switch renovate/all-minor-dependencies

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/all-minor-dependencies
git switch renovate/all-minor-dependencies
git rebase main
git switch main
git merge --ff-only renovate/all-minor-dependencies
git switch renovate/all-minor-dependencies
git rebase main
git switch main
git merge --no-ff renovate/all-minor-dependencies
git switch main
git merge --squash renovate/all-minor-dependencies
git switch main
git merge --ff-only renovate/all-minor-dependencies
git switch main
git merge renovate/all-minor-dependencies
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jaroheinonen/mosaic!43
No description provided.