Announcing Tornado 2.0

Showing 1-21 of 21 messages
Announcing Tornado 2.0 Ben Darnell 6/21/11 10:59 PM
We are pleased to announce the release of Tornado 2.0, available from 

Major changes:
* Template output is automatically escaped by default; see backwards
  compatibility note below.
* The default AsyncHTTPClient implementation is now simple_httpclient.
* Python 3.2 is now supported.

Backwards compatibility:
* Template autoescaping is enabled by default.  Applications upgrading from
  a previous release of Tornado must either disable autoescaping or adapt
  their templates to work with it.  For most applications, the simplest
  way to do this is to pass autoescape=None to the Application constructor.
* Applications that wish to continue using curl_httpclient instead of
  simple_httpclient may do so by calling
    AsyncHTTPClient.configure("tornado.curl_httpclient.CurlAsyncHTTPClient")
  at the beginning of the process.  Users of Python 2.5 will probably want
  to use curl_httpclient as simple_httpclient only supports ssl on Python 2.6+.
* Python 3 compatibility involved many changes throughout the codebase,
  so users are encouraged to test their applications more thoroughly than
  usual when upgrading to this release.

Other changes in this release:
* Templates support several new directives:
  - {% autoescape ...%} to control escaping behavior
  - {% raw ... %} for unescaped output
  - {% module ... %} for calling UIModules
* {% module Template(path, **kwargs) %} may now be used to call another
  template with an independent namespace
* All IOStream callbacks are now run directly on the IOLoop via add_callback.
* HTTPServer now supports IPv6 where available.  To disable, pass
  family=socket.AF_INET to HTTPServer.bind().
* HTTPClient now supports IPv6, configurable via allow_ipv6=bool on the
  HTTPRequest.  allow_ipv6 defaults to false on simple_httpclient and true
  on curl_httpclient.
* RequestHandlers can use an encoding other than utf-8 for query parameters
  by overriding decode_argument()
* Performance improvements, especially for applications that use a lot of
  IOLoop timeouts
* HTTP OPTIONS method no longer requires an XSRF token.
* JSON output (RequestHandler.write(dict)) now sets Content-Type to
  application/json
* Etag computation can now be customized or disabled by overriding
  RequestHandler.compute_etag
* USE_SIMPLE_HTTPCLIENT environment variable is no longer supported.
  Use AsyncHTTPClient.configure instead.

Many thanks to everyone who contributed patches, bug reports, and feedback
that went into this release!

-Ben
Re: Announcing Tornado 2.0 Ben Darnell 6/21/11 11:10 PM
In addition to the new release, the website at http://www.tornadoweb.org has had some major updates, with comprehensive documentation extracted from docstrings.  

-Ben
Re: Announcing Tornado 2.0 Jeremy Kelley 6/21/11 11:14 PM
Ben et al,

Thank you for all the work that's gone into Tornado.

This is great!!

-jeremy--
The Christian ideal has not been tried and found wanting;
it has been found difficult and left untried – G. K. Chesterton
Re: Announcing Tornado 2.0 Felinx Lee 6/21/11 11:17 PM
Thanks Ben, the new web site looks great.--
What can change the nature of a man?(Planescape Torment)
----------------------------------------------------------------------------------------
http://feilong.me            Felinx Lee's Blog (Chinese Only)
http://www.zhimaq.com IT Q&A (Chinese Only)
http://poweredsites.org  What powered your sites? PHP, Ruby or Python?

Re: Announcing Tornado 2.0 heww0205 6/21/11 11:21 PM
Thanks! Thanks for the new documentation.

2011/6/22 Ben Darnell <b...@bendarnell.com>

Re: Announcing Tornado 2.0 wataka 6/21/11 11:34 PM
Thanks Ben!

On Jun 22, 8:21 am, heww0205 <heww0...@gmail.com> wrote:
> Thanks! Thanks for the new documentation.
>
> 2011/6/22 Ben Darnell <b...@bendarnell.com>
>
>
>
>
>
>
>
> > In addition to the new release, the website athttp://www.tornadoweb.orghashad some major updates, with comprehensive documentation extracted from
Re: Announcing Tornado 2.0 Evans ebot 6/22/11 1:26 AM
Great job Ben

