WebHelpers 2.0rc1 is released. This is the last significant change
before the final. If there are no further bugs I'll release the final
shortly. There are two pull requests that I didn't see until after the
release; they are minor Python 3 issues.

The HTML builder and literal class were refactored but their primary
API remains compatible. Literal still uses MarkupSafe. Secondary API
changes are things like the 'make_tags()' function is fully merged to
'HTML.tag()', and 'HTML.literal' is now the literal class so it can't
take multiple arguments (use 'HTML(..., lit=True)' instead). There are
several new attributes to support void tags, boolean attributes, and
"composeable" attributes ('class' and 'style' with list arguments).
These features already existed but were refactored, standardized, and
extended to all tags and tag helpers.

The 'html.tags' module has a light cleaning. A few little-used helpers
were deleted. A new 'Link' class is a lazy version of the 'link_to()'
family, which still remain. The remaining tag functions and ModelTags
class are compatible.

'update_params()' is back, in webhelper2.html.tools.

The documentation is at:
http://webhelpers2.readthedocs.org/en/2.0rc1/

See the 'migrating' page if you're migrating from WebHelpers or an
earlier beta, and read through the module documentation to see what
new is available. There's also a page with a Mako GeoRSS alternative
to the 'feedgenerator' module, which was deleted in an earlier beta.
It will only work with simple feeds with the standard attributes and a
single latitude/longitude point per record, but that should be enough
for many sites.

Download at PyPI or check out the source.
http://pypi.python.org/pypi/WebHelpers2
https://github.com/mikeorr/WebHelpers2

-- 
Mike Orr <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to