Skip to content

Clean up next-safe-action and zod deprecations#356

Open
PunGrumpy wants to merge 2 commits intoleerob:mainfrom
PunGrumpy:chore/schema-deprecation-cleanup
Open

Clean up next-safe-action and zod deprecations#356
PunGrumpy wants to merge 2 commits intoleerob:mainfrom
PunGrumpy:chore/schema-deprecation-cleanup

Conversation

@PunGrumpy
Copy link
Copy Markdown

Summary

  • migrate server actions from deprecated next-safe-action .schema(...) to .inputSchema(...)
  • update deprecated Zod schema APIs across actions/forms (including URL validation and error param usage)
  • keep behavior equivalent while reducing deprecation warnings and preparing for future dependency upgrades

References

- Replace deprecated validator style
- Migrate error customization from `message` to `error` for Zod v4 compatibility
- Ref: https://zod.dev/v4/changelog
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 19, 2026

@PunGrumpy is attempting to deploy a commit to the Anysphere Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant