Skip to content

0.4.17

Choose a tag to compare

@B4PT0R B4PT0R released this 10 Apr 06:40
· 2 commits to main since this release

Changed

  • Validation sequencing was clarified: any_validator is now a pure value hook, model_validator keeps final authority over values, and structural key checks are enforced on the final post-validator state.
  • Assignment validation now aligns more closely with init-time sequencing when model_validator is involved, including deferred default-key-hint normalization.
  • Default value hint checking now runs before field-specific hint checking, with refined incompatibility reporting.
  • Benchmark tooling now stores a machine-readable baseline in benchmarks/baseline.toml and compares current runs against it.

Tests

  • Added regression coverage for any_validator mutation blocking, final-state key normalization after model_validator, and refined default-hint-vs-field-hint error cases.