All Versions
149
Latest Version
Avg Release Cycle
3 days
Latest Release
1411 days ago

Changelog History
Page 15

  • v4.32.1 Changes

    July 29, 2019

    ๐Ÿš€ This release changes how the shrinker represents its progress
    โœ… internally. For large generated test cases this should result in
    significantly less memory usage and possibly faster shrinking. Small
    โœ… generated test cases may be slightly slower to shrink but this
    shouldn't be very noticeable.

    โœ… The canonical version of these notes (with links) is on readthedocs.

  • v4.32.0 Changes

    July 28, 2019

    ๐Ÿš€ This release makes "arrays()" more pedantic about "elements"
    strategies that cannot be exactly represented as array elements.

    ๐Ÿ‘€ In practice, you will see new warnings if you were using a "float16"
    or "float32" dtype without passing "floats()" the "width=16" or
    "width=32" arguments respectively.

    The previous behaviour could lead to silent truncation, and thus some
    elements being equal to an explicitly excluded bound (issue #1899).

    โœ… The canonical version of these notes (with links) is on readthedocs.

  • v4.31.1 Changes

    July 28, 2019

    ๐Ÿ‘ This patch changes an internal use of MD5 to SHA hashes, to better
    ๐Ÿ‘Œ support users subject to FIPS-140. There is no user-visible or API
    ๐Ÿ”„ change.

    Thanks to Alex Gaynor for this patch.

    โœ… The canonical version of these notes (with links) is on readthedocs.

  • v4.31.0 Changes

    July 24, 2019

    ๐Ÿš€ This release simplifies the logic of the "print_blob" setting by
    ๐Ÿ–จ removing the option to set it to "PrintSettings.INFER". As a result
    ๐Ÿ–จ the "print_blob" setting now takes a single boolean value, and the use
    ๐Ÿ—„ of "PrintSettings" is deprecated.

    โœ… The canonical version of these notes (with links) is on readthedocs.

  • v4.28.2 Changes

    July 14, 2019

    ๐Ÿ“„ This patch improves the docstrings of several Hypothesis strategies,
    by clarifying markup and adding cross-references. There is no runtime
    ๐Ÿ”„ change.

    Thanks to Elizabeth Williams and Serah Njambi Rono for their
    ๐Ÿ–จ contributions at the SciPy 2019 sprints!

    โœ… The canonical version of these notes (with links) is on readthedocs.

  • v4.28.1 Changes

    July 12, 2019

    This patch improves the behaviour of the "text()" strategy when passed
    an "alphabet" which is not a strategy. The value is now interpreted
    as "whitelist_characters" to "characters()" instead of a sequence for
    "sampled_from()", which standardises the distribution of examples and
    the shrinking behaviour.

    You can get the previous behaviour by using
    "lists(sampled_from(alphabet)).map("".map)" instead.

    โœ… The canonical version of these notes (with links) is on readthedocs.

  • v4.28.0 Changes

    July 11, 2019

    ๐Ÿš€ This release deprecates "find()". The ".example()" method is a better
    replacement if you want an example, and for the rare occasions where
    you want the minimal example you can get it from "@given".

    "@given" has steadily outstripped "find()" in both features and
    ๐ŸŽ performance over recent years, and as we do not have the resources to
    โœ… maintain and test both we think it is better to focus on just one.

    โœ… The canonical version of these notes (with links) is on readthedocs.

  • v4.27.0 Changes

    July 08, 2019

    ๐Ÿš€ This release refactors the implementation of the ".example()" method,
    to more accurately represent the data which will be generated by
    "@given".

    As a result, calling "s.example()" on an empty strategy "s" (such as
    "nothing()") now raises "Unsatisfiable" instead of the old
    ๐Ÿ‘ป "NoExamples" exception.

    โœ… The canonical version of these notes (with links) is on readthedocs.

  • v4.26.4 Changes

    July 07, 2019

    This patch ensures that the Pandas extra will keep working when Python
    ๐Ÿšš 3.8 removes abstract base classes from the top-level "collections"
    โš  namespace. This also fixes the relevant warning in Python 3.7, but
    there is no other difference in behaviour and you do not need to do
    anything.

    โœ… The canonical version of these notes (with links) is on readthedocs.