Skip to content

[Python] Release 0.42.2

Choose a tag to compare

@Stranger6667 Stranger6667 released this 26 Feb 15:29
· 91 commits to master since this release
python-v0.42.2
f28bb25

Fixed

  • SWAR digit parser accepted bytes :? (0x3A–0x3F) as valid digits during date, time, and date-time format validation, potentially allowing malformed values to pass.

Changed

  • Custom keyword validation exceptions are now chained to the resulting ValidationError via __cause__, preserving the original exception type and message.

Performance

  • Extend pattern prefix optimization to handle escaped slashes (^\/) and exact-match patterns (^\$ref$).
  • Specialize enum for cases when all variants are strings.