Skip to content
Compare
Choose a tag to compare
@juliusmarminge juliusmarminge released this 25 Jan 20:20
c2aad55

Minor Changes

  • #299 b13d46b Thanks @EskiMojo14! - feat!: support standard schema

    Validators can now be any validator that supports Standard Schema,
    for example Zod & Valibot.

    This feature comes with some breaking changes:

    • If using Zod, the minimum required version is now 3.24.
    • onValidationError now gets StandardSchemaV1.Issue[] instead of ZodError
  • #310 eb37304 Thanks @EskiMojo14! - feat!: add valibot presets

    Presets using Valibot are now available using the /presets-valibot entrypoint.

    This feature comes with some breaking changes:

    • Zod presets have now been moved to /presets-zod.
  • bb80923 Thanks @juliusmarminge! - update uploadthing preset to v7. add uploadthingV6 for legacy config

Patch Changes