On Jun 22, 7:34 am, wataka <nhy...@googlemail.com> wrote:
> Thanks Ben!
>
> On Jun 22, 8:21 am, heww0205 <heww0...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Thanks! Thanks for the new documentation.
>
> > 2011/6/22 Ben Darnell <b...@bendarnell.com>
>
> > > In addition to the new release, the website athttp://www.tornadoweb.orghashadsome major updates, with comprehensive documentation extracted from
Re: Announcing Tornado 2.0 Paul Bohm 6/22/11 2:13 AM
Great job! Thx!
Re: Announcing Tornado 2.0 Jean-Paul Calderone 6/22/11 7:18 AM
Congrats on the release (and it's very nice to see an automated test
suite in this one, kudos!)

Jean-Paul

On Jun 22, 1:59 am, Ben Darnell <b...@bendarnell.com> wrote:
> We are pleased to announce the release of Tornado 2.0, available fromhttps://github.com/downloads/facebook/tornado/tornado-2.0.tar.gz
Re: Announcing Tornado 2.0 Carl S. Yestrau Jr. 6/22/11 10:30 AM
autoescape 4tw! Nice work Ben.

On Tue, Jun 21, 2011 at 10:59 PM, Ben Darnell <b...@bendarnell.com> wrote:

Re: Announcing Tornado 2.0 Geoff 6/22/11 10:41 AM
Really nice work on the new Docs, it was a much needed refresh.

How do you find the time while also working @ facebook?
Re: Announcing Tornado 2.0 Didip Kerabat 6/22/11 3:52 PM
Congrats! Love the documentation page.

- Didip -
Re: Announcing Tornado 2.0 Andrew Zeneski 6/22/11 3:49 PM
+1 the new doc page is super nice and handy. Well done!
Andrew
Re: Announcing Tornado 2.0 Josh Marshall 6/22/11 4:21 PM
Ben, and all other contributors, etc., awesome job and thanks for all the work you put into Tornado!

Josh Marshall
Re: Announcing Tornado 2.0 HENG 6/22/11 6:16 PM
Nice! Thx Ben.

2011/6/23 Josh Marshall <catc...@gmail.com>



--
--------------------------------------------------------------------
HengZhou
---------------------------------------------------------------------
--

Re: Announcing Tornado 2.0 Krzysztof Tarnowski 6/23/11 5:03 AM
Tornado 2.0 is awesome. Thanks, Ben!
Re: Announcing Tornado 2.0 tornadovj 6/23/11 8:18 AM
Thanks for your hard work!
Re: Announcing Tornado 2.0 Micheal Keane 6/23/11 8:30 AM
I really like the new doc pages as well.

They truncate in Safari on the iPhone 3GS though.  It's really weird.
It looks like the page just stops loading.

Washington, DC  USA
ffaris...@gmail.com

On Wed, Jun 22, 2011 at 6:52 PM, Didip Kerabat <did...@gmail.com> wrote:

Re: Announcing Tornado 2.0 Jason 6/23/11 9:38 AM
The new docs pages are awsome!  Thanks!

2011/6/23 Micheál Keane <ffaris...@gmail.com>

Re: Announcing Tornado 2.0 Ben Darnell 6/23/11 11:01 AM
2011/6/23 Micheál Keane <ffaris...@gmail.com>
I really like the new doc pages as well.

They truncate in Safari on the iPhone 3GS though.  It's really weird.
It looks like the page just stops loading.

They're actually loaded correctly, it's just that the fixed navigation elements mess up scrolling.  If you scroll with two fingers instead of one, it works.  

-Ben

Re: Announcing Tornado 2.0 Bill Janssen 6/24/11 5:55 PM
Thanks for the Etag change, Ben.

Love the new docs!

Bill
More topics »