ANN: TurboJson 1.2 released

2 views
Skip to first unread message

Christoph Zwerschke

unread,
Jun 22, 2008, 8:16:20 AM6/22/08
to turbogear...@googlegroups.com, turbo...@googlegroups.com
Subject: ANN: TurboJson 1.2 released

The TurboGears team is pleased to announce the availability of the new
version 1.2 of TurboJson, the JSON Buffet template plug-in for TurboGears.

In this version the dependency on RuleDispatch was removed completely
and it now uses the PEAK-Rules package. TurboJson >= 1.2 is intended to
be used with the upcoming TurboGears 1.1 version.

More Information about TurboJson can be found here:

http://docs.turbogears.org/TurboJson

As usual, TurboJson can be downloaded from PyPI at

http://pypi.python.org/pypi/TurboJson

or installed directly with 'easy_install':

easy_install TurboJson

Changes in 1.2

* TurboJson now uses PEAK-Rules instead of RuleDispatch (see above).
* Explicit __json__ now also works for SQLObject and SQLAlchemy objects.
* All SQLAlchemy versions 0.3.10. 0.4.x and 0.5.x are now supported.
* Helper predicates for testing SQLObject and SQLAlchemy objects.
* All simplejson options can now be configured with corresponding config
settings, e.g. json.indent, json.sort_keys, json.allow_nan etc.
* Just as with TurboKid and other template engines, json.assume_encoding
is the input encoding, json.encoding the output encoding (both usually
utf-8). The output is now returned properly encoded, not as unicode.
* Removed get_content_type() function. This wasn't a standard method and
is not needed any more for TurboGears > 1.0.4.4.

For more details, see the Subversion changelog at

http://trac.turbogears.org/log/projects/TurboJson


Happy Hacking!

The TurboGears Team

Reply all
Reply to author
Forward
0 new messages