Announcing TurboGears 2.2.1!

28 views
Skip to first unread message

Michael Pedersen

unread,
Jan 24, 2013, 12:27:30 AM1/24/13
to tg, tg-trunk

That's right, it's out right now, and you can begin using it in your own projects! Follow the directions on http://www.turbogears.org/ you'll get 2.2.0.


I'd like to thank +Alessandro Molina+Christoph Zwerschke, and +Carlos Daniel Ruvalcaba Valenzuela. Between the three of them, TurboGears is becoming better every day, and they deserve much praise and thanks.

The full changelog is below.
Ming / Mongo
  • Support connection options for ming/mongodb
  • Support new ming configuration API
  • Fix datastore options for ming
Templating
  • Jinja autoload filters
  • Added jinja filter autoloading namespace protection test cases.
  • When autoloading jinja filters use the special __all__ module variable to import the filters, if it is not defined then just import any defined callables.
  • Jinja2 didn't perform escaping while mako, genshi and kajiki did
  • Closes #17, mako bytecaching only works when use_dotted_templatenames = False.
Authentication
  • Better configuration of authenticators.
  • More flexible configuration of authenticators. By adding ('default', None) to the list of authenticators, you can now include the default authenticator in the list of custom authenticators.
Documentation
  • Fix more references to pylons.c
  • Update doc to deprecated pylons ns
  • Update Wiki20 tutorial to TG2.2 and try to make it easier to follow and faster to read by hightlighting code and reducing parts that are more advanced or pure web developemnt/python related
TurboGears Project
  • Fix for travis due to repoze.who 2.1 now bringing in WebOb 1.2
  • Travis-ci for development branch
  • Add contributing file.
Everything Else
  • urljoin behavior on schemas seems to change depending on python version
  • Refactor request_type detection usage
  • Fix issue with request extensions being wrongly handled two times
  • Use the new built-in translations provided by ToscaWidgets 2.
  • @beaker_cache was not available inside the deacorators module while it should have been
  • @require now provides smart behavior, and can be used to just abort, rather than do redirect. Closes #27
  • Make possible to import controllers (and so expose templates) before AppConfig.init_config has been called
  • Most packages used by TG currently don't work with SQLAlchemy 0.8
  • Permission._groups is currently defined as an array, so it expects to receive a list

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

Mengu

unread,
Jan 24, 2013, 3:29:34 PM1/24/13
to TurboGears
thanks for the release michael. and thank you all who had helped.

On Jan 24, 7:27 am, Michael Pedersen <m.peder...@icelus.org> wrote:
> That's right, it's out right now, and you can begin using it in your own
> projects! Follow the directions onhttp://www.turbogears.org/you'll get
> 2.2.0.
>
> I'd like to thank +Alessandro
> Molina<http://plus.google.com/106236049129871380115>
> , +Christoph Zwerschke <http://plus.google.com/101069407605391188838>,
> and +Carlos
> Daniel Ruvalcaba Valenzuela <http://plus.google.com/115517428228170119688>.
> Between the three of them, TurboGears is becoming better every day, and
> they deserve much praise and thanks.
>
> The full changelog is below.
> *Ming / Mongo*
>
>    - Support connection options for ming/mongodb
>    - Support new ming configuration API
>    - Fix datastore options for ming
>
> *Templating*
>
>    - Jinja autoload filters
>    - Added jinja filter autoloading namespace protection test cases.
>    - When autoloading jinja filters use the special __all__ module variable
>    to import the filters, if it is not defined then just import any defined
>    callables.
>    - Jinja2 didn't perform escaping while mako, genshi and kajiki did
>    - Closes #17, mako bytecaching only works when use_dotted_templatenames
>    = False.
>
> *Authentication*
>
>    - Better configuration of authenticators.
>    - More flexible configuration of authenticators. By adding ('default',
>    None) to the list of authenticators, you can now include the default
>    authenticator in the list of custom authenticators.
>
> *Documentation*
>
>    - Fix more references to pylons.c
>    - Update doc to deprecated pylons ns
>    - Update Wiki20 tutorial to TG2.2 and try to make it easier to follow
>    and faster to read by hightlighting code and reducing parts that are more
>    advanced or pure web developemnt/python related
>
> *TurboGears Project*
>
>    - Fix for travis due to repoze.who 2.1 now bringing in WebOb 1.2
>    - Travis-ci for development branch
>    - Add contributing file.
>
> *Everything Else*
>
>    - urljoin behavior on schemas seems to change depending on python version
>    - Refactor request_type detection usage
>    - Fix issue with request extensions being wrongly handled two times
>    - Use the new built-in translations provided by ToscaWidgets 2.
>    - @beaker_cache was not available inside the deacorators module while it
>    should have been
>    - @require now provides smart behavior, and can be used to just abort,
>    rather than do redirect. Closes #27
>    - Make possible to import controllers (and so expose templates) before
>    AppConfig.init_config has been called
>    - Most packages used by TG currently don't work with SQLAlchemy 0.8
>    - Permission._groups is currently defined as an array, so it expects to
>    receive a list
>
> --
> Michael J. Pedersen
> My Online Resume:http://www.icelus.org/-- Google+http://plus.ly/pedersen
> Google Talk: m.peder...@icelus.org -- Twitter: pedersentg

Craig Small

unread,
Jan 25, 2013, 6:04:28 AM1/25/13
to tg
On Thu, Jan 24, 2013 at 12:27:30AM -0500, Michael Pedersen wrote:
> That's right, it's out right now, and you can begin using it in your own
> projects! Follow the directions on http://www.turbogears.org/ you'll get
> 2.2.0.
OK the email subject says 2.2.1, your email says 2.2.0
(Subject: Re: [tg-trunk] Announcing TurboGears 2.2.1!)

http://tg.gy/current points to 2.2.0
pypi points to 2.2.1
Which one is it? I'm using 2.2.0 for the tests.

My nosetests are failing a test from functional/test_root.py
The /data url always shows html instead of html or json unless I remove
the @expose('myproj.templates.data') line. Doing that of course then
makes the serve data using html test fail.

My project uses specific urls for json access so its not much of an
issue for me, but thought youd like to know.

- Craig
--
Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5

Alessandro Molina

unread,
Jan 25, 2013, 6:18:06 AM1/25/13
to TurboGears .
Thanks Craig,
looks like it's a bug that was fixed on 2.3 but not on 2.2.1, I backported the fix on https://github.com/TurboGears/tg2/commit/5a7d56251c1cb72f4261ac64f41bb6c7876043f0

I'll check with Michael how to handle this for the release process.


--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbogears+...@googlegroups.com.
To post to this group, send email to turbo...@googlegroups.com.

Michael Pedersen

unread,
Jan 25, 2013, 10:41:58 AM1/25/13
to tg-trunk
Apologies on those counts, Craig. I thought I had updated all the places, but I'm still managing to miss them here and there. I'm going to release 2.2.2 tonight (late tonight, most likely) to get the fix, and fix /current.

León Domingo

unread,
Jan 25, 2013, 6:59:08 AM1/25/13
to turbo...@googlegroups.com
Moving forward
Great work, guys!

--
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.
Reply all
Reply to author
Forward
0 new messages