Releases: fontebasso/valitype
Releases · fontebasso/valitype
1.1.0
What's new
- Custom validators: You can now define your own validation logic using type: 'custom', along with helpful utilities like validators.regex, validators.range, validators.json, and more.
- Perfect for environment validation tools, CLI apps, and configuration loaders.
- Improved test coverage and documentation to reflect the new feature.
This release was crafted with the help of Amazon Q Developer as part of the "Quack The Code Challenge", streamlining the process of extending valitype's rule system.
Enjoy a more flexible and powerful validation experience — now with your rules, your way.
1.0.3
Fix
Add .js extension to ESM exports for Node compatibility
1.0.2
Fix
Add .js extension to ESM exports for Node compatibility.
1.0.1
Fix
Add .js extension to ESM exports for Node compatibility.
1.0.0
Initial release of valitype: a lightweight, dependency-free runtime validator for primitive types including strings, numbers, booleans, URLs, and enums. Designed for environments where type safety and clear error messages matter — ideal for config validation, CLI tools, and build-time env checks.