Skip to content

v0.23.0

Choose a tag to compare

@DZakh DZakh released this 20 Aug 16:02
· 754 commits to main since this release

Breaking changes:

  • Remove different parsing modes. The reason is that the Safe mode became comparably fast to the Migration mode.
  • Use S.Record.strip as default instead of S.Record.strict.
  • Remove S.superTransform and S.Error.make.
  • Change S.transform and S.custom API from result based to exception based. Use the new S.Error.raise to exit with failure.

New features:

  • Finalize and document S.refine function.
  • Add async refinements with S.asyncRefine.
  • Add async transforms with S.advancedTransform.
  • Add S.parseAsyncWith and S.parseAsyncInStepsWith to parse structs with asynchronous refinements or transforms.
  • Add the UnexpectedAsync error when trying to synchronously parse structs with asynchronous refinements or transforms.
  • Increase parsing performance by 20%.
  • Update roadmap