Releases: evanshortiss/express-joi-validation
Releases · evanshortiss/express-joi-validation
6.0.0
5.0.1
- fix typescript compilation
- bump joi and joi-extract-type versions
5.0.0
- Drop Node.js 8 support.
- Update to use Joi v17.x.
- Change from using peerDependency of "@hapi/joi" to "joi".
4.0.3
- Fix TypeScript example in the README.
4.0.2
- Apply a fix for compatibility with Joi v16 typings.
4.0.1
4.0.1 (24/09/2019)
- Remove outdated "joi" option in README
4.0.0
- Update to support Joi v16.x
- No longer supports passing a Joi instance to factory
- Finally removed deprecated function on
module.exports
from v2
3.0.0
- Removed
fields
,originalQuery
,originalHeaders
,originalBody
,
originalParams
, andoriginalFields
fromValidatedRequest
. This simplifies
usage with TypeScript's strict mode. - Added
ValidatedRequestWithRawInputsAndFields
. This is the same as
ValidatedRequest
from versions 2.x.
2.0.1
- Fixed compilation issue with TypeScript example when strict compiler flag is true.
- Updated test script to include building TypeScript example
2.0.0
- Improved TypeScript support with better typings
- Changed export from a factory function to a module exposing
createValidator()
- Improved TypeScript examples and README