@@ -5,79 +5,83 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
7
7
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
+
8
12
## 0.3.0 (2016-07-18)
9
13
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 \!
25
29
26
30
## 0.2.0 (2015-04-15)
27
31
28
- - Made 0.1.0's deprecation warned changes final
32
+ - Made 0.1.0's deprecation warned changes final
29
33
30
34
## 0.1.0 (2015-04-15)
31
35
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
51
55
52
56
## 0.0.6 (2014-04-09)
53
57
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\! ).
59
63
60
64
## 0.0.5 (2014-02-17)
61
65
62
- - Improved suppot for the config prefix.
66
+ - Improved suppot for the config prefix.
63
67
64
68
## 0.0.4 (2014-02-17)
65
69
66
- - Added support for config \_ prefix , allowing multiple DBs.
70
+ - Added support for config_prefix , allowing multiple DBs.
67
71
68
72
## 0.0.3 (2013-07-06)
69
73
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.
72
76
73
77
## 0.0.2 (2013-07-06)
74
78
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.
79
83
80
84
## 0.0.1 (2013-07-05)
81
85
82
- - Conception
83
- - Initial Commit of Package to GitHub.
86
+ - Conception
87
+ - Initial Commit of Package to GitHub.
0 commit comments