|
| 1 | +What's new in the next version of Tornado |
| 2 | +========================================= |
| 3 | + |
| 4 | +In progress |
| 5 | +----------- |
| 6 | + |
| 7 | +* `tornado.util.import_object` now works with top-level module names that |
| 8 | + do not contain a dot. |
| 9 | +* `tornado.util.import_object` now consistently raises `ImportError` |
| 10 | + instead of `AttributeError` when it fails. |
| 11 | +* The ``handlers`` list passed to the `tornado.web.Application` constructor |
| 12 | + and `~tornado.web.Application.add_handlers` methods can now contain |
| 13 | + lists in addition to tuples and `~tornado.web.URLSpec` objects. |
| 14 | +* `tornado.httpclient.HTTPRequest` takes a new argument ``auth_mode``, |
| 15 | + which can be either ``basic`` or ``digest``. Digest authentication |
| 16 | + is only supported with ``tornado.curl_httpclient``. |
| 17 | +* `tornado.stack_context` has been rewritten and is now much faster. |
| 18 | +* ``tornado.curl_httpclient`` no longer goes into an infinite loop when |
| 19 | + pycurl returns a negative timeout. |
| 20 | +* `tornado.testing.AsyncTestCase.wait` now raises the correct exception |
| 21 | + when it has been modified by `tornado.stack_context`. |
| 22 | +* `tornado.web.StaticFileHandler` now works on Windows when the client |
| 23 | + passes an ``If-Modified-Since`` timestamp before 1970. |
| 24 | +* `tornado.httpserver.HTTPServer` handles malformed HTTP headers more |
| 25 | + gracefully. |
| 26 | +* `tornado.auth.OAuthMixin` always sends ``oauth_version=1.0`` in its |
| 27 | + request as required by the spec. |
| 28 | +* Some reference cycles have been broken up (in `tornado.web.RequestHandler` |
| 29 | + and `tornado.websocket.WebSocketHandler`), allowing for more efficient |
| 30 | + garbage collection on CPython. |
0 commit comments