Releases: GuccioGucci/contented
Releases · GuccioGucci/contented
v5.2.0
v5.1.2
- Apply the same fix to
explain
v5.1.1
- Fix a bug whereby
null
was wrongly recognised as of typeobject
v5.1.0
- Add
allOf
combinator
v5.0.0
- Remove
coerceTo
.
v4.1.0
- Add
null_
combinator
v4.0.0
Contented 4.0.0 is here 🎉
This release represents a complete overhaul of the library, based on two principles:
- Keeping a direct correspondence between run-time and a compile-time types
- Decoupling the representation of a run-time type from its use
As a consequence of 1., Contented provides run-time counterparts of primitive, literal, and compound types. Because of 2., such run-time representations do not carry any information about their future use in their type. For instance, string
is of type Type<string>
.
v3.1.0
- Add
oneOf
combinator
v3.0.0
at
supports paths with optional keysfallback
is now a way to replaceundefined
return values with a fallbacksubstitute
of choice
v2.1.0
- Add
satisfy
combinator