Skip to content

Releases: logaretm/vee-validate

v4.15.0

22 Dec 16:28
Compare
Choose a tag to compare

🐛 Bug Fixes

  • fix(perf): Skip loading devtools if in SSR #4963 (ec121b1)
  • chore: Bump schema provider versions to their latest move them to peer deps #4951 #4940 (db26a74)
  • fix(yup): Tuple required state resolution #4931 (5cba0aa)
  • fix(bundle): Load devtools lazily to avoid including it in production builds #4943 (#4946)

👕 Types

  • fix: Mark the <Form> submission handler with Generic object to reduce need for casting (#4954) thanks to NaokiHaba

🆕 Features

  • feat: added useIsValidating and useFormContext to Nuxt module auto import list (#4952) thanks to danielwaltz

v4.14.7

08 Nov 23:13
Compare
Choose a tag to compare

🛠️ Devtools

  • Fixed uncontrolled fields (non-form associated) not showing their state in the devtools #4914 (be994b4)
  • Added name prop to <Form /> and useForm to distinguish them in devtools #4930 (#4933) thanks to @genu

v4.14.6

30 Oct 22:42
Compare
Choose a tag to compare

🛠️ Misc

  • Exclude vee-validate from Vite's dep optmization when used in Nuxt. #4906 #4909 (41d82fd)

v4.14.5

30 Oct 22:39
Compare
Choose a tag to compare

🛠️ Misc

Changes here are related to @vee-validate/nuxt, nothing else changed.

  • Switch @vee-validate/nuxt package type to module. (e9f8c88)
  • Upgrade nuxt module dependencies. (e9f8c88)
  • Force loading the mjs module when using nuxt to reduce chances of double import. (e9f8c88)

v4.14.4

23 Oct 17:05
Compare
Choose a tag to compare

🆕 New Features

  • Can set a fallback locale for rules that do not have messages in the active locale with setFallbackLocale. #4872 (193a96f)

🐛 Bug Fixes

  • Devtools crashing when a field name is defined as getter. (0991c01)
  • Handle getter field names properly. #4877 (ecb540a)
  • Properly name exported files to avoid dual package hazard. #4905 (4f88d85)
  • Mark form dirty when object keys are deleted. #4678 (#4710) thanks to @evpaassen

👕 Types

  • fix(types): expose field and form slot prop types. #4900 (f33974c)

v4.14.3

18 Oct 21:51
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Removed a rogue console.log that escaped 🤦‍♂️ (07c27d5)

v4.14.2

18 Oct 21:35
Compare
Choose a tag to compare

🐛 Bug Fixes

v4.14.1

18 Oct 21:33
Compare
Choose a tag to compare

🐛 Bug Fixes

Fixed @vee-validate/i18n not being able to be resolved in Nuxt #4899

v4.14.0

18 Oct 15:27
Compare
Choose a tag to compare

🌲 Dependencies

🆕 New Features

  • Exposed useFormContext to help inject parent forms directly in a typed manner #4490 (f7a4929)
  • Yup Typed Schemas now pass the form values as a ref context. #4753 (#4837) thanks to @catalin-bratu.

👕 TypeScript

Exposed various internal types like FieldSlotProps and FormSlotProps.

🐛 Bug Fixes

  • Define exports field in all packages package.json to help with resolution issues in Nuxt.
  • @vee-validate/rules not having correct types generated properly due to a bad import. (a8524a1)

v4.13.2

05 Jul 15:16
Compare
Choose a tag to compare

🌲 Dependencies

🐛 Bug Fixes

  • types: remove non-existent validated property from FormMeta types (#4784) thanks to @G-Rath