First, some of the "big" ticket items from 0.9.2:
- The 'c' object can now throw an exception if you reference an  
attribute that doesn't exist. To turn this on, set config.strict_c =  
True in your middleware.py after config is created.
- An error document can now throw its own error. (Earlier, exceptions  
caused by the error document were caught again, thus giving an  
endless loop)
- Myghty template options are now preserved properly (You'd only  
notice this if you were extending the Myghty globals default)
- The helpers have been fixed up a bit, new projects will use the new  
style. See the full changelog for details.
- Actual objects passed into templates. Earlier, the 'special'  
globals were passed into your templates (request, h, c, g). Now, the  
actual object is passed in which  will give a slight speed boost for  
pages making heavy use of those objects.

0.9.2 does NOT introduce any backwards breakage (nor will any update  
until 2.0 unless absolutely necessary).

Now, the full changelog...

0.9.2 (Sept. 7th, 2006)
* Fixed problem with dashes in controller names, resolves #107.
* Updated default ini file to use localhost from address. Refs #104.
* Updated default development.ini to use a single cache_dir setting  
which
   is the base dir that cache files, session files, and template  
caching will
   be saved in. Config object now looks to cache_dir setting properly  
for
   Myghty templates. Fixes #104.
* Updated default template controller to provide better example of  
directly
   serving Myghty templates.
* Fixed legacy (0.8) controller methods' **ARGS (also m.request_args and
   pylons.params) to be of the expected mixed dictionary instead of  
MultiDict.
* Fixed _attach_locals not attaching g and cache objects.
* Added g object to the shell. Works as long as the Pylons app can  
respond
   to a path of '/'. The pylons.g variable will also be setup  
properly for
   use in the shell.
* Myghty template options are now passed properly to the template  
creation, and
   allow_globals now works to add Myghty template globals.
* Re-organized helpers, switched Helpers class to use static methods  
to reduce
   code duplication.
* Helpers cleanup:
     - Old-style Helper object uses StackedObjectProxy just like the new
       scheme, thus avoiding possible WSGI stack issues.
     - New project templates use new-style Helpers scheme.
     - Updated wsgiapp to utilize new Helpers cleanup style. The 'h'  
object
       is now friendlier to use, and maps directly to a projects  
lib.helpers
       file. No more wacky Helpers object proxying to it.
     - Added translator global to __init__.py for use with new  
Helpers cleanup.
     - Copied Helpers function methods directly into util so they can  
be used
       stand-alone.
     - Deprecated h.lang (for h.set_lang/h.get_lang)
* Moved the 'default_charset' option from PylonsApp's constructor to
   Config's.
* Added 'error' controller route to the top of the Pylons template to  
avoid
   the common issue people discover when removing the generic default  
route.
* Changing validate decorator to have variable_decode option, which will
   also run formencode's variable_decode function over the form input.
* Switched to using Context obj classes instead of RequestLocal which is
   being phased out.
* Added an 'encode_variables' option to the validate decorator.
* Switched all current_obj calls to _current_obj to avoid triggering
   deprecation warnings.
* Added is_xhr to Request object in Paste.
* Bumping up dependency to latest Paste.
* Switching back to prior controller import check, throwing a more  
detailed
   error with a suggest fix should the user really want a URL with  
that name
   in it. (refs #67)
* Fixes bug with prior fix for #67. Wasn't properly testing the full  
package
   name to include the current project which would incorrectly restrict
   valid controller names (refs #67).
* Fixed '_method_' checking to test in a more efficient manner.
* Added deprecation warning for legacy mode activation. Not necessary to
   update multiple files, as all of legacy mode is enabled via the  
Legacy
   WSGI app. Fixes #89.
* Fixed controller command to check controller name and refuse to create
   controllers that have name clashes with existing modules that  
could be
   imported. Reported (with patch) by Chuck Adams. Fixes #67.
* Added capability for 'c' object to throw an exception when an  
attribute
   is used that doesn't exist. Closes #84.
* Fix for endless error document call when an error document controller
   wants to throw a error that the error_mapper catches.


Cheers,
Ben

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to