Schemathesis

Latest version: v3.38.10

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

Scan your dependencies

Page 8 of 51

3.29.2

:version:`3.29.2 <v3.29.1...v3.29.2>` - 2024-05-31
--------------------------------------------------

**Fixed**

- Remove temporary ``print`` calls.

3.29.1

:version:`3.29.1 <v3.29.0...v3.29.1>` - 2024-05-31
--------------------------------------------------

**Fixed**

- Inlining too much in stateful testing.

3.29.0

:version:`3.29.0 <v3.28.1...v3.29.0>` - 2024-05-30
--------------------------------------------------

**Changed**:

- **INTERNAL**: Remove the ability to mutate components used in ``schema["/path"]["METHOD"]`` access patterns.

**Fixed**

- Not serializing shared parameters for an API operation.
- ``OperationNotFound`` raised in ``schema.get_operation_by_id`` if the relevant path item is behind a reference.
- Missing parameters shared under the same path in stateful testing if the path is behind a reference.
- ``KeyError`` instead of ``OperationNotFound`` when the operation ID is not found in Open API 3.1 without path entries.
- Not respecting ``allow_x00=False`` in headers and cookies. :issue:`2220`
- Internal error when building an error message for some network-related issues. :issue:`2219`

**Performance**

- Optimize ``schema["/path"]["METHOD"]`` access patterns and reduce memory usage.
- Optimize ``get_operation_by_id`` method performance and reduce memory usage.
- Optimize ``get_operation_by_reference`` method performance.
- Less copying during schema traversal.

3.28.1

:version:`3.28.1 <v3.28.0...v3.28.1>` - 2024-05-11
--------------------------------------------------

**Fixed**

- Internal error on unresolvable Open API links during stateful testing.
- Internal error when media type definition has only ``example`` or ``examples`` keys.

**Performance**

- Improve performance of ``add_link`` by avoiding unnecessary reference resolving.

3.28.0

:version:`3.28.0 <v3.27.1...v3.28.0>` - 2024-05-10
--------------------------------------------------

**Added**

- ``Request.deserialize_body`` and ``Response.deserialize_body`` helper methods to deserialize payloads to bytes from Base 64.
- Support for ``multipart/mixed`` media type.

**Changed**

- Do not show suggestion to show a traceback on Hypothesis' ``Unsatisfiable`` error.
- Clarify error message on unsupported recursive references.
- Report more details on some internal errors instead of "Unknown Schema Error".
- Update error message on why Schemathesis can't generate test cases for some API operations.

**Fixed**

- Internal error on Windows when the CLI output is redirected to a file and code samples contain non CP1252 characters.
- Properly check for nested recursive references inside combinators. This makes Schemathesis work with more schemas with recursive references.

3.27.1

:version:`3.27.1 <v3.27.0...v3.27.1>` - 2024-04-29
--------------------------------------------------

**Added**

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

**Fixed**

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

Page 8 of 51

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.