Changelog#
Changelog for module-utilities
Unreleased#
See the fragment files in changelog.d
v0.11.0 — 2025-07-21#
Changed#
Changes
HasCacheprotocol to support frozenattrsanddataclassclasses.
Fixed#
Errors when applying property to inherit decorator fixed.
v0.9.0 — 2023-08-22#
Changed#
Revert to TypeVar
Sbeing invariant. This leads to some issues withcached.propdecorator. However, the use of covariantTypeVarwas a hack. Instead, it is better in these cases to decorate with@propertyon top of@cached.meth. mypy/pyright deal withpropertyin a special way.To better work with the above, single parameter methods are caached using only the method name, and no parameters.
v0.8.0 — 2023-08-21#
Changed#
Moved submodule
_typingtotyping(i.e., publicly accessible).Made TypeVar
Scovariant. This fixes issues with subclassing overrides.
v0.7.0 — 2023-08-15#
Changed#
Simplified cached.prop by using (new) CachedProperty class.
v0.6.0 — 2023-08-01#
Added#
Now include module
docinhertto interface with docstring-inheritanceFully support mypy and pyright type checking.
v0.5.0 — 2023-07-10#
Added#
See the fragment files in changelog.d
Add
_prependoption to docfiller. Default behavior is now to append current docstring to templates.
v0.4.0 — 2023-06-14#
Added#
Package now available on conda-forge
Changed#
Properly vendor numpydocs and include pointer to license
v0.3.0 — 2023-05-03#
Added#
Added
DocFiller.assign_paramto more easily add a new parameter.
v0.2.0 — 2023-05-02#
Added#
Added method
assign_keystoDocFiller.
v0.1.0 — 2023-05-01#
Added#
Add typing support. Passing mypy, pyright, pytype.