Beaker

Latest version: v1.13.0

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

Scan your dependencies

Page 6 of 9

1.2

Not secure
=======================

* Updated session to only save to the storage *once* no under any/all
conditions rather than every time save() is called.
* Added session.revert() function that reverts the session to the state at
the beginning of the request.
* Updated session to store entire session data in a single namespace key,
this lets memcached work properly, and makes for more efficient use of the
storage system for sessions.

1.1.3

Not secure
==========================

* Fix the 1.1.2 old cache/session upgrader to handle the has_current_value
method.
* Make InvalidCacheBackendError an ImportError.

1.1.2

Not secure
==========================

* Upgrade Beaker pre-1.1 cache/session values to the new format rather than
throwing an exception.

1.1.1

Not secure
==========================

* Fixed bug in Google extension which passed arguments it should no longer
pass to NamespaceManager.
* Fixed bug involving lockfiles left open during cache "value creation"
step.

1.1

Not secure
========================

* file-based cache will not hold onto cached value once read from file;
will create new value if the file is deleted as opposed to re-using
what was last read. This allows external removal of files to be
used as a cache-invalidation mechanism.
* file-based locking will not unlink lockfiles; this can interfere
with the flock() mechanism in the event that a concurrent process
is accessing the files.
* Sending "type" and other namespace config arguments to cache.get()/
cache.put()/cache.remove_value() is deprecated. The namespace
configuration is now preferred at the Cache level, i.e. when you construct
a Cache or call cache_manager.get_cache(). This removes the ambiguity
of Cache's dictionary interface and has_key() methods, which have
no awareness of those arguments.
* the "expiretime" in use is stored in the cache itself, so that it is
always available when calling has_key() and other methods. Between
this change and the deprecation of 'type', the Cache no longer has
any need to store cache configuration in memory per cache key, which in a
dynamically-generated key scenario stores an arbitrarily large number
of configurations - essentially a memory leak.
* memcache caching has been vastly improved, no longer stores a list of
all keys, which along the same theme prevented efficient usage for an
arbitrarily large number of keys. The keys() method is now unimplemented,
and cache.remove() clears the entire memcache cache across all namespaces.
This is what the memcache API provides so it's the best we can do.
* memcache caching passes along "expiretime" to the memcached "time"
parameter, so that the cache itself can reduce its size for elements which
are expired (memcache seems to manage its size in any case, this is just a
hint to improve its operation).
* replaced homegrown ThreadLocal implementation with threading.local, falls
back to a 2.3 compat one for python<2.4

1.0.3

Not secure
==========================

* Fixed os.getpid issue on GAE.
* CookieSession will add '_expires' value to data when an expire time is set,
and uses it

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.