Skip to content

chore(deps): bump zod from 3.25.76 to 4.4.3 in /ui - #61

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ui/zod-4.4.3
Open

chore(deps): bump zod from 3.25.76 to 4.4.3 in /ui#61
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ui/zod-4.4.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 18, 2026

Copy link
Copy Markdown
Contributor

Bumps zod from 3.25.76 to 4.4.3.

Release notes

Sourced from zod's releases.

v4.4.3

Commits:

  • 4c2fa95ce3f3390fbc522324e406b4e9e89b88f9 docs: use Zernio primary wordmark for gold sponsor logo
  • 2aeec83eb135e3a83756e973ef44845fc5a455d2 docs: prune lapsed gold sponsors and rebalance logo sizing
  • 7391be88ac1ee5cd02057f5ccc012a1f5df4efd0 docs: prune lapsed silver/bronze sponsors and add active ones
  • 2c703322a21b4e2b12f33f49ea8430c451a68b4f docs: normalize bronze sponsor logos to github avatar pattern
  • 9195250cab0e7950efe39c3926d6c203b4b0a170 docs: remove Mintlify from bronze sponsors (churned)
  • b8dffe9e62f17e6571e6249d05cc5102b54d94e4 docs: remove Numeric and Speakeasy (2+ missed monthly cycles)
  • 1cab69383fcdeae2a366d5e2a2fc4d8fc765d168 fix(v4): restore catch handling for absent object keys (#5937) (#5939)
  • c2be4f819064eed62c7c350a2d399b5faecd15f8 fix(v4): generalize optin/fallback to transform; restore preprocess on absent keys (#5941)
  • f3c9ec03ba7a28ae72d25cc295f38674bee0f559 4.4.3
  • 1fb56a5c18c27102dbc92260a4007c7732a0ccca docs: document release procedure in AGENTS.md

v4.4.2

Commits:

  • 0c62df0ea19fd05abdf90473e9eef7eea530fab2 Clean up docs navigation and stale labels (#5901)
  • 20cc794895cc8604fe0c87d83a5d1c3f89fad0ac chore: add security policy and refresh tooling deps
  • 6fbe07b0177efdd1bf1c0b05160e70d7a0702337 fix(docs): heading anchor links now include the hash so it doesnt scoll all the way up, follows navbar logic (#5791)
  • 4bbed1b1c73eca4ce9e59b1189ed236aa6c8b5bd Tighten discriminated union option typing
  • bbac3e567e7fccfaaf7cdc97f1ce30c295e2c908 Update PR guidance for agents
  • cf0dc942a32805c292fff59ade20a7ace980735a Merge remote-tracking branch 'origin/main' into fix-discriminated-union-key-constraint
  • 292c894a5fd2aa42e527900b83d8d7a3009a709c docs: add Zernio gold sponsor
  • 1fc9f311c28dcf80d0bb5a36b177086cbc3d8eca docs: document codec inversion
  • 1373c85da9aeff704a9762d27bc58699618aefb7 docs: remove AI disclosure guidance
  • e20d02b473c08e3a4e557bc610b1b5fac079b649 chore: ignore triage notes
  • e58ea4d91b1dfe8194b73508203213cbc7e9c936 docs: test Zod Mini tab code heights
  • 905761a5d127e8d5dd2ebb3bc88c75cb0b8149ff docs: document preprocess input type narrowing
  • bf64bac850d4dee2b7dde7e64909d5d796d32043 chore: tighten test guidance in AGENTS.md
  • 8ec4e73f4c4693b6361ad591be40fb41eb8a9f95 chore: update play.ts scratch
  • 02c2baf7d0d615872fa4528a8020603b71211702 Make z.preprocess defer optionality to inner schema (#5929)
  • 88015df8e25c44fb5385eb3ef28935119cd5edea fix(docs): drop deprecated baseUrl from tsconfig
  • c59d4474e3b4cad1b323462186cf607178ce8267 4.4.2

v4.4.1

Commits:

  • 481f7be4238c83ed58183f921b2646f340a91c6a ci: gate release publishing on full test workflow
  • 95ccab423aec720b2523c3a64cdc7e3204537cc7 test(v3): restore optional undefined expectations
  • cede2c63739a5823d6aa5093d291e9a111da943d fix(v4): reject tuple holes before required defaults (#5900)
  • edd0bf0f5ada4a8dc581c259407d7bbad0a71ea7 release: 4.4.1
  • 180d83d1dbe6a59260710cc8637a3dea2281ee56 docs: remove Jazz featured sponsor

v4.4.0

4.4.0

This is a minor release with a wide set of correctness and soundness fixes. Some fixes intentionally make Zod stricter, so code that depended on previously accepted invalid or ambiguous inputs may need small updates.

Potentially breaking bug fixes

... (truncated)

Commits
  • 1fb56a5 docs: document release procedure in AGENTS.md
  • f3c9ec0 4.4.3
  • c2be4f8 fix(v4): generalize optin/fallback to transform; restore preprocess on absent...
  • 1cab693 fix(v4): restore catch handling for absent object keys (#5937) (#5939)
  • b8dffe9 docs: remove Numeric and Speakeasy (2+ missed monthly cycles)
  • 9195250 docs: remove Mintlify from bronze sponsors (churned)
  • 2c70332 docs: normalize bronze sponsor logos to github avatar pattern
  • 7391be8 docs: prune lapsed silver/bronze sponsors and add active ones
  • 2aeec83 docs: prune lapsed gold sponsors and rebalance logo sizing
  • 4c2fa95 docs: use Zernio primary wordmark for gold sponsor logo
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for zod since your current version.


Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot @github

dependabot Bot commented on behalf of github May 18, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, frontend. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@coderabbitai

coderabbitai Bot commented May 18, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The UI package zod dependency is bumped from v3 to v4. This is a major version upgrade that may introduce breaking changes requiring code updates in validation logic throughout the UI codebase.

Changes

Zod Dependency Update

Layer / File(s) Summary
Zod major version upgrade
ui/package.json
Zod dependency updated from ^3.25.76 to ^4.4.3.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: a dependency bump of zod from 3.25.76 to 4.4.3 in the /ui directory.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/ui/zod-4.4.3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ui/package.json`:
- Line 74: The project upgraded zod to v4.4.3 but still depends on
`@hookform/resolvers`@^3.10.0 which is incompatible; update the dependency
"`@hookform/resolvers`" in package.json to "^5.0.0" (or later), run npm/yarn
install to refresh lockfile, and re-test any usage of zodResolver in your form
components to ensure runtime compatibility.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 7d63f05e-9e46-4a6e-9d23-37bcdfd8a37f

📥 Commits

Reviewing files that changed from the base of the PR and between 651dd70 and ee9d4c6.

⛔ Files ignored due to path filters (1)
  • ui/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • ui/package.json

Comment thread ui/package.json
"vaul": "^1.1.2",
"xlsx": "^0.18.5",
"zod": "^3.25.76",
"zod": "^4.4.3",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Find z.record() usage - now requires both key and value schemas
rg -nP --type=ts --type=tsx -C3 'z\.record\s*\(' ui/

# Find z.function() usage - API completely redesigned
rg -nP --type=ts --type=tsx -C3 'z\.function\s*\(' ui/

# Find .default() usage - behavior changed
rg -nP --type=ts --type=tsx -C3 '\.default\s*\(' ui/

# Find z.number() and .int() usage - validation tightened
rg -nP --type=ts --type=tsx -C3 'z\.number\s*\(' ui/

# Find z.uuid() usage - now strict RFC validation
rg -nP --type=ts --type=tsx -C3 'z\.uuid\s*\(' ui/

# Find custom error handling - unified error parameter in v4
rg -nP --type=ts --type=tsx -C3 'errorMap|ZodError' ui/

Repository: saidaz24-meet/peptide_prediction

Length of output: 244


🌐 Web query:

Is @hookform/resolvers version 3.10.0 compatible with Zod v4?

💡 Result:

No, @hookform/resolvers version 3.10.0 is not compatible with Zod v4 [1]. @hookform/resolvers version 3.10.0 was released in January 2025 [2], prior to the widespread adoption and full support of Zod v4 in the React Hook Form ecosystem. Zod v4 introduced significant changes to its type system and internal architecture, which caused compatibility issues with older versions of the zodResolver [3]. To use Zod v4 with React Hook Form, you must upgrade to @hookform/resolvers version 5.0.0 or later, which includes official support for Zod v4 [1]. If you are unable to upgrade the resolver package, a common workaround is to use the standardSchemaResolver from @hookform/resolvers, as Zod v4 schemas are compatible with the Standard Schema specification [1].

Citations:


🏁 Script executed:

# Check `@hookform/resolvers` version in package.json
cat ui/package.json | grep -A2 -B2 "`@hookform/resolvers`"

Repository: saidaz24-meet/peptide_prediction

Length of output: 230


🏁 Script executed:

# Search for Zod usage patterns in ui directory (corrected - no unrecognized type)
# Use generic search to find actual usage
rg 'z\.(record|function|number|uuid|default)\s*\(' ui/ -A2 -B1 || echo "No matches found"

# Also check for ZodError or errorMap usage
rg '(ZodError|errorMap)' ui/ -A2 -B1 || echo "No matches found"

Repository: saidaz24-meet/peptide_prediction

Length of output: 110


🏁 Script executed:

# Search for zod imports in ui directory
rg "from ['\"]zod['\"]|import.*zod|require.*zod" ui/ || echo "No zod imports found"

# Check if zod is used anywhere in ui
rg "zod" ui/ -i | head -20 || echo "No zod references found"

# Check if there's a monorepo structure with other packages
find . -maxdepth 2 -name "package.json" -type f | head -10

Repository: saidaz24-meet/peptide_prediction

Length of output: 473


🏁 Script executed:

# Check if `@hookform/resolvers` is actually used in ui code
rg "from ['\"]`@hookform/resolvers`|import.*`@hookform/resolvers`|require.*`@hookform/resolvers`" ui/ -A2 || echo "No `@hookform/resolvers` imports found"

# Also search for zodResolver specifically (common usage pattern)
rg "zodResolver" ui/ -A2 || echo "No zodResolver usage found"

# Check for any react-hook-form usage
rg "useForm|FormProvider|Controller" ui/ | head -10 || echo "No react-hook-form usage found"

Repository: saidaz24-meet/peptide_prediction

Length of output: 1110


Zod v4 requires @hookform/resolvers upgrade to v5.0.0+.

The upgrade to Zod v4.4.3 introduces a version mismatch with the installed @hookform/resolvers@^3.10.0. Version 3.10.0 is incompatible with Zod v4 and will fail at runtime if zodResolver is used. Upgrade to @hookform/resolvers@^5.0.0 or later, which includes official Zod v4 support.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@ui/package.json` at line 74, The project upgraded zod to v4.4.3 but still
depends on `@hookform/resolvers`@^3.10.0 which is incompatible; update the
dependency "`@hookform/resolvers`" in package.json to "^5.0.0" (or later), run
npm/yarn install to refresh lockfile, and re-test any usage of zodResolver in
your form components to ensure runtime compatibility.

@az-said az-said added zod-v4-migration Coupled zod v4 + @hookform/resolvers v5 migration — must land together defer-wave-3 Deferred to Wave 3 — do not merge during current review window labels May 18, 2026
@az-said

az-said commented May 18, 2026

Copy link
Copy Markdown
Owner

Coupled with #63 (@hookform/resolvers 5 requires zod 4). Holding open as the migration tracker — will land as one chunk in Wave 3 (zod-v4-migration). v4 changed error format (.issues shape), .refine signature, removed .deepPartial() — green CI doesn't prove runtime schema-error UX is unchanged. Do not merge solo.

Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.4.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](colinhacks/zod@v3.25.76...v4.4.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.4.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/ui/zod-4.4.3 branch from ee9d4c6 to 6c3c7f0 Compare June 7, 2026 23:49
@az-said

az-said commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Deferred to Alex's Week-3 triage per docs/active/OPERATOR_COOKBOOK.md § 'Merge a Dependabot PR safely'. Reason: this is a MAJOR version bump (or has failing CI) and needs human eyes on breaking changes before merge. Do not auto-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

defer-wave-3 Deferred to Wave 3 — do not merge during current review window zod-v4-migration Coupled zod v4 + @hookform/resolvers v5 migration — must land together

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant