forked from thadeusb/flask-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
88 lines (62 loc) · 2.58 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Changelog
---------
Version 0.8.0 2012-09-30
````````````````````````
- Migrated to the new flask extension naming convention of flask_cache instead of flaskext.cache
- Removed unnecessary dependencies in setup.py file.
- Documentation updates
Version 0.7.0 2012-08-25
````````````````````````
- Allows multiple cache objects to be instantiated with different configuration values.
Version 0.6.0 2012-08-12
````````````````````````
- Memoization is now safer for multiple applications using the same backing store.
- Removed the explicit set of NullCache if the Flask app is set testing=True
- Swapped Conditional order for key_prefix
Version 0.5.0 2012-02-03
````````````````````````
- Deleting memoized functions now properly functions in production
environments where multiple instances of the application are running.
- get_memoized_names and get_memoized_keys have been removed.
- Added ``make_name`` to memoize, make_name is an optional callable that can be passed
to memoize to modify the cache_key that gets generated.
- Added ``unless`` to memoize, this is the same as the unless parameter in ``cached``
- memoization now converts all kwargs to positional arguments, this is so that
when a function is called multiple ways, it would evaluate to the same cache_key
Version 0.4.0 2011-12-11
````````````````````````
- Added attributes for uncached, make_cache_key, cache_timeout
to the decorated functions.
Version 0.3.4 2011-09-10
````````````````````````
- UTF-8 encoding of cache key
- key_prefix argument of the cached decorator now supports callables.
Version 0.3.3 2011-06-03
````````````````````````
Uses base64 for memoize caching. This fixes rare issues where the cache_key
was either a tuple or larger than the caching backend would be able to
support.
Adds support for deleting memoized caches optionally based on function parameters.
Python 2.5 compatibility, plus bugfix with string.format.
Added the ability to retrieve memoized function names or cache keys.
Version 0.3.2
`````````````
Bugfix release. Fixes a bug that would cause an exception if no
``CACHE_TYPE`` was supplied.
Version 0.3.1
`````````````
Pypi egg fix.
Version 0.3
```````````
- CACHE_TYPE changed. Now one of ['null', 'simple', 'memcached',
'gaememcached', 'filesystem'], or an import string to a function that will
instantiate a cache object. This allows Flask-Cache to be much more
extensible and configurable.
Version 0.2
```````````
- CACHE_TYPE now uses an import_string.
- Added CACHE_OPTIONS and CACHE_ARGS configuration values.
- Added delete_memoized
Version 0.1
```````````
- Initial public release