Skip to content

Releases: Twipped/joi-to-swagger

v6.2.0

10 Dec 16:55
Compare
Choose a tag to compare
  • support usage of joi.ref() in min/max() with optionally setting .meta({ refValues: {...} }) (#100)

v6.1.1

28 Aug 08:40
Compare
Choose a tag to compare
  • allow references when using object.pattern() #95

v6.1.0

13 Jul 23:30
Compare
Choose a tag to compare
  • add support for joi.object.pattern() (thanks @JKEnv)
  • update dev dependencies
  • add GitHub action for running test

v6.0.1

01 Aug 06:11
Compare
Choose a tag to compare

republish of 6.0.0 with missing depedency update

v6.0.0

01 Aug 06:10
Compare
Choose a tag to compare
  • BREAKING CHANGE: override will now also be applied if className is used
  • BREAKING CHANGE: swaggerOverride will not ignore className anymore
  • result object will always contain components object now
  • Add support for @joi/date usage with format YYYY-MM-DD (thanks @vikaskanani)
  • update dependencies

v5.2.0

30 Dec 15:00
Compare
Choose a tag to compare
  • Add option to override the Joi schema which generates swagger (thanks @melchii)

v5.1.0

17 Oct 16:14
Compare
Choose a tag to compare
  • Fix boolean false default value not working (thanks @nelsongomes)

5.0.1

13 Aug 18:33
Compare
Choose a tag to compare

NOTICE: I forgot to check node version support of joi with version 17.
Because this is a fast patch release I think it is ok to not make it a new major release.

  • Remove node 8 (and node 10) support because joi removed it with version 17 as well

5.0.0

13 Aug 17:32
Compare
Choose a tag to compare
  • BREAKING CHANGE: Move back to joi with versions >= 17.1.1 after @hapi/joi was deprecated
  • updated dependencies