2.0.0 (2021-04-02)
BREAKING CHANGES
- Require react-hook-form >= 7
Features
- Pass down error's ref (#127) (fd9c5bc)
- expose array element validation errors in zod resolver (#119) (ecee1e9)
- types: add Lazy schema support to resolver (#135) (ac2128e), closes #92 #31
- Vest sync validation + update to v3 (#117) (e76743d)
- Joi sync validation (#116) (8e3b54a)
- Yup sync validation (#115) (f83996b)
- Zod async validation (#114) (22e7545)
Bug Fixes
- Joi pass down context from useForm (#122) (132a90e)
- zod union error + reduce size (#126) (19dfa9b)
- yup resolver typescript errors (8e10721)
- Improve modules support (cjs, esm, umd) (507ee0d)
Performance Improvements
- reduce joi resolver's size (#131) (3af7bd7)
- reduce yup resolver's size (#130) (de0b62a)
- reduce vest resolver size (#129) (6e86b4f)
- reduce joi and yup bundle size (#134) (635344d)
V2 🚀 (#108) (fe53179), closes #108 #97 #114 #116 #115 #117 #123 #125 #124 #126 #127 #128 #129 #131 #130 #132 #134 #136