All Versions
16
Latest Version
Avg Release Cycle
46 days
Latest Release
922 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.13.0 Changes
May 12, 2019โจ Enhancements:
- โ Add support for a custom validation function (#137) 702c283
- โ Add
string.url
predicate (#140) 0a0972c - โ Add
number.oneOf
predicate (#132) e4d581e - ๐ฆ Use the package.json "browser" field to toggle Node.js-specific functionality (#145) 3c42d59
๐ Fixes:
-
v0.12.0 Changes
February 01, 2019 -
v0.11.1 Changes
January 29, 2019 -
v0.11.0 Changes
January 27, 2019โ Add support for optional predicates (#124) 44272ab ๐
This means you can now validate the input if it exists and ignore it if it doesn't.
// This passesow(2, ow.optional.number);// This passes tooow(undefined, ow.optional.number);// This failsow(true, ow.optional.number);
0๏ธโฃ We chose to only allow
undefined
and notnull
as that's how default parameters work too. -
v0.10.0 Changes
January 15, 2019 -
v0.9.1 Changes
January 10, 2019