Skip to content

Releases: schemathesis/schemathesis

Release 3.33.2

27 Jul 13:49
v3.33.2
e89a667
Compare
Choose a tag to compare

🐛 Fixed

  • Internal error in stateful testing.
  • Internal error in CLI output when some test cases have no responses due to timeout. #2373

Release 3.33.1

22 Jul 07:53
v3.33.1
18a1fd4
Compare
Choose a tag to compare

🐛 Fixed

  • Ignoring nested examples. #2358

Release 3.33.0

19 Jul 08:47
v3.33.0
a5ebebf
Compare
Choose a tag to compare

Finally, flexible filters for API operations are released!

🚀 Added

  • A set of CLI options and a Python API for including and excluding what API operations to test. #703, #819, #1398
  • A way to filter API operations by an expression in CLI. #1006
  • Support for filtering GraphQL operations by name.

🐛 Fixed

  • Missed operation_id & tag filters in some cases.
  • Broken compatibility with Hypothesis<6.108. #2357

🗑️ Deprecated

  • --method, --endpoint, --tag, --operation-id, --skip-deprecated-operations CLI options in favor of the new --include-* and --exclude-* options.
    See more details in the CLI documentation.
  • method, endpoint, tag, operation_id and skip_deprecated_operations arguments in schemathesis.from_* loaders and the parametrize function in favor of the new include and exclude methods on schema instances.

Release 3.32.2

16 Jul 23:08
v3.32.2
54b1c8a
Compare
Choose a tag to compare

🐛 Fixed

  • Circular import in schemathesis.runner.events.

Release 3.32.1

16 Jul 22:56
v3.32.1
97f6188
Compare
Choose a tag to compare

🚀 Added

  • Filtering by operation_id in conditional auth implementation.

🐛 Fixed

  • Internal error when saving debug logs with --experimental=stateful-test-runner or --experimental=schema-analysis enabled. #2353

Release 3.32.0

13 Jul 22:38
v3.32.0
ee2fef8
Compare
Choose a tag to compare

Hello there! This release extends the recently released stateful testing and fixes a few bugs in there.

🚀 Added

  • Support for authentication via CLI arguments in new-style stateful tests.
  • Support for --hypothesis-seed in new-style stateful tests.
  • Support for --set-* CLI options in new-style stateful tests.
  • Support for --max-response-time in new-style stateful tests.
  • Support for targeted property-based testing in new-style stateful tests.
  • Support for --request-* CLI options in new-style stateful tests.
  • Support for --generation-* CLI options in new-style stateful tests.
  • Support for --max-failures in new-style stateful tests.
  • Support for --dry-run in new-style stateful tests.
  • all variant for the --hypothesis-suppress-health-check CLI option.
  • Support for Hypothesis >= 6.108.0.

🐛 Fixed

  • WSGI support for new-style stateful tests.
  • Ignoring configured data generation methods in new-style stateful tests.
  • Using constant data_generation_method value for HTTP interactions in VCR cassettes.
  • Not reporting errors with --experimental=stateful-only. #2326
  • Internal error on CTRL-C during new-style stateful tests.
  • Use --request-proxy for API probing.
  • Fill the seed field in cassettes for new-style stateful tests.
  • Ignoring resolution scope when getting API operation by reference.

🔧 Changed

  • Do not run new-style stateful tests if unit tests exited due to --exitfirst.
  • Display error details if API probing fails.

Release 3.31.1

03 Jul 20:29
Compare
Choose a tag to compare

🐛 Fixed

  • Generating negative test cases for path and query parameters. #2312

🔧 Changed

  • Do not consider ignoring additional parameters as a failure in negative_data_rejection

Release 3.31.0

30 Jun 15:56
v3.31.0
767baf6
Compare
Choose a tag to compare

HTTP Archive (HAR) support comes to Schemathesis! 🎉

🚀 Added

  • Storing cassettes in the HAR format via the --cassette-format=har CLI option. #2299
  • Support for cassettes in the new-style stateful test runner.
  • --generation-with-security-parameters=false CLI option to disable generation of security parameters (like tokens) in test cases.

🐛 Fixed

  • Incorrect test case ids stored in VCR cassettes. #2302
  • Incorrect reference resolution scope for security schemes if the API operation has a different scope than the global security schemes. #2300
  • Properly display unresolvable reference if it comes from a missing file.

Release 3.30.4

28 Jun 08:41
Compare
Choose a tag to compare

🐛 Fixed

  • Missing overrides from --set-* CLI options in tests for explicit examples

Release 3.30.3

27 Jun 13:48
v3.30.3
b804d70
Compare
Choose a tag to compare

🐛 Fixed

  • Internal error when piping stdout to a file in CLI on Windows.