Skip to content

Upgrading valibot 0.4 to 0.5

Unknown0.4.0 → 0.5.0

Fetching 1 release from GitHub…0 / 1
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • removed: function maxRange<TInput extends string | number | bigint | Date, TRequirement extends TInput>(requirement: TRequirement, error?: string): (input: TInput, info: ValidateInfo) => TInput
  • removed: function minRange<TInput extends string | number | bigint | Date, TRequirement extends TInput>(requirement: TRequirement, error?: string): (input: TInput, info: ValidateInfo) => TInput
  • added: const maxRange: typeof maxValue
  • added: const minRange: typeof minValue
  • added: function executePipe<TValue>(input: TValue, pipe: Pipe<TValue>, info: ValidateInfo): TValue
  • added: function executePipeAsync<TValue>(input: TValue, pipe: PipeAsync<TValue>, info: ValidateInfo): Promise<TValue>
  • added: function getCurrentPath(info: ParseInfo | undefined, item: PathItem): PathItem[]
  • added: function getErrorAndPipe<TPipe extends Pipe<any>>(arg1?: string | TPipe, arg2?: TPipe): { error: string | undefined; pipe: TPipe }
  • added: function maxValue<TInput extends string | number | bigint | Date, TRequirement extends TInput>(requirement: TRequirement, error?: string): (input: TInput, info: ValidateInfo) => TInput
  • added: function minValue<TInput extends string | number | bigint | Date, TRequirement extends TInput>(requirement: TRequirement, error?: string): (input: TInput, info: ValidateInfo) => TInput
  • added: function value<TInput extends string | number | bigint, TRequirement extends TInput>(requirement: TRequirement, error?: string): (input: TInput, info: ValidateInfo) => TInput