Hypothesis

Latest version: v6.122.3

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

Scan your dependencies

Page 141 of 210

3.87.0

Not secure
-------------------

This release contains a massive cleanup of the Hypothesis for Django extra:

- ``hypothesis.extra.django.models.models()`` is deprecated in favor of
:func:`hypothesis.extra.django.from_model`.
- ``hypothesis.extra.django.models.add_default_field_mapping()`` is deprecated
in favor of :func:`hypothesis.extra.django.register_field_strategy`.
- :func:`~hypothesis.extra.django.from_model` does not infer a strategy for
nullable fields or fields with a default unless passed ``infer``, like
:func:`~hypothesis.strategies.builds`.
``models.models()`` would usually but not always infer, and a special
``default_value`` marker object was required to disable inference.

3.86.9

Not secure
-------------------

This release improves some internal logic about when a test case in Hypothesis's internal representation could lead to a valid test case.
In some circumstances this can lead to a significant speed up during shrinking.
It may have some minor negative impact on the quality of the final result due to certain shrink passes now having access to less information about test cases in some circumstances, but this should rarely matter.

3.86.8

Not secure
-------------------

This release has no user visible changes but updates our URLs to use HTTPS.

3.86.7

Not secure
-------------------

Hypothesis can now automatically generate values for Django models with a
`~django.db.models.URLField`, thanks to a new provisional strategy for URLs (:issue:`1388`).

3.86.6

Not secure
-------------------

This release is a pure refactoring that extracts some internal code into its own file.
It should have no user visible effect.

3.86.5

Not secure
-------------------

This is a docs-only patch, which fixes some typos and removes a few hyperlinks
for deprecated features.

Page 141 of 210

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.