Bump valibot from 0.42.1 to 1.0.0 #40

Closed
dependabot[bot] wants to merge 1 commits from dependabot/npm_and_yarn/valibot-1.0.0 into main
dependabot[bot] commented 2025-04-28 08:04:44 -04:00 (Migrated from github.com)

Bumps valibot from 0.42.1 to 1.0.0.

Release notes

Sourced from valibot's releases.

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)
  • Change MarkOptional type to fix order of entries and TS error when using generic schemas (issue #1021)
  • Change VariantOption and VariantOptionAsync type to fix TS error when using generic schemas (issue #842)
  • Change implementation of variant and variantAsync to support optional discriminators using exactOptional, exactOptionalAsync, optional, optionalAsync, nullish or nullishAsync
  • Change _addIssue to not ignore empty strings as error message (pull request #1065)
  • Change ISO_DATE_TIME_REGEX and ISO_TIMESTAMP_REGEX to support space as separator (pull request #1064)
  • Change pipe tuple of pipe and pipeAsync to be readonly by default
  • Change forward, forwardCheck, partialCheck and partialCheckAsync to improve TypeScript performance (issue #987)
  • Change DECIMAL_REGEX to support floats that start with a dot (pull request #1086)
  • Change exports to export only public types to reduce noise
  • Refactor bytes, maxBytes, minBytes and notBytes action
  • Fix implementation of nonOptional, nonOptionalAsync, nonNullable, nonNullableAsync, nonNullish and nonNullishAsync schema in edge cases (issue #909)
  • Fix instantiation error for any in PathKeys type (issue #929)
  • Fix TypeScript error of keyof method for objects with many keys (pull request #988)
  • Fix options filtering in enum_ schema (pull request #941)
  • Fix partialCheck and partialCheckAsync action for typed data with issues

v1.0.0 (to-json-schema)

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

  • Add support for exactOptional and undefinedable schema
  • Add support for base64, isoTime, isoDateTime, nonEmpty and url action (pull request #962)
  • Add support for bic, cuid2, empty, decimal, digits, emoji, hex_color, hexadecimal, nanoid, octal and ulid action (pull request #998)
  • Change Valibot peer dependency to v1.0.0
  • Change extraction of default value from nullable, nullish and optional schema
  • Change force to errorMode in config for better control (issue #889)
  • Change additionalProperties for object and looseObject schema (pull request #1001)

... (truncated)

Commits
  • 15e430e Bump version of library to 1.0.0
  • bde3afe Remove beta annotations from args, returns and entriesFromObjects
  • ac3f05b Update bundle size info in comparison guide
  • 33f79c3 Update Twitter links to use new x.com domain
  • 5c0c57e Improve code example in README and introduction guide
  • 562bb71 Update sponsorship info and enhance bundle size benefits text
  • bf3a688 Fix info about initial bundle size of a schema
  • aa3ec76 Change exports to export only public types to reduce noise
  • 9fdd0cb Fix spelling of "separators" in test descriptions
  • 1ecfd5b Merge pull request #1086 from fabian-hiller/feat-change-decimal-regex
  • 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.0.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.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> <li>Change <code>MarkOptional</code> type to fix order of entries and TS error when using generic schemas (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1021">#1021</a>)</li> <li>Change <code>VariantOption</code> and <code>VariantOptionAsync</code> type to fix TS error when using generic schemas (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/842">#842</a>)</li> <li>Change implementation of <code>variant</code> and <code>variantAsync</code> to support optional discriminators using <code>exactOptional</code>, <code>exactOptionalAsync</code>, <code>optional</code>, <code>optionalAsync</code>, <code>nullish</code> or <code>nullishAsync</code></li> <li>Change <code>_addIssue</code> to not ignore empty strings as error message (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1065">#1065</a>)</li> <li>Change <code>ISO_DATE_TIME_REGEX</code> and <code>ISO_TIMESTAMP_REGEX</code> to support space as separator (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1064">#1064</a>)</li> <li>Change pipe tuple of <code>pipe</code> and <code>pipeAsync</code> to be readonly by default</li> <li>Change <code>forward</code>, <code>forwardCheck</code>, <code>partialCheck</code> and <code>partialCheckAsync</code> to improve TypeScript performance (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/987">#987</a>)</li> <li>Change <code>DECIMAL_REGEX</code> to support floats that start with a dot (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1086">#1086</a>)</li> <li>Change exports to export only public types to reduce noise</li> <li>Refactor <code>bytes</code>, <code>maxBytes</code>, <code>minBytes</code> and <code>notBytes</code> action</li> <li>Fix implementation of <code>nonOptional</code>, <code>nonOptionalAsync</code>, <code>nonNullable</code>, <code>nonNullableAsync</code>, <code>nonNullish</code> and <code>nonNullishAsync</code> schema in edge cases (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/909">#909</a>)</li> <li>Fix instantiation error for <code>any</code> in <code>PathKeys</code> type (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/929">#929</a>)</li> <li>Fix TypeScript error of <code>keyof</code> method for objects with many keys (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/988">#988</a>)</li> <li>Fix options filtering in <code>enum_</code> schema (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/941">#941</a>)</li> <li>Fix <code>partialCheck</code> and <code>partialCheckAsync</code> action for typed data with issues</li> </ul> <h2>v1.0.0 (to-json-schema)</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 support for <code>exactOptional</code> and <code>undefinedable</code> schema</li> <li>Add support for <code>base64</code>, <code>isoTime</code>, <code>isoDateTime</code>, <code>nonEmpty</code> and <code>url</code> action (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/962">#962</a>)</li> <li>Add support for <code>bic</code>, <code>cuid2</code>, <code>empty</code>, <code>decimal</code>, <code>digits</code>, <code>emoji</code>, <code>hex_color</code>, <code>hexadecimal</code>, <code>nanoid</code>, <code>octal</code> and <code>ulid</code> action (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/998">#998</a>)</li> <li>Change Valibot peer dependency to v1.0.0</li> <li>Change extraction of default value from <code>nullable</code>, <code>nullish</code> and <code>optional</code> schema</li> <li>Change <code>force</code> to <code>errorMode</code> in config for better control (issue <a href="https://redirect.github.com/fabian-hiller/valibot/issues/889">#889</a>)</li> <li>Change <code>additionalProperties</code> for <code>object</code> and <code>looseObject</code> schema (pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1001">#1001</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/15e430e97267711ffd9f0633bc81bb49ce60a247"><code>15e430e</code></a> Bump version of library to 1.0.0</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/bde3afe2e00114fd4e4a8b03b4291641f7fa30a8"><code>bde3afe</code></a> Remove beta annotations from args, returns and entriesFromObjects</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/ac3f05ba792c4f0ddd3beaa6a18a4601a9f786f1"><code>ac3f05b</code></a> Update bundle size info in comparison guide</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/33f79c3cc7cadc40603f498793f3c21af0a8b394"><code>33f79c3</code></a> Update Twitter links to use new x.com domain</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/5c0c57e78a69cac64024f9e7cf212229dd01302d"><code>5c0c57e</code></a> Improve code example in README and introduction guide</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/562bb71909bb280d86e05d0e64e91f0699f667d3"><code>562bb71</code></a> Update sponsorship info and enhance bundle size benefits text</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/bf3a6883e0a10088317871f86a58cea511e93fce"><code>bf3a688</code></a> Fix info about initial bundle size of a schema</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/aa3ec76f62539cab1c91d7ec9be55be9e711bd5e"><code>aa3ec76</code></a> Change exports to export only public types to reduce noise</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/9fdd0cb25f2563b1f01fdfe37878f23002c97e28"><code>9fdd0cb</code></a> Fix spelling of &quot;separators&quot; in test descriptions</li> <li><a href="https://github.com/fabian-hiller/valibot/commit/1ecfd5bca1a38247cb22151cefb54b25ba21b143"><code>1ecfd5b</code></a> Merge pull request <a href="https://redirect.github.com/fabian-hiller/valibot/issues/1086">#1086</a> from fabian-hiller/feat-change-decimal-regex</li> <li>Additional commits viewable in <a href="https://github.com/fabian-hiller/valibot/compare/v0.42.1...v1.0.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.0.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-05-12 07:10:53 -04:00 (Migrated from github.com)

Superseded by #42.

Superseded by #42.

Pull request closed

Sign in to join this conversation.
No description provided.