diff --git a/CHANGES b/CHANGES index 89ca0bdb8..04f9ab56a 100644 --- a/CHANGES +++ b/CHANGES @@ -49,6 +49,7 @@ Version 0.8.3 (affects bool caching). - Fixed an XSS problem with redirect targets coming from untrusted sources. +- Redis cache backend now supports password authentication. Version 0.8.2 ------------- @@ -362,7 +363,7 @@ Version 0.5.1 - file upload streams no longer have to provide a truncate() method. - implemented :meth:`BaseRequest._form_parsing_failed`. -- fixed #394 +- fixed #394 - :meth:`ImmutableDict.copy`, :meth:`ImmutableMultiDict.copy` and :meth:`ImmutableTypeConversionDict.copy` return mutable shallow copies. @@ -436,7 +437,7 @@ Released on April 24th, codename Schlagbohrer. - added :mod:`werkzeug.contrib.lint` - added `passthrough_errors` to `run_simple`. - added `secure_filename` -- added :func:`make_line_iter` +- added :func:`make_line_iter` - :class:`MultiDict` copies now instead of revealing internal lists to the caller for `getlist` and iteration functions that return lists. diff --git a/werkzeug/contrib/cache.py b/werkzeug/contrib/cache.py index becd85b0a..6b233257e 100644 --- a/werkzeug/contrib/cache.py +++ b/werkzeug/contrib/cache.py @@ -463,9 +463,13 @@ class RedisCache(BaseCache): .. versionchanged:: 0.8 This cache backend now properly serializes objects. + .. versionchanged:: 0.8.3 + This cache backend now supports password authentication. + :param host: address of the Redis server or an object which API is compatible with the official Python Redis client (redis-py). - :param port: port number on which Redis server listens for connections + :param port: port number on which Redis server listens for connections. + :param password: password authentication for the Redis server. :param default_timeout: the default timeout that is used if no timeout is specified on :meth:`~BaseCache.set`. :param key_prefix: A prefix that should be added to all keys.