Skip to content

Releases: evanshortiss/express-joi-validation

6.1.0

Choose a tag to compare

@evanshortiss evanshortiss released this 27 May 02:50
  • Implement express v5 compatibility (#47)
  • Use Prettier instead of ESLint

6.0.0

Choose a tag to compare

@evanshortiss evanshortiss released this 13 Dec 07:47
  • Support Node.js 18+
  • Narrow type for error handlers (#46)

5.0.1

Choose a tag to compare

@evanshortiss evanshortiss released this 21 Dec 22:56
8b08da1
  • fix typescript compilation
  • bump joi and joi-extract-type versions

5.0.0

Choose a tag to compare

@evanshortiss evanshortiss released this 13 Oct 10:25
  • Drop Node.js 8 support.
  • Update to use Joi v17.x.
  • Change from using peerDependency of "@hapi/joi" to "joi".

4.0.3

Choose a tag to compare

@evanshortiss evanshortiss released this 18 Nov 19:42
  • Fix TypeScript example in the README.

4.0.2

Choose a tag to compare

@evanshortiss evanshortiss released this 11 Nov 23:46
52def36
  • Apply a fix for compatibility with Joi v16 typings.

4.0.1

Choose a tag to compare

@evanshortiss evanshortiss released this 24 Sep 12:36

4.0.1 (24/09/2019)

  • Remove outdated "joi" option in README

4.0.0

Choose a tag to compare

@evanshortiss evanshortiss released this 20 Sep 19:47
5ffdb02
  • 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

Choose a tag to compare

@evanshortiss evanshortiss released this 30 Aug 19:43
5776fcb
  • 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

Choose a tag to compare

@evanshortiss evanshortiss released this 21 Aug 23:17
63ab612
  • Fixed compilation issue with TypeScript example when strict compiler flag is true.
  • Updated test script to include building TypeScript example