Skip to content

Commit 135bdd5

Browse files
committed
Bump version to 0.1.0
1 parent 1a4327c commit 135bdd5

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

Diff for: HISTORY.rst

+20-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
11
History
22
=======
33

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
824

925
0.0.6 (4/9/2014)
1026
----------------

Diff for: README.rst

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Contributors
2020
- Bence Nagy - @underyx - https://github.com/underyx
2121
- Lars Schöning - @lyschoening - https://github.com/lyschoening
2222
- Aaron Tygart - @thekuffs - https://github.com/thekuffs
23+
- Christian Sueiras - @csueiras - https://github.com/csueiras
2324

2425

2526
Installation

Diff for: flask_redis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
redis = None
77

88
__all__ = ('Redis', 'FlaskRedis')
9-
__version__ = '0.0.6'
9+
__version__ = '0.1.0'
1010

1111

1212
class FlaskRedis(object):

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setup(
1616
name='Flask-Redis',
17-
version='0.0.6',
17+
version='0.1.0',
1818
url='https://github.com/underyx/flask-redis',
1919
author='Rhys Elsmore',
2020
author_email='me@rhys.io',

0 commit comments

Comments
 (0)