- New Feature
- add
brand
combinator (@gcanti, @lostintime) - add
Int
codec (@gcanti) exact
strips additional properties while decoding / encoding (@gcanti)- un-deprecate
strict
combinator, is now an alias ofexact(type(...))
(@gcanti)
- add
- Bug Fix
- fix wrong context keys for tagged unions (@gcanti)
- Deprecation
- Polish
- modify the implementation of
intersection
in order to support combinators that strip additional properties (@gcanti) - do not validate the codomain of a key of a record if its domain in invalid (@gcanti)
- normalize missing
message
field inValidationError
(@gcanti) - fix name of recursive codec definitions (@gcanti)
- remove unexpected validation path from partial type, closes #195 (@gcanti)
- do not leak taggedUnion implementation when tag validation fails (@gcanti)
- add
actual
value to all context entries (@gcanti) exact
now bails out when the value is not anUnknownRecord
(@gcanti)tuple
should not leak the implementation (never
usage) (@gcanti)exact
should not leak the implementation (never
usage) (@gcanti)- use
Number.isInteger
inInteger
implementation (@gcanti) - use the Flow convention to name
exact
codecs (@gcanti)
- modify the implementation of