wiki:2.0/changelog
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Version 6 (modified by mramm, 11 years ago) (diff)

--

Change Log

1.9.7a4 (*Unreleased*):

Features

  • New highly customizable replacement for Buffet renderers. No user-facing api changes required for standard use.
  • TG2 now supports automatic transactions, so you no longer have to explicitly commit transactions
    • Transaction middleware supports cross-database transactions
    • Transactions are not begun until the SQLAlchemy session becomes dirty, so no transaction overhead is wasted on requests that don't ever write to the database
  • The SQLAlchemy metadata is no longer automatically bound in the config setup, so we can more easily support multiple database engines (eg., for master-slave replication).

Fixes

  • You were not able to use non-standard class names for User, Group, and Permissions in tg.ext.repoze.who

Contributors (in alphabetic order)

  • Gustavo Narea, Mark Ramm, Alberto Vargas

Upgrading from 1.9.7a2

  • You must define the user_class, group_class, and permission_class in app_config.py when using the authorizaiton plugin.
    -base_config.sa_auth.user = model.User
    +base_config.sa_auth.user_class = model.User
     base_config.sa_auth.user_criterion = model.User.user_name
     base_config.sa_auth.user_id_column = 'user_id'
    +base_config.sa_auth.group_class = model.Group
    +base_config.sa_auth.permission_class = model.Permission
    

1.9.7a3 (July, 29, 2008):

Features

  • TurboGears 2 now defaults to making multiple request parameters into a list that's passed to the controller (emulating the tg1 behavior).
  • The base_config object now has a number of methods for those who need very fine grained control of how the middleware and environment are setup.
  • tg2 now uses sphinx extensions to import code samples from svn, as well as to test the example code.
  • new support of calling wsgi_apps from a TG2 controller method (see the use_wsgi_app function)
  • added tg_vars to template namespace to more closely match tg1
  • Lots and lots of new docs covering:
    • Updated TW docs
    • Updated config docs
    • Updated PyAMF integration docs
    • Updated install and offline install docs

Fixes

  • Identity.py updated by splee to act more like tg1
  • Identity.py pep 8 compiance
  • Fix for #1885 development.ini now runs only on localhost to avoid security issues related to the debugging interface being turned on.
  • Added missing package requirement while using setup.py develop
  • updated Paste dependencies, in order to work around an import appconfig issue mentioned on the mailing list
  • updated the default quickstart project to look a bit nicer (thanks to Lukasz Szybalski)

Contributors (in alphabetic order)

Florent Aide, Bruno J. M. Melo, Lee McFadden?, Christopher Perkins, Mark Ramm, Sanjiv Singh, and Lukasz Szybalski.

Upgrading from 1.9.7a2