Date format is DD/MM/YYYY
- Drop Node.js 8 support.
- Update to use Joi v17.x.
- Change from using peerDependency of "@hapi/joi" to "joi".
- Fix TypeScript example in the README.
- Apply a fix for compatibility with Joi v16 typings.
- Remove outdated "joi" option in README
- Update to support Joi v16.x
- No longer supports passing a Joi instance to factory
- Finally removed deprecated function on
module.exports
from v2
- Removed
fields
,originalQuery
,originalHeaders
,originalBody
,originalParams
, andoriginalFields
fromValidatedRequest
. This simplifies usage with TypeScript's strict mode. - Added
ValidatedRequestWithRawInputsAndFields
. This is the same asValidatedRequest
from versions 2.x.
- Fixed compilation issue with TypeScript example when
strict
compiler flag istrue
. - Updated test script to include building TypeScript example
- Improved TypeScript support with better typings
- Changed export from a factory function to a module exposing
createValidator()
- Improved TypeScript examples and README
- Migrated from
joi
to@hapi/joi
. - Dropped Node.js 6 & 7 support (@hapi/joi forces this)
- Update dev dependencies.
- Add response validation
- Update dependencies
- Drop support for Node.js 4 and below
- Remove @types/express from dependencies
- Ensure "typings" are defined in package.json
- Add TypeScript support
- Add new
fields
function for use with express-formidable
- Initial release.