Skip to content

Latest commit

 

History

History
63 lines (35 loc) · 1.18 KB

CHANGELOG.md

File metadata and controls

63 lines (35 loc) · 1.18 KB

v3.1.0

  • Added a refineType function option.

v3.0.0

  • [BREAKING] supports Joi 13.x (required Node 6+)
  • Fixed additional properties tlivings#31
  • Adds support for ordered and items tlivings#38

v2.2.4

  • Fixes mutating options to add stripUnknown.

v2.2.3

  • Fix #25 by supporting array for type (e.g. ['string', 'null']).
  • Additional formats: hostname, uri, ipv4, ipv6.

v2.2.2

  • Added @jsdevel's additionalProperties (#14) fixes (thanks!)

v2.2.1

  • Add default value (#30).

v2.2.0

  • Added support for directly passing a string instead of a schema to indicate type.

v2.1.0

  • added support for mapping title (to label in joi).
  • added support for mapping description.
  • fixed engine version.

v2.0.0

  • updated joi to ^9.
  • requires node 4 minimum.

v1.0.4

  • when undefined minLength should default to 0.

v1.0.3

  • Validate when additionalProperties is boolean.

v1.0.2

  • Support for oneOf.

v1.0.1

  • Support for format in string types.

v1.0.0

  • [BREAKING] subSchemas is now passed as a property in options.
  • Support for custom types using options.types.