addac9b919
- Update to 3.2.1: * Fix :class:~fields.SelectMultipleBase import - Update to 3.2.0: * Translations update: korean, chinese (traditional), portugese, russian, dutch, kazakh, swedish, turkish, slovak, ukranian, spanish, french. * Move the repository to the pallets-eco organization. * Stop supporting Python 3.9 and start supporting Python 3.13 * Removed required flag support from :class:~fields.HiddenWidget, :class:~fields.RangeWidget and :class:~fields.SelectWidget to conform to W3C :class:~wtforms.validators.NoneOf and :class:~wtforms.validators.AnyOf can validate multiple valued fields like :class:~fields.SelectMultipleField * Use GHA and pre-commit workflows inspired from Flask. * Breaking change: Some deprecated code was removed: :class:~wtforms.Flags can no longer be tuples. iter_choices needs a tuple of 4 items * Breaking change: The key for form errors moved from :data:None to empty string "". * Note. If you need to keep the old behavior you can set the _form_error_key parameter of your form to :data:None. - Update to 3.1.2: Fix :class:~fields.SelectMultipleField value coercion on validation.
Nico Krapp2025-04-09 10:19:38 +00:00
ff78fb0280
Accepting request 1129149 from devel:languages:python
Ana Guerrero2023-11-27 21:44:22 +00:00
1c74753729
Accepting request 1129138 from home:alarrosa:branches:devel:languages:python
Matej Cepl2023-11-27 14:27:55 +00:00
b17a31dfd2
Accepting request 1129046 from home:alarrosa:branches:devel:languages:python
Markéta Machová2023-11-27 12:49:02 +00:00
d12db4dc6f
Accepting request 1113572 from devel:languages:python
Ana Guerrero2023-09-26 20:02:20 +00:00
4237131c1f
- Switch to pyproject macros. - Stop using greedy globs in %files. - We no longer need to skip any tests.
Steve Kowalik2023-09-26 03:06:12 +00:00
9fdfda720d
- 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)
Matej Cepl2021-06-05 20:07:35 +00:00
1ab3d804fc
- Drop Requires on the code package on the doc package.
Steve Kowalik2020-09-10 05:50:32 +00:00
6dea885f22
- 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.
Steve Kowalik2020-09-02 00:57:09 +00:00
ac6c53b3c0
- Update to 2.3.1: * All modules in `wtforms.ext show a deprecation warning on import. * Fixed a bug when :class:~fields.SelectField choices is None. * Restored HTMLString and escape_html as aliases for MarkupSafe functions. Their use shows a DeprecationWarning. * Form.validate takes an extra_validators parameter, mapping field names to lists of extra validator functions. This matches BaseForm.validate. * Update locale catalogs. * Drop support for Python 2.6, 3.3, and 3.4. * :class:~fields.SelectField uses list() to construct a new list of choices. * Permitted underscores in HostnameValidation. * :class:~validators.URL validator now allows query parameters in the URL. * Updated false_values param in BooleanField docs. * Fixed broken format string in Arabic translation * Updated French and Japanese translations. * Updated Ukrainian translation. * FieldList error list keeps entries in order for easier identification of which fields had errors. * :class:~validators.Length gives a more helpful error message when min and max are the same value. * :class:~fields.SelectField no longer coerces None to "None" allowing use of "None" as an option. * The :class:~widgets.TextArea widget prepends a \r\n newline when rendering to account for browsers stripping an initial line for display. This does not affect the value. * HTML5 :class:~fields.html5.IntegerField and :class:~fields.html5.RangeInput don't render the step="1" attribute by default. * aria_ args are rendered the same way as data_ args, by converting underscores to hyphens. aria_describedby="name*help" becomes aria*describedby="name-help". * Added a check_validators method to :class:~fields.Field which checks if the given validators are both callable, and not classes. * form.errors is not cached and will update if an error is appended to a field after access. * :class:~wtforms.validators.NumberRange correctly handle NaN values. * :class:~fields.IntegerField checks input type when processing data. * Added a parameter to :class:~fields.SelectField to skip choice validation. * Choices which name and data are the same do not need to use tuples. * Added more documentation on HTML5 fields. * HTML is escaped using MarkupSafe instead of the previous internal implementation. :func:~widgets.core.escape_html is removed, replaced by :func:markupsafe.escape. :class:~widgets.core.HTMLString is removed, replaced by :class:markupsafe.Markup. * Fixed broken IPv6 validator, validation now uses the ipaddress package. * :class:~fields.core.Label text is escaped before rendering. * Email validation is now handled by an optional library, email_validator`.
Steve Kowalik2020-07-30 07:00:48 +00:00
d11d65b80e
Python3 moved to devel:languages:python3
Sascha Peilicke
2013-06-17 12:54:48 +00:00
d278d0838e
Accepting request 163977 from home:posophe:branches:devel:languages:python
Todd R
2013-04-24 09:18:21 +00:00
9ea0affca7
- Update to version 0.6.3: * Documentation: Substantial documentation improvements, including adding Crash Course as a sphinx document. * ext.django: QuerySetSelectField (and ModelSelectField) now accept get_label similar to sqlalchemy equivalents. * ext.appengine: + model_form fixes: FloatField(#50), TimeField, DateTimeField(#55) + ReferencePropertyField: now properly stores model object, not key. (#48) - Changes from version 0.6.2: * ext.appengine: various field fixes (#34, #48), model_form changes (#41) * Fix issue in Optional with non-string input. * Make numeric fields more consistent. * Tests: Improve test coverage substantially. - Recommend python-django, python-SQLAlchemy & python-google-appengine, WTForms provides optional integration for each - Package documentation
Sascha Peilicke
2011-09-27 09:45:16 +00:00