Announcing TurboGears 2.2.0rc2

61 views
Skip to first unread message

Michael Pedersen

unread,
Jun 27, 2012, 12:28:10 PM6/27/12
to tg, tg-trunk
Hello everybody. It's been a while, but at least I have some good news to share: We've just put 2.2.0rc2 out.

At this point, unless we find something seriously wrong, this is likely to become to 2.2 release officially. I've worked with Alessandro, and cleared up the issues we were seeing on jenkins.turbogears.org. We've upgraded many of our support packages. We've added more renderers, and more options. 2.2 looks amazing to me, and I think you'll feel the same way.

The changes are listed below, but here's how to get it and try it out:

virtualenv ${HOME}/tg22rc2
source ${HOME}/tg22rc2/bin/activate
easy_install -i http://tg.gy/220rc2 tg.devtools
paster quickstart tgtest
# answer the questions here how you see fit
cd tgtest
python setup.py tgtestdevelop
paster setup-app development.ini
paster serve development.ini
# now point a web browser at http://localhost:8080/

You should be up and running within 5 minutes.

Here's the changes:

TG2 Core Updates:
  • Template engines in tw2.core could collide, based on template extensions. Fixed.
  • Subclassed controllers now keep the decorations inherited from their parents
  • repoze.who v2 is now supported
  • Form validation now supports TW2 validation dictionaries, less dependent on FormEncode
  • When multiple renderers are registered for the same content type, the default renderer is now preferred
  • URL keyword args, marked for removal in 2.2, are now removed.
  • Ming setup issues are resolved, and Ming is in its own module
  • repoze.who v2 is not compatible with repoze.what v1. New compatible module has been provided to make code change minimal.
  • Jinja templates must now have the extension .jinja Conflicts with .html were being found when Genshi and Jinja were mixed in the same project.
  • Mako option "reloadfromdisk" has been deprecated. Use "auto_reload_templates" as this is the default for other rendering engines
  • __before__ and __after__ were renamed to _before and _after in the past. Code and documentation now reflects this.

Devtools / Quickstart Updates
  • New applications will be set up to use repoze.who v2 by default
  • Improvements to the quickstart look, layout, and content
  • Quickstarts now support Kajiki as a rendering engine
  • Twitter Bootstrap support in quickstart
  • Genshi is always available in new quickstarted projects. Provides a common template language for use in extensions
  • Sessions are now stored in encrypted cookies

--
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: m.ped...@icelus.org -- Twitter: pedersentg

jeetu

unread,
Jun 27, 2012, 1:52:01 PM6/27/12
to turbogea...@googlegroups.com, tg
Wow,
I am gonna try that out right away.

Mengu

unread,
Jun 27, 2012, 6:18:06 PM6/27/12
to TurboGears
congratulations for the hard work guys.

are there any updates on the documentation?

On Jun 27, 7:28 pm, Michael Pedersen <m.peder...@icelus.org> wrote:
> Hello everybody. It's been a while, but at least I have some good news to
> share: We've just put 2.2.0rc2 out.
>
> At this point, unless we find something seriously wrong, this is likely to
> become to 2.2 release officially. I've worked with Alessandro, and cleared
> up the issues we were seeing on jenkins.turbogears.org. We've upgraded many
> of our support packages. We've added more renderers, and more options. 2.2
> looks amazing to me, and I think you'll feel the same way.
>
> The changes are listed below, but here's how to get it and try it out:
>
> virtualenv ${HOME}/tg22rc2
> source ${HOME}/tg22rc2/bin/activate
> easy_install -ihttp://tg.gy/220rc2tg.devtools
> paster quickstart tgtest
> # answer the questions here how you see fit
> cd tgtest
> python setup.py tgtestdevelop
> paster setup-app development.ini
> paster serve development.ini
> # now point a web browser athttp://localhost:8080/
>
> You should be up and running within 5 minutes.
>
> Here's the changes:
>
> TG2 Core Updates:
>
>    - Template engines in tw2.core could collide, based on template
>    extensions. Fixed.
>    - Subclassed controllers now keep the decorations inherited from their
>    parents
>    - repoze.who v2 is now supported
>    - Form validation now supports TW2 validation dictionaries, less
>    dependent on FormEncode
>    - When multiple renderers are registered for the same content type, the
>    default renderer is now preferred
>    - URL keyword args, marked for removal in 2.2, are now removed.
>    - Ming setup issues are resolved, and Ming is in its own module
>    - repoze.who v2 is not compatible with repoze.what v1. New compatible
>    module has been provided to make code change minimal.
>    - Jinja templates must now have the extension .jinja Conflicts with
>    .html were being found when Genshi and Jinja were mixed in the same project.
>    - Mako option "reloadfromdisk" has been deprecated. Use
>    "auto_reload_templates" as this is the default for other rendering engines
>    - __before__ and __after__ were renamed to _before and _after in the
>    past. Code and documentation now reflects this.
>
> Devtools / Quickstart Updates
>
>    - New applications will be set up to use repoze.who v2 by default
>    - Improvements to the quickstart look, layout, and content
>    - Quickstarts now support Kajiki as a rendering engine
>    - Twitter Bootstrap support in quickstart
>    - Genshi is always available in new quickstarted projects. Provides a
>    common template language for use in extensions
>    - Sessions are now stored in encrypted cookies
>
> --
> Michael J. Pedersen
> My Online Resume:http://www.icelus.org/-- Google+http://plus.ly/pedersen
> Google Talk: m.peder...@icelus.org -- Twitter: pedersentg

León Domingo

unread,
Jun 28, 2012, 4:00:24 PM6/28/12
to turbo...@googlegroups.com
Congrats!

I've replaced 2.2beta with this new release. Everything goes ok.

León Domingo

Ender - Factoría de Software
leon.d...@ender.es
Avda. Cerro del Águila, 7. S23 - 2ª Planta
28703 S.S. de los Reyes (MADRID)
Tlf. 902 01 44 01

   



--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to turbo...@googlegroups.com.
To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.


WebmasterLab

unread,
Jun 29, 2012, 11:48:47 AM6/29/12
to turbo...@googlegroups.com, tg-trunk
Thank you! Working! I see more usefull information on startpage. Looking nice new design.
Reply all
Reply to author
Forward
0 new messages