Skip to content

Releases: evanshortiss/express-joi-validation

6.1.0

27 May 02:50

Choose a tag to compare

  • Implement express v5 compatibility (#47)
  • Use Prettier instead of ESLint

6.0.0

13 Dec 07:47

Choose a tag to compare

  • Support Node.js 18+
  • Narrow type for error handlers (#46)

5.0.1

21 Dec 22:56
8b08da1

Choose a tag to compare

  • fix typescript compilation
  • bump joi and joi-extract-type versions

5.0.0

13 Oct 10:25

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

Choose a tag to compare

  • Fix TypeScript example in the README.

4.0.2

11 Nov 23:46
52def36

Choose a tag to compare

  • Apply a fix for compatibility with Joi v16 typings.

4.0.1

24 Sep 12:36

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

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

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

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