From c875a5daf1b547a6819ecbaf9a5ee77b534fe922f2fed79c6cbcfd6168a97b4b Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 10 Nov 2011 10:42:56 +0000 Subject: [PATCH] - Update to version 1.6.1: * Remove stray print statement. * Include .app for consistency instead of requiring wrap_app. - Changes from version 1.6: * Fix bug with cache_key length calculation. * Fix bug with how path was set so that its restored properly and propagated. * Fix bug with CacheMiddleware clobbering enabled setting. * Update option for ``cookie_expires`` so that it can now handle an integer which will be used as the seconds till the cookie expires. * Merge fix for Issue 31, can now handle unicode cache keys. * Add ``key_length`` option for cache regions, and for keyword args passed into the cache system. Cache keys longer than this will be SHA'd. * added runtime beaker.__version__ * Add ``webtest_varname`` option to configuration to optionally include the session value in the environ vars when using Beaker with WebTest. * Defer running of pkg_resources to look for external cache modules until requested. #66 * memcached backend uses pylibmc.ThreadMappedPool to ensure thread-local usage of pylibmc when that library is in use. (#60) * memcached backend also has ``memcache_module`` string argument, allows direct specification of the name of which memcache backend to use. * Basic container/file-based Session support working in Py3K. (#72) * Further Python 3 fixes * Added an optimization to the FileNamespaceContainer when used with Session, such that the pickled contents of the file are not read a second time when session.save() is called. (#64) * Fixed bug whereby CacheManager.invalidate wouldn't work for a function decorated by cache.cache(). (#61) * cache decorators @cache.cache(), @cache_region() won't include first argument named 'self' or 'cls' as part of the cache key. This allows OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=3 --- Beaker-1.5.4.tar.gz | 3 --- Beaker-1.6.1.tar.gz | 3 +++ python-Beaker.changes | 40 ++++++++++++++++++++++++++++++++++++++++ python-Beaker.spec | 4 ++-- 4 files changed, 45 insertions(+), 5 deletions(-) delete mode 100644 Beaker-1.5.4.tar.gz create mode 100644 Beaker-1.6.1.tar.gz diff --git a/Beaker-1.5.4.tar.gz b/Beaker-1.5.4.tar.gz deleted file mode 100644 index ff20ab9..0000000 --- a/Beaker-1.5.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a13dc6ae0e9490c85fc2c1ba035ea5b21cd684ee3b4b70b6a9e473f0550a716b -size 46238 diff --git a/Beaker-1.6.1.tar.gz b/Beaker-1.6.1.tar.gz new file mode 100644 index 0000000..0ad9d43 --- /dev/null +++ b/Beaker-1.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a571efc53be143a5fdee69d512a32286065884de5b41efeb9554f35605e5e33c +size 51748 diff --git a/python-Beaker.changes b/python-Beaker.changes index 1863134..3ae943c 100644 --- a/python-Beaker.changes +++ b/python-Beaker.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Thu Nov 10 10:13:51 UTC 2011 - saschpe@suse.de + +- Update to version 1.6.1: + * Remove stray print statement. + * Include .app for consistency instead of requiring wrap_app. +- Changes from version 1.6: + * Fix bug with cache_key length calculation. + * Fix bug with how path was set so that its restored properly and propagated. + * Fix bug with CacheMiddleware clobbering enabled setting. + * Update option for ``cookie_expires`` so that it can now handle an integer + which will be used as the seconds till the cookie expires. + * Merge fix for Issue 31, can now handle unicode cache keys. + * Add ``key_length`` option for cache regions, and for keyword args passed + into the cache system. Cache keys longer than this will be SHA'd. + * added runtime beaker.__version__ + * Add ``webtest_varname`` option to configuration to optionally include + the session value in the environ vars when using Beaker with WebTest. + * Defer running of pkg_resources to look for external cache modules + until requested. #66 + * memcached backend uses pylibmc.ThreadMappedPool to ensure thread-local + usage of pylibmc when that library is in use. (#60) + * memcached backend also has ``memcache_module`` string argument, allows + direct specification of the name of which memcache backend to use. + * Basic container/file-based Session support working in Py3K. (#72) + * Further Python 3 fixes + * Added an optimization to the FileNamespaceContainer when used with + Session, such that the pickled contents of the file are not + read a second time when session.save() is called. (#64) + * Fixed bug whereby CacheManager.invalidate wouldn't work for a function + decorated by cache.cache(). (#61) + * cache decorators @cache.cache(), @cache_region() won't include first + argument named 'self' or 'cls' as part of the cache key. This allows + reasonably safe usage for methods as well as functions. (#55) + * file backend no longer squashes unpickling errors. This was inconsistent + behavior versus all the other backends. + * invalidate_corrupt flag on Session now emits a warning. (#52) + * cache.remove_value() removes the value even if it's already marked + 'expired' (#42) + ------------------------------------------------------------------- Thu Sep 1 13:13:32 UTC 2011 - saschpe@suse.de diff --git a/python-Beaker.spec b/python-Beaker.spec index bae052b..7f2f5f0 100644 --- a/python-Beaker.spec +++ b/python-Beaker.spec @@ -18,8 +18,8 @@ Name: python-Beaker -Version: 1.5.4 -Release: 1 +Version: 1.6.1 +Release: 0 Url: http://beaker.groovie.org Summary: A Session and Caching library with WSGI Middleware License: BSD-3-Clause