Skip to content
Newer
Older
100644 62 lines (54 sloc) 2.62 KB
4e89201 @bdarnell Add past release notes to sphinx docs
bdarnell authored
1 What's new in Tornado 1.0
2 =========================
3
4 July 22, 2010
5 -------------
6
7 ::
8
9 We are pleased to announce the release of Tornado 1.0, available
10 from
11 http://github.com/downloads/facebook/tornado/tornado-1.0.tar.gz.
12 There have been many changes since version 0.2; here are some of
13 the highlights:
14
15 New features:
16 * Improved support for running other WSGI applications in a
17 Tornado server (tested with Django and CherryPy)
18 * Improved performance on Mac OS X and BSD (kqueue-based IOLoop),
19 and experimental support for win32
20 * Rewritten AsyncHTTPClient available as
21 tornado.httpclient.AsyncHTTPClient2 (this will become the
22 default in a future release)
23 * Support for standard .mo files in addition to .csv in the locale
24 module
25 * Pre-forking support for running multiple Tornado processes at
26 once (see HTTPServer.start())
27 * SSL and gzip support in HTTPServer
28 * reverse_url() function refers to urls from the Application
29 config by name from templates and RequestHandlers
30 * RequestHandler.on_connection_close() callback is called when the
31 client has closed the connection (subject to limitations of the
32 underlying network stack, any proxies, etc)
33 * Static files can now be served somewhere other than /static/ via
34 the static_url_prefix application setting
35 * URL regexes can now use named groups ("(?P<name>)") to pass
36 arguments to get()/post() via keyword instead of position
37 * HTTP header dictionary-like objects now support multiple values
38 for the same header via the get_all() and add() methods.
39 * Several new options in the httpclient module, including
40 prepare_curl_callback and header_callback
41 * Improved logging configuration in tornado.options.
42 * UIModule.html_body() can be used to return html to be inserted
43 at the end of the document body.
44
45 Backwards-incompatible changes:
46 * RequestHandler.get_error_html() now receives the exception
47 object as a keyword argument if the error was caused by an
48 uncaught exception.
49 * Secure cookies are now more secure, but incompatible with
50 cookies set by Tornado 0.2. To read cookies set by older
51 versions of Tornado, pass include_name=False to
52 RequestHandler.get_secure_cookie()
53 * Parameters passed to RequestHandler.get/post() by extraction
54 from the path now have %-escapes decoded, for consistency with
55 the processing that was already done with other query
56 parameters.
57
58 Many thanks to everyone who contributed patches, bug reports, and
59 feedback that went into this release!
60
61 -Ben
Something went wrong with that request. Please try again.