Skip to content

Releases: aio-libs/aiohttp

aiohttp 0.17.2 release

11 Aug 15:15
Compare
Choose a tag to compare

Bugfix release

Changes

  • Don't forget to pass data argument forward #462
  • Fix multipart read bytes count #463

aiohttp 0.17.1 release

10 Aug 23:18
Compare
Choose a tag to compare

Bugfix release

Fixed multidict comparison (c727d25)

Major aiohttp 0.17.0 release

04 Aug 18:50
Compare
Choose a tag to compare

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 supporting Last-Modified and If-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

15 Jul 17:46
Compare
Choose a tag to compare

Changes

  • Skip compilation on Windows if vcvarsall.bat cannot be found #438

aiohttp 0.16.5 bugfix release

13 Jun 14:01
Compare
Choose a tag to compare

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

13 Jun 06:18
Compare
Choose a tag to compare

Changes

  • Don't clear current exception in multidict's __repr__ (cythonized versions) #410

The fixed bug is fairly serious: 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.

aiohttp 0.16.3 bugfix release

30 May 19:30
Compare
Choose a tag to compare

Changes

  • Fix StaticRoute vulnerability to directory traversal attacks #380

aiohttp 0.16.2

27 May 21:32
Compare
Choose a tag to compare

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

27 May 12:09
Compare
Choose a tag to compare

Bugfix release for fixing regression in static file handling #377

aiohttp 0.16.0 release

26 May 17:59
Compare
Choose a tag to compare

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 to ws_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 in router.add_static()