tartiflette-aiohttp v1.3.1 Release Notes
Release Date: 2020-09-24 // about 3 years 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.
- โ
Test platform:
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
- ISSUE-76 - Fix subscrition handling of client disconnection - Thanks @daveoconnor