Skip to content

1.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Aug 19:56
· 32 commits to master since this release
b21e710

[1.3.0] - 2020-07-31

Added

  • Added a way to hook the response formatting stage of the request execution. Simply register a callable looking like:
def a_method(req: aiohttp.web.Request, data: Dict[str, Any], ctx: Dict[str, Any]) -> aiohttp.web.Response:
     pass

This is done via the register_graphql_handler(..., response_formatter= a_method).

Changed

  • ISSUE-94 - Changed the context_factory from a simple async method to an asynccontextmanager decorated one - Thanks @jugdizh

  • Test platform:

    • pytest from 5.3.4 -> 6.0.1
    • pytest-asyncio from 0.10.0 -> 0.14.0
    • pytest-cov from 2.8.1 -> 2.10.0
    • pylint from 2.4.4 -> 2.5.3

Fixed