pypi schemathesis 4.21.0
Release 4.21.0

3 hours ago

🚀 Added

  • Chain GraphQL operations on non-id identifiers (fullPath, slug, ...) in stateful and fuzzing phases.

🏎️ Performance

  • Much lower peak memory and faster validation for schemas with very large maxLength / maxItems.
  • Cache failed validator builds to avoid recompiling invalid patterns from large maxLength / maxItems values.
  • Update hypothesis-graphql to 0.13.0 that brings up to 180x performance improvements for deeply nested GraphQL schemas.
  • Update harfile to 0.5.0 for slightly better performance.
  • Lower memory usage in long stateful runs.
  • Faster, lower-memory stateful state machine construction for large schemas.

🐛 Fixed

  • Excessive re-runs in stateful testing against APIs with mutable state.
  • Stateful testing restarting on a single transient transport failure (e.g. dropped connection).
  • Semantic value substitution overwriting const / enum fields with invalid data.

🔧 Changed

  • Mine additionalProperties: false from Pydantic extra_forbidden errors and the exception_detail validation envelope.

Don't miss a new schemathesis release

NewReleases is sending notifications on new releases.