Schemathesis

Latest version: v3.26.0

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

Scan your dependencies

Page 1 of 43

4.53.2

85d02df Flaky test for threaded code
932577a Unhandled too long paths in CLI

Chores and Improvements :wrench:

<details><summary>e1810a8 Remove git depth limit</summary>

This is what is causing the releases to have a single entry

</details>

Other :package:

4.0

:bug: Fixed

- **CLI**: Do not duplicate the error message in the output when the error has no traceback and the `--show-trace` option is provided.
- **Open API**: Internal error on path templates that contain `.` inside path parameters.
- **Open API**: YAML serialization of data generated for schemas with `format: binary`.
- Create parent directories when saving JUnit XML reports and other file-based output. 1995
- Internal error when an API operation contains multiple parameters with the same name and some of them contain the `examples` keyword.
- Internal error during query parameter generation on schemas that do not contain the `type` keyword.
- Example generation for request body parameters using `$ref`.
- Generating examples for properties that have deeply nested `$ref`.
- Generating examples for properties with boolean sub-schemas.
- Validating responses with boolean sub-schemas on Open API 3.1.
- `TypeError` on non-string `pattern` values. This could happen on values in YAML, such that when not quoted, they are parsed
as non-strings.
- Testing examples requiring unsupported payload media types resulted in an internal error. These are now correctly reported as errors
- Internal error on unsupported regular expressions in inside properties during example generation.
- Missing XML definitions when the media type contains options like `application/xml; charset=utf-8`.
- Unhandled timeout while reading the response payload.
- Internal error when the header example in the schema is not a valid header.
- Handle `KeyError` during state machine creation.
- Deduplicate network errors that contain unique URLs in their messages.
- Not reporting multiple errors of different kinds at the same API operation.
- Group similar errors within the same API operation.

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.

3.25.5

:bug: Fixed

- Incorrect error message when the code inside the hook module raises `ImportError`. 2074
- Compatibility with Hypothesis >6.98.14
- Not respecting `allow_x00` and `codec` configs options for data generation in some cases. 2072

3.25.4

:wrench: Changed

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

Page 1 of 43

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.