Dogpile.cache

Latest version: v1.3.3

Safety actively analyzes 630523 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 9

0.6.3

Released: Thu May 18, 2017
- **[feature]** Added `replace_existing_backend` to
`CacheRegion.configure_from_config()`.
Pull request courtesy Daniel Kraus.


rel_0_6_2

0.6.2

Released: Tue Aug 16 2016
- **[feature]** Added a new system to allow custom plugins specific to the issue of
"invalidate the entire region", using a new base 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. Pull request courtesy Alexander Makarov.

References: [38](ticket:38)

- **[feature]** Added a new cache key generator `kwarg_function_key_generator()`,
which takes keyword arguments as well as positional arguments into
account when forming the cache key.

References: [43](ticket:43)

- **[bug]** 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`.


rel_0_6_1

0.6.1

Released: Mon Jun 6 2016
- **[bug]** Fixed imports for `dogpile.core` restoring `ReadWriteMutex`
and `NameRegistry` into the base namespace, in addition to
`dogpile.core.nameregistry` and `dogpile.core.readwrite_lock`.

References: [99](ticket:99)


rel_0_6_0

0.6.0

Released: Mon Jun 6 2016
- **[feature]** The `dogpile.core` library has been rolled in as part of the
`dogpile.cache` distribution. The configuration of the `dogpile`
name as a namespace package is also removed from `dogpile.cache`.
In order to allow existing installations of `dogpile.core` as a separate
package to remain unaffected, the `.core` package has been retired
within `dogpile.cache` directly; the `Lock` class is now
available directly as `dogpile.Lock` and the additional `dogpile.core`
constructs are under the `dogpile.util` namespace.

Additionally, the long-deprecated `dogpile.core.Dogpile` and
`dogpile.core.SyncReaderDogpile` classes have been removed.

References: [91](ticket:91)

- **[bug]** The Redis backend now creates a copy of the "arguments" dictionary passed
to it, before popping values out of it. This prevents the given
dictionary from losing its keys.

- **[bug]** Fixed bug in "null" backend where `NullLock` did not
accept a flag for the `NullLock.acquire()` method, nor did
it return a boolean value for "success".

References: [97](ticket:97)


rel_0_5_7

0.5.7

Released: Mon Oct 19 2015
- **[feature]** Added new parameter `GenericMemcachedBackend.lock_timeout`,
used in conjunction with
`GenericMemcachedBackend.distributed_lock`, will specify the
timeout used when communicating to the `.add()` method of the memcached
client. Pull request courtesy Frits Stegmann and Morgan Fainberg.

References: [54](ticket:54), [pull request 37](pullreq:37)

- **[feature]** Added a new flag `CacheRegion.configure.replace_existing_backend`,
allows a region to have a new backend replace an existing one.
Pull request courtesy hbccbh.

References: [65](ticket:65), [pull request 35](pullreq:35)

- **[feature] [tests]** Test suite now runs using py.test. Pull request courtesy
John Anderson.

References: [pull request 33](pullreq:33)

- **[bug] [redis]** Repaired the `CacheRegion.get_multi()` method when used with a
list of zero length against the redis backend.

References: [74](ticket:74)


rel_0_5_6

0.5.6

Released: Mon Feb 2 2015
- **[feature]** Changed the pickle protocol for the file/DBM backend to
`pickle.HIGHEST_PROTOCOL` when producing new pickles,
to match that of the redis and memorypickle backends.
Pull request courtesy anentropic.

References: [pull request 30](pullreq:30)


rel_0_5_5

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.