WTForms v1.0 Release Notes

  • ๐Ÿš€ Released 2012-02-28

    • 0๏ธโƒฃ Output HTML5 compact syntax by default.
    • โœ… Substantial code reorg, cleanup, and test improvements.
    • Added ext.csrf for a way to implement CSRF protection.
    • ๐Ÿ‘ ext.sqlalchemy supports PGInet, MACADDR, and UUID field conversion.
    • 0๏ธโƒฃ ext.sqlalchemy supports callable defaults.
    • ๐Ÿ‘ ext.appengine model_form now supports generating forms with the same ordering as model.
    • ext.appengine ReferencePropertyField now gets get_label like the other ORM fields.
    • ๐Ÿ‘ Add localization support for WTForms built-in messages.
    • ๐Ÿ‘ Python 3 support (via 2to3).
    • An empty label string can be specified on fields if desired.
    • Option widget can now take kwargs customization.
    • 0๏ธโƒฃ Field subclasses can provide default validators as a class property.
    • DateTimeField can take time in microseconds.
    • Numeric fields all set .data to None on coercion error for consistency.