All Versions
56
Latest Version
Avg Release Cycle
-
Latest Release
-
Changelog History
Page 3
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
andsnapshot
. 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
andensure
to use generics in order to fix typing erasure of the decorated functions
- Specified
-
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 versatileerror
argument - ๐ Renamed contracts to follow naming used in other languages and libraries (
require
,ensure
andinvariant
) - ๐ Improved error messages on missing arguments in the call
- โ Removed
-
v1.7.2 Changes
- Demarcated decorator and lambda inspection in
_represent
submodule
- Demarcated decorator and lambda inspection in