Skip to content

Releases: GuccioGucci/contented

v5.2.0

16 May 16:45
Compare
Choose a tag to compare
  • Support bigints

v5.1.2

03 May 08:06
Compare
Choose a tag to compare
  • Apply the same fix to explain

v5.1.1

02 May 14:46
Compare
Choose a tag to compare
  • Fix a bug whereby null was wrongly recognised as of type object

v5.1.0

02 Feb 11:14
Compare
Choose a tag to compare
  • Add allOf combinator

v5.0.0

20 Jan 11:10
Compare
Choose a tag to compare
  • Remove coerceTo.

v4.1.0

01 Nov 11:16
Compare
Choose a tag to compare
  • Add null_ combinator

v4.0.0

05 Jan 11:23
Compare
Choose a tag to compare

Contented 4.0.0 is here 🎉

This release represents a complete overhaul of the library, based on two principles:

  1. Keeping a direct correspondence between run-time and a compile-time types
  2. 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

06 May 13:16
Compare
Choose a tag to compare
  • Add oneOf combinator

v3.0.0

06 May 07:10
Compare
Choose a tag to compare
  • at supports paths with optional keys
  • fallback is now a way to replace undefined return values with a fallback substitute of choice

v2.1.0

04 May 06:12
Compare
Choose a tag to compare
  • Add satisfy combinator