Skip to content

Releases: Parquery/icontract

icontract 2.5.4

16 Aug 19:16
2064204
Compare
Choose a tag to compare
  • Made type annotation for invariant decorator more specific (#227)

icontract 2.5.3

20 Jun 06:02
0956cfa
Compare
Choose a tag to compare
  • Fixed reporting all arguments on violation (#219)
  • Propagated placeholders in re-computation (#218)
  • Fixed docstring for collect_variable_lookup (#217)

icontract 2.5.2

29 May 22:00
081f339
Compare
Choose a tag to compare
  • Fixed handling of self when passed as kwarg (#213)
  • Added reporting of all arguments on violation (#214)
  • Added tracing of all on generator expressions (#215)

icontract 2.5.1

23 Apr 16:41
d24370d
Compare
Choose a tag to compare
  • Allowed __new__ to tighten pre-conditions (#211)
  • Fixed recomputation of calls in generator expr (#210)
  • Added better reporting on recompute failure (#207)

icontract 2.5.0

26 Feb 15:47
1f8d247
Compare
Choose a tag to compare
  • Encapsulated adding contracts for integrators (#202)
  • Added support for error-as-instance (#201)
  • Added support for coroutine (#197)
  • Added support for async (#196)

icontract 2.4.1

20 Dec 19:56
1157bbd
Compare
Choose a tag to compare
  • Removed automatic registration with Hypothesis and replaced it with a hook that
    downstream libraries such as icontract-hypothesis can use (#181)
  • Refactored and added tests for integrators (#182)

icontract 2.4.0

16 Dec 17:26
2bb37c6
Compare
Choose a tag to compare
  • Integrated with icontract-hypothesis (#179)
  • Refactored for icontract-hypothesis (#178)
  • Added special arguments _ARGS and _KWARGS (#176)
  • Tested with typeguard (#175)
  • Tested with dataclasses.dataclass (#173)
  • Added invariants to namedtuple (#172)
  • Added support for recomputation of f-strings (#170)
  • Exempted __new__ from invariant checks (#168)
  • Added support for named expressions in contracts (#166)

icontract 2.3.7

07 Nov 10:23
0e1c143
Compare
Choose a tag to compare
  • Acted upon deprecation warning ins ast module when generating the
    violation error message.

icontract 2.3.6

09 Oct 18:40
f0adb00
Compare
Choose a tag to compare
  • Denormalized icontract_meta so that icontract can be installed on
    readthedocs.

icontract 2.3.5

23 Sep 10:12
6562a01
Compare
Choose a tag to compare
  • Disabled invariant checks during the construction to avoid attribute errors on uninitialized attributes