Skip to content

Releases: fontebasso/valitype

1.1.0

11 May 20:30
1589163

Choose a tag to compare

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

10 May 14:44
8e92c7d

Choose a tag to compare

Fix

Add .js extension to ESM exports for Node compatibility

1.0.2

10 May 14:39
b446ecf

Choose a tag to compare

Fix

Add .js extension to ESM exports for Node compatibility.

1.0.1

10 May 14:15
1d0c935

Choose a tag to compare

Fix

Add .js extension to ESM exports for Node compatibility.

1.0.0

10 May 03:32
f1e8fbb

Choose a tag to compare

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.