Skip to content

v1.0.1 - Minor Improvements and Enhanced Functionality

Choose a tag to compare

@Kledenai Kledenai released this 10 Jan 19:02
· 16 commits to main since this release
1ecee52

[1.0.1] - 2025-01-10

Added

  • Support for optional properties using the optional: true keyword.
  • Validation for string constraints like minLength and maxLength.
  • Validation for number constraints like minimum and maximum.
  • Support for the enum keyword to restrict values to a predefined set.
  • Improved TypeScript type definitions to include explicit support for optional.
  • Expanded test coverage for optional properties, string and number constraints, and enum validation.

Fixed

  • Improved compatibility with TypeScript for schemas defined with as const.
  • Enhanced error messages and validation flow for better debugging.