Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump @vee-validate/nuxt from 4.10.5 to 4.11.1 #2161

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 13, 2023

Bumps @vee-validate/nuxt from 4.10.5 to 4.11.1.

Release notes

Sourced from @​vee-validate/nuxt's releases.

v4.11.1

🐛 Bug fixes

  • handleChange should now infer value as a number from Input type range (5e23dcb92db38cc33e66cb6e22706ffda9c477d2)

v4.11.0

This release contains a couple of new features

🆕 Composition API setters

Added composition functions to set field and form values, meta, and errors from their child components. The functions are:

  • useSetFieldValue: sets a field's value.
  • useSetFieldTouched: sets a field's touched state.
  • useSetFieldError: sets a field's error message.
  • useSetFormValues: sets form values.
  • useSetFormTouched: sets multiple or all fields touched state.
  • useSetFormErrors: sets form error messages.

🆕 Initial support for Valibot

Valibot is an impressive new schema validation library, mainly it offers Zod-like features at a much less bundle size due to its non-chainable API while still being easy to use and fully typed.

Because of this, vee-validate now supports it as a schema provider using the @vee-validate/valibot package that exposes the same API function toTypedSchema that you can use to get TypeScript support into your forms input and output values.

Quick example:

import { useForm } from 'vee-validate';
import { toTypedSchema } from '@vee-validate/valibot';
import { email, string, minLength, object } from 'valibot';
const { errors, values } = useForm({
validationSchema: toTypedSchema(
object({
email: string([minLength(1, 'Email is required'), email()]),
password: string([minLength(6, 'password too short')]),
}),
),
});

Refer to the docs for live examples and more information on typed schemas.

v4.10.9

👕 Types

  • Fixed a type issue where setErrors did not accept an array of strings #4396 (c02337f33bbd062177de969df4448abdfb295cc8)

v4.10.8

... (truncated)

Changelog

Sourced from @​vee-validate/nuxt's changelog.

4.11.1

Patch Changes

4.11.0

Patch Changes

4.10.9

Patch Changes

4.10.8

Patch Changes

4.10.7

Patch Changes

4.10.6

Patch Changes

  • Updated dependencies [40ce7a91]
  • Updated dependencies [e9b215a7]
  • Updated dependencies [4e11ff95]
  • Updated dependencies [e354a13a]
  • Updated dependencies [68080d28]
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@vee-validate/nuxt](https://github.com/logaretm/vee-validate/tree/HEAD/packages/nuxt) from 4.10.5 to 4.11.1.
- [Release notes](https://github.com/logaretm/vee-validate/releases)
- [Changelog](https://github.com/logaretm/vee-validate/blob/main/packages/nuxt/CHANGELOG.md)
- [Commits](https://github.com/logaretm/vee-validate/commits/v4.11.1/packages/nuxt)

---
updated-dependencies:
- dependency-name: "@vee-validate/nuxt"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/vee-validate/nuxt-4.11.1 branch from eefcd94 to 7454f5f Compare August 17, 2023 18:55
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 27, 2023

Superseded by #2196.

@dependabot dependabot bot closed this Aug 27, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vee-validate/nuxt-4.11.1 branch August 27, 2023 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants