TurboGears 1.1 and 2.1a1 released

TurboGears recently released two new updates: TG 2.1a1 and TG 1.1.

TurboGears 2.1a1

TG 2.1 is a clean up/speed up release of TG 2.0, which is based on Pylons. The major API change that will break current functionality is JSON rendering. If you’re using @expose("json") anywhere in your app you will need to make a small change to your app_cfg.py:

base_config.renderers.append(‘json’)

In a related change, TurboJson has been removed as a default component. You can still include it in your application and use it if you wish, but in practice it was rarely used in the wild. See Chris Perkins’ blog post for all the gritty details.

TurboGears 1.1

TG 1.1 is an evolution of the original CherryPy based TurboGears and is fully compatible with applications developed using TG 1.0.x. This just goes to show how serious the TG developer community is about continuing support for the 1.x branch, and I don’t see it stopping in the near future. Many people jumped on board with TG 1 and still depend on it for deployed sites; dropping support for TG 1 is not an option. See the change log to see the complete list of added features, fixes and changes.

Loading mentions Retweet
Posted 5 months ago

0 comments

Leave a comment...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     twitter