Skip to content

fix(zod/v4): drop z.record() with single argument #10468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025

Conversation

colinaaa
Copy link
Collaborator

Summary

Replace z.record(<type>) with z.record(z.string(), <type>). Preparing for upgrading to Zod v4.

issue: #10467

Zod v4: https://zod.dev/v4/changelog#zrecord

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copy link

netlify bot commented May 25, 2025

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit c6d12eb
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/683318fddfd2800008bc374a

@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label May 25, 2025
Copy link

codspeed-hq bot commented May 25, 2025

CodSpeed Performance Report

Merging #10468 will not alter performance

Comparing colinaaa:zod-v4 (c6d12eb) with main (3191c8f)

🎉 Hooray! codspeed-node just leveled up to 4.0.1!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

✅ 11 untouched benchmarks

@colinaaa colinaaa marked this pull request as ready for review May 26, 2025 02:40
@chenjiahan chenjiahan merged commit e18d705 into web-infra-dev:main May 26, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: bug fix release: bug related release(mr only)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants