Schemathesis

Latest version: v3.38.9

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 51

3.27.1

:rocket: Added

- `GenerationConfig.headers.strategy` attribute for customizing header generation. 2137
- Support for `python -m schemathesis.cli`. 2142
- Support for `anyio>=4.0`. 2081

:bug: Fixed

- Supporting non-Starlette ASGI apps. 2136
- Missing version metadata in ASGI client causing errors with ASGI3-only apps. 2136

3.27.0

The new release of Schemathesis introduces important changes for ASGI & WSGI applications. Now, you can use `Case.call` and `Case.call_and_validate` to run tests directly, replacing the previous separate methods for these application types (`call_asgi` / `call_wsgi`)

:rocket: Added

- `Case.as_transport_kwargs` method to simplify the creation of transport-specific keyword arguments for sending requests.

:wrench: Changed

- Make `Case.call` work with `ASGI` & `WSGI` applications.
- Extend the JUnit XML report format to match CLI output including skipped tests, code samples, and more.

:wastebasket: Deprecated

- `Case.call_wsgi` & `Case.call_asgi` in favor of `Case.call`.
- `Case.as_requests_kwargs` & `Case.as_werkzeug_kwargs` in favor of `Case.as_transport_kwargs`.

3.26.2

:rocket: Added

- Support for `pyrate-limiter>=3.0`.

:bug: Fixed

- Excluding `\x00` bytes as a result of probes.

3.26.1

:rocket: Added

- Store time needed to generate each test case.

:bug: Fixed

- `InvalidArgument` when using `from_pytest_fixture` with parametrized pytest fixtures and Hypothesis settings. 2115

3.26.0

:rocket: Added

- Support for per-media type data generators. 962
- Support for `application/yaml` & `text/yml` media types in `YAMLSerializer`.
- **EXPERIMENTAL**: Run automatic schema optimization & format inference if CLI is authenticated in Schemathesis.io.

:bug: Fixed

- Not resolving references in nested security schemes. 2073

:wrench: Changed

- Improve the error message when the minimum possible example is too large.

3.25.6

:bug: Fixed

- Not respecting `allow_x00` and `codec` configs options while filling gaps in explicit examples.
- Internal error when sending `multipart/form-data` requests when the schema defines the `*/*` content type.
- Internal error when YAML payload definition contains nested `binary` format.
- Internal error when an Open API 2.0 schema contains no `swagger` key and the schema version is forced.

:wrench: Changed

- Indicate API probing results in CLI.

Page 9 of 51

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.