Schemathesis

Latest version: v3.36.2

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

Scan your dependencies

Page 3 of 48

3.34.0

:version:`3.34.0 <v3.33.3...v3.34.0>` - 2024-08-17
--------------------------------------------------

**Added**

- The ``ensure_resource_availability`` check. It verifies that a freshly created resource is available in related API operations.
- The ``ignored_auth`` check. It verifies that the API operation requires the specified authentication.
- Enable string format verification in response conformance checks. :issue:`787`
- Control over cache key in custom auth implementation. :issue:`1775`
- The ``--generation-graphql-allow-null`` CLI option that controls whether ``null`` should be used for optional arguments in GraphQL queries. Enabled by default. :issue:`1994`
- Filters for hooks. :issue:`1852`
- Verify header schema conformance. :issue:`796`

**Changed**

- Pass default stateful test runner config to ``TestCase`` used by ``pytest`` & ``unittest`` integration.
- Rework transitions in stateful tests in order to reduce the number of unhelpful API calls.
- Improve error message when ``base_url`` is missing for a schema loaded from a file.

**Fixed**

- Missing sanitization in new-style stateful tests.
- Missing new-style stateful testing results in JUnit output.
- Internal error when handling an exception inside a hook for a GraphQL schema.
- Filters being ignored in the old-style stateful test runner. :issue:`2376`
- Missing sanitization for query parameters in code samples.

3.33.3

:version:`3.33.3 <v3.33.2...v3.33.3>` - 2024-07-29
--------------------------------------------------

**Fixed**

- Incorrect default deadline for stateful tests in CLI.
- Incorrect handling of ``allOf`` subschemas in testing explicit examples. :issue:`2375`

**Changed**

- Reduce the default stateful step count from 50 to 10. It increases the variety of the generated API call sequences.

3.33.2

:version:`3.33.2 <v3.33.1...v3.33.2>` - 2024-07-27
--------------------------------------------------

**Fixed**

- Internal error in stateful testing.
- Internal error in CLI output when some of test cases has no responses due to timeout. :issue:`2373`

3.33.1

:version:`3.33.1 <v3.33.0...v3.33.1>` - 2024-07-22
--------------------------------------------------

**Fixed**

- Ignoring nested examples. :issue:`2358`

3.33.0

:version:`3.33.0 <v3.32.2...v3.33.0>` - 2024-07-19
--------------------------------------------------

**Added**

- A set of CLI options and a Python API for including and excluding what API operations to test. :issue:`703`, :issue:`819`, :issue:`1398`
- A way to filter API operations by an expression in CLI. :issue:`1006`
- Support for filtering GraphQL operations by ``name``.

**Fixed**

- Missed ``operation_id`` & ``tag`` filter in some cases.
- Broken compatibility with ``Hypothesis<6.108``. :issue:`2357`

**Deprecated**

- ``--method``, ``--endpoint``, ``--tag``, ``--operation-id``, ``--skip-deprecated-operations`` CLI options in favor of the new ``--include-*`` and ``--exclude-*`` options.
See more details in the CLI documentation.
- ``method``, ``endpoint``, ``tag``, ``operation_id`` and ``skip_deprecated_operations`` arguments in ``schemathesis.from_*`` loaders and the ``parametrize`` function in favor of the new ``include`` and ``exclude`` methods on ``schema`` instances.

3.32.2

:version:`3.32.2 <v3.32.1...v3.32.2>` - 2024-07-17
--------------------------------------------------

**Fixed**

- Circular import in ``schemathesis.runner.events``.

Page 3 of 48

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.