Skip to content

build(deps): bump @vinejs/vine from 3.0.1 to 4.2.0#439

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vinejs/vine-4.2.0
Open

build(deps): bump @vinejs/vine from 3.0.1 to 4.2.0#439
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vinejs/vine-4.2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2026

Bumps @vinejs/vine from 3.0.1 to 4.2.0.

Release notes

Sourced from @​vinejs/vine's releases.

Partial objects, shorthand for creating object validators, new vat rule, and global transforms

4.2.0 (2025-12-11)

Shorthand method to create object validators

Introduced vine.create() method to create validators directly from top-level objects (7960e28). As a result of this, you do not have to use vine.compile(vine.object({})), just vine.create({}) will give the same result.

  import vine from '@vinejs/vine'
// Create a validator from a plain object schema

const validator = vine.compile(
vine.object({

 username: vine.string().minLength(3),



 password: vine.string().minLength(8),



 terms: vine.boolean().isTrue()


})
)


const validator = vine.create({
username: vine.string().minLength(3),
password: vine.string().minLength(8),
terms: vine.boolean().isTrue()
})

// Use the validator
const data = await validator.validate({
username: 'johndoe',
password: 'secret123',
terms: true
})

Object Schema Enhancement

Added partial() method (initially named toOptional) to make all properties of an object schema optional (#127, 08a3472)

  import vine from '@vinejs/vine'
// Define a base schema
const createUserValidator = vine.create({
name: vine.string(),
email: vine.string().email(),
age: vine.number()
})
// Make all properties optional
const updateUserValidator = vine.create(
createUserValidator.schema.partial()
)
</tr></table>

... (truncated)

Commits
  • 471f75e chore(release): 4.2.0
  • e8c649f chore: update dependencies
  • 9762b0c ci: update workflows
  • dd67ffd test: fix breaking tests
  • f368feb feat: introduce global transforms to transform the date objects globally
  • b34f1b0 fix: allow vine.nativeFile to work with vine.unionOfTypes
  • 7960e28 feat: add vine.create method to create validators from top-level objects
  • 752acff feat: make validator schema public to allow cloning it
  • b6e3461 feat: rename toOptional to partial
  • d02d78a chore: use tsdown and ts-exec
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​vinejs/vine since your current version.


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 will merge this PR once CI passes on it, as requested by @abtion-internal-projects.


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 [@vinejs/vine](https://github.com/vinejs/vine) from 3.0.1 to 4.2.0.
- [Release notes](https://github.com/vinejs/vine/releases)
- [Commits](vinejs/vine@v3.0.1...v4.2.0)

---
updated-dependencies:
- dependency-name: "@vinejs/vine"
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 27, 2026
Copy link

@abtion-internal-projects abtion-internal-projects left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 27, 2026

Beginning January 27, 2026, Dependabot will no longer support the @dependabot merge command. Please use GitHub's native pull request controls instead. Please see the changelog announcement for additional details.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 27, 2026

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant