Schemathesis

Latest version: v3.38.9

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

Scan your dependencies

Page 1 of 51

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.38.9

:bug: Fixed

- `UnicodeEncodeError` when sending a request during the coverage phase.
- Duplicated test cases for missing required headers during the coverage phase.

3.38.8

:bug: Fixed

- `UnicodeEncodeError` when sending a request during the coverage phase.
- Duplicated test cases for missing required headers during the coverage phase.
- Generating positive test cases when they are explicitly excluded via configuration during the coverage phase.

3.38.7

:rocket: Added

- Generating duplicate query parameters during the coverage phase.
- Generating cases with arbitrary HTTP methods during the coverage phase.

:bug: Fixed

- Not sending negated query parameters in some cases during the coverage phase.
- Incorrect `data_generation_method` reported during the coverage phase in some cases.

3.38.6

:rocket: Added

- Support arrays for headers & path parameters during the coverage phase.

:wrench: Changed

- Make the `ignored_auth` stricter by always checking for the 401 status exactly instead of any non-200.

:bug: Fixed

- Missed generating booleans in some cases during the coverage phase.
- Populate `meta.parameter` in more cases during the coverage phase.
- Incorrect quantifiers merging for some regex patterns.

Page 1 of 51

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.