Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 12 Apr 17:45
· 380 commits to master since this release
4d3e641

@api-ts/io-ts-http 3.0.0 (2024-04-12)

Bug Fixes

  • loosen the is check for optionalized (416bca2)

BREAKING CHANGES

  • The is function of an optionalized codec now returns true if there are keys that are present and set to undefined. This is consistent with how io-ts's partial works and also consistent with TS's default setting for exactOptionalPropertyTypes. A project that sets exactOptionalPropertyTypes: true and was relying on the codec's is check to distinguish between {} and { key: undefined } may break.