diff options
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -1,3 +1,23 @@ +0.4.0 +===== +- reworked Dogpile's API into a new object called Lock. + Lock presents just one set of arguments for locking within + one constructor call, and provides the "comprehensive" caching + pattern that is what's desired in the vast majority of cases. + The Dogpile class is now legacy, and + builds its various usage patterns on top of Lock. + +- Fixed the dependency on storing "creationtime" locally in memory; + this caused dogpile pileups for a missing cache value when used in multiple-process + environments. The new Lock object now checks the value_and_created_fn() + an extra time within the "lock acquired" phase so that multiple writers + who entered the block don't rely upon a memory-only version of creation + time. #1 + +- The NameRegistry class is no longer needed for use with Lock, + as there is no shared state. The class is still handy and will + hang around, however. + 0.3.3 ===== - repair setup.py so that tests don't install, |