Bump wtforms from 2.3.3 to 3.0.0 in /requirements
Created by: dependabot[bot]
Bumps wtforms from 2.3.3 to 3.0.0.
Release notes
Sourced from wtforms's releases.
3.0.0
Released 2021-11-07
- Fixed
fields.RadioField
validators. #477 #615fields.FormField.populate_obj
always callssetattr
#675- WTForms has a new logo. #569 #689
- Fixed
fields.RadioField
render_kw
rendering. #490 #628 #688- Support for optgroups in
fields.SelectField
andfields.SelectMultipleField
. #656 #667- Minor documentation fix. #701
- Custom separators for
fields.FieldList
. #681 #694fields.DateTimeField
,fields.DateField
andfields.TimeField
support time formats that removes leading zeros. #703- Refactoring: split
fields/core.py
andfields/simple.py
#7103.0.0a1
- Drop support for Python < 3.6. #554
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. #355- Specified version of Babel required for setup to avoid errors. #430
- Replaced use of getattr/setattr with regular variable access. #482
ValueError
raised by a validator are handled like regular exceptions. Validators need to raisevalidators.ValidationError
orvalidators.StopValidation
to make a validation fail. #445fields.SelectField
,fields.SelectMultipleField
andfields.RadioField
choices parameter can be a callable. #608- Choices shortcut for
fields.core.SelectMultipleField
. #603 #605- Forms can have form-level errors. #55 #595
- Implemented
fields.core.MonthField
. #530 #593- Filters can be inline.
form.BaseForm.process
takes a extra_filters parameter. #128 #592- Fields can be passed the name argument to use a HTML name different than their Python name. #205, #601
- Render attribute names like for_ and class_ are normalized consistently so later values override those specified earlier. #449, #596
- Flags can take non-boolean values. #406 #467
- Widgets are HTML5 by default. #594 #614
- Fixed a bug when the
fields.core.SelectField
choices are list of strings. #598- Error messages standardization. #613 #620 #626 #627
fields.core.SelectMultipleField
validate_choice bugfix. #606 #642- Fixed SelectMultipleField validation when using choices list shortcut. #612 #661
Changelog
Sourced from wtforms's changelog.
Version 3.0.0
Released 2021-11-07
- Fixed :class:
~fields.RadioField
validators. :issue:477
🇵🇷 615
- :meth:
~fields.FormField.populate_obj
always calls :func:setattr
🇵🇷 675
- WTForms has a new logo. :issue:
569
🇵🇷 689
- Fixed :class:
~fields.RadioField
render_kw
rendering. :issue:490
🇵🇷 628
🇵🇷 688
- Support for optgroups in :class:
~fields.SelectField
and :class:~fields.SelectMultipleField
. :issue:656
🇵🇷 667
- Minor documentation fix. :issue:
701
- Custom separators for :class:
~fields.FieldList
. :issue:681
🇵🇷 694
- :class:
~fields.DateTimeField
, :class:~fields.DateField
and :class:~fields.TimeField
support time formats that removes leading zeros.🇵🇷 703
- Refactoring: split
fields/core.py
andfields/simple.py
🇵🇷 710
Version 3.0.0a1
Released 2020-11-23
- Drop support for Python < 3.6.
🇵🇷 554
- :class:
~fields.StringField
setsdata
toNone
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.🇵🇷 355
- Specified version of Babel required for setup to avoid errors.
🇵🇷 430
- Replaced use of
getattr
/setattr
with regular variable access. :issue:482
- :class:
ValueError
raised by a validator are handled like regular exceptions. Validators need to raise :class:~validators.ValidationError
or :class:~validators.StopValidation
to make a validation fail. :issue:445
- :class:
~fields.SelectField
, :class:~fields.SelectMultipleField
and :class:~fields.RadioField
choices parameter can be a callable.🇵🇷 608
- Choices shortcut for :class:
~fields.core.SelectMultipleField
. :issue:603
🇵🇷 605
- Forms can have form-level errors. :issue:
55
🇵🇷 595
- Implemented :class:
~wtforms.fields.core.MonthField
.🇵🇷 530
🇵🇷 593
- Filters can be inline. :meth:
form.BaseForm.process
takes a extra_filters parameter. :issue:128
🇵🇷 592
- Fields can be passed the
name
argument to use a HTML name different than their Python name. :issue:205
,🇵🇷 601
... (truncated)
Commits
-
053118b
Version 3.0.0 -
563b781
Merge pull request #710 from azmeuk/split-fields -
a287589
CHANGELOG -
a4991fd
Split the field files -
368d9c6
Merge pull request #709 from azmeuk/docs-fix -
da3e493
updated docs dependencies -
c5f9ed7
Merge pull request #708 from azmeuk/style-errors -
c31a3ab
Fixed some style errors -
48cc05f
applied pre-commit -
6b570a5
Applied black - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)