Releases: aio-libs/aiohttp
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.
aiohttp 0.15.1 release
CHANGES
- Pass Autobahn Testsuit tests
- Fixed websocket fragmentation
- Fixed websocket close procedure
- Fixed parser buffer limits
- Added
timeout
parameter to WebSocketResponse ctor - Added
WebSocketResponse.close_code
attribute
aiohttp 0.15.0 release
With 0.15.0 release we are very close to 1.0 version.
aiohttp now supports client side websockets. Server side websockets support has been refactored. I think web sockets api is stable now. Also we introduced new multipart system, client side for now but we are working on server side integration as well. New version of aiohttp now supports Except
header out of box. Thanks all contributors for hard work!
Enjoy!
Changes
- Client WebSockets support
- New Multipart system #273
- Support for "Except" header #287 #267
- Set default Content-Type for post requests #184
- Fix issue with construction dynamic route with regexps and trailing slash #266
- Add repr to web.Request
- Add repr to web.Response
- Add repr for NotFound and NotAllowed match infos
- Add repr for web.Application
- Add repr to UrlMappingMatchInfo #217
- Gunicorn 19.2.x compatibility
aiohttp 0.14.4 bugfix release
Changes
- Fix issue with error during constructing of url with regex parts #264
aiohttp 0.14.3 bugfix release
Changes
- Use path='/' by default for cookies #261
aiohttp 0.14.2 bugfix release
aiohttp 0.14 release
0.14 is the great release.
We have finished a hard work to stabilize aiohttp.web
now.
Almost any new wish appeared in our mind may be implemented with the current code by third-party libraries: CORS, sessions, authorization, rendering and so on without the need for making changes in aiohttp
itself.
That's a very strong sign on aiohttp.web
design: the library is good and it is as tiny as possible.
0.14.0 (15/01/2014)
- HttpMessage._add_default_headers does not overwrite existing headers #216
- Expose multidict classes at package level
- add
aiohttp.web.WebSocketResponse
- According to RFC 6455 websocket subprotocol preference order is
provided by client, not by server - websocket's ping and pong accept optional message parameter
- multidict views do not accept
getall
parameter anymore, it
returns the full body anyway. - multidicts have optional Cython optimization, cythonized version of multidicts is
about 5 times faster than pure Python. - multidict.getall() returns
list
, nottuple
. - Backward imcompatible change: now there are two mutable multidicts
(MultiDict
,CIMultiDict
) and two immutable multidict proxies
(MultiDictProxy
andCIMultiDictProxy
). Previous edition of
multidicts was not a part of public API BTW. - Router refactoring to push Not Allowed and Not Found in middleware processing
- Convert
ConnectionError
toaiohttp.DisconnectedError
and don't
eatConnectionError
exceptions from web handlers. - Remove hop headers from Response class, wsgi response still uses hop headers.
- Allow to send raw chunked encoded response.
- Allow to encode output bytes stream into chunked encoding.
- Allow to compress output bytes stream with
deflate
encoding. - Server has 75 seconds keepalive timeout now, was non-keepalive by default.
- Application doesn't accept
**kwargs
anymore (#243). - Request is inherited from dict now for making per-request storage to
middlewares (#242).