v4.5.21
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
4.5.21 (2026-06-10)
Bug Fixes
- const T for v.eq and v.is, and export isType (06bb03f)
4.5.20 (2026-05-15)
Bug Fixes
- schema for optionals (5f64648)
4.5.19 (2026-03-02)
Bug Fixes
- pipe.pipe returns first pipe instead of new pipe (43ab3f9)
4.5.18 (2026-01-18)
Features
Bug Fixes
- avoid nesting of JSONRedacted (21ed5f4)
4.5.17 (2025-08-12)
Bug Fixes
- fn not defined in v.recursive (54cc05e)
4.5.16 (2025-08-09)
Bug Fixes
- return value of nested recursive (0ee811d)
4.5.15 (2025-07-07)
Bug Fixes
- path for PipeError (9c1a49d)
4.5.14 (2025-07-06)
Bug Fixes
- correct nested pipes path (bed1c26)
4.5.13 (2025-07-05)
Bug Fixes
- types of v.lazy (e3baef0)
4.5.12 (2025-07-05)
4.5.11 (2025-07-05)
Features
- formatting compiled lines (d4173db)
- init error handling dynamic (c14b1a8)
- lazy impl (ff8f515)
- optionals and arrays compile (5e72d16)
- primitive pipes compile (f9c6b91)
- recursive compile (022b78d)
- refactor pipes with branches (be10784)
- v recursive (63ab9d0)
Bug Fixes
- fixing with tests (d99a628)
- for array only create validator fn once (e350cb6)
- for array only create validator fn once (5ff78d9)
- make failEarly default (67c01cd)
- run or in while loop instead of fn (8fb9f77)
- stray throws (8536b16)
- v.lazy catches error properly (c31a5f1)
4.5.10 (2025-06-28)
Features
- v lazy (6cbf1a1)
4.5.9 (2025-06-27)
Features
- do not bundle (bbeff07)
4.5.8 (2025-06-26)
4.5.7 (2025-06-26)
Features
- build for cjs,esm and minified of each (7c16e8c)
Bug Fixes
- all api is exported under v (89c1aaa)
4.5.6 (2025-06-24)
Bug Fixes
- typings (b875b1a)
4.5.5 (2025-06-24)
Features
- update docs (6339332)
4.5.4 (2025-06-24)
Features
- add pipe deps into context (88f5463)
- meta api (9e260e5)
- store both next and last for performance (87ebb6b)
- use new apis assert, validate, context and schema (2bd63ce)
Bug Fixes
- use linked list instead of reversed (7e3fc25)
4.5.3 (2025-06-24)
4.5.2 (2025-06-24)
Bug Fixes
- differ merge doesnt treat null right (49e7838)
4.5.1 (2025-06-23)
Bug Fixes
- remove objectExtends for merge (24ad59f)
4.5.0 (2025-06-23)
Features
- accept multiple pipes in .pipe (7a6ebb2)
- add __update function to allow update after init (88a2f93)
- add id for json schema (7499fe5)
- allow value functions for all validators that expect a value input (99276e7)
- better PipeError (96817b6)
- bubble up config (b24b8ee)
- coerce and function (dcd4dc7)
- context (d206e80)
- defaultOnFail sanitizer (70cbb85)
- files and records pipe apis (e9cca15)
- forward PipeError cause (8507e4e)
- fromJson pipe (df1eafe)
- generate json schema (848ed78)
- isType supports any (8584398)
- merge pipe (005acb0)
- meta on schema (620143c)
- more primitives (f15ce01)
- new type ConditionalObjectKeys (6829317)
- numbers pipe api (9d1a5ab)
- object extends (129f32d)
- objectExtends, objectPick and objectOmit (6a89dc3)
- objectMerge (2117fae)
- optionals api (29a6fdc)
- pipe api with primitives, junctions, core and arrays (e9d2a69)
- pipe node and gather when needed (dc364b2)
- refactor entire src for treeshaking (254988d)
- remove need for anyOf in nullable schemas (2bb3d00)
- remove need for static list of files (3d2d622)
- strings pipe api (04c6df8)
- support custom context (8530f8e)
- support generics for file validations (e5cb7b4)
- support standard-schema (e8b2c8f)
- switch to reverse linked list impl (831ec48)
- times pipe api (1f18b5e)
- withStrippedHtml (50cfe72)
Bug Fixes
- before and after expects fn not plain values (b40eb85)
- context and schema must be objects (4d26247)
- dataclass toJSON only returns original keys (b1a5452)
- fix JSONValue of DataClass<any, any> (6a168c1)
- fix Prettify for class instances (39d79fb)
- fix typings for objectX rules (885ea27)
- fix up JSONValueOf (de97762)
- impl for objectPick, objectOmit and objectExtends and add tests (76a2f6b)
- no need to clone for objects (f1f0f2d)
- objectPick and objectEmit as value (0f94a9a)
- optionals typing (4ae6979)
- remove need for __update (11bf277)
- remove objectTrim (630f1f0)
- remove Pipe requirement for PipeInput, Output and Context (0671b1e)
- remove unknown errors (9d6fd72)
- rename safeParse to validate (6ce2a75)
- requiredIf doesnt add undefined to the type (b8054fb)
- return type of DataClass toJSON (9cd66ac)
- stop Prettify from messing with classes (2c6ca51)
4.4.10 (2025-06-04)
Bug Fixes
- type JSONValue of any with toJSON (0d7d5a8)
4.4.9 (2025-06-04)
Bug Fixes
- add Prettify type (89176ab)
4.4.8 (2025-06-03)
4.4.7 (2025-06-03)
Features
- new VObject extend (252bc50)
4.4.6 (2025-05-22)
Bug Fixes
- return json type (ae45c35)
4.4.5 (2025-05-21)
Features
- move ignore and toJson logic from equipped to here (df4ef30)
4.4.4 (2025-05-17)
Bug Fixes
- transform from class O not I (6caa508)
4.4.3 (2025-05-17)
Features
- support tracking Output of VBase and expose ExtractI and ExtractO (39e11ea)
4.4.2 (2025-04-06)
4.4.1 (2025-04-05)
Bug Fixes
- add structuredClone polyfill (80a794f)
4.4.1 (2025-04-05)
Bug Fixes
- add structuredClone polyfill (80a794f)
4.4.0 (2024-10-13)
Features
- compareTwoStrings (13f382b)
4.3.1 (2024-07-31)
Bug Fixes
- wrap discriminator accessor in try/catch (bc16ae8)
4.3.0 (2024-06-09)
Features
- support err message for is and in (b0209ac)
4.2.11 (2024-04-07)
4.2.10 (2024-04-06)
Bug Fixes
- sanitizing nullable or unrequired rules (9a34b2c)
4.2.9 (2024-02-26)
Bug Fixes
- conditional setting of util insoect defaultOptions (5aee284)
4.2.8 (2024-02-26)
Bug Fixes
- constructor args (ec28290)
4.2.7 (2024-02-21)
Bug Fixes
- remove structuredClone (fd08410)
4.2.6 (2024-02-17)
Features
- class wrapper (7fff739)
4.2.5 (2024-02-09)
Bug Fixes
- eternal in getRandomSample if passed empty array (5e596a9)
4.2.4 (2023-12-19)
Bug Fixes
- api uses ignoreIfRequired as true (26d6d27)
4.2.3 (2023-11-21)
Features
- discriminator (3d3e535)
4.2.2 (2023-09-09)
Bug Fixes
- url regex fails if run twice immediately (fdc832c)
4.2.1 (2023-08-16)
4.2.0 (2023-08-16)
Features
- add chunk array function (10a3f13)
4.1.8 (2023-08-13)
Features
- add file type (64c108b)
4.1.7 (2023-04-10)
Bug Fixes
- vOr not trimming objects and objects with same keys but different type (666e06f)
4.1.6 (2023-03-30)
Bug Fixes
- differ equal algo for object vs undefined/null (beefccf)
4.1.5 (2023-03-19)
4.1.4 (2023-03-18)
Bug Fixes
- add ne and nin rules, tests for v-core (c65b7a3)
- array run validator before sanitizer, fix instanceof, add tests for api (1191e93)
- move non literal type check to typings not rules (db29366)
4.1.3 (2023-03-17)
Bug Fixes
- get default value before checking typings (c44071f)
4.1.2 (2023-03-14)
Features
4.1.1 (2023-03-11)
Bug Fixes
- use default 0 for round function (7e4863e)
4.1.0 (2023-03-07)
Features
- add geohash functionality (9d816e0)
4.0.7 (2023-02-16)
Bug Fixes
- error from cloning objects and maps (26b2213)
4.0.6 (2023-02-16)
Bug Fixes
- import differ path (e2253fa)
4.0.5 (2023-02-15)
Features
- add default comparer (dd0add2)
4.0.4-alpha.2 (2023-02-15)
4.0.4-alpha.1 (2023-02-14)
Bug Fixes
- add generic type for v.any (becf9f9)
4.0.4 (2023-02-14)
Bug Fixes
- make type File and interface (edb0c1b)
4.0.3 (2023-02-14)
4.0.2-patched (2023-02-14)
4.0.2 (2023-02-14)
Bug Fixes
- skipping lib folder when publishing (163fdd1)
4.0.1 (2023-02-14)
Bug Fixes
0.0.0-alpha.0 (2023-02-14)
Bug Fixes
- lib src folder issue (c30c2a4)