Skip to content

Releases: kalekundert/autoprop

v4.1.0

30 May 22:51
Compare
Choose a tag to compare

Feature

  • Add decorator to explicitly ignore methods (1687e06)

Fix

  • Handle undefined getters in error messages (f2bb9e5)

v4.0.2

15 Sep 21:57
Compare
Choose a tag to compare

Fix

  • Upgrade to signature_dispatch~=1.0 (453447a)

v4.0.1

10 Sep 14:14
Compare
Choose a tag to compare

Fix

  • Use built-in functools.cached_property in py3.8+ (be358a9)

v4.0.0

09 Sep 06:09
Compare
Choose a tag to compare

Feature

  • Add overwrite/automatic/manual cache policies (a013b69)

Breaking

  • remove property/object/class cache policies. (a013b69)

Documentation

  • Describe how to manually clear the cache (7a526e7)

v3.0.0

27 May 21:07
Compare
Choose a tag to compare

Feature

  • Change default cache policy to 'property' (a3baec5)

Breaking

  • the new default caches more aggressively, so code written with the old default may end up with stale values. Update old code by replacing @autoprop.cache with @autoprop.cache(policy='object'). (a3baec5)

v2.2.0

05 Apr 19:52
Compare
Choose a tag to compare

Feature

  • Add the immutable decorator (e8f023a)

v2.1.1

01 Apr 20:07
Compare
Choose a tag to compare

Fix

  • Cache getters (not just properties) (ab454eb)

Documentation

v2.1.0

31 Mar 02:34
Compare
Choose a tag to compare

Feature

  • Only configure caching if requested (109f430)

Fix

  • Don't have every static/class method invalidate the cache (a231052)

Documentation

  • Document the caching system (1974c42)

v2.0.0

30 Mar 04:20
Compare
Choose a tag to compare

Feature

  • Drop support for python 3.5 (d4781cb)
  • Implement caching policies (a05726a)

Breaking

  • Drop support for python2. (a05726a)

Documentation