Schemathesis

Latest version: v3.38.10

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

Scan your dependencies

Page 3 of 51

3.37.0

:version:`3.37.0 <v3.36.4...v3.37.0>` - 2024-10-09
--------------------------------------------------

**Added**

- Support for ``pytest-subtests`` up to ``0.14``.
- Experimental "Positive Data Acceptance" check to verify that schema-conforming data receives 2xx status responses. Enable with `--experimental=positive_data_acceptance`
- Experimental CLI options to configure the ``negative_data_rejection`` check.
- More negative string combinations with patterns in the coverage phase.

**Fixed**

- Internal error in conditional hooks.
- Negative test cases for patterns in the coverage phase.

3.36.4

:version:`3.36.4 <v3.36.3...v3.36.4>` - 2024-10-05
--------------------------------------------------

**Fixed**

- False positive for ``ignored_auth`` when used in stateful test runner. :issue:`2482`
- Open Api 3.1 spec using ``$ref`` in a path is incorrectly validated as invalid. :issue:`2484`
- Properly serialize ``seed`` in cassettes if ``--hypothesis-derandomize`` is present.

**Performance**

- Improvements for the coverage phase.

3.36.3

:version:`3.36.3 <v3.36.2...v3.36.3>` - 2024-09-29
--------------------------------------------------

**Added**

- Meta information about generated data in the coverage phase.

3.36.2

:version:`3.36.2 <v3.36.1...v3.36.2>` - 2024-09-26
--------------------------------------------------

**Changed**

- Merge ``minLength`` & ``maxLength`` into ``pattern`` to avoid extremely slow generation in most popular cases.
- Avoid generating ``{`` and ``}`` for path parameters.
- Generate all negative types in the coverage phase.

**Fixed**

- Internal error on incorrect examples during the coverage phase.

3.36.1

:version:`3.36.1 <v3.36.0...v3.36.1>` - 2024-09-23
--------------------------------------------------

**Changed**

- Use ``requestBody`` examples as the source of valid inputs during the coverage phase.
- Reuse top-level schema examples in more places during the coverage phase.
- Generate more combinations of optional parameters during the coverage phase.

**Fixed**

- ``ignored_auth`` false positives on custom auth and explicit ``--auth`` CLI option. :issue:`2462`
- Avoid skipping string generation if they have ``pattern`` during the coverage phase.

3.36.0

:version:`3.36.0 <v3.35.5...v3.36.0>` - 2024-09-15
--------------------------------------------------

**Added**

- Reimplementation of test case deduplication in CLI. It effectively un-deprecates the ``--contrib-unique-data`` CLI option.
- Extend ``ignored_auth`` to check for incorrect auth.
- More ``properties`` combinations for the coverage phase.
- Use the `default` field as a source of valid inputs during the coverage phase.

**Changed**

- Add ``ctx`` as the first argument for all checks.
This is a step towards checks that cover multiple responses at once.
- Validate custom check function signatures.

**Deprecated**

- Custom checks that do not accept ``ctx`` as the first argument.

**Fixed**

- Avoid running checks twice in new-style stateful tests.
- Missing ``timeout`` in certain situations when loading the schema from the network.
- Ignoring ``with_security_parameters`` in runner in some cases.

Page 3 of 51

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.