File tree 4 files changed +23
-6
lines changed
4 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 1
1
History
2
2
=======
3
3
4
- CURRENT
5
- -------
6
-
7
- - Updated tests for py.test
4
+ 0.1.0 (4/15/2015)
5
+ -----------------
6
+
7
+ - **Deprecation: ** Renamed ``flask_redis.Redis `` to ``flask_redis.FlaskRedis ``.
8
+ Using the old name still works, but emits a deprecation warning, as it will
9
+ be removed from the next version
10
+ - **Deprecation: ** Setting a ``REDIS_DATABASE `` (or equivalent) now emits a
11
+ depracation warning as it will be removed in the version in favor of
12
+ including the database number in ``REDIS_URL `` (or equivalent)
13
+ - Added a ``FlaskRedis.from_custom_provider(provider) `` class method for using
14
+ any redis provider class that supports instantiation with a ``from_url ``
15
+ class method
16
+ - Added a ``strict `` parameter to ``FlaskRedis `` which expects a boolean value
17
+ and allows choosing between using ``redis.StrictRedis `` and ``redis.Redis ``
18
+ as the defualt provider.
19
+ - Made ``FlaskRedis `` register as a Flask extension through Flask's extension
20
+ API
21
+ - Rewrote test suite in py.test
22
+ - Got rid of the hacky attribute copying mechanism in favor of using the
23
+ ``__getattr__ `` magic method to pass calls to the underlying client
8
24
9
25
0.0.6 (4/9/2014)
10
26
----------------
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ Contributors
20
20
- Bence Nagy - @underyx - https://github.com/underyx
21
21
- Lars Schöning - @lyschoening - https://github.com/lyschoening
22
22
- Aaron Tygart - @thekuffs - https://github.com/thekuffs
23
+ - Christian Sueiras - @csueiras - https://github.com/csueiras
23
24
24
25
25
26
Installation
Original file line number Diff line number Diff line change 6
6
redis = None
7
7
8
8
__all__ = ('Redis' , 'FlaskRedis' )
9
- __version__ = '0.0.6 '
9
+ __version__ = '0.1.0 '
10
10
11
11
12
12
class FlaskRedis (object ):
Original file line number Diff line number Diff line change 14
14
15
15
setup (
16
16
name = 'Flask-Redis' ,
17
- version = '0.0.6 ' ,
17
+ version = '0.1.0 ' ,
18
18
url = 'https://github.com/underyx/flask-redis' ,
19
19
author = 'Rhys Elsmore' ,
20
20
author_email = 'me@rhys.io' ,
You can’t perform that action at this time.
0 commit comments