Changelog
1.8.5
IntersectionC
and TupleC
, fix #315 (@gcanti)Changelog
1.8.3
stripInternal
flag to tsconfig.json
(@gcanti)NaN
in PathReporter
(@gcanti)NeverType
(@gcanti)FunctionType
(@gcanti)Changelog
1.8.2
Exact.is
with the type system, fix #288 (@gcanti)Changelog
1.8.1
brand
combinator (@gcanti, @lostintime)Int
codec (@gcanti)exact
strips additional properties while decoding / encoding (@gcanti)strict
combinator, is now an alias of exact(type(...))
(@gcanti)refinement
combinator in favour of brand
(@gcanti)Integer
codec in favour of Int
(@gcanti)StrictType
class (@gcanti)StrictC
interface (@gcanti)intersection
in order to support combinators that strip additional properties (@gcanti)message
field in ValidationError
(@gcanti)actual
value to all context entries (@gcanti)exact
now bails out when the value is not an UnknownRecord
(@gcanti)tuple
should not leak the implementation (never
usage) (@gcanti)exact
should not leak the implementation (never
usage) (@gcanti)Number.isInteger
in Integer
implementation (@gcanti)exact
codecs (@gcanti)Changelog
1.7.1
any
(@gcanti)object
(@gcanti)Dictionary
in favour of UnknownRecord
(@gcanti)Array
in favour of UnknownArray
(@gcanti)dictionary
in favour of record
(@gcanti)Changelog
1.7.0
ValidationError
message
argument to failure
PathReporter
should account for the new fieldactual
optional field to ContextEntry
, closes #194 (@gcanti)getValidationError
(@gcanti)getDefaultContext
(@gcanti)Changelog
1.6.4
getIndexRecord
: getIndexRecord: handle conflicting tags in different positions, ref #263 (@gcanti)union
optimization, needs more work to make it happen (@gcanti)