TurboGears0.9a7リリース

19日にTurboGearsの0.9a7がリリースされました。前回のa6が5月だから、ちょっと間が空いた感じです。安定してきてるんですかね?

http://www.turbogears.org/preview/about/changelog.html

一部だけ抜粋。

  • Features
    • Widgetブラウザでシンタックスハイライトを使うようにしたので、コードが読みやすくなった (#843)
    • ログ出力設定を改善sた。RotatingFileHandler と TimedRotatingFileHandler も使える。 (#866, also fixes #820)
    • The validate decorator now accepts a state_factory parameter which should be a callable that returns the initial state for validation (the same state parameter FormEncode validators use). The final state after validation can be accessed at cherrypy.request.validation_state inside controller methods.
    • tg-adminコマンドが、プロジェクトディレクトリで実行する必要があるかどうか表示できる。
      • 試してみたけど、違いがよくわかりませんでした。
    • サイト固有のツールを追加できるようにToolbox のエントリポイントがある。
    • tg-admin shell で、終了時にコミットするかどうか聞いてくるようになった。
    • Widgets can be listed at the tg.include_widgets config. list to send them to every template (a la tg.mochikit_all).
    • DBTest は、テスト終了時にテーブルを削除(DROP)する。
      • 試してないけどこれは便利そう。
    • Toolbox is now secured using Identity
    • SQLAlchemy support not only works again with the latest SQLAlchemy, but quickstart works properly and “tg-admin sql create” now works for SQLAlchemy databases for the first time.