Skip to content

Releases: ssanderson/python-interface

Release 1.6.1

Choose a tag to compare

@github-actions github-actions released this 21 Apr 12:45
022a4ab

What’s Changed

Release 1.6.0

Choose a tag to compare

@github-actions github-actions released this 12 May 16:31

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

Choose a tag to compare

@github-actions github-actions released this 07 May 23:43

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

Choose a tag to compare

@ssanderson ssanderson released this 07 May 23:34

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

Choose a tag to compare

@ssanderson ssanderson released this 22 Nov 17:53

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

1.5.2

Choose a tag to compare

@ssanderson ssanderson released this 22 Nov 17:52

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

1.5.1

Choose a tag to compare

@ssanderson ssanderson released this 05 Dec 16:09
b1dabab
  • Minor documentation fixes.
  • Replaced hand-rolled implementation if interface.compat.izip_longest with itertools implementation.

1.5.0

Choose a tag to compare

@ssanderson ssanderson released this 05 Sep 03:58
  • 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

Choose a tag to compare

@ssanderson ssanderson released this 06 Dec 22:45
  • 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

Choose a tag to compare

@ssanderson ssanderson released this 28 Dec 19:34

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