Tags: pallets-eco/wtforms
Tags
Version 3.2.0 ------------- Released 2024-10-20 - Translations update: korean, chinese (traditional), portugese, russian, dutch, kazakh, swedish, turkish, slovak, ukranian, spanish, french. - Move the repository to the pallets-eco organization. :pr:`854` - Stop supporting Python 3.9 and start supporting Python 3.13 :pr:`855` - Removed `required` flag support from :class:`~fields.HiddenWidget`, :class:`~fields.RangeWidget` and :class:`~fields.SelectWidget` to conform to W3C :pr:`810` - :class:`~wtforms.validators.NoneOf` and :class:`~wtforms.validators.AnyOf` can validate multiple valued fields like :class:`~fields.SelectMultipleField` :pr:`538` :pr:`807` - Use GHA and pre-commit workflows inspired from Flask. :pr:`856` :pr:`860` -⚠️ Breaking change⚠️ : Some deprecated code was removed (:pr:`859`): - :class:`~wtforms.Flags` can no longer be tuples. :issue:`467` - `iter_choices` needs a tuple of 4 items :issue:`816` -⚠️ Breaking change⚠️ : The key for form errors moved from :data:`None` to empty string `""`. :issue:`829` :pr:`858` .. note:: If you need to keep the old behavior you can set the ``_form_error_key`` parameter of your form to :data:`None`.
- Display Flags values in their repr. #808 - SelectField` and SelectMultipleField choices can be None if validate_choice is False #809 - Documentation improvements #812 #815 #817 - Unit tests improvements #813 - Python 3.12 support #818 - Restored support for 3-items tuple return value from iter_choices #816
- Documentation improvements #726 #733 #749 #767 #788 #789 #793 - Translation improvements #732 #734 #754 - Implement :class:`~fields.ColorField` #755 - Delayed import of ``email_validator``. #727 - ``<option>`` attributes can be passed by the :class:`~fields.SelectField` ``choices`` parameter #692 #738 - Use the standard datetime formats by default for :class:`~fields.DateTimeLocalField` #761 - Python 3.11 support #763 - Added shorter format to :class:`~fields.DateTimeLocalField` defaults #761 - Stop support for python 3.7 #794 - Added shorter format to :class:`~fields.WeekField` defaults #765 - Move to pyproject.toml #796 - URL validator takes a ``allow_ip`` parameter #800 - Implement :class:`~validators.ReadOnly` and :class:`~validators.Disabled `#788
- Documentation improvements #726 #733 #749 #767 #788 #789 #793 - Translation improvements #732 #734 #754 - Implement :class:`~fields.ColorField` #755 - Delayed import of ``email_validator``. #727 - ``<option>`` attributes can be passed by the :class:`~fields.SelectField` ``choices`` parameter #692 #738 - Use the standard datetime formats by default for :class:`~fields.DateTimeLocalField` #761 - Python 3.11 support #763 - Added shorter format to :class:`~fields.DateTimeLocalField` defaults #761 - Stop support for python 3.7 #794 - Added shorter format to :class:`~fields.WeekField` defaults #765 - Move to pyproject.toml #796 - URL validator takes a ``allow_ip`` parameter #800 - Implement :class:`~validators.ReadOnly` and :class:`~validators.Disabled `#788
PreviousNext