Skip to content

v2.0.0

Compare
Choose a tag to compare
@OldSneerJaw OldSneerJaw released this 17 Feb 00:58
4064624

Added

  • #43: Tool to validate structure and semantics of a document definitions file
  • #189: Automatically create the output sync function file directory if it does not exist
  • #207: Ignore all top-level document properties that start with an underscore
  • #204: Constraint that requires string values to be trimmed
  • #215: Allow document definition fragments to be nested
  • #197: Make month and day components of date validation type optional
  • #180: Data validation type for time of day
  • #202: Time zone data validation type
  • #225: Use intelligent equality comparisons for specialized string types
  • #227: Use intelligent immutability comparisons for specialized string types

Changed

  • #212: Improve document validation error messages
  • #185: Upgrade minimum supported Node.js version to latest Long Term Support release
  • #186: Remove deprecated Node.js modules

Fixed

  • #190: JavaScript error when mustEqual constraint is violated
  • #196: Date-time validation type supports invalid time components
  • #199: Date and date-time validation types permit dates that are invalid
  • #203: Date range validation fails for values far in the past or future

Removed

  • etc/test-helper.js module
  • etc/validation-error-message-formatter.js module