pypi WTForms 3.2.0

12 hours ago

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. #854
  • Stop supporting Python 3.9 and start supporting Python 3.13 #855
  • Removed required flag support from HiddenWidget,
    RangeWidget and SelectWidget to
    conform to W3C #810
  • NoneOf and AnyOf
    can validate multiple valued fields like SelectMultipleField
    #538 #807
  • Use GHA and pre-commit workflows inspired from Flask. #856 #860

Warning

Some deprecated code was removed (#859):

  • Flags can no longer be tuples. #467
  • iter_choices needs a tuple of 4 items #816

Warning

The key for form errors moved from :data:None to empty string "". #829 #858

Note

If you need to keep the old behavior you can set the _form_error_key parameter of your form to :data:None.

Don't miss a new WTForms release

NewReleases is sending notifications on new releases.