Skip to content

Releases: astex/needs

v1.0.9

01 Dec 19:09

Choose a tag to compare

Changes:

  • Fixed a bug where combination needs with or as the parent weren't raising the correct exception.

v1.0.8

01 Dec 18:51

Choose a tag to compare

Changes:

  • Fixed a bug where errors were not correctly preserved across combinations.

v1.0.7

03 Nov 20:24

Choose a tag to compare

Changes:

  • Errors inherit better for combination needs (e.g with true_need & false_need will raise false_need.error).

v1.0.6

22 Oct 21:20

Choose a tag to compare

Changes:

  • A Need can be initialized with a boolean (defaults to True).
  • Need casts is_met() to a boolean when used as a boolean, so is_met() may now return either a boolean or a Need.

v1.0.5

20 Oct 18:05

Choose a tag to compare

Changes:

  • @needs no longer wraps the need (for python 2 compatibility).

v1.0.4

20 Oct 17:37

Choose a tag to compare

Changes:

  • Needs can be used directly as decorators.
  • CombinationNeed is used directly in place of subclasses and is bound to the Need class. This should allow easier subclassing.
  • CombinationNeed.error and NegativeNeed.error are properties rather than being defined at instantiation. This should allow them to be overridden more easily when Need.combinator or Need.negator are overridden.

v1.0.3

15 Oct 21:19

Choose a tag to compare

Changes:

  • Needs can now be used as a boolean

v1.0.2

06 Sep 23:51

Choose a tag to compare

Changes:

  • @needs now works
  • @needs is now tested
  • error inheritance is tested

v1.0.1

06 Sep 05:19

Choose a tag to compare

new version