NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #1896 most downloaded on PyPI
Adaptive API testing for OpenAPI, GraphQL, and gRPC
Latest stable
4.33.1
Last release 18 days ago
04 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
507 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Deprecated skip_validation argument to HookDispatcher.apply.
skip_validation argument to HookDispatcher.apply._accepts_context internal function.BREAKING. Base URL handling. base_url now is treated as one with a base path included. You should pass a full base URL now instead:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
base_url now is treated as one
with a base path included. You should pass a full base URL now
instead:schemathesis run --base-url=http://127.0.0.1:8080/api/v2 ...
This value will override basePath / servers[0].url defined in your
schema if you use Open API 2.0 / 3.0 respectively. Previously if you
pass a base URL like the one above, it was concatenated with the base
path defined in the schema, which leads to a lack of ability to redefine
the base path. #511
Example:
Base URL in the schema : http://0.0.0.0:8081/api/v1
`--base-url` value in CLI : http://0.0.0.0:8081/api/v2
Full URLs before this change : http://0.0.0.0:8081/api/v2/api/v1/users/ # INVALID!
Full URLs after this change : http://0.0.0.0:8081/api/v2/users/ # VALID!
context
argument in the first position.register decorators
instead. For more details, see the "Customization" section in our
documentation.BaseSchema.with_hook and BaseSchema.register_hook. Use
BaseSchema.hooks.apply and BaseSchema.hooks.register instead.loaders.from_asgi supports making calls to ASGI-compliant application (For example: FastAPI). #521
Schema validation error on schemas containing numeric values in scientific notation without a dot. #629
Pass the original case's response to the add_case hook.
add_case hook.examples. #589--verbosity CLI option to minimize the error output. #598apply. #618LazySchema / from_pytest_fixture. #617Tests with invalid schemas are marked as failed instead of passed when hypothesis-jsonschema>=0.16 is installed. #614
hypothesis-jsonschema>=0.16 is installed. #614KeyError during creating an endpoint strategy if it contains a
reference. #612hypothesis-jsonschema>=0.16. #614InvalidSchema text to pytest.fail call.Support for YAML files in references via HTTPS & HTTP schemas. #600
Open API links syntax. #548add_case hook. #458pipeDelimited or deepObject. #599application/json content-type. #594Hypothesis and
hypothesis-jsonschema are 5.15.0 and 0.11.1 respectively. The
main reason is this
fix
that is required for stability of Open API links feature when it is
executed in multiple threads.Support for a colon symbol (:) inside of a header value passed via CLI. #596
:) inside of a header value passed
via CLI. #596Partially generated explicit examples are always valid and can be used in requests. #582
Look at the current working directory when loading hooks for CLI. #586
New before_add_examples hook. #571
Display proper headers in reproduction code when headers are overridden. #566
Display a suggestion to disable schema validation on schema loading errors in CLI. #531
operationId via operation_id
parameter to schema.parametrize or -O command-line option. #546securityDefinitions / securitySchemes and injected to the
generated data. It supports generating API keys in headers or query
parameters and generating data for HTTP authentication schemes. #540context argument for hook functions to provide an additional context for hooks. A deprecation warning is emitted for hook functions that do not accept…
context argument for hook functions to provide an additional
context for hooks. A deprecation warning is emitted for hook
functions that do not accept this argument.before_process_path hook.Deprecated
context as their first argument.
They will become not be supported in Schemathesis 2.0.register decorators
instead. For more details, see the "Customization" section in our
documentation.BaseSchema.with_hook and BaseSchema.register_hook. Use
BaseSchema.hooks.apply and BaseSchema.hooks.register instead.validate_schema argument to
loaders.from_pytest_fixture.Validation of nullable properties in response_schema_conformance check introduced in 1.3.0. #542
response_schema_conformance
check introduced in 1.3.0. #542Update pytest-subtests pin to >=0.2.1,<1.0. #537
pytest-subtests pin to >=0.2.1,<1.0. #537Show exceptions if they happened during loading a WSGI application. Option --show-errors-tracebacks will display a full traceback.
--show-errors-tracebacks will display a full traceback.### :bug: Fixed - Packaging issue
Storing network logs with --store-network-log= . The stored cassettes are based on the VCR format and contain extra information from the Schemathesis
--store-network-log=<filename.yaml>. The
stored cassettes are based on the VCR
format
and contain extra information from the Schemathesis internals. #379response_time target at the moment. #104--junit-xml=<filename.xml>. #427body is defined as
{"type": "string"}. #521jsonschema errors during input
schema validation. #513response_schema_conformance check. Because of
this change, Endpoint.definition contains a definition where
references are not resolved. In this way, it makes it possible to
avoid recursion errors in jsonschema validation. #468SUMMARY CLI block.Per-test hooks for modification of data generation strategies. #492
Support for custom loaders in runner. Now all built-in loaders are supported as an argument to runner.prepare. #496
Mistakenly applied Open API -\> JSON Schema Draft 7 conversion. It should be Draft 4. #489
Response schema check for recursive schemas. #468
runner. Now it accepts application as an importable
string, rather than an instance. It is done to make it possible to
execute a runner in a subprocess. Otherwise, apps can't be easily
serialized and transferred into another process.BaseSchema, Endpoint or similar
objects that may calculate data dynamically. This is done to make
events serializable and not tied to Python object, which decouples
any runner consumer from implementation details. It will help make
runner usable in more cases (e.g., web application) since events
can be serialized to JSON and used in any environment. Another
related change is that Python exceptions are not propagated
anymore - they are replaced with the InternalError event that
should be handled accordingly.Open API 3. Handling of endpoints that contain multipart/form-data media types. Previously only file upload endpoints were working correctly. #473
multipart/form-data
media types. Previously only file upload endpoints were working
correctly. #473OpenApi30.get_content_types behavior, introduced in 8aeee1a. #469
Precedence of produces keywords for Swagger 2.0 schemas. Now, operation-level produces overrides schema-level produces as specified in the specificati
Pytest 5.4 warning about deprecated Node initialization usage. #451
Processing of explicit examples in Open API 3.0 when there are multiple parameters in the same location (e.g. path) contain example value. They are pr
path) contain
example value. They are properly combined now. #450Move processing of runner parameters to runner.prepare. This change will provide better code reuse since all users of runner (e.g., if you extended it
runner parameters to runner.prepare. This
change will provide better code reuse since all users of runner
(e.g., if you extended it in your project) need some kind of input
parameters handling, which was implemented only in Schemathesis CLI.
It is not backward-compatible. If you didn't use runner directly,
then this change should not have a visible effect on your use-case.Deprecated runner.execute. Use runner.prepare instead.
x-* custom properties. #448runner.execute. Use runner.prepare instead.Deprecated Parametrizer class. Use schemathesis.from_path as a replacement for Parametrizer.from_path.
Deprecated
runner.execute should not be used, since runner.prepare provides
a more flexible interface to test execution.Parametrizer class. Use schemathesis.from_path as a
replacement for Parametrizer.from_path.Limit recursion depth while resolving JSON schema to handle recursion without breaking. #435
Filter problematic path template variables containing "/", or "%2F" url encoded. #440
### :wrench: Changed - Allow werkzeug \>= 1.0.0. #433
werkzeug >= 1.0.0. #433Handling of explicit examples from schemas. Now, if there are examples for multiple locations (e.g., for body and query) then they will be combined in
Error during pytest collection on objects with custom __getattr__ method and therefore pass is_schemathesis check. #429
pytest collection on objects with custom
__getattr__ method and therefore pass is_schemathesis check. #429Resolving references when the schema is loaded from a file on Windows. #418
Not copied validate_schema parameter in BaseSchema.parametrize. Regression after implementing #383
Crash on invalid regular expressions in method, endpoint and tag CLI options. #403
method, endpoint and
tag CLI options. #403auth CLI option. #404header CLI option. #405schema CLI option. #406--request-timeout parameter. #407--hypothesis-deadline=0 CLI option. #410--hypothesis-max-examples=0 CLI option. #412CLI crash on Windows and Python \< 3.8 when the schema path contains characters unrepresentable at the OS level. #400
Support for testing of examples in Parameter & Media Type objects in Open API 3.0. #394
--show-error-tracebacks CLI option to display errors' tracebacks
in the output. #391--validate-schema=false for example).
The use-case is for tools like ElasticSearch that use GET requests
with non-empty bodies. #383-x/--exitfirst CLI option to exit after the first failed test. #378
all variant for --checks CLI option to use all available checks. #374
Generation of invalid values in Case.cookies. #371
Case.cookies. #371Converting exclusiveMinimum & exclusiveMaximum fields to JSON Schema. #367
exclusiveMinimum & exclusiveMaximum fields to JSON
Schema. #367Filter out surrogate pairs from the query string.
Prevent KeyError when the response does not have the "Content-Type" header. #365
KeyError when the response does not have the
"Content-Type" header. #365Dockerfile entrypoint was not working as per docs. #361
Hooks for strategy modification. #313
Show multiple found failures in the CLI output. #266 & #207
None as a value for --hypothesis-deadline. #349Case.call. #350Case instead of TestResult. The error was didn't affect built-in
checks since both Case and TestResult had endpoint attribute,
and only it was used. However, this fix is not backward-compatible
with 3rd party checks.Support for AioHTTP applications in CLI. #329
Compatibility with the latest release of hypothesis-jsonschema and setting its minimal required version to 0.9.13. #338
hypothesis-jsonschema and
setting its minimal required version to 0.9.13. #338Handling nullable attribute in Open API schemas. #335
nullable attribute in Open API schemas. #335Usage of the response status code conformance check with old requests version. #330
requests version. #330Response schema conformance check for Open API 3.0. #332
Support for response code ranges. #330
Case.validate_response for running built-in checks against app's response. #319
Case.validate_response for running built-in checks against app's
response. #319Case instance as a second argument instead of
TestResult. This was done for making checks usable in Python tests
via Case.validate_response. Endpoint and schema are accessible via
case.endpoint and case.endpoint.schema.Compatibility with Hypothesis \>= 4.53.2. #322
Concurrent test execution in CLI / runner. #91
Validation of the base-url CLI parameter. #311
base-url CLI parameter. #311One column per quarter.