Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 1.8 KB

CHANGELOG.md

File metadata and controls

17 lines (15 loc) · 1.8 KB

Changelog

1.1.0

  • Add possibility to create empty subsets via .only() and .except() (commit)

1.0.0

  • Breaking: Remove Promise shim. You need to provide that now (commit).
  • Breaking: Renamed readable- and writable-methods (commit).
  • Breaking: Change error message casing of default validators from camelCased to dash-cased (commit).
  • Breaking: Rename validation.failedFields to validation.errors (commit).
  • Breaking: Do not reject promises when the validation has failed (commit).
  • Breaking: Rename schema.keys to schema.fields (commit).
  • Add minLength, maxLength, hasLength validators (pr).
  • Add matches validator (commit).
  • Add Schema.prototype.strip() method for removing extranous properties (commit).
  • The synchronous validation result can now be retrieved synchronously (commit).