tartiflette-aiohttp v1.3.1 Release Notes

Release Date: 2020-09-24 // about 1 year ago
  • [1.3.1] - 2020-09-24

    ๐Ÿ”„ Changed

    • โœ… Test platform:
      • pytest to 6.0.2
      • pytest-cov to 2.10.1
      • pylint to 2.6.0
      • isort to 5.5.3
      • black to 20.8b1
      • xenon to 0.7.1

    ๐Ÿ›  Fixed

    • ISSUE-112 - Fix async context generator with subscription.

Previous changes from v1.3.0

  • [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