valibot
1.5.0 · 9 Sep 2026MIT32M / weekRepositoryHomepagenpmAtom feed
Upgrading valibot from 1.4.2 to 1.5.0
1 release in betweenevery note read
Release by release
- new
Add
codePoints,maxCodePoints,minCodePointsandnotCodePointsvalidation actions to validate the number of Unicode code points (pull request #888) - new
Add
ksuidvalidation action to validate KSUIDs (pull request #1370) - fixed
Fix
stringifyJsonaction to preserve the dataset value whenJSON.stringifyreturnsundefined(pull request #1476) - fixed
Fix
literalschema andvalue,values,notValueandnotValuesactions to treatNaNas equal to itself (pull request #1573)
- new
2 other lines we could not sort, mostly version bumps
- 1.5.0
Change Standard Schema properties to use eager initialization for faster schema construction and replace internal
_getStandardPropsutility with_standardSchema(pull request #1534) - 1.5.0
Change
urlaction to useURL.canParsewhen available to avoid constructing URL objects (pull request #1608)