@@ -8,15 +8,44 @@ This roadmap outlines the strategic development plan for future releases, priori
88- [ ] ** ` time() ` ** - Validates time format (HH:MM: SS , HH: MM )
99- [ ] ** ` regex() ` alias** - Alternative name for ` pattern() ` method for clarity
1010
11+ ### String Transformations
12+ - [ ] ** ` trim() ` ** - Removes leading/trailing whitespace (extremely common)
13+ - [ ] ** ` normalizeSpaces() ` ** - Collapses multiple spaces into single spaces (complex pattern)
14+ - [ ] ** ` slugify() ` ** - Convert to URL-friendly slugs (complex: accents, case, special chars)
15+ - [ ] ** ` toCamelCase() ` ** / ** ` toSnakeCase() ` ** - Advanced case formatting (complex logic)
16+ - [ ] ** ` transform() ` ** - Generic method for custom transformations (core functionality)
17+
1118### Array Enhancements
1219- [ ] ** ` uniqueItems() ` ** - Validates that all array items are unique
1320- [ ] ** ` minItems() ` ** / ** ` maxItems() ` ** - Array length constraints
1421- [ ] ** ` contains() ` ** - Validates array contains specific item
1522
23+ ### Array Transformations
24+ - [ ] ** ` filterEmpty() ` ** - Remove null/empty values (specific filtering logic)
25+ - [ ] ** ` unique() ` ** - Remove duplicates while preserving structure
26+ - [ ] ** ` flatten() ` ** - Flatten nested arrays (complex recursive logic)
27+ - [ ] ** ` transform() ` ** - Generic method for custom transformations (core functionality)
28+
29+ ### Numeric Enhancements
30+ - [ ] ** ` nonNegative() ` ** - Validates numbers >= 0 (includes zero)
31+ - [ ] ** ` nonPositive() ` ** - Validates numbers <= 0 (includes zero)
32+ - [ ] ** ` gt() ` ** / ** ` gte() ` ** - Greater than / greater than or equal explicit comparisons
33+ - [ ] ** ` lt() ` ** / ** ` lte() ` ** - Less than / less than or equal explicit comparisons
34+
35+ ### Numeric Transformations
36+ - [ ] ** ` clamp(min, max) ` ** - Restrict numbers to range (not obvious: max(min, min(max, value)))
37+ - [ ] ** ` round(precision) ` ** - Round with precision parameter (convenience for common pattern)
38+ - [ ] ** ` transform() ` ** - Generic method for custom transformations (core functionality)
39+
1640### Universal Validators
1741- [ ] ** ` enum() ` ** - Validates value is one of predefined options (available on all validators)
1842- [ ] ** ` const() ` ** - Validates value equals specific constant
1943
44+ ### Universal Transformations
45+ - [ ] ** ` transform() ` ** - Generic transformation method (available on all validators)
46+ - [ ] ** ` when(condition, transform) ` ** - Conditional transformations
47+ - [ ] ** ` pipe() ` ** - Alias for transform() with functional programming style
48+
2049### Enhanced Error Handling
2150- [ ] ** Structured error codes** - Programmatic error identification
2251- [ ] ** Error path enhancement** - Full field paths for nested validation errors
0 commit comments