Features
- Support arbitrary length intersections (#165)
- Support arbitrary length tuples (#168)
- Support arbitrary length unions (#166)
- Support arbitrary length contracts (#202)
- Support arbitrary length async contracts (#203)
- Support symbol-keyed properties of object validation (#204)
- Provide descriptive error messages (#209)
Bug Fixes
BREAKING CHANGES
- the various
Intersect2,Intersect3, ... types have all been replaced with a singleIntersecttype that takes a tuple of Runtype validators. - the various
Tuple2,Tuple3, ... types have all been replaced with a singleTupletype that takes a tuple of Runtype validators. - the various
Union2,Union3, ... types have all been replaced with a singleUniontype that takes a tuple of Runtype validators. - the various
Contract2,Contract3, ... types have all been replaced with a singleContracttype that takes a tuple of Runtype meaning parameters and a Runtype meaning a return type - the various
AsyncContract2,AsyncContract3, ... types have all been replaced with a singleAsyncContracttype that takes a tuple of Runtype meaning parameters and a Runtype meaning a return type ofPromise. Dictionarynow does not look over non-enumerable properties of tested objects, andRecordnow does not recognize inherited properties of passed schema