Skip to content

v10.0.0-rc.3

Choose a tag to compare

@DZakh DZakh released this 03 May 15:53
· 167 commits to main since this release
  • S.to support from literal to non-literal of the same type
  • Fix the S.union case with parsing schemas of the same type
  • Export UnknownToOutput and UnknownToInput and add GenType support for S.schema type
  • Fixed S.toJSONSchema to error with invalid optional object fields
  • Display expected and received values in the same format
  • Update validation to start by deeply checking the object and literal fields. This might resolve in a less detailed error path, but allows nested literals to act as union discriminators.
  • Stopped validating literals in conversion mode
  • Support reverse parsing for S.object with nested discriminants

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