You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix WTForms 3.3 deprecation warnings in SelectField, SelectMultipleField
and SelectWidget. SelectField.iter_choices() now yields flat choices and
the optgroup structure is available via has_groups() and iter_groups(). SelectWidget.render_optgroup() was removed, and SelectWidget.render_option()
now takes (value, label, selected, **render_kw) where selected is a
boolean.
SelectWidget no longer puts newlines between options inside an optgroup.
Fix __all__ containing objects instead of names, which broke from wtforms_components import *.
SelectWidget no longer double-escapes Markup option labels, matching
WTForms' own Select widget.
SelectWidget now renders per-choice render_kw attributes. Previously
they raised TypeError on WTForms 3.1 and 3.2 and were ignored on 3.3.
Iterating over a SelectField with optgroups now yields one option per
choice instead of one option per group.
Bump minimum MarkupSafe version to 2.0.
Remove unused timezone and ipaddress extras (#58).
Remove the test extra. Test dependencies are now in the test
dependency group (pip install --group test .).