Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Apr 22, 2020

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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @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 your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • 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)

@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/wtforms-2.3.1 branch 2 times, most recently from d5e3375 to 2ac3f18 Compare April 22, 2020 19:34
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/2.3.1/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 force-pushed the dependabot/pip/wtforms-2.3.1 branch from 2ac3f18 to 0e1724a Compare April 22, 2020 19:35
@codecov
Copy link

codecov bot commented Apr 22, 2020

Codecov Report

Merging #6933 into development will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           development    #6933   +/-   ##
============================================
  Coverage        66.40%   66.40%           
============================================
  Files              313      313           
  Lines            15358    15358           
============================================
  Hits             10198    10198           
  Misses            5160     5160           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57e2ae4...ac2b6f6. Read the comment docs.

@iamareebjamal iamareebjamal merged commit 9f26441 into development Apr 22, 2020
@iamareebjamal iamareebjamal deleted the dependabot/pip/wtforms-2.3.1 branch April 22, 2020 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants