Skip to content

v3.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Apr 23:16
· 83 commits to main since this release
fe0f6c7

3.3.0 (2023-04-15)

Features

  • support zod schemas on checkValue (06f99aa)
    • also attach cause on thrown validation errors
    • deprecate CheckFreshValueErrorEvent in favor of CheckFreshValueErrorObjEvent
    • deprecate CheckCachedValueErrorEvent in favor of CheckCachedValueErrorObjEvent
    • support on-the-fly migrations where the cached value will not be updated with migrate(newValue, false)
  • take type from schema instead of getFreshValue when using zod transformer (18aba3b)