Releases: ssanderson/python-interface
Release 1.6.1
What’s Changed
- Add MANIFEST.in and package license file in source distribution (#40) @synapticarbors
- STY: Update and pin black version. (#45) @ssanderson
- BUG: Fix superclass checking for subclass methods (#44) @michaels-lyft
Release 1.6.0
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
- ENH: Add subinterfaces. (#35) @ssanderson
Release 1.5.5
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
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
This release is functionally identical to 1.5.2. 1.5.2 was accidentally uploaded to PyPI without a package description.
1.5.2
Fixes a bug when using the @default
and @property
decorators together in Python 3.
1.5.1
- Minor documentation fixes.
- Replaced hand-rolled implementation if
interface.compat.izip_longest
withitertools
implementation.
1.5.0
v1.4.0
- 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
Adds support for requiring property
s as part of an interface definition.