Skip to content

Bump wtforms from 2.2.1 to 2.3.1#248

Open
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/wtforms-2.3.1
Open

Bump wtforms from 2.2.1 to 2.3.1#248
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/wtforms-2.3.1

Conversation

@dependabot-preview
Copy link
Copy Markdown
Contributor

Bumps wtforms from 2.2.1 to 2.3.1.

Release notes

Sourced from wtforms's releases.

2.3.1

2.3.0

It's been a while! Thanks to the new maintainers who helped get the new release ready.

2.3.x will be the last version to support Python 2. Version 3.0 will support Python >= 3.6.

Changelog

Sourced from wtforms's changelog.

Version 2.3.1

Released 2020-04-22

  • All modules in wtforms.ext show a deprecation warning on import. They will be removed in version 3.0.
  • Fixed a bug when ~fields.SelectField choices is None. 572, 585
  • Restored HTMLString and escape_html as aliases for MarkupSafe functions. Their use shows a DeprecationWarning. 581, 583
  • Form.validate takes an extra_validators parameter, mapping field names to lists of extra validator functions. This matches BaseForm.validate. 584
  • Update locale catalogs.

Version 2.3.0

Released 2020-04-21

  • Drop support for Python 2.6, 3.3, and 3.4.
  • ~fields.SelectField uses list() to construct a new list of choices. 475
  • Permitted underscores in HostnameValidation. 463
  • ~validators.URL validator now allows query parameters in the URL. 523, 524
  • Updated false_values param in BooleanField docs. 483, 485
  • Fixed broken format string in Arabic translation 471
  • Updated French and Japanese translations. 506, 514
  • Updated Ukrainian translation. 433
  • FieldList error list keeps entries in order for easier identification of which fields had errors. 257, 407
  • ~validators.Length gives a more helpful error message when min and max are the same value. 266
  • ~fields.SelectField no longer coerces None to "None" allowing use of "None" as an option. 289, 288
  • The ~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. 238, 395
  • HTML5 ~fields.html5.IntegerField and ~fields.html5.RangeInput don't render the step="1" attribute by default. 343
  • aria_ args are rendered the same way as data_ args, by converting underscores to hyphens. aria_describedby="name-help" becomes aria-describedby="name-help". 239, 389
  • Added a check_validators method to ~fields.Field which checks if the given validators are both callable, and not classes. 298, 410
  • form.errors is not cached and will update if an error is appended to a field after access. 568
  • ~wtforms.validators.NumberRange correctly handle NaN values. 505, 548
  • ~fields.IntegerField checks input type when processing data. 451
  • Added a parameter to ~fields.SelectField to skip choice validation. 434, 493
  • Choices which name and data are the same do not need to use tuples. 526
  • Added more documentation on HTML5 fields. 326, 409
  • HTML is escaped using MarkupSafe instead of the previous internal implementation. ~widgets.core.escape_html is removed, replaced by markupsafe.escape. ~widgets.core.HTMLString is removed, replaced by markupsafe.Markup. 400
  • Fixed broken IPv6 validator, validation now uses the ipaddress package. 385, 403
  • ~fields.core.Label text is escaped before rendering. 315, 375
  • Email validation is now handled by an optional library, email_validator. 429
Commits
  • aa552df Merge pull request #587 from wtforms/release-2.3.1
  • 6c45ef8 update French translation
  • ebfac32 update translation files
  • 19a5bcd release version 2.3.1
  • 957a3f3 Merge pull request #584 from azmeuk/extra-validators
  • 03b293d copy extra_validators to avoid mutation
  • 8d0f078 add extra_validators parameter to Form.validate
  • 04398de reformat
  • f0d1f55 start version 2.3.1
  • 20af48f Merge pull request #586 from wtforms/ext-deprecation
  • Additional commits viewable in compare view

Dependabot compatibility score

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)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [wtforms](https://github.com/wtforms/wtforms) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/wtforms/wtforms/releases)
- [Changelog](https://github.com/wtforms/wtforms/blob/master/CHANGES.rst)
- [Commits](pallets-eco/wtforms@2.2.1...2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 27, 2020
@lipsotiko lipsotiko removed their request for review March 23, 2021 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants