| 1 |
Revision history for Cache |
| 2 |
|
| 3 |
1.08 2015-01-22 |
| 4 |
- try to avoid some race conditions (thanks, Petr Písař) |
| 5 |
- typo fixes (thanks, David Steinbrunner) |
| 6 |
|
| 7 |
1.07 2014-09-17 |
| 8 |
- fix a bug where we checked @$ instead of $@ after eval |
| 9 |
|
| 10 |
1.06 2009-02-28 |
| 11 |
- updated the project homepage and added notes about the CHI project |
| 12 |
- fixed extra "use vars" in CacheUtils |
| 13 |
|
| 14 |
1.05 2006-05-26 |
| 15 |
- fixed infinite loop with auto_purge_on_get |
| 16 |
- fixed directory paths on Windows partitions |
| 17 |
- NullCache uses BaseCache |
| 18 |
|
| 19 |
1.04 2005-03-17-11-23 |
| 20 |
- release version 1.04 |
| 21 |
- repair permissions on temp cache files |
| 22 |
|
| 23 |
1.03 2004-10-04-11-23 |
| 24 |
- release version 1.03 |
| 25 |
- modified the FileBackend to use the more robust File::Temp |
| 26 |
- "officially" recommend FileCache over SharedMemoryCache |
| 27 |
- added more robust error checking for shared memory caches |
| 28 |
- added a check for invalid frozen data |
| 29 |
- added $1 to all error messages |
| 30 |
|
| 31 |
1.02 2003-04-15-10-41 |
| 32 |
- released version 1.02 |
| 33 |
- require Digest::SHA1 2.02, optionally IPC::ShareLite 0.09 |
| 34 |
- use Storable's "nfreeze" instead of "freeze" |
| 35 |
- added notes on locking and Storable to the README |
| 36 |
- updated documentation on expiration units |
| 37 |
- modified the quoting of the untainted path regex |
| 38 |
- fixed the duplicated get_keys in NullCache |
| 39 |
- applied patch to ensure consistent state if the filesystem fills up |
| 40 |
- applied patch to ensure initialization of the memory cache hash |
| 41 |
|
| 42 |
1.01 2002-04-14-01-30 |
| 43 |
- released version 1.01 |
| 44 |
- switched to Digest::SHA1 |
| 45 |
- updated copyright dates |
| 46 |
|
| 47 |
1.0 2002-04-06-18-51 |
| 48 |
- released version 1.0 |
| 49 |
- localized scope of global file and directory handles (FILE and DIR) |
| 50 |
- applied Jonathan Swartz's patch for a much better untainting regex |
| 51 |
- changed _Untaint_String to throw an exception on a taint |
| 52 |
- further improved the fix to prevent race conditions that caused the |
| 53 |
tests to fail |
| 54 |
- exposed the get_namespaces method on Cache |
| 55 |
- fixed the failing Win32 tests caused by fileglobs in Makefile.PL |
| 56 |
- applied Yves Orton's patch in _Make_Path to fix warnings on Win32 |
| 57 |
|
| 58 |
0.99 2001-12-09-18-45 |
| 59 |
- released version 0.99 |
| 60 |
- major refactoring of code |
| 61 |
- replaced non-standard usage of SUCCESS and FAILURE with Error.pm |
| 62 |
- replaced non-standard usage of TRUE and FALSE with 1 and 0 |
| 63 |
- migrated from the term "identifier" to the more standard term "key" |
| 64 |
and marked the old public methods with identifier as deprecated |
| 65 |
- broke out the MemoryBackend, FileBackend, SharedMemoryBackend into |
| 66 |
distinct and reusable classes |
| 67 |
- fixed a long outstanding bug in the unit tests that made working |
| 68 |
caches appear to fail |
| 69 |
- changed the meaning of object and cache size for file system based |
| 70 |
caches to consistently reflect the total size of the objects on disk, |
| 71 |
but not including the directory overhead |
| 72 |
- changed format of persisted data in the FileBackend |
| 73 |
- major rewrite of documentation |
| 74 |
|
| 75 |
0.09 2001-09-10-12-10 |
| 76 |
- released version 0.09 |
| 77 |
- applied Axel Beckert patch to fix the expiration units |
| 78 |
- applied Ken Williams's directory creation patch to pass all tests |
| 79 |
- changed the license to be either the GPL or the Artistic license |
| 80 |
- added Jay Sachs' implementation of NullCache |
| 81 |
- modified the remove methods to avoid croaking if two cache |
| 82 |
instances are both purging or limiting at the same time |
| 83 |
- migrated to a factory-like model with private constructors |
| 84 |
to fix the auto_purge_interval functionality |
| 85 |
- updated the documentation to better reflect that size means |
| 86 |
size in bytes |
| 87 |
- started version 0.09 |
| 88 |
|
| 89 |
0.08 2001-04-26-08-53 |
| 90 |
- released version 0.08 |
| 91 |
- renamed the auto_purge option to auto_purge_interval |
| 92 |
- added the auto_purge_on_set and auto_purge_on_get options |
| 93 |
- moved the Auto_Purge and Reset_Auto_Purge methods to BaseCache |
| 94 |
as the instance methods _auto_purge and _reset_auto_purge |
| 95 |
- added the auto_purge option and property to the base cache interface |
| 96 |
and implementations. This option will call the purge method on |
| 97 |
the cache after the specified interval expires |
| 98 |
- renamed _set_namespace to set_namespace (i.e., made it public) |
| 99 |
- added the set_object method to the cache interface |
| 100 |
- updated the test scripts and CREDITS file |
| 101 |
- updated the perldoc formatting to look better in HTML |
| 102 |
- removed the $VERSION from SizeAwareCache |
| 103 |
- started version 0.08 |
| 104 |
|
| 105 |
0.07 2001-03-27-08-55 |
| 106 |
- released version 0.07 |
| 107 |
- prepared for initial CPAN release |
| 108 |
- improved Cache::Cache documentation |
| 109 |
- removed last "use IPC::Shareable" |
| 110 |
- added support in the Makefile.PL to conditionally build the |
| 111 |
SharedMemoryCache, which requires IPC::ShareLite, and thus runs only |
| 112 |
on certain architectures. Also broke out the IPC related routines |
| 113 |
into the SharedCacheUtils package. |
| 114 |
- started version 0.07 |
| 115 |
|
| 116 |
0.06 2001-03-23-08-36 |
| 117 |
- release version 0.06 |
| 118 |
- added the get_identifiers method to the Cache interface, implemented |
| 119 |
the method for all classes, added a new test, and updated the test |
| 120 |
scripts |
| 121 |
- added the size property to Object |
| 122 |
- added the _freeze and _thaw methods to the BaseCache class and |
| 123 |
modified all children classes to use them |
| 124 |
- revert to separate freeze and thaws on the memory based caches to |
| 125 |
ensure that cached data isn't modified at any time |
| 126 |
- major rewrite of the size aware cache logic |
| 127 |
- added the CacheMetaData class, which is used to efficiently keep track |
| 128 |
of a size aware cache state |
| 129 |
- refactored the instance specific limit_size routines into the |
| 130 |
generic Limit_Size method in CacheUtils |
| 131 |
- updated the size aware cache implementations to use the CacheMetaData |
| 132 |
and Limit_Size methods |
| 133 |
- improved the SizeAwareCacheTester and updated the test scripts |
| 134 |
- removed unnecessary clone call from the SharedMemoryCache and the |
| 135 |
SizeAwareSharedMemoryCache |
| 136 |
- added exclusive locking on the shared cache for operations that |
| 137 |
will both read and write to the cache |
| 138 |
- replaced the cache_hash_ref instance property in MemoryCache with |
| 139 |
a class property and updated the SharedMemoryCache and |
| 140 |
SizeAwareSharedMemoryCache modules accordingly |
| 141 |
- started version 0.06 |
| 142 |
|
| 143 |
0.05 2001-03-20-10-25 |
| 144 |
- released version 0.05 |
| 145 |
- updated Storable dependency to 1.011 |
| 146 |
- replaced the IPC::Shareable backend with IPC::ShareLite |
| 147 |
- started version 0.05 |
| 148 |
|
| 149 |
0.04 2001-03-17-10-43 |
| 150 |
- released version 0.04 |
| 151 |
- replaced Data::Dumper with Storable, which is now a requirement |
| 152 |
- implemented the SizeAwareMemoryCache and associated tests |
| 153 |
- implemented the SizeAwareSharedMemoryCache and associated tests |
| 154 |
- added the SizeAwareCache interface |
| 155 |
- moved max_size logic from the _store method to the set method |
| 156 |
- started version 0.04 |
| 157 |
|
| 158 |
0.03 2001-03-10-12-40 |
| 159 |
- released version 0.03 |
| 160 |
- made the FileCache more multi-user friendly by allowing a more |
| 161 |
permissive default directory umask, which can also be optionally |
| 162 |
overridden |
| 163 |
- updated documentation and code style |
| 164 |
- completely rewrote and improved the limit_size method for a major |
| 165 |
performance gain |
| 166 |
- updated the syntax for expiration times to include the [number] [unit] |
| 167 |
format, e.g. "10 seconds" |
| 168 |
- added the get_object method to the Cache interface, which allows |
| 169 |
access to the underlying cache object (without potentially expiring |
| 170 |
the object) |
| 171 |
- added the get_namespace and get_default_expires_in methods to the |
| 172 |
Cache interface definition |
| 173 |
- updated the MANIFEST |
| 174 |
- checked in preliminary cache benchmarking code |
| 175 |
- fixed bug fixed bug #406030 -- default_expires_in never invoked |
| 176 |
- refactored common code into BaseCache |
| 177 |
- use Static_Params method |
| 178 |
- fixed default_expires_in bug |
| 179 |
- added coding guidelines to STYLE |
| 180 |
- started version 0.03 |
| 181 |
|
| 182 |
0.02 2001-02-15-21-12 |
| 183 |
- released version 0.02 |
| 184 |
- added perldoc to SizeAwareFileCache |
| 185 |
- created SizeAwareFileCache |
| 186 |
- added the SizeAwareCacheTester module |
| 187 |
- refactored common test code into the AbstractCacheTester module |
| 188 |
- added the Recursively_List_Files_With_Paths routine to CacheUtils |
| 189 |
- marked the FileCache and MemoryCache as ISA Cache::Cache |
| 190 |
- updated the MANIFEST |
| 191 |
- started version 0.02 |
| 192 |
|
| 193 |
0.01 2001-02-13-16-16 |
| 194 |
- released version 0.01 |
| 195 |
- implemented Get_Temp_Dir to make the FileCache root more OS |
| 196 |
independent |
| 197 |
- started version 0.01 |
| 198 |
|
| 199 |
|