Skip to content

Commit e1689df

Browse files
committed
Release 0.4.0
1 parent 86840cc commit e1689df

File tree

2 files changed

+55
-51
lines changed

2 files changed

+55
-51
lines changed

CHANGELOG.md

Lines changed: 54 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -5,79 +5,83 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## 0.4.0 (2019-05-29)
9+
10+
- Reorganized the module and rewrote everything other than the library code, mainly packaging and CI. There are no user-facing changes in behavior.
11+
812
## 0.3.0 (2016-07-18)
913

10-
- **Backwards incompatible:** The `FlaskRedis.init_app` method no
11-
longer takes a `strict` parameter. Pass this flag when creating your
12-
`FlaskRedis` instance, instead.
13-
- **Backwards incompatible:** The extension will now be registered
14-
under the (lowercased) config prefix of the instance. The default
15-
config prefix is `'REDIS'`, so unless you change that, you can still
16-
access the extension via `app.extensions['redis']` as before.
17-
- **Backwards incompatible:** The default class has been changed to
18-
`redis.StrictRedis`. You can switch back to the old `redis.Redis`
19-
class by specifying `strict=False` in the `FlaskRedis` kwargs.
20-
- You can now pass all supported `Redis` keyword arguments (such as
21-
`decode_responses`) to `FlaskRedis` and they will be correctly
22-
passed over to the `redis-py` instance. Thanks, @giyyapan\!
23-
- Usage like `redis_store['key'] = value`, `redis_store['key']`, and
24-
`del redis_store['key']` is now supported. Thanks, @ariscn\!
14+
- **Backwards incompatible:** The `FlaskRedis.init_app` method no
15+
longer takes a `strict` parameter. Pass this flag when creating your
16+
`FlaskRedis` instance, instead.
17+
- **Backwards incompatible:** The extension will now be registered
18+
under the (lowercased) config prefix of the instance. The default
19+
config prefix is `'REDIS'`, so unless you change that, you can still
20+
access the extension via `app.extensions['redis']` as before.
21+
- **Backwards incompatible:** The default class has been changed to
22+
`redis.StrictRedis`. You can switch back to the old `redis.Redis`
23+
class by specifying `strict=False` in the `FlaskRedis` kwargs.
24+
- You can now pass all supported `Redis` keyword arguments (such as
25+
`decode_responses`) to `FlaskRedis` and they will be correctly
26+
passed over to the `redis-py` instance. Thanks, @giyyapan\!
27+
- Usage like `redis_store['key'] = value`, `redis_store['key']`, and
28+
`del redis_store['key']` is now supported. Thanks, @ariscn\!
2529

2630
## 0.2.0 (2015-04-15)
2731

28-
- Made 0.1.0's deprecation warned changes final
32+
- Made 0.1.0's deprecation warned changes final
2933

3034
## 0.1.0 (2015-04-15)
3135

32-
- **Deprecation:** Renamed `flask_redis.Redis` to
33-
`flask_redis.FlaskRedis`. Using the old name still works, but emits
34-
a deprecation warning, as it will be removed from the next version
35-
- **Deprecation:** Setting a `REDIS_DATABASE` (or equivalent) now
36-
emits a deprecation warning as it will be removed in the version in
37-
favor of including the database number in `REDIS_URL` (or
38-
equivalent)
39-
- Added a `FlaskRedis.from_custom_provider(provider)` class method for
40-
using any redis provider class that supports instantiation with a
41-
`from_url` class method
42-
- Added a `strict` parameter to `FlaskRedis` which expects a boolean
43-
value and allows choosing between using `redis.StrictRedis` and
44-
`redis.Redis` as the defualt provider.
45-
- Made `FlaskRedis` register as a Flask extension through Flask's
46-
extension API
47-
- Rewrote test suite in py.test
48-
- Got rid of the hacky attribute copying mechanism in favor of using
49-
the `__getattr__` magic method to pass calls to the underlying
50-
client
36+
- **Deprecation:** Renamed `flask_redis.Redis` to
37+
`flask_redis.FlaskRedis`. Using the old name still works, but emits
38+
a deprecation warning, as it will be removed from the next version
39+
- **Deprecation:** Setting a `REDIS_DATABASE` (or equivalent) now
40+
emits a deprecation warning as it will be removed in the version in
41+
favor of including the database number in `REDIS_URL` (or
42+
equivalent)
43+
- Added a `FlaskRedis.from_custom_provider(provider)` class method for
44+
using any redis provider class that supports instantiation with a
45+
`from_url` class method
46+
- Added a `strict` parameter to `FlaskRedis` which expects a boolean
47+
value and allows choosing between using `redis.StrictRedis` and
48+
`redis.Redis` as the defualt provider.
49+
- Made `FlaskRedis` register as a Flask extension through Flask's
50+
extension API
51+
- Rewrote test suite in py.test
52+
- Got rid of the hacky attribute copying mechanism in favor of using
53+
the `__getattr__` magic method to pass calls to the underlying
54+
client
5155

5256
## 0.0.6 (2014-04-09)
5357

54-
- Improved Python 3 Support (Thanks underyx\!).
55-
- Improved test cases.
56-
- Improved configuration.
57-
- Fixed up documentation.
58-
- Removed un-used imports (Thanks underyx and lyschoening\!).
58+
- Improved Python 3 Support (Thanks underyx\!).
59+
- Improved test cases.
60+
- Improved configuration.
61+
- Fixed up documentation.
62+
- Removed un-used imports (Thanks underyx and lyschoening\!).
5963

6064
## 0.0.5 (2014-02-17)
6165

62-
- Improved suppot for the config prefix.
66+
- Improved suppot for the config prefix.
6367

6468
## 0.0.4 (2014-02-17)
6569

66-
- Added support for config\_prefix, allowing multiple DBs.
70+
- Added support for config_prefix, allowing multiple DBs.
6771

6872
## 0.0.3 (2013-07-06)
6973

70-
- Added TravisCI Testing for Flask 0.9/0.10.
71-
- Added Badges to README.
74+
- Added TravisCI Testing for Flask 0.9/0.10.
75+
- Added Badges to README.
7276

7377
## 0.0.2 (2013-07-06)
7478

75-
- Implemented a very simple test.
76-
- Fixed some documentation issues.
77-
- Included requirements.txt for testing.
78-
- Included task file including some basic methods for tests.
79+
- Implemented a very simple test.
80+
- Fixed some documentation issues.
81+
- Included requirements.txt for testing.
82+
- Included task file including some basic methods for tests.
7983

8084
## 0.0.1 (2013-07-05)
8185

82-
- Conception
83-
- Initial Commit of Package to GitHub.
86+
- Conception
87+
- Initial Commit of Package to GitHub.

flask_redis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from .client import FlaskRedis
22

33

4-
__version__ = "0.4.0.dev0"
4+
__version__ = "0.4.0"
55

66
__title__ = "flask-redis"
77
__description__ = "A nice way to use Redis in your Flask app"

0 commit comments

Comments
 (0)