Releases: aio-libs/aiohttp
Major aiohttp 0.17.0 release
Major release
Actually it doesn't introduce many new features but has a lot of bug fixes.
New features are
- slightly improve client API by adding toplevel
get()
,post()
,put()
,head()
,delete()
,options()
,
patch()
coroutines - Add context manager support to
ClientSession
for session closing. - Make
StaticRoute
supportingLast-Modified
andIf-Modified-Since
headers - Pass SSL context through proxy connector
Also please take a look on documentation: http://aiohttp.readthedocs.org/en/stable/ now has a comment section (powered by disqus) on the bottom of every page. We hope your comments will increase docs quality very well.
Full list of changes
- Make StaticRoute support Last-Modified and If-Modified-Since headers #386
- Add Request.if_modified_since and Stream.Response.last_modified properties
- Fix deflate compression when writing a chunked response #395
- Request`s content-length header is cleared now after redirect from
POST method #391 - Return a 400 if server received a non HTTP content #405
- Fix keep-alive support for aiohttp clients #406
- Allow gzip compression in high-level server response interface #403
- Rename TCPConnector.resolve and family to dns_cache #415
- Make UrlDispatcher ignore quoted characters during url matching #414
Backward-compatibility warning: this may change the url matched by
your queries if they send quoted character (like %2F for /) #414 - Use optional cchardet accelerator if present #418
- Borrow loop from Connector in ClientSession if loop is not set
- Add context manager support to ClientSession for session closing.
- Add toplevel get(), post(), put(), head(), delete(), options(),
patch() coroutines. - Fix IPv6 support for client API #425
- Pass SSL context through proxy connector #421
- Make the rule: path for add_route should start with slash
- Don't process request finishing by low-level server on closed event loop
- Don't override data if multiple files are uploaded with same key #433
- Ensure multipart.BodyPartReader.read_chunk read all the necessary data
to avoid false assertions about malformed multipart payload - Dont sent body for 204, 205 and 304 http exceptions #442
- Correctly skip Cython compilation in MSVC not found #453
- Add response factory to StaticRoute #456
- Don't append trailing CRLF for multipart.BodyPartReader #454
aiohttp 0.16.6 bugfix release
Changes
- Skip compilation on Windows if vcvarsall.bat cannot be found #438
aiohttp 0.16.5 bugfix release
The release finally fixes all issues in multidicts related to Cython but for removing current exception if present.
The fixed bug is important enough: it may lead to Python interpreter crash with segfault in some cases.
aiohttp development team strongly recommends upgrading to new version.
See #410 for details.
Changes
- Get rid of all comprehensions and yielding in _multidict #410
aiohttp 0.16.4 bugfix release
aiohttp 0.16.3 bugfix release
Changes
- Fix StaticRoute vulnerability to directory traversal attacks #380
aiohttp 0.16.2
Bugfix release, restore support for asyncio 3.4.0.
Changes
- Update python version required for
__del__
usage: it's actially
3.4.1 instead of 3.4.0 - Add check for presence of loop.is_closed() method before call the
former #378
aiohttp 0.16.1 release
Bugfix release for fixing regression in static file handling #377
aiohttp 0.16.0 release
Major release, new features added.
Client API refactored a bit, ClientSession
is first-class citizen now and highly recommended to use instead of aiohttp.request
.
Full list of changes:
- Unset waiter future after cancellation #363
- Update request url with query parameters #372
- Support new
fingerprint
param of TCPConnector to enable verifying
ssl certificates via md5, sha1, or sha256 digest #366 - Setup uploaded filename if field value is binary and transfer
encoding is not specified #349 - Implement
ClientSession.close()
method - Implement
connector.closed
readonly property - Implement
ClientSession.closed
readonly property - Implement
ClientSession.connector
readonly property - Implement
ClientSession.detach
method - Add
__del__
to client-side objects: sessions, connectors,
connections, requests, responses. - Refactor connections cleanup by connector #357
- Add
limit
parameter to connector constructor #358 - Add
request.has_body
property #364 - Add
response_class
parameter tows_connect()
#367 ProxyConnector
doesn't support keep-alive requests by default
starting from now #368- Add
connector.force_close
property - Add ws_connect to ClientSession #374
- Support optional
chunk_size
parameter inrouter.add_static()
aiohttp 0.15.3 release
CHANGES
- Fix graceful shutdown handling
- Fix
Expect
header handling for not found and not allowed routes #340
aiohttp 0.15.2 release
I am happy to announce new release of aiohttp. We did a lot of performance optimizations for new release.
It should be 50-70% faster in raw performance than previous version. Numbers look very cool, but for those who uses aiohttp in production situation slightly different, it won't give more than 1-2% of performance increase.
CHANGES
- Flow control subsystem refactoring
- Http server performace optimizations
- Allow to match any request method with
*
- Explicitly call drain on transport #316
- Make chardet module dependency mandatory #318
- Support keep-alive for HTTP 1.0 #325
- Do not chunk single file during upload #327
- Add ClientSession object for cookie storage and default headers #328
- Add
keep_alive_on
argument for http server handler.