- Added a refineType function option.
- [BREAKING] supports Joi 13.x (required Node 6+)
- Fixed additional properties tlivings#31
- Adds support for ordered and items tlivings#38
- Fixes mutating
options
to addstripUnknown
.
- Fix #25 by supporting array for type (e.g. ['string', 'null']).
- Additional formats: hostname, uri, ipv4, ipv6.
- Added @jsdevel's additionalProperties (#14) fixes (thanks!)
- Add default value (#30).
- Added support for directly passing a
string
instead of a schema to indicate type.
- added support for mapping title (to label in joi).
- added support for mapping description.
- fixed engine version.
- updated
joi
to ^9. - requires node 4 minimum.
- when undefined
minLength
should default to 0.
- Validate when
additionalProperties
is boolean.
- Support for
oneOf
.
- Support for
format
in string types.
- [BREAKING]
subSchemas
is now passed as a property inoptions
. - Support for custom types using
options.types
.