Releases: galvez/jsontypedef
Releases · galvez/jsontypedef
v2.0.0
v1.0.0
v1.0.0
This is the first major release of the library and introduces many breaking changes.
- Helpers no longer have the
nullable
parameter, they have been replaced with the top-levelnullable
helper. - The
object()
helper now setsadditionalProperties
totrue
by default, mimicking a JavaScript object without restrictions. - The new
sealed()
helper now setsadditionalProperties
tofalse
and can be used instead for that purpose. - The
metadata
parameter causes ametadata
property to be added to JSON schemas as well, for consistency, rather than mixing themetadata
properties with the main schema definition.