Dashboard > People > Junya HAYASHI > Home > Copy of 0.9.5
Copy of 0.9.5
Added by Junya HAYASHI, last edited by Junya HAYASHI on Dec 01, 2007
Labels: 
(None)


There's big change logs for both Pylons and Routes, with some important updates in WebHelpers and Paste as well.

First, the big improvements in 0.9.5, Unicode and i18n:

  • Routes now translates utf-8 characters during both URL generation,
    and URL recognition, many thanks to David Smith for numerous patches
  • The Request now has an option so that all GET/POST arguments come
    in as unicode, with the decoding you prefer
  • i18n now uses code contributed from Aquarium by Shannon -jj Behrens
    for translation fall-backs and has browser language matching code
  • Optional lazy translation options contributed by David Smith
  • Routes implicit defaults (action=index, id=None) can be turned off
    per route with _explicit=True
  • Routes memory can also be disabled by setting the mapper to
    explicit=True, which will also disable the implicit defaults

Next, some backward compatibility changes:

Webhelpers:

  • WARNING: paginate now takes arguments intended for the collection
    object as
    query_args. This could affect backwards compatibility. This fixes
    a common
    issue that non-keyword arguments passed into paginate get eaten by
    paginate's
    keyword arguments instead of being in *args to go on to the
    collection.
  • WARNING: Due to a typo, the Text helper highlight function no longer
    highlights text with the CSS class name 'hilight' by default: it
    now uses the
    CSS class name 'highlight' instead. The function's 'hilighter'
    keyword
    argument has also been deprecated, use 'highlighter' instead.

Pylons:

  • WARNING: Pylons now requires the decorator module: it no longer
    packages
    it as pylons.decorator. Code relying on the
    pylons.decorator.decorator
    function will trigger a deprecation warning and should be changed
    to use
    decorator.decorator.
  • WARNING: pylons.h was deprecated for using projects' lib.helpers
    module
    directly in 0.9.3. pylons.h is now formally deprecated (emits
    DeprecationWarnings). Projects still accessing pylons.h must
    change the
    following import:
    from pylons import h
    to:
    import MYPROJ.lib.helpers as h

And finally, the full changelog of the various parts that make Pylons what it is (click to expand):

PYLONS

ROUTES

WEBHELPERS

PASTE

PASTESCRIPT

Site running on a free Atlassian Confluence Open Source Project License granted to Pylons. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.3.3 Build:#645 Feb 13, 2007) - Bug/feature request - Contact Administrators