v3.0.0
Breaking Change
The withZod and withYup validators are now published as separate packages.
This was done to prevent you from needing to install both zod and yup in order to appease Typescript.
Migration
Update and install packages
Install the updated remix-validated-form and the adapter package of your choice
npm install remix-validated-form@latest @remix-validated-form/with-zodor
npm install remix-validated-form@latest @remix-validated-form/with-zodChange imports
Change these imports
import { withYup, withZod } from 'remix-validated-form';to this
import { withYup } from '@remix-validated-form/with-yup';
import { withZod } from '@remix-validated-form/with-zod';PRs included
Full Changelog: v2.1.1...v3.0.0