- update to 0.6.2:
* Added a new system to allow custom plugins specific to the issue of
"invalidate the entire region", using a new base class
:class:`.RegionInvalidationStrategy`. As there are many potential
strategies to this (special backend function, storing special keys, etc.)
the mechanism for both soft and hard invalidation is now customizable.
New approaches to region invalidation can be contributed as documented
recipes.
* Added a new cache key generator :func:`.kwarg_function_key_generator`,
which takes keyword arguments as well as positional arguments into
account when forming the cache key.
* Restored some more util symbols that users may have been relying upon
(although these were not necessarily intended as user-facing):
``dogpile.cache.util.coerce_string_conf``,
``dogpile.cache.util.KeyReentrantMutex``,
``dogpile.cache.util.memoized_property``,
``dogpile.cache.util.PluginLoader``,
``dogpile.cache.util.to_list``.
* Drop 0001-Link-moved-functions-in-dogpile.cache.util.patch
applied upstream
OBS-URL: https://build.opensuse.org/request/show/423982
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=19
- update to 0.5.7:
* Added new parameter :paramref:`.GenericMemcachedBackend.lock_timeout`,
used in conjunction with :paramref:`.GenericMemcachedBackend.distributed_lock`,
will specify the timeout used when communicating to the ``.add()`` method of
the memcached client.
* Added a new flag :paramref:`.CacheRegion.configure.replace_existing_backend`,
allows a region to have a new backend replace an existing one.
* Test suite now runs using py.test.
* Repaired the :meth:`.CacheRegion.get_multi` method when used with a
list of zero length against the redis backend.
OBS-URL: https://build.opensuse.org/request/show/367263
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=13