All Versions
56
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History
Page 3

  • v2.1.0 Changes

    • Made snapshot accept multiple arguments
  • v2.0.7 Changes

    • ๐Ÿ›  Fixed mypy complaints in clients due to import aliases
    • Made compliant to mypy 0.750 --strict
  • v2.0.6 Changes

    • โž• Added location to errors on calls with missing arguments
  • v2.0.5 Changes

    • ๐Ÿ‘Œ Improved error message on unexpected arguments in a call
    • Distinguished between optional and mandatory arguments in conditions. Default argument values in conditions are accepted instead of raising a misleading "missing argument" exception.
    • โž• Added a boolyness check to detect if the condition evaluation can be negated. If the condition evaluation lacks boolyness, a more informative exception is now raised. For example, this is important for all the code operating with numpy arrays where boolyness is not given.
    • โž• Added contract location to require, ensure and snapshot. This feature had been erroneously omitted in 2.0.4.
  • v2.0.4 Changes

    • โž• Added contract location to the message of the violation error
  • v2.0.3 Changes

    • ๐Ÿ›  Fixed representation of numpy conditions
    • โšก๏ธ Updated pylint to 2.3.1
  • v2.0.2 Changes

    • Specified require and ensure to use generics in order to fix typing erasure of the decorated functions
  • v2.0.1 Changes

    • ๐Ÿ›  Fixed forgotten renamings in the Readme left from icontract 1.x
  • v2.0.0 Changes

    • โœ‚ Removed repr_args argument to contracts since it is superseded by more versatile error argument
    • ๐Ÿ“‡ Renamed contracts to follow naming used in other languages and libraries (require, ensure and invariant)
    • ๐Ÿ‘Œ Improved error messages on missing arguments in the call
  • v1.7.2 Changes

    • Demarcated decorator and lambda inspection in _represent submodule