Flask 0.4 发布,代号 Rakia

@mitsuhiko 刚刚在 twitter 上发布消息,Flask 0.4 发布,代号 Rakia。以下发布公告:

Hi everybody,

I just released Version 0.4, codename Rakia of Flask, the micro
webframework based on Werkzeug, Jinja2 and good intentions.

What's new:

    * added the ability to register application wide error handlers
      from modules.
    * after_request() handlers are now also invoked if the request dies
      with an exception and an error handling page kicks in.
    * test client has not the ability to preserve the request context
      for a little longer. This can also be used to trigger custom
      requests that do not pop the request stack for testing.
    * because the Python standard library caches loggers, the name of
      the logger is configurable now to better support unittests.
    * added TESTING switch that can activate unittesting helpers.
      the logger switches to DEBUG mode now if debug is enabled.

What else?

Huge updates in the documentation again :)

Links:

     Online Documentation: http://flask.pocoo.org/docs/
     Downloadable PDF: http://flask.pocoo.org/docs/flask-docs.pdf
     Website: http://flask.pocoo.org/
     On Github: http://github.com/mitsuhiko/flask
     PyPI Record: http://pypi.python.org/pypi/Flask


Grab it from PyPI while it's hot: http://pypi.python.org/pypi/Flask/0.4


Regards,
Armin

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。