Support for secure cookies written by pre-1.0 releases of Tornado has
been removed. The RequestHandler.get_secure_cookie method no longer
takes an include_name parameter.
The debug application setting now causes stack traces to be displayed
in the browser on uncaught exceptions. Since this may leak sensitive
information, debug mode is not recommended for public-facing servers.
tornado.platform.twisted: A bridge between the Tornado IOLoop and the
Twisted Reactor, allowing code written for Twisted to be run on Tornado.
tornado.process: Multi-process mode has been improved, and can now restart
crashed child processes. A new entry point has been added at
tornado.process.fork_processes, although
tornado.httpserver.HTTPServer.start is still supported.
tornado.web.RequestHandler.write_error replaces get_error_html as the
preferred way to generate custom error pages (get_error_html is still
supported, but deprecated)
In tornado.web.Application, handlers may be specified by
(fully-qualified) name instead of importing and passing the class object
itself.
It is now possible to use a custom subclass of StaticFileHandler
with the static_handler_class application setting, and this subclass
can override the behavior of the static_url method.
StaticFileHandler subclasses can now override
get_cache_time to customize cache control behavior.
To facilitate some advanced multi-process scenarios, HTTPServer
has a new method add_sockets, and socket-opening code is
available separately as tornado.netutil.bind_sockets.
The cookies property is now available on tornado.httpserver.HTTPRequest
(it is also available in its old location as a property of
RequestHandler)
tornado.httpserver.HTTPServer.bind now takes a backlog argument with the
same meaning as socket.listen.
HTTPServer can now be run on a unix socket as well
as TCP.
Fixed exception at startup when socket.AI_ADDRCONFIG is not available,
as on Windows XP
tornado.auth.OpenIdMixin now uses the correct realm when the
callback URI is on a different domain.
tornado.autoreload has a new command-line interface which can be used
to wrap any script. This replaces the --autoreload argument to
tornado.testing.main and is more robust against syntax errors.
Template loaders now take a namespace constructor argument to add
entries to the template namespace.
tornado.websocket now supports the latest (“hybi-10”) version of the
protocol (the old version, “hixie-76” is still supported; the correct
version is detected automatically).