Schemathesis

Latest version: v3.30.4

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

Scan your dependencies

Page 1 of 45

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

:bug: Fixed

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

3.30.3

:bug: Fixed

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

3.30.2

:bug: Fixed

- Excessive `urllib3` warnings during testing `localhost` via `https`.
- Misreporting of undocumented `Content-Type` when documented content types contain wildcards.
- Incorrect test case reporting when code samples contain a single sanitized parameter. 2294

3.30.1

:rocket: Added

- `--output-truncate=false` CLI option to disable schema and response payload truncation in error messages.

:wrench: Changed

- More fine-grained events for stateful testing.

:bug: Fixed

- Internal error caused by an upstream race condition bug in Hypothesis. 2269
- Do not output stateful tests sub-section in CLI if there are no stateful tests due to applied filters.

Page 1 of 45

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.