Skip to content

v0.15.0

Choose a tag to compare

@phcurado phcurado released this 06 Jan 06:40
· 44 commits to main since this release

What's Changed

Added

  • Zoi.pid/1 type for validating pid values
  • Zoi.module/1 type for validating module values
  • Zoi.reference/1 type for validating reference values
  • Zoi.port/1 type for validating port values
  • Zoi.macro/1 type for validating quoted expressions (Macro.t())
  • typespec option for all types to override generated typespec:
    Zoi.integer(gte: 0, typespec: quote(do: non_neg_integer()))
    Zoi.any(typespec: quote(do: pos_integer()))

Full Changelog: v0.14.1...v0.15.0