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 11Changes
22=======
33
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+
492.2.0 (2018-01-31)
510------------------
611
Original file line number Diff line number Diff line change @@ -176,13 +176,17 @@ implement both :meth:`~AbstractStorage.load_session` and
176176 *httponly * -- cookie's http-only flag, :class: `bool ` or ``None `` (the
177177 same as ``False ``).
178178
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 `.
182182
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.
186190
187191 .. attribute :: max_age
188192
You can’t perform that action at this time.
0 commit comments