Skip to content

Upgrading valibot 0.38 to 0.39

Safe0.38.0 → 0.39.0New1Fixed2

SafeUpgrade verdict

Only new features and fixes in this range.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

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

  • changed: readonly property BaseIssue.issues?: [BaseIssue<TInput>, ...BaseIssue<TInput>[]] → readonly property BaseIssue.issues?: [BaseIssue<TInput>, ...BaseIssue<TInput>[]] | undefined
  • changed: readonly property BaseIssue.path?: [IssuePathItem, ...IssuePathItem[]] → readonly property BaseIssue.path?: [IssuePathItem, ...IssuePathItem[]] | undefined
  • changed: readonly property BaseIssue.requirement?: unknown → readonly property BaseIssue.requirement?: unknown | undefined
  • changed: readonly property Config.abortEarly?: boolean → readonly property Config.abortEarly?: boolean | undefined
  • changed: readonly property Config.abortPipeEarly?: boolean → readonly property Config.abortPipeEarly?: boolean | undefined
  • changed: readonly property Config.lang?: string → readonly property Config.lang?: string | undefined
  • changed: readonly property Config.message?: ErrorMessage<TIssue> → readonly property Config.message?: ErrorMessage<TIssue> | undefined
  • changed: type IssueDotPath<TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>> = TSchema extends ArraySchema<infer TItem, ErrorMessage<ArrayIssue> | undefined> | ArraySchemaAsync<infer TItem, ErrorMessage<ArrayIssue> | undefined> ? DotPath<… → type IssueDotPath<TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>> = TSchema extends SchemaWithPipe<infer TPipe> | SchemaWithPipeAsync<infer TPipe> ? IssueDotPath<FirstTupleItem<TPipe>> : TSchema extends ArraySchema<infer TItem,…