Date format is DD/MM/YYYY
- 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.