WebHelpers 1.0b1 is released.  It contains a year's worth of
enhancements since 0.6.4, listed below.  Get your fresh copy at
http://pypi.python.org/pypi/WebHelpers/1.0b1
Documentation is in the module docstrings.

1.0 final will be released as soon as I finish the online
documentation and pending enhancements.

**THE DEPRECATED RAILS HELPERS ARE GONE!!**  If you're still using
them, stick to WebHelpers 0.6.4, or copy the whole rails directory
into your application.

The Pylons dependency will not change, at least through 0.10 and
probably through 1.x.  This will allow you to use either version of
WebHelpers with Pylons or TurboGears 2.

I don't use TurboGears, so somebody please test it with TG2.

If you use webhelpers.feedgenerator or are an expert on RSS/Atom
syndication, please email me.  I need some advice on updating
webhelpers.feedgenerator.

Changes since WebHelpers 0.6.4:

* Delete deprecated subpackage: rails.
  These are replaced by new helpers in date, html, misc, number, text.
* Delete other deprecated subpackages: commands, hinclude, htmlgen, pagination.
  Pagination is replaced by paginate.
* webhelpers.constants:
  - ``uk_counties`` returns tuples rather than lists.
* webhelpers.feedgenerator:
  - ``rfc3339_date`` now accepts date objects without crashing.
  - Add 'generator' and 'source' properties to RSS2 feeds. Patch by
    Vince Spicer.
* webhelpers.html.converters:
  - New helper ``render()`` formats HTML to text.
  - New helper ``sanitize()`` strips HTML tags from user input.
* webhelprs.html.tags:
  - New helper ``css_classes()`` to add classes to a tag programmatically.
  - Fix bug in tag helpers when passing 'id_' argument (although 'id' is
    recommended instead).
  - Add OptionGroup class and optgroup support to select().  Patch by
    Alexandre Bourget.
* webhelpers.html.tools:
  - New helper ``strip_tags()`` deletes HTML tags in a string.
* webhelpers.paginate:
  - convert "_range" and "_pagelink" function to Page class method so that they
    can be overridden
  - pager "onclick" argument use template string value. So, javascript code can
    use "partial_url" or "page" value or any. Backward compatibility is
    considered.
  - Add presliced list option to avoid slicing when list is already.
* webhelpers.pylonslib:
  - is now a package.
  - The ``Flash`` class now accepts severity categories, thanks to Wichert
    Akkerman.  The docstring shows how to set up auto-fading messages using
    Javascript a la Mac OSX's "Growl" feature.  This is backward compatible
    although you should delete existing sessions when upgrading from 0.6.x.
  - ``webhelpers.pylonslib.minify`` contains enhanced versions of
    ``javascript_link`` and ``stylesheet_link`` to minify (shrink) files for
    more efficient transmission.  (EXPERIMENTAL: tests fail in
    unfinished/disabled_test_pylonslib_minify.py; see
    http://pylonshq.com/project/pylonshq/ticket/466 .)
* webhelpers.text:
  - Port several helpers from Ruby's "stringex" package.
    + ``urlify()`` converts any string to a URL-friendly equivalent.
    + ``remove_formatting()``
    + If the ``unidecode`` package is installed, these two helpers will also
      transliterate non-ASCII characters to their closest pronounciation
      equvivalent in ASCII.
    + Four other helpers reduce HTML entities or whitespace.


-- 
Mike Orr <[email protected]>

--

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?hl=.


Reply via email to