Skip to content

Conversation

@chungweileong94
Copy link
Owner

@chungweileong94 chungweileong94 commented Feb 15, 2025

Support Standard Schema!

You can now use any validation library that supports Standard Schema.

Breaking changes:

  • Minimum required version of Zod is now ^3.24.0.
  • formErrors in formAction will now return { messages: string[]; fieldErrors: Record<string, string[]> } instead of ZodError.
  • You can no longer use an object as input if you are using zfd.formData from zod-form-data.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Feb 15, 2025

🦋 Changeset detected

Latest commit: c207e52

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
server-act Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@socket-security
Copy link

socket-security bot commented Feb 15, 2025

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] 🔁 npm/[email protected] None 0 699 kB colinhacks

View full report↗︎

@chungweileong94 chungweileong94 merged commit b4e65ee into main Feb 15, 2025
3 checks passed
@chungweileong94 chungweileong94 deleted the standard-schema branch February 15, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants