Major release, many already deprecated things are removed
Minimal supported Python version is 3.5.3.
aiohttp uses shiny async/await syntax everywhere internally (while old yield from is still supported).
Read https://docs.aiohttp.org/en/stable/whats_new_3_0.html for brief information about most important changes.
The full changelog is below:
PayloadWriter.write method for large request bodies. (#2126)async with test_client.ws_connect(...) (#2525)web.run_appaiohttp.ClientResponse.get_encoding method public with theClientWebSocketResponse and WebSocketResponse. (#2551)StreamReader to prevent flipping between paused and.netrc by trust_env (#2581)MultipartWriter.boundary is str now. (#2589)TestServer (and associated pytestssl parameter to client API (#2626)run_app andTCPSite. (#2679)attrs library for data classes, replace namedtuple. (#2690)aiohttp_ prefix (#2578)aiohttp- prefix for pytest-aiohttp command lineaiohttp does notasyncio.CancelledError (#2499)ClientSession.__del__ by stopping to try to close it.access_log_format argument in web.run_app (#2649).url_for() parameters (#2668)literalinclude to link to the actual files.from_env to trust_env in client reference. (#2451)Proxy Support section where trust_env parameter wassession.get("http://python.org", trust_env=True) method instead ofaiohttp.ClientSession(trust_env=True). (#2688)StreamReaderPayload and DataQueuePayload. (#2257)md5 and sha1 finger-prints (#2267)yield from is gone, use async/await syntax.aiohttp.Timeout and use async_timeout.timeout instead. (#2348)resolve param from TCPConnector. (#2377)send_str(), send_bytes(), send_json(), ping() and pong() areapp.on_pre_signal and app.on_post_signal. SignalStreamResponse.drain() is not a part of public API anymore, just use await StreamResponse.write(). StreamResponse.write is converted to asyncslow_request_timeout param and **kwargs`` fromRequestHandler`. (#2500)resource.url(). (#2501)%u and %l format specifiers from access log format. (#2506)request.GET property. (#2547)ChunksQueue and FlowControlChunksQueue,FlowControlStreamReader functionality into StreamReader, dropFlowControlStreamReader name. (#2555)router.add_get(..., allow_head=True)encoding parameter from client API (#2606)verify_ssl, ssl_context and fingerprint parameters inresource.url_for() parameters. (#2668)ClientSession and web.Application andClientSession, web.Request andweb.Application (#2691)resp = await aiohttp.request(...) syntax for sake of async with aiohttp.request(...) as resp:. (#2540)ClientSession and test--
You received this message because you are subscribed to the Google Groups "aio-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aio-libs+u...@googlegroups.com.
To post to this group, send email to aio-...@googlegroups.com.
Visit this group at https://groups.google.com/group/aio-libs.
To view this discussion on the web visit https://groups.google.com/d/msgid/aio-libs/20675bdd-8bd4-404f-9b77-1b696e2aaa6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.