Skip to content

Conversation

@mikehostetler
Copy link
Contributor

Summary

Upgrades Zoi from 0.14.1 to 0.15.0.

Breaking Change Fix

Zoi 0.15.0 validates enum values more strictly, requiring exact type matching between schema and data.

The caching schema was using atom enum values (:implicit, :explicit) but the JSON snapshot data contains strings. Updated to use string enum values ("implicit", "explicit") to match the data format, consistent with other string enums in the model schema.

Also Includes

  • req: 0.5.16 → 0.5.17

Testing

  • All 584 tests pass
  • Quality checks pass (format, credo, dialyzer)

Breaking change: Zoi 0.15.0 validates enum values more strictly,
requiring exact type matching between schema and data.

Fix caching schema to use string enum values ("implicit", "explicit")
to match the JSON snapshot data format, consistent with other string
enums in the model schema.

Also bumps req from 0.5.16 to 0.5.17.
@mikehostetler mikehostetler merged commit b6041d1 into main Jan 15, 2026
6 checks passed
@mikehostetler mikehostetler deleted the deps/zoi-0.15.0 branch January 15, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants