Skip to content

Releases: ssanderson/python-interface

Release 1.6.1

21 Apr 12:45
022a4ab
Compare
Choose a tag to compare

What’s Changed

Release 1.6.0

12 May 16:31
Compare
Choose a tag to compare

This release adds support for creating interface subclasses. A subclass of an interface is a new interface that inherits all the requirements imposed by its parent. For more info, see the documentation.

What’s Changed

Release 1.5.5

07 May 23:43
Compare
Choose a tag to compare

What’s Changed

This release is identical in content to 1.5.4. It was published to test the release automation tools added as part of 1.5.4.

1.5.4

07 May 23:34
Compare
Choose a tag to compare

What’s Changed

This release contains several internal tooling and automation improvements, including porting interface's CI from Travis to GitHub Actions, and applying the Black code formatter to the codebase.

There are no functional changes in this release relative to 1.5.3.

1.5.3

22 Nov 17:53
Compare
Choose a tag to compare

This release is functionally identical to 1.5.2. 1.5.2 was accidentally uploaded to PyPI without a package description.

1.5.2

22 Nov 17:52
Compare
Choose a tag to compare

Fixes a bug when using the @default and @property decorators together in Python 3.

1.5.1

05 Dec 16:09
b1dabab
Compare
Choose a tag to compare
  • Minor documentation fixes.
  • Replaced hand-rolled implementation if interface.compat.izip_longest with itertools implementation.

1.5.0

05 Sep 03:58
Compare
Choose a tag to compare
  • Added support for Python 3.7. (#23)
  • Added Interface.from_class. (#14)
  • Updated setup.py to use PEP 508 version markers (#13)

v1.4.0

06 Dec 22:45
Compare
Choose a tag to compare
  • Added interface.default, which allows users to define default implementations of interface methods.
  • Added a backport of functools.wraps in python 2 that sets __wrapped__ on wrapping functions.

Note:

Version 1.3.0 was released with a bug in the implementation of default. Users are encouraged to use 1.4.0 instead.

1.2.0

28 Dec 19:34
Compare
Choose a tag to compare

Adds support for requiring propertys as part of an interface definition.