Skip to content

Update flask-wtf to 1.3.0#943

Open
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-flask-wtf-0.14.2-to-1.3.0
Open

Update flask-wtf to 1.3.0#943
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-flask-wtf-0.14.2-to-1.3.0

Conversation

@pyup-bot
Copy link
Copy Markdown
Collaborator

This PR updates Flask-WTF from 0.14.2 to 1.3.0.

Changelog

1.3.0

-------------

Released 2026-04-23

- Don't read the whole uploaded files to know their size. :pr:`635`
- Stop support for Python 3.9. Start support for Python 3.14. :pr:`648`
- Migrate the project to uv. :pr:`649`
- Allow setting a ``nonce`` on :class:`~flask_wtf.recaptcha.RecaptchaField`
(string or zero-argument callable) for nonce-based Content Security
Policies. :pr:`312`
- Add ``csrf_meta_tag()`` helper and ``WTF_CSRF_META_NAME`` setting to render
the CSRF token as an HTML ``<meta>`` tag.
- Forward keyword arguments passed to the reCAPTCHA widget as HTML attributes
on the captcha ``<div>``, with the field id used as a default ``id``.
:pr:`353`
- Add ``apply_exemptions`` parameter to
:meth:`~flask_wtf.csrf.CSRFProtect.protect` so ``csrf.exempt`` keeps working
when validation is triggered manually. :pr:`419`
- Add ``RECAPTCHA_ENABLED`` setting. :pr:`509`

1.2.2

-------------

Released 2024-10-20

- Move the project to the pallets-eco organization. :pr:`602`
- Stop support for Python 3.8. Start support for Python 3.13. :pr:`603`

1.2.1

-------------

Released 2023-10-02

- Fix a bug introduced with :pr:`556` where file validators were editing
the file fields content. :pr:`578`

1.2.0

-------------

Released 2023-10-01

-   Add field ``MultipleFileField``. ``FileRequired``, ``FileAllowed``, ``FileSize``
 now can be used to validate multiple files :pr:`556` :issue:`338`

1.1.2

-------------

Released 2023-09-29

-   Fixed Flask 2.3 deprecations of ``werkzeug.urls.url_encode`` and
 ``flask.Markup`` :pr:`565` :issue:`561`
-   Stop support for python 3.7 :pr:`574`
-   Use `pyproject.toml` instead of `setup.cfg` :pr:`576`
-   Fixed nested blueprint CSRF exemption :pr:`572`

1.1.1

-------------

Released 2023-01-17

-   Fixed `validate` `extra_validators` parameter. :pr:`548`

1.1.0

-------------

Released 2023-01-15

-   Drop support for Python 3.6.
-   ``validate_on_submit`` takes a ``extra_validators`` parameters :pr:`479`
-   Stop supporting Flask-Babelex :pr:`540`
-   Support for python 3.11 :pr:`542`
-   Remove unused call to `JSONEncoder` :pr:`536`

1.0.1

-------------

Released 2022-03-31

-   Update compatibility with the latest Werkzeug release. :issue:`511`

1.0.0

--------------

Released 2021-11-07

-   Deprecated items removal :pr:`484`
-   Support for alternatives captcha services :pr:`425` :pr:`342`
 :pr:`387` :issue:`384`

0.15.1

--------------

Released 2021-05-25

-   Add ``python_requires`` metadata to avoid installing on unsupported
 Python versions. :pr:`442`

0.15.0

--------------

Released 2021-05-24

-   Drop support for Python < 3.6. :pr:`416`
-   ``FileSize`` validator. :pr:`307, 365`
-   Extra requirement ``email`` installs the ``email_validator``
 package. :pr:`423`
-   Fixed Flask 2.0 warnings. :pr:`434`
-   Various documentation fixes. :pr:`315, 321, 335, 344, 386, 400`,
 :pr:`404, 420, 437`
-   Various CI fixes. :pr:`405, 438`

0.14.3

--------------

Released 2020-02-06

-   Fix deprecated imports from ``werkzeug`` and ``collections``.
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant