deno.land / x / typebox@0.32.21 / changelog / 0.18.1.md

0.18.1

  • Function Type.Enum(...) now expressed with anyOf. This to remove the allowUnionTypes configuration required to use enum with in AJV strict.
  • Function Type.Rec(...) now takes a required $id as the first parameter.
  • Function Type.Strict(...) no longer includes a $schema. Callers can now optionally pass CustomOptions on Type.Strict(...)
typebox

Version Info

Tagged at
4 weeks ago