File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
1
Changes
2
2
=======
3
3
4
+ 2.3.0 (2018-02-13)
5
+ ------------------
6
+ - Support custom encoder and decoder by all storages #252
7
+ - Bump to aiohttp 3.0
8
+
4
9
2.2.0 (2018-01-31)
5
10
------------------
6
11
Original file line number Diff line number Diff line change @@ -176,13 +176,17 @@ implement both :meth:`~AbstractStorage.load_session` and
176
176
*httponly * -- cookie's http-only flag, :class: `bool ` or ``None `` (the
177
177
same as ``False ``).
178
178
179
- *encoder * -- session serializer.
180
- A callable with the following signature: `def encode(param: Any) -> str: ... `.
181
- Default is :func: `json.dumps `.
179
+ *encoder * -- session serializer. A callable with the following
180
+ signature: `def encode(param: Any) -> str: ... `. Default is
181
+ :func: `json.dumps `.
182
182
183
- *decoder * -- session deserializer.
184
- A callable with the following signature: `def decode(param: str) -> Any: ... `.
185
- Default is :func: `json.loads `.
183
+ *decoder * -- session deserializer. A callable with the following
184
+ signature: `def decode(param: str) -> Any: ... `. Default is
185
+ :func: `json.loads `.
186
+
187
+ .. versionadded :: 2.3
188
+
189
+ Added *encoder * and *decoder * parameters.
186
190
187
191
.. attribute :: max_age
188
192
You can’t perform that action at this time.
0 commit comments