Changelog for
python310-WTForms-3.1.1-1.3.noarch.rpm :
* Mon Nov 27 2023 Antonio Larrosa
- Use %{?sle15_python_module_pythons} * Mon Nov 27 2023 Antonio Larrosa - Update to 3.1.1: - Display Flags values in their repr. - ~SelectField and SelectMultipleField choices can be None if validate_choice is False - Documentation improvements - Unit tests improvements - Python 3.12 support - Restored support for 3-items tuple return value from iter_choices- Update to 3.1.0: - Documentation improvements - Translation improvements - Implement :class:~fields.ColorField - Delayed import of email_validator. - attributes can be passed by the :class:~fields.SelectField choices parameter - Use the standard datetime formats by default for :class:~fields.DateTimeLocalField - Python 3.11 support - Added shorter format to :class:~fields.DateTimeLocalField defaults - Stop support for python 3.7 - Added shorter format to :class:~fields.WeekField defaults - Move to pyproject.toml - URL validator takes a allow_ip parameter - Implement :class:~validators.ReadOnly and :class:~validators.Disabled * Tue Sep 26 2023 Steve Kowalik - Switch to pyproject macros.- Stop using greedy globs in %files.- We no longer need to skip any tests. * Tue Apr 19 2022 Matej Cepl - Follow the change of the email_validator -> email-validator Python package. * Sat Apr 16 2022 Matej Cepl - Update to 3.0.1: - Fixed ~fields.DateTimeField and other similar fields can handle multiple formats. - Fixed ~fields.RadioField validators. - ~fields.FormField.populate_obj always calls :func:setattr - WTForms has a new logo. - Fixed ~fields.RadioField render_kw rendering. - Support for optgroups in ~fields.SelectField and ~fields.SelectMultipleField. - Minor documentation fix. - Custom separators for ~fields.FieldList. - ~fields.DateTimeField, ~fields.DateField and ~fields.TimeField support time formats that removes leading zeros. - Refactoring: split fields/core.py and fields/simple.py - Drop support for Python < 3.6. - ~fields.StringField sets data to None when form data is empty and an initial value was not provided. Although it previously set an empty string, None is consistent with the behavior of other fields. - Specified version of Babel required for setup to avoid errors. - Replaced use of getattr/setattr with regular variable access. - ValueError raised by a validator are handled like regular exceptions. Validators need to raise ~validators.ValidationError or ~validators.StopValidation to make a validation fail. - ~fields.SelectField, ~fields.SelectMultipleField and ~fields.RadioField choices parameter can be a callable. - Choices shortcut for ~fields.core.SelectMultipleField. - Forms can have form-level errors. - Implemented ~wtforms.fields.core.MonthField. - Filters can be inline. :meth:form.BaseForm.process takes a extra_filters parameter. - Fields can be passed the name argument to use a HTML name different than their Python name. - Render attribute names like for_ and class_ are normalized consistently so later values override those specified earlier. - Flags can take non-boolean values. - Widgets are HTML5 by default. - Fixed a bug when the ~wtforms.fields.core.SelectField choices are list of strings. - Error messages standardization. - ~wtforms.fields.core.SelectMultipleField validate_choice bugfix. - Fixed SelectMultipleField validation when using choices list shortcut. * Mon Sep 06 2021 Antonio Larrosa - Put translated catalogs in -lang subpackages for each python flavor. * Fri Sep 03 2021 Antonio Larrosa - Build the translations catalogs so builtin messages can be translated (this is needed to run the test_wtform_xlation test in python-Flask-Security-Too 4.1.0) * Sat Jun 05 2021 mceplAATTcepl.eu- Update to version 2.3.3+git.1621448902.a55be54: * Changelog * render_kw tests for SelectField and MultipleSelectField * moved test to test_radio * pass RadioField (SelectFieldBase) render_kw dict in _Option class * Changelog * Logo integration * Changelog * Changelog * Always call setattr in FormField.populate * move test * add test * fix radiofield required bug- Skip failing tests with localization file (gh#wtforms/wtforms#697) * Thu Sep 10 2020 Steve Kowalik - Drop Requires on the code package on the doc package. * Wed Sep 02 2020 Steve Kowalik - Update to 2.3.3: * This release includes the translation files that were missing in the 2.3.2 release. * Fixed a bug with :class:`~fields.SelectField` choices shortcut at form submission.