Skip to content

v10.0.0-rc.4

Choose a tag to compare

@DZakh DZakh released this 04 May 19:11
· 159 commits to main since this release
  • Fixed edge-cases with S.union of S.number and NaN schemas together. As well as S.array or S.instance schemas together with object schemas
  • Added S.instance
  • Fixed S.schema for literal instances
  • Added S.symbol
  • Fixed function literal type inference
  • S.custom is removed in favor of S.unknown+S.transform+S.meta. The goal is to try to avoid S.unknown as much as possible. Try to use S.instance or any other built-in schemas as much as possible.

Full Changelog: v10.0.0-rc.3...v10.0.0-rc.4