diff --git a/CHANGES.txt b/CHANGES.txt index fee4e295..533d338b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,11 @@ Changes ======= +2.3.0 (2018-02-13) +------------------ +- Support custom encoder and decoder by all storages #252 +- Bump to aiohttp 3.0 + 2.2.0 (2018-01-31) ------------------ diff --git a/docs/reference.rst b/docs/reference.rst index fa97be08..8b4230df 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -176,13 +176,17 @@ implement both :meth:`~AbstractStorage.load_session` and *httponly* -- cookie's http-only flag, :class:`bool` or ``None`` (the same as ``False``). - *encoder* -- session serializer. - A callable with the following signature: `def encode(param: Any) -> str: ...`. - Default is :func:`json.dumps`. + *encoder* -- session serializer. A callable with the following + signature: `def encode(param: Any) -> str: ...`. Default is + :func:`json.dumps`. - *decoder* -- session deserializer. - A callable with the following signature: `def decode(param: str) -> Any: ...`. - Default is :func:`json.loads`. + *decoder* -- session deserializer. A callable with the following + signature: `def decode(param: str) -> Any: ...`. Default is + :func:`json.loads`. + + .. versionadded:: 2.3 + + Added *encoder* and *decoder* parameters. .. attribute:: max_age