pypi schemathesis 4.2.0
Release 4.2.0

18 hours ago

🐛 Fixed

  • Properly generate boundary values for negative maximum during the coverage phase.
  • CLI: Internal error if referenced API operation is unresolvable.
  • CLI: Gracefully handle NULL byte in report path.
  • Use the default Hypothesis profile to detect changed settings for stateful testing instead of the current one.
  • Prevent missing required header check for optional authorization in OpenAPI.
  • Properly close HAR files.
  • Avoid excessive memory consumption in resolved schemas. #1697
  • Properly search for examples in Open API 2.0 responses.
  • Coverage phase missing some examples for request bodies.
  • Accept booleans for parameter schemas in Open API 3.1.
  • False positives in negative_data_rejection check for an array of strings query parameters. #3056
  • False positives in negative_data_rejection check for application/x-www-form-urlencoded media type.
  • False positive report about missing path parameter during the coverage phase with --mode=negative.

🔧 Changed

  • Improve error reporting on incorrect type values.
  • pytest: Schemas with infinitely recursive references are reported as failures. #947

🏎️ Performance

  • Avoid choosing mutations that aren't applicable in the current context.
  • Response schema validation is now 5–15x faster on average.
  • Response header schema validation is now 15–30x faster on average.
  • Speedup config hierarchy loading.

Don't miss a new schemathesis release

NewReleases is sending notifications on new releases.