Bump valibot from 0.42.1 to 1.1.0 #42

Closed
dependabot[bot] wants to merge 1 commits from dependabot/npm_and_yarn/valibot-1.1.0 into main
dependabot[bot] commented 2025-05-12 07:10:52 -04:00 (Migrated from github.com)

Bumps valibot from 0.42.1 to 1.1.0.

Release notes

Sourced from valibot's releases.

v1.1.0

Many thanks to @​EltonLobo07, @​sacrosanctic, @​muningis, @​EskiMojo14, @​MOZGIII, @​vktrl and @​jasperteo for contributing to this release.

Read the release notes on our website for a quick overview of the most exciting new features in this release.

  • Add message method to overwrite local error message configuration of a schema (pull request #1103)
  • Add summarize method to summarize issues into a pretty-printable multi-line string (pull request #1158)
  • Add getTitle, getDescription and getMetadata methods to extract metadata of a schema (pull request #1154)
  • Add minEntries and maxEntries validation action to validate number of object entries (pull request #1100)
  • Add entries and notEntries validation action to validate number of object entries (pull request #1156)
  • Add parseJson and stringifyJson transformation action to parse and stringify JSON (pull request #1137)
  • Add flavor transformation action to flavor the output type of a schema (pull request #950)
  • Add support for bigints to multipleOf validation action (pull request #1164)
  • Change implementation of variant and variantAsync schema to improve performance by aborting validation of discriminators early (pull request #1110)
  • Change name of NanoIDAction and NanoIDIssue interface to NanoIdAction and NanoIdIssue (pull request #1171)
  • Fix internal MarkOptional type to fix input and output type of objects in edge cases (issue #1176)

v1.1.0 (to-json-schema)

Many thanks to @​sruenwg, @​muningis and @​EltonLobo07 for contributing to this release.

  • Add support for minEntries and maxEntries action (pull request #1100)
  • Add support for entries action (pull request #1156)
  • Change Valibot peer dependency to v1.1.0
  • Fix toJsonSchema to be independent of definition order (pull request #1133)
  • Fix additionalItems for tuple schemas and add minItems (pull request #1126)

v1.0.0

This is a summary of the changes between v0 and v1. Many thanks to everyone who contributed to this release.

  • Add assert method to assert values (issue #862)
  • Add checkItemsAsync action (pull request #856)
  • Add graphemes, maxGraphemes, minGraphemes and notGraphemes action (pull request #853)
  • Add words, maxWords, minWords and notWords action
  • Add args and returns action to transform functions (issue #243)
  • Add rfcEmail action to validate RFC 5322 email addresses (pull request #912)
  • Add gtValue and ltValue action for greater than and less than validation (pull request #978, #985)
  • Add values and notValues action for easier multi-value validation (pull request #919)
  • Add slug action to validate URL slugs (pull request #910)
  • Add support for ReadonlyMap and ReadonlySet to readonly action (issue #1059)
  • Add entriesFromObjects util to improve tree shaking (pull request #1023)
  • Add new overload signature to pipe and pipeAync method to support unlimited pipe items of same input and output type (issue #852)
  • Add @__NO_SIDE_EFFECTS__ notation to improve tree shaking (pull request #995)
  • Add exactOptional and exactOptionalAsync schema (PR #1013)
  • Change types and implementation to support Standard Schema
  • Change behaviour of minValue and maxValue for NaN (pull request #843)
  • Change type and behaviour of nullable, nullableAsync, nullish, nullishAsync, optional, optionalAsync, undefinedable and undefinedableAsync for undefined default value (issue #878)
  • Change type signature of partialCheck and partialCheckAsync action to add .pathList property in a type-safe way
  • Change type signature of findItem action to support type predicates (issue #867)
  • Change validation of missing object entries in looseObject, looseObjectAsync, object, objectAsync, objectWithRest, objectWithRestAsync, strictObject and strictObject (PR #1013)
  • Change type signature of optional and optionalAsync when used within an object schema (PR #1013)

... (truncated)

Commits
  • 63dfa76 Bump version of library to 1.1.0
  • aabeda9 Merge pull request #1154 from EskiMojo14/get-metadata
  • 7d1b555 Update docs for getMetadata, getDescription and getTitle
  • 99b15ba Refactor and improve getMetadata, getDescription and getTitle
  • 5cb0c0d Merge branch 'main' into get-metadata
  • 42b767d Rename headings of parse data guide for better clarity
  • b0d0743 Merge pull request #950 from vktrl/feat-flavors
  • 6120369 Update and improve docs for new flavor action
  • 020ed31 Refactor imports and fix ESLint warning
  • e8c2833 Update changelog and enhance tests for flavor and brand actions
  • Additional commits viewable in compare view

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 [valibot](https://github.com/fabian-hiller/valibot) from 0.42.1 to 1.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/fabian-hiller/valibot/releases">valibot's releases</a>.</em></p> <blockquote> <h2>v1.1.0</h2> <p>Many thanks to <a href="https://github.com/EltonLobo07"><code>@​EltonLobo07</code></a>, <a href="https://github.com/sacrosanctic"><code>@​sacrosanctic</code></a>, <a href="https://github.com/muningis"><code>@​muningis</code></a>, <a href="https://github.com/EskiMojo14"><code>@​EskiMojo14</code></a>, <a href="https://github.com/MOZGIII"><code>@​MOZGIII</code></a>, <a href="https://github.com/vktrl"><code>@​vktrl</code></a> and <a href="https://github.com/jasperteo"><code>@​jasperteo</code></a> for contributing to this release.</p> <blockquote> <p>Read the <a href="https://valibot.dev/blog/valibot-v1.1-release-notes/">release notes</a> on our website for a quick overview of the most exciting new features in this release.</p> </blockquote> <ul> <li>Add <code>message</code> method to overwrite local error message configuration of a schema (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1103">#1103</a>)</li> <li>Add <code>summarize</code> method to summarize issues into a pretty-printable multi-line string (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1158">#1158</a>)</li> <li>Add <code>getTitle</code>, <code>getDescription</code> and <code>getMetadata</code> methods to extract metadata of a schema (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1154">#1154</a>)</li> <li>Add <code>minEntries</code> and <code>maxEntries</code> validation action to validate number of object entries (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1100">#1100</a>)</li> <li>Add <code>entries</code> and <code>notEntries</code> validation action to validate number of object entries (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1156">#1156</a>)</li> <li>Add <code>parseJson</code> and <code>stringifyJson</code> transformation action to parse and stringify JSON (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1137">#1137</a>)</li> <li>Add <code>flavor</code> transformation action to flavor the output type of a schema (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/950">#950</a>)</li> <li>Add support for bigints to <code>multipleOf</code> validation action (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1164">#1164</a>)</li> <li>Change implementation of <code>variant</code> and <code>variantAsync</code> schema to improve performance by aborting validation of discriminators early (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1110">#1110</a>)</li> <li>Change name of <code>NanoIDAction</code> and <code>NanoIDIssue</code> interface to <code>NanoIdAction</code> and <code>NanoIdIssue</code> (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1171">#1171</a>)</li> <li>Fix internal <code>MarkOptional</code> type to fix input and output type of objects in edge cases (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1176">#1176</a>)</li> </ul> <h2>v1.1.0 (to-json-schema)</h2> <p>Many thanks to <a href="https://github.com/sruenwg"><code>@​sruenwg</code></a>, <a href="https://github.com/muningis"><code>@​muningis</code></a> and <a href="https://github.com/EltonLobo07"><code>@​EltonLobo07</code></a> for contributing to this release.</p> <ul> <li>Add support for <code>minEntries</code> and <code>maxEntries</code> action (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1100">#1100</a>)</li> <li>Add support for <code>entries</code> action (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1156">#1156</a>)</li> <li>Change Valibot peer dependency to v1.1.0</li> <li>Fix <code>toJsonSchema</code> to be independent of definition order (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1133">#1133</a>)</li> <li>Fix <code>additionalItems</code> for tuple schemas and add <code>minItems</code> (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1126">#1126</a>)</li> </ul> <h2>v1.0.0</h2> <p>This is a summary of the changes between v0 and v1. Many thanks to everyone who contributed to this release.</p> <ul> <li>Add <code>assert</code> method to assert values (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/862">#862</a>)</li> <li>Add <code>checkItemsAsync</code> action (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/856">#856</a>)</li> <li>Add <code>graphemes</code>, <code>maxGraphemes</code>, <code>minGraphemes</code> and <code>notGraphemes</code> action (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/853">#853</a>)</li> <li>Add <code>words</code>, <code>maxWords</code>, <code>minWords</code> and <code>notWords</code> action</li> <li>Add <code>args</code> and <code>returns</code> action to transform functions (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/243">#243</a>)</li> <li>Add <code>rfcEmail</code> action to validate RFC 5322 email addresses (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/912">#912</a>)</li> <li>Add <code>gtValue</code> and <code>ltValue</code> action for greater than and less than validation (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/978">#978</a>, <a href="https://redirect.github.com/fabian-hiller/valibot/issues/985">#985</a>)</li> <li>Add <code>values</code> and <code>notValues</code> action for easier multi-value validation (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/919">#919</a>)</li> <li>Add <code>slug</code> action to validate URL slugs (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/910">#910</a>)</li> <li>Add support for <code>ReadonlyMap</code> and <code>ReadonlySet</code> to <code>readonly</code> action (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1059">#1059</a>)</li> <li>Add <code>entriesFromObjects</code> util to improve tree shaking (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1023">#1023</a>)</li> <li>Add new overload signature to <code>pipe</code> and <code>pipeAync</code> method to support unlimited pipe items of same input and output type (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/852">#852</a>)</li> <li>Add <code>@__NO_SIDE_EFFECTS__</code> notation to improve tree shaking (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/995">#995</a>)</li> <li>Add <code>exactOptional</code> and <code>exactOptionalAsync</code> schema (PR <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1013">#1013</a>)</li> <li>Change types and implementation to support Standard Schema</li> <li>Change behaviour of <code>minValue</code> and <code>maxValue</code> for <code>NaN</code> (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/843">#843</a>)</li> <li>Change type and behaviour of <code>nullable</code>, <code>nullableAsync</code>, <code>nullish</code>, <code>nullishAsync</code>, <code>optional</code>, <code>optionalAsync</code>, <code>undefinedable</code> and <code>undefinedableAsync</code> for undefined default value (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/878">#878</a>)</li> <li>Change type signature of <code>partialCheck</code> and <code>partialCheckAsync</code> action to add <code>.pathList</code> property in a type-safe way</li> <li>Change type signature of <code>findItem</code> action to support type predicates (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/867">#867</a>)</li> <li>Change validation of missing object entries in <code>looseObject</code>, <code>looseObjectAsync</code>, <code>object</code>, <code>objectAsync</code>, <code>objectWithRest</code>, <code>objectWithRestAsync</code>, <code>strictObject</code> and <code>strictObject</code> (PR <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1013">#1013</a>)</li> <li>Change type signature of <code>optional</code> and <code>optionalAsync</code> when used within an object schema (PR <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1013">#1013</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/fabian-hiller/valibot/commit/63dfa76dbf4f78144398815015947a7cc4d12c4b"><code>63dfa76</code></a> Bump version of library to 1.1.0</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/aabeda9be5a6197e4b3494a1203ed1cf6fbfed7e"><code>aabeda9</code></a> Merge pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1154">#1154</a> from EskiMojo14/get-metadata</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/7d1b55569f7fb898a62298c2a1f84ca3e67f7ba9"><code>7d1b555</code></a> Update docs for getMetadata, getDescription and getTitle</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/99b15baf13c5dabd85b767709ab636722a58ab9f"><code>99b15ba</code></a> Refactor and improve getMetadata, getDescription and getTitle</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/5cb0c0dde58be16317d58fbb9b61e2c7b84c1223"><code>5cb0c0d</code></a> Merge branch 'main' into get-metadata</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/42b767d838c95c558ce8e892f21a0edfbe0f583b"><code>42b767d</code></a> Rename headings of parse data guide for better clarity</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/b0d07434a9f1d7fba8f1adf9e29b59a8237cb704"><code>b0d0743</code></a> Merge pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/950">#950</a> from vktrl/feat-flavors</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/6120369da8708d563a7e5321b216e459625918bc"><code>6120369</code></a> Update and improve docs for new flavor action</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/020ed31b7a964438cff461f02a2fc1646e3d5991"><code>020ed31</code></a> Refactor imports and fix ESLint warning</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/e8c28338964210b890656558ac685e04332948d6"><code>e8c2833</code></a> Update changelog and enhance tests for flavor and brand actions</li> <li>Additional commits viewable in <a href="https://github.com/fabian-hiller/valibot/compare/v0.42.1...v1.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=valibot&package-manager=npm_and_yarn&previous-version=0.42.1&new-version=1.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
dependabot[bot] commented 2025-06-21 21:32:47 -04:00 (Migrated from github.com)

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file. If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

Pull request closed

Sign in to join this conversation.
No description provided.