github-actions
released this
12 Apr 17:45
·
380 commits
to master
since this release
@api-ts/io-ts-http 3.0.0 (2024-04-12)
Bug Fixes
- loosen the
is
check foroptionalized
(416bca2)
BREAKING CHANGES
- The
is
function of anoptionalized
codec now returns true if there are keys that are present and set toundefined
. This is consistent with how io-ts'spartial
works and also consistent with TS's default setting forexactOptionalPropertyTypes
. A project that setsexactOptionalPropertyTypes: true
and was relying on the codec'sis
check to distinguish between{}
and{ key: undefined }
may break.