Skip to content

Releases: evanshortiss/express-joi-validation

6.0.0

13 Dec 07:47
Compare
Choose a tag to compare
  • Support Node.js 18+
  • Narrow type for error handlers (#46)

5.0.1

21 Dec 22:56
8b08da1
Compare
Choose a tag to compare
  • fix typescript compilation
  • bump joi and joi-extract-type versions

5.0.0

13 Oct 10:25
Compare
Choose a tag to compare
  • Drop Node.js 8 support.
  • Update to use Joi v17.x.
  • Change from using peerDependency of "@hapi/joi" to "joi".

4.0.3

18 Nov 19:42
Compare
Choose a tag to compare
  • Fix TypeScript example in the README.

4.0.2

11 Nov 23:46
52def36
Compare
Choose a tag to compare
  • Apply a fix for compatibility with Joi v16 typings.

4.0.1

24 Sep 12:36
Compare
Choose a tag to compare

4.0.1 (24/09/2019)

  • Remove outdated "joi" option in README

4.0.0

20 Sep 19:47
5ffdb02
Compare
Choose a tag to compare
  • 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

30 Aug 19:43
5776fcb
Compare
Choose a tag to compare
  • Removed fields, originalQuery, originalHeaders, originalBody,
    originalParams, and originalFields from ValidatedRequest. This simplifies
    usage with TypeScript's strict mode.
  • Added ValidatedRequestWithRawInputsAndFields. This is the same as
    ValidatedRequest from versions 2.x.

2.0.1

21 Aug 23:17
63ab612
Compare
Choose a tag to compare
  • Fixed compilation issue with TypeScript example when strict compiler flag is true.
  • Updated test script to include building TypeScript example

2.0.0

27 Jun 22:17
4c6ebcf
Compare
Choose a tag to compare
  • Improved TypeScript support with better typings
  • Changed export from a factory function to a module exposing createValidator()
  • Improved TypeScript examples and README