·
497 commits
to master
since this release
@api-ts/io-ts-http 3.0.0 (2024-04-12)
Bug Fixes
- loosen the
ischeck foroptionalized(416bca2)
BREAKING CHANGES
- The
isfunction of anoptionalizedcodec now returns true if there are keys that are present and set toundefined. This is consistent with how io-ts'spartialworks and also consistent with TS's default setting forexactOptionalPropertyTypes. A project that setsexactOptionalPropertyTypes: trueand was relying on the codec'sischeck to distinguish between{}and{ key: undefined }may break.