From 093560f57163c5216772c2e6d41e9b709e47b62a Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 29 Oct 2012 16:15:01 -0400 Subject: changelog --- CHANGES | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGES b/CHANGES index f2c7da1..1786f28 100644 --- a/CHANGES +++ b/CHANGES @@ -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, -- cgit v1.2.1