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

fix(deps): update dependency valibot to ^0.35.0 #518

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
valibot (source) ^0.25.0 -> ^0.35.0 age adoption passing confidence

Release Notes

fabian-hiller/valibot (valibot)

v0.35.0

Compare Source

Many thanks to @​jindong-zhannng, @​dyljhd and @​TeChn4K for contributing to this release.

  • Increase argument limit of pipe and pipeAsync method to 19 (issue #​643)

v0.34.0

Compare Source

Many thanks to @​Saeris, @​Jimdooz, @​Kenzo-Wada and @​sillvva for contributing to this release.

  • Add file, function and promise schema
  • Add awaitAsync action to await promise in pipeline
  • Add operation property to filterItems, findItem, mapItems, reduceItems and sortItem action
  • Rename action argument of filterItems, findItem, mapItems, reduceItems and sortItem action to operation
  • Rename action argument and property of transform and transformAsync action to operation
  • Change and improve implementation of _stringify util

v0.33.3

Compare Source

Many thanks to @​Demivan for contributing to this release.

  • Fix _isPartiallyTyped util of partialCheck and partialCheckAsync action

v0.33.2

Compare Source

Many thanks to @​allezxandre for contributing to this release.

  • Fix type exports for JSR and Deno (pull request #​663)

v0.33.1

Compare Source

  • Fix types of partialCheck and partialCheckAsync action

v0.33.0

Compare Source

Many thanks to @​Demivan, @​ruiaraujo012, @​Karakatiza666, @​micahjon, @​unlinking, @​demarchenac, @​xsjcTony, @​ziyak97 and @​Lukasz17git for contributing to this release.

  • Add export alias with reserved keywords for functions with underscore suffix
  • Add partialCheck and partialCheckAsync action (issue #​76, #​145, #​260)
  • Add checkItems, filterItems, findItem, mapItems, reduceItems and sortItem action (issue #​595)
  • Rename every and some action to everyItem and someItem
  • Rename _isAllowedObjectKey to _isValidObjectKey and add check for inherited properties
  • Remove RecordPathItem and TuplePathItem type and refactor code
  • Fix received property of issue in date schema for invalid dates (issue #​654)

v0.32.0

Compare Source

Many thanks to @​ruiaraujo012, @​jansedlon, @​ksjitendra18 and @​megacherry for contributing to this release.

  • Add rawCheck, rawCheckAsync, rawTransform and rawTransformAsync action (issue #​597)
  • Change FlatErrors type for better developer experience (discussion #​640)
  • Change pipe and pipeAsync method to mark output as untyped only when necessary (discussion #​613)
  • Remove unused skipPipe option from Config type and refactor library
  • Fix this reference in looseTuple, looseTupleAsync, strictTuple, strictTupleAsync, tuple, tupleAsync, tupleWithRest and tupleWithRestAsync schema (pull request #​649)
  • Fix type of options key in EnumSchema interface

v0.31.1

Compare Source

Many thanks to @​Omochice for contributing to this release.

  • Fix missing file extension for Deno (pull request #​637)

v0.31.0

Compare Source

Many thanks to @​Afsoon, @​AlexXanderGrib, @​Andarist, @​AndreyYolkin, @​ariskemper, @​Demivan, @​DylanThomasFr, @​EltonLobo07, @​GabrielHangor, @​Hugos68, @​IlyaSemenov, @​MohammedEsafi, @​MrGeniusProgrammer, @​Saeris, @​Sandros94, @​Sec-ant, @​alexbit-codemod, @​ammarriq, @​anuraghazra, @​arybitskiy, @​bingtsingw, @​brandonpittman, @​brenelz, @​chertik77, @​chimame, @​christophsturm, @​dboune, @​devcaeg, @​dusty, @​fredericoo, @​gmaxlev, @​homersimpsons, @​jansedlon, @​jchatard, @​joshwashywash, @​jsudelko, @​juliusmarminge, @​kovalchukq, @​linkb15, @​lukemorton, @​macarie, @​morgante, @​mtt-artis, @​mutewinter, @​mxdvl, @​nakanoasaservice, @​naveen-bharathi, @​sacrosanctic, @​samualtnorman, @​saturnonearth, @​seren5240, @​sillvva, @​ssalbdivad, @​vladshcherbin, @​xcfox, @​yudinmaxim, @​znycheporuk and many others for contributing to this release.

To migrate from an older version, please see the official migration guide and our announcement post.

v0.30.0

Compare Source

Many thanks to @​Saeris, @​ariskemper, @​mxdvl, @​romeerez and @​niccholaspage for contributing to this release.

  • Add Default and DefaultAsync type and refactor codebase
  • Add Fallback and FallbackAsync type and refactor codebase
  • Add isOfType type guard util to check the type of an object
  • Refactor getDefaults and getDefaultsAsync method (pull request #​259)
  • Refactor getFallbacks and getFallbacksAsync method (pull request #​259)
  • Change type definitions from type to interface (pull request #​259, #​451)
  • Remove deprecated properties of safeParse and safeParseAsync method
  • Remove any deprecated method, schema and validation functions
  • Fix NestedPath type of flatten for async schemas (issue #​456)
  • Fix implementation of DefaultValue type for transformed values

v0.29.0

Compare Source

Many thanks to @​Mini-ghost, @​ivands and @​Demivan for contributing to this release.

  • Add every and some pipeline validation action
  • Add input of schema to getter function of recursive and recursiveAsync schema (pull request #​441)
  • Change implementation of transform and transformAsync method to only run transformations if there are no issues (issue #​436)
  • Rename recursive and recursiveAsync schema to lazy and lazyAsync (issue #​440)
  • Fix bug in i18n util when using setSchemaMessage

v0.28.1

Compare Source

Many thanks to @​compulim for contributing to this release.

  • Fix bug in union and unionAsync schema for transformed inputs (issue #​420)

v0.28.0

Compare Source

Many thanks to @​LorisSigrist, @​samuelstroschein, @​gmaxlev, @​thundermiracle, @​ivanhofer, @​CanRau, @​zkulbeda, @​lucaschultz, @​paoloricciuti, @​hyunbinseo, and @​bertez for contributing to this release.

Note: The library has been revised and refactored. Therefore, not every change is listed in detail.

  • Add i18n feature, global configurations and improve error messages (pull request #​397)
  • Add number and bigint to PicklistOptions type (issue #​378)
  • Fix missing export of forwardAsync method (issue #​412)

v0.27.1

Compare Source

Many thanks to @​Omochice for contributing to this release.

  • Fix missing file extension for Deno (pull request #​387)

v0.27.0

Compare Source

Many thanks to @​pschiffmann for contributing to this release.

  • Remove NonNullable, NonNullish and NonOptional type
  • Add NonNullableInput, NonNullableOutput, NonNullishInput, NonNullishOutput, NonOptionalInput and NonOptionalOutput type
  • Improve type signature of omit, omitAsync, pick and pickAsync schema to also allow read-only object keys (issue #​380)
  • Fix type of pipe argument at intersect and intersectAsync schema

v0.26.0

Compare Source

Many thanks to @​WtfJoke, @​dboune, @​alexabw and @​aypotu for contributing to this release.

  • Improve performance of enum_ and enumAsync schema by caching values
  • Change ISO timestamp regex to support timestamps with lower and higher millisecond accuracy (pull request #​353)
  • Change issue handling of union, unionAsync, variant and variantAsync schema to improve developer experience
  • Fix bug in getDefaults, getDefaultsAsync, getFallbacks and getFallbacksAsync schema for falsy but not undefined values (issue #​356)
  • Fix type of pipe argument at union, unionAsync, variant and variantAsync schema
  • Fix bug that broke pipeline execution in union, unionAsync, variant and variantAsync schema (issue #​364)
  • Fix typo in type name of startsWith validation action (pull request #​375)

Migration guide

The changes in union, unionAsync, variant and variantAsync are breaking changes and may result in different behavior when returning issues. Please create an issue if you have questions about this.

import * as v from 'valibot';

// Change this
const UnionSchema = v.union(
  [v.string([v.email()]), v.literal('')],
  'Not a valid email'
);

// To that
const UnionSchema = v.union([
  v.string([v.email('Not a valid email')]),
  v.literal(''),
]);

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

cloudflare-pages bot commented Jan 17, 2024

Deploying kimuson-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3753399
Status:🚫  Build failed.

View logs

@renovate renovate bot changed the title fix(deps): update dependency valibot to ^0.26.0 fix(deps): update dependency valibot to ^0.27.0 Jan 24, 2024
@renovate renovate bot changed the title fix(deps): update dependency valibot to ^0.27.0 fix(deps): update dependency valibot to ^0.28.0 Feb 6, 2024
@renovate renovate bot changed the title fix(deps): update dependency valibot to ^0.28.0 fix(deps): update dependency valibot to ^0.29.0 Feb 20, 2024
@renovate renovate bot changed the title fix(deps): update dependency valibot to ^0.29.0 fix(deps): update dependency valibot to ^0.30.0 Mar 7, 2024
@renovate renovate bot changed the title fix(deps): update dependency valibot to ^0.30.0 fix(deps): update dependency valibot to ^0.31.0 Jun 6, 2024
@renovate renovate bot changed the title fix(deps): update dependency valibot to ^0.31.0 fix(deps): update dependency valibot to ^0.32.0 Jun 14, 2024
@renovate renovate bot changed the title fix(deps): update dependency valibot to ^0.32.0 fix(deps): update dependency valibot to ^0.33.0 Jun 18, 2024
@renovate renovate bot changed the title fix(deps): update dependency valibot to ^0.33.0 fix(deps): update dependency valibot to ^0.34.0 Jun 24, 2024
@renovate renovate bot changed the title fix(deps): update dependency valibot to ^0.34.0 fix(deps): update dependency valibot to ^0.35.0 Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants