Open renovate[bot] opened 1 year ago
This PR contains the following updates:
2.9.11
3.9.1
📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This PR contains the following updates:
2.9.11
->3.9.1
Release Notes
react-hook-form/resolvers (@hookform/resolvers)
### [`v3.9.1`](https://redirect.github.com/react-hook-form/resolvers/compare/v3.9.0...3ab415e92967df566cae6fc47918708d23c9d54d) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.9.0...v3.9.1) ### [`v3.9.0`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.9.0) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.8.0...v3.9.0) ##### Features - **fluentvalidation-ts:** add fluentvalidation-ts resolver ([#702](https://redirect.github.com/react-hook-form/resolvers/issues/702)) ([5fc1e63](https://redirect.github.com/react-hook-form/resolvers/commit/5fc1e63c24a516dd83c6eb4833f55bba4c81d2a4)) ### [`v3.8.0`](https://redirect.github.com/react-hook-form/resolvers/compare/v3.7.0...039385e69e63069fdd65ea1b836ff939e7bd39a8) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.7.0...v3.8.0) ### [`v3.7.0`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.7.0) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.6.0...v3.7.0) ##### Bug Fixes - **zodResolver:** cannot read properties of undefined (reading 'length') ([a3e50c6](https://redirect.github.com/react-hook-form/resolvers/commit/a3e50c6897250a1875eb1fcc54e4d0d06e06e170)) ##### Features - add VineJS resolver ([#677](https://redirect.github.com/react-hook-form/resolvers/issues/677)) ([c0d528b](https://redirect.github.com/react-hook-form/resolvers/commit/c0d528b0d4c41266bb767d1a594f30f0840e8423)) ### [`v3.6.0`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.6.0) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.5.0...v3.6.0) ##### Features - upgrade and migrate Valibot to v0.31.0 ([#688](https://redirect.github.com/react-hook-form/resolvers/issues/688)) ([bdd5ef5](https://redirect.github.com/react-hook-form/resolvers/commit/bdd5ef59fe68d05ed76339a30b3981db8a7c7ed9)) ### [`v3.5.0`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.5.0) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.4.2...v3.5.0) ##### Features - migrate arktype resolver to v2 ([#686](https://redirect.github.com/react-hook-form/resolvers/issues/686)) ([c53864f](https://redirect.github.com/react-hook-form/resolvers/commit/c53864fdf87b0b88cac4018f74f365f8f4013bf9)) ### [`v3.4.2`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.4.2) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.4.1...v3.4.2) ##### Bug Fixes - move back to in-build set and remove lodash.set ([#685](https://redirect.github.com/react-hook-form/resolvers/issues/685)) ([5754c47](https://redirect.github.com/react-hook-form/resolvers/commit/5754c4748390dca8f7e51e9141793446f5bb50df)) ### [`v3.4.1`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.4.1) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.4.0...v3.4.1) ##### Bug Fixes - migrate set to lodash.set package ([#684](https://redirect.github.com/react-hook-form/resolvers/issues/684)) ([bdc1f1f](https://redirect.github.com/react-hook-form/resolvers/commit/bdc1f1f1aeb7e8dea4badd5112308049ccf41c9c)) ### [`v3.4.0`](https://redirect.github.com/react-hook-form/resolvers/compare/v3.3.4...79700b054566823e96d4fc631a5af68700c674f3) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.3.4...v3.4.0) ### [`v3.3.4`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.3.4) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.3.3...v3.3.4) ##### Bug Fixes - error handling for array errors with root error ([1bfc6ab](https://redirect.github.com/react-hook-form/resolvers/commit/1bfc6abbe99677fe574f0919f84b385cc4e686f4)) ### [`v3.3.3`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.3.3) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.3.2...v3.3.3) ##### Bug Fixes - **valibotResolver:** infinite loop ([#655](https://redirect.github.com/react-hook-form/resolvers/issues/655)) ([6f1b139](https://redirect.github.com/react-hook-form/resolvers/commit/6f1b139cfe34d5c18d07b5201dec427aa3607e3c)) ### [`v3.3.2`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.3.2) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.3.1...v3.3.2) ##### Bug Fixes - CVE by upgrading `zod` dependency ([#633](https://redirect.github.com/react-hook-form/resolvers/issues/633)) ([1baed6e](https://redirect.github.com/react-hook-form/resolvers/commit/1baed6efcfd94910f1b717e2133797855941e315)) ### [`v3.3.1`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.3.1) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.3.0...v3.3.1) ##### Bug Fixes - **yup:** fix ts error ([#625](https://redirect.github.com/react-hook-form/resolvers/issues/625)) ([918d72f](https://redirect.github.com/react-hook-form/resolvers/commit/918d72f58ab560546e8bf367896bd2ee6bb20ce1)) ### [`v3.3.0`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.3.0) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.2.0...v3.3.0) ##### Bug Fixes - **class-validator:** return instance unless rawValues is set ([#617](https://redirect.github.com/react-hook-form/resolvers/issues/617)) ([4882173](https://redirect.github.com/react-hook-form/resolvers/commit/4882173457223a45464032e7bfd826da2d94b709)) - **yup:** lazy schema ([#619](https://redirect.github.com/react-hook-form/resolvers/issues/619)) ([c1d5433](https://redirect.github.com/react-hook-form/resolvers/commit/c1d543303e7c0345073b88628604e306dc93d3b6)) ##### Features - add support for root errors for field array ([#621](https://redirect.github.com/react-hook-form/resolvers/issues/621)) ([5f1a622](https://redirect.github.com/react-hook-form/resolvers/commit/5f1a622a37ba06d3a6bb6d4ab346c700665d8b92)) - pass field names and a context as arguments to a Vest suite ([#584](https://redirect.github.com/react-hook-form/resolvers/issues/584)) ([3519701](https://redirect.github.com/react-hook-form/resolvers/commit/3519701462bb4c64058190b26544ca9e63c228b3)) - **valibot:** add more tests, support of `criteriaMode` and reduce size ([#620](https://redirect.github.com/react-hook-form/resolvers/issues/620)) ([a9d319d](https://redirect.github.com/react-hook-form/resolvers/commit/a9d319d43291d4f01616f5d5424c6b19dacdd4e7)) ### [`v3.2.0`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.2.0) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.1.1...v3.2.0) ##### Features - **valibot:** Add valibot resolver ([#602](https://redirect.github.com/react-hook-form/resolvers/issues/602)) ([2185330](https://redirect.github.com/react-hook-form/resolvers/commit/2185330d1ea83f1226be9dd3733b2950d4038911)) ### [`v3.1.1`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.1.1) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.1.0...v3.1.1) #### BREAKING CHANGES ##### Bug Fixes - **Yup resolver:** schema type error ([#563](https://redirect.github.com/react-hook-form/resolvers/issues/563)) ([420e862](https://redirect.github.com/react-hook-form/resolvers/commit/420e86200a311e09405b90ab1759ed2086392d4a)), closes [#549](https://redirect.github.com/react-hook-form/resolvers/issues/549) **You don't need to explicitly provide the type when using the useForm function because it automatically infers the types from the Yup schema.** **Before** ```tsx const schema = Yup.shape({ name: string }); const { register } = useForm<{name: string}>({ resolver: yupResolver(schema) }); ``` **After** ```tsx const schema = Yup.shape({ name: string }); const { register } = useForm({ resolver: yupResolver(schema) }); ``` ### [`v3.1.0`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.1.0) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.0.1...v3.1.0) ##### Features - **arktype:** add arktype resolver ([#542](https://redirect.github.com/react-hook-form/resolvers/issues/542)) ([d2d6fec](https://redirect.github.com/react-hook-form/resolvers/commit/d2d6feca2006acb430a62e86078f0eec8c8ac171)) ### [`v3.0.1`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.0.1) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v3.0.0...v3.0.1) ##### Bug Fixes - **typebox:** errors iteration ([#537](https://redirect.github.com/react-hook-form/resolvers/issues/537)) ([4a65f85](https://redirect.github.com/react-hook-form/resolvers/commit/4a65f855d7b89bc8e152ccdce16d3ff9ff3fbb47)) ### [`v3.0.0`](https://redirect.github.com/react-hook-form/resolvers/releases/tag/v3.0.0) [Compare Source](https://redirect.github.com/react-hook-form/resolvers/compare/v2.9.11...v3.0.0) ##### BREAKING CHANGES - Yup resolver require Yup v1 - rename `rawValues` option to `raw` - **classValidationResolver:** schema options now includes validator and transformer options - Please note that ajv and ajv-errors need to be installed separately, as they are not bundled with resolvers Before: ```ts schemaOptions?: ValidatorOptions, ``` After: ```ts schemaOptions?: { validator?: ValidatorOptions; transformer?: ClassTransformOptions; } ``` ##### Bug Fixes - module resolution NodeNext ([#527](https://redirect.github.com/react-hook-form/resolvers/issues/527)) ([503d973](https://redirect.github.com/react-hook-form/resolvers/commit/503d973329626fc0432b4e1b7438ed2d73e90cc6)) - resolvers fails silently ([#528](https://redirect.github.com/react-hook-form/resolvers/issues/528)) ([6677e0e](https://redirect.github.com/react-hook-form/resolvers/commit/6677e0ea9a774efb7504b5b958f20100eb4217ed)) ##### Features - add option to keep raw values ([f22d57c](https://redirect.github.com/react-hook-form/resolvers/commit/f22d57cbd3597981a799dffb4ad960cd45b3e8bf)) - **classValidationResolver:** add transform and validator options ([#524](https://redirect.github.com/react-hook-form/resolvers/issues/524)) ([2749bd9](https://redirect.github.com/react-hook-form/resolvers/commit/2749bd980086075a31e3d2ab8b3b3cf8282423b8)) - **yupResolver:** add support Yup v1 ([#520](https://redirect.github.com/react-hook-form/resolvers/issues/520)) ([f3da212](https://redirect.github.com/react-hook-form/resolvers/commit/f3da2123b081f87eb3dae06f7a0c2d84fb9eb39c)) - **typeboxResolver:** add TypeBox resolver ([#526](https://redirect.github.com/react-hook-form/resolvers/issues/526)) ([6a31c92](https://redirect.github.com/react-hook-form/resolvers/commit/6a31c92703e75620df42a451da5bafeb25d371e8)) ```tsx import { useForm } from 'react-hook-form'; import { typeboxResolver } from '@hookform/resolvers/typebox'; import { Type } from '@sinclair/typebox'; const schema = Type.Object({ username: Type.String({ minLength: 1 }), password: Type.String({ minLength: 1 }), }); const App = () => { const { register, handleSubmit } = useForm({ resolver: typeboxResolver(schema), }); return ( ); }; ``` ##### Performance Improvements - **ajvResolver:** reduce bundle size ([#523](https://redirect.github.com/react-hook-form/resolvers/issues/523)) ([fc00379](https://redirect.github.com/react-hook-form/resolvers/commit/fc003799338a6d2502194db4c1ab9beeb1d67f8c))Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.