chore(deps): bump the pip group across 27 directories with 16 updates
Type: Pull Request
State: Open
Association: Unknown
Comments: 2
(14 days ago)
(1 day ago)
dependencies python
Bumps the pip group with 1 update in the /alloydb/notebooks directory: nbconvert.
Bumps the pip group with 3 updates in the /appengine/standard/firebase/firenotes/backend directory: flask, requests and werkzeug.
Bumps the pip group with 4 updates in the /cloud-media-livestream/keypublisher directory: flask, requests, werkzeug and pyopenssl.
Bumps the pip group with 3 updates in the /cloud-sql/sql-server/sqlalchemy directory: flask, werkzeug and pyopenssl.
Bumps the pip group with 2 updates in the /cloud_scheduler/snippets directory: flask and werkzeug.
Bumps the pip group with 12 updates in the /composer/2022_airflow_summit directory:
| Package | From | To |
|---|---|---|
| flask | 2.2.5 |
3.1.3 |
| requests | 2.31.0 |
2.33.0 |
| werkzeug | 2.2.3 |
3.1.6 |
| pyopenssl | 23.2.0 |
26.0.0 |
| apache-airflow | 2.6.3 |
3.2.0b1 |
| authlib | 1.2.1 |
1.6.9 |
| black | 23.1a1 |
26.3.1 |
| cryptography | 40.0.2 |
46.0.5 |
| google-cloud-aiplatform | 1.27.1 |
1.133.0 |
| orjson | 3.9.1 |
3.11.6 |
| protobuf | 4.23.4 |
5.29.6 |
| pyasn1 | 0.4.8 |
0.6.3 |
Bumps the pip group with 6 updates in the /composer/airflow_1_samples directory:
| Package | From | To |
|---|---|---|
| flask | 1.1.2 |
3.1.3 |
| werkzeug | 0.16.1 |
3.1.6 |
| pyopenssl | 20.0.0 |
26.0.0 |
| cryptography | 3.2.1 |
46.0.5 |
| protobuf | 3.14.0 |
5.29.6 |
| pyasn1 | 0.4.8 |
0.6.3 |
Bumps the pip group with 12 updates in the /composer/cicd_sample directory:
| Package | From | To |
|---|---|---|
| flask | 2.2.5 |
3.1.3 |
| requests | 2.31.0 |
2.33.0 |
| werkzeug | 2.2.3 |
3.1.6 |
| pyopenssl | 23.2.0 |
26.0.0 |
| apache-airflow | 2.6.3 |
3.2.0b1 |
| authlib | 1.2.1 |
1.6.9 |
| black | 23.1a1 |
26.3.1 |
| cryptography | 40.0.2 |
46.0.5 |
| google-cloud-aiplatform | 1.27.1 |
1.133.0 |
| orjson | 3.9.1 |
3.11.6 |
| protobuf | 4.23.4 |
5.29.6 |
| pyasn1 | 0.4.8 |
0.6.3 |
Bumps the pip group with 12 updates in the /composer/workflows directory:
| Package | From | To |
|---|---|---|
| flask | 2.2.5 |
3.1.3 |
| requests | 2.31.0 |
2.33.0 |
| werkzeug | 2.2.3 |
3.1.6 |
| pyopenssl | 24.1.0 |
26.0.0 |
| apache-airflow | 2.9.2 |
3.2.0b1 |
| authlib | 1.3.1 |
1.6.9 |
| black | 24.4.2 |
26.3.1 |
| cryptography | 41.0.7 |
46.0.5 |
| google-cloud-aiplatform | 1.53.0 |
1.133.0 |
| orjson | 3.10.3 |
3.11.6 |
| protobuf | 4.25.3 |
5.29.6 |
| pyasn1 | 0.5.1 |
0.6.3 |
Bumps the pip group with 1 update in the /compute/client_library directory: black.
Bumps the pip group with 2 updates in the /compute/encryption directory: requests and cryptography.
Bumps the pip group with 5 updates in the /dataflow/flex-templates/pipeline_with_dependencies directory:
| Package | From | To |
|---|---|---|
| requests | 2.31.0 |
2.33.0 |
| google-cloud-aiplatform | 1.42.1 |
1.133.0 |
| orjson | 3.9.15 |
3.11.6 |
| protobuf | 4.25.8 |
5.29.6 |
| pyasn1 | 0.5.1 |
0.6.3 |
Bumps the pip group with 3 updates in the /dataflow/gemma directory: google-cloud-aiplatform, protobuf and keras.
Bumps the pip group with 1 update in the /dataflow/gemma-flex-template directory: google-cloud-aiplatform.
Bumps the pip group with 3 updates in the /dataflow/run-inference directory: google-cloud-aiplatform, torch and transformers.
Bumps the pip group with 1 update in the /dataflow/run_template directory: flask.
Bumps the pip group with 2 updates in the /datastore/cloud-ndb directory: flask and werkzeug.
Bumps the pip group with 2 updates in the /dialogflow directory: flask and werkzeug.
Bumps the pip group with 2 updates in the /dialogflow-cx directory: flask and werkzeug.
Bumps the pip group with 3 updates in the /endpoints/getting-started directory: flask, requests and werkzeug.
Bumps the pip group with 2 updates in the /functions/concepts-requests directory: flask and requests.
Bumps the pip group with 2 updates in the /functions/tips-connection-pooling directory: flask and requests.
Bumps the pip group with 2 updates in the /gemma2 directory: google-cloud-aiplatform and protobuf.
Bumps the pip group with 3 updates in the /iap directory: requests, werkzeug and cryptography.
Bumps the pip group with 2 updates in the /kms/attestations directory: requests and cryptography.
Bumps the pip group with 1 update in the /media_cdn directory: cryptography.
Bumps the pip group with 2 updates in the /run/service-auth directory: flask and requests.
Updates nbconvert from 7.16.6 to 7.17.0
Release notes
Sourced from nbconvert's releases.
v7.17.0
7.17.0
Enhancements made
- Add support for arbitrary browser arguments #2227 (
@shreve,@Carreau,@krassowski)Bugs fixed
- Fix QtPNGExporter returning empty bytes on macOS #2264 (
@h3pdesign,@Carreau,@QuLogic)- Fix CVE-2025-53000: Secure Inkscape Windows path (registry first + block CWD) #2261 (
@h3pdesign,@krassowski,@mberlanda,@minrk,@salmankadaya,@th3gowtham)- Fix get_export_names and get_exporter default args #2228 (
@shreve,@krassowski)- PyPA-Compliant Summary #2226 (
@hackowitz-af,@Carreau)Maintenance and upkeep improvements
- avoid cov environment on free-threaded Pythons #2267 (
@minrk)- update pre-commit, and fix all issues. #2238 (
@Carreau)- Drop test on 3.9, test on 3.13, 3.14, 3.14t #2237 (
@Carreau)- Bump the actions group across 1 directory with 2 updates #2231 (
@Carreau,@krassowski)- Replace
@flaky.flakydecorate with pytest marker #2229 (@mgorny,@Carreau)- update to mermaid 11.10.0 #2224 (
@bollwyvl,@krassowski)- Drop support for Python 3.8, fix the CI tests #2221 (
@shreve,@minrk)Documentation improvements
- Use
intersphinx_registry#2232 (@Carreau,@krassowski)Contributors to this release
The following people contributed discussions, new ideas, code and documentation contributions, and review. See our definition of contributors.
(GitHub contributors page for this release)
@bollwyvl(activity) |@Carreau(activity) |@h3pdesign(activity) |@hackowitz-af(activity) |@krassowski(activity) |@mberlanda(activity) |@mgorny(activity) |@minrk(activity) |@MSeal(activity) |@QuLogic(activity) |@salmankadaya(activity) |@shreve(activity) |@th3gowtham(activity)
Changelog
Sourced from nbconvert's changelog.
7.17.0
Enhancements made
- Add support for arbitrary browser arguments #2227 (
@shreve,@Carreau,@krassowski)Bugs fixed
- Fix QtPNGExporter returning empty bytes on macOS #2264 (
@h3pdesign,@Carreau,@QuLogic)- Fix CVE-2025-53000: Secure Inkscape Windows path (registry first + block CWD) #2261 (
@h3pdesign,@krassowski,@mberlanda,@minrk,@salmankadaya,@th3gowtham)- Fix get_export_names and get_exporter default args #2228 (
@shreve,@krassowski)- PyPA-Compliant Summary #2226 (
@hackowitz-af,@Carreau)Maintenance and upkeep improvements
- avoid cov environment on free-threaded Pythons #2267 (
@minrk)- update pre-commit, and fix all issues. #2238 (
@Carreau)- Drop test on 3.9, test on 3.13, 3.14, 3.14t #2237 (
@Carreau)- Bump the actions group across 1 directory with 2 updates #2231 (
@Carreau,@krassowski)- Replace
@flaky.flakydecorate with pytest marker #2229 (@mgorny,@Carreau)- update to mermaid 11.10.0 #2224 (
@bollwyvl,@krassowski)- Drop support for Python 3.8, fix the CI tests #2221 (
@shreve,@minrk)Documentation improvements
- Use
intersphinx_registry#2232 (@Carreau,@krassowski)Contributors to this release
The following people contributed discussions, new ideas, code and documentation contributions, and review. See our definition of contributors.
(GitHub contributors page for this release)
@bollwyvl(activity) |@Carreau(activity) |@h3pdesign(activity) |@hackowitz-af(activity) |@krassowski(activity) |@mberlanda(activity) |@mgorny(activity) |@minrk(activity) |@MSeal(activity) |@QuLogic(activity) |@salmankadaya(activity) |@shreve(activity) |@th3gowtham(activity)
Commits
21b35d8Publish 7.17.0c9ac1d1Fix CVE-2025-53000: Secure Inkscape Windows path (registry first + block CWD)...b13276davoid cov environment on free-threaded Pythons (#2267)7c7055f[pre-commit.ci] auto fixes from pre-commit.com hooks74f3dddFix QtPNGExporter returning empty bytes on macOS216550bfix links39777actry to comment fialing test7b591caruff-check6ec7638parent59414b3fix mypy- Additional commits viewable in compare view
Updates flask from 3.0.0 to 3.1.3
Release notes
Sourced from flask's releases.
3.1.3
This is the Flask 3.1.3 security fix release, which fixes a security issue but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Flask/3.1.3/ Changes: https://flask.palletsprojects.com/page/changes/#version-3-1-3
- The session is marked as accessed for operations that only access the keys but not the values, such as
inandlen. GHSA-68rp-wp8r-47263.1.2
This is the Flask 3.1.2 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Flask/3.1.2/ Changes: https://flask.palletsprojects.com/page/changes/#version-3-1-2 Milestone: https://github.com/pallets/flask/milestone/38?closed=1
stream_with_contextdoes not fail inside async views. #5774- When using
follow_redirectsin the test client, the final state ofsessionis correct. #5786- Relax type hint for passing bytes IO to
send_file. #57763.1.1
This is the Flask 3.1.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Flask/3.1.1/ Changes: https://flask.palletsprojects.com/en/stable/changes/#version-3-1-1 Milestone https://github.com/pallets/flask/milestone/36?closed=1
- Fix signing key selection order when key rotation is enabled via
SECRET_KEY_FALLBACKS. GHSA-4grg-w6v8-c28g- Fix type hint for
cli_runner.invoke. #5645flask --helploads the app and plugins first to make sure all commands are shown. #5673- Mark sans-io base class as being able to handle views that return
AsyncIterable. This is not accurate for Flask, but makes typing easier for Quart. #56593.1.0
This is the Flask 3.1.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecations, or introduce potentially breaking changes. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.
PyPI: https://pypi.org/project/Flask/3.1.0/ Changes: https://flask.palletsprojects.com/en/stable/changes/#version-3-1-0 Milestone: https://github.com/pallets/flask/milestone/33?closed=1
- Drop support for Python 3.8. #5623
- Update minimum dependency versions to latest feature releases. Werkzeug >= 3.1, ItsDangerous >= 2.2, Blinker >= 1.9. #5624, #5633
- Provide a configuration option to control automatic option responses. #5496
Flask.open_resource/open_instance_resourceandBlueprint.open_resourcetake anencodingparameter to use when opening in text mode. It defaults toutf-8. #5504Request.max_content_lengthcan be customized per-request instead of only through theMAX_CONTENT_LENGTHconfig. AddedMAX_FORM_MEMORY_SIZEandMAX_FORM_PARTSconfig. Added documentation about resource limits to the security page. #5625- Add support for the
Partitionedcookie attribute (CHIPS), with theSESSION_COOKIE_PARTITIONEDconfig. #5472-e pathtakes precedence over default.envand.flaskenvfiles.load_dotenvloads default files in addition to a path unlessload_defaults=Falseis passed. #5628- Support key rotation with the
SECRET_KEY_FALLBACKSconfig, a list of old secret keys that can still be used for unsigning. Extensions will need to add support. #5621- Fix how setting
host_matching=Trueorsubdomain_matching=Falseinteracts withSERVER_NAME. SettingSERVER_NAMEno longer restricts requests to only that domain. #5553Request.trusted_hostsis checked during routing, and can be set through theTRUSTED_HOSTSconfig. #56363.0.3
... (truncated)
Changelog
Sourced from flask's changelog.
Version 3.1.3
Released 2026-02-18
- The session is marked as accessed for operations that only access the keys but not the values, such as
inandlen. :ghsa:68rp-wp8r-4726Version 3.1.2
Released 2025-08-19
stream_with_contextdoes not fail inside async views. :issue:5774- When using
follow_redirectsin the test client, the final state ofsessionis correct. :issue:5786- Relax type hint for passing bytes IO to
send_file. :issue:5776Version 3.1.1
Released 2025-05-13
- Fix signing key selection order when key rotation is enabled via
SECRET_KEY_FALLBACKS. :ghsa:4grg-w6v8-c28g- Fix type hint for
cli_runner.invoke. :issue:5645flask --helploads the app and plugins first to make sure all commands are shown. :issue:5673- Mark sans-io base class as being able to handle views that return
AsyncIterable. This is not accurate for Flask, but makes typing easier for Quart. :pr:5659Version 3.1.0
Released 2024-11-13
- Drop support for Python 3.8. :pr:
5623- Update minimum dependency versions to latest feature releases. Werkzeug >= 3.1, ItsDangerous >= 2.2, Blinker >= 1.9. :pr:
5624,5633- Provide a configuration option to control automatic option responses. :pr:
5496Flask.open_resource/open_instance_resourceandBlueprint.open_resourcetake anencodingparameter to use when opening in text mode. It defaults toutf-8. :issue:5504Request.max_content_lengthcan be customized per-request instead of only through theMAX_CONTENT_LENGTHconfig. Added
... (truncated)
Commits
22d9247release version 3.1.3089cb86Merge commit from forkc17f379request context tracks session access27be933start version 3.1.34e652d3Abort if the instance folder cannot be created (#5903)3d03098Abort if the instance folder cannot be created407eb76document using gevent for async (#5900)ac5664ddocument using gevent for async4f79d5bIncrease required flit_core version to 3.11 (#5865)fe3b215Increase required flit_core version to 3.11- Additional commits viewable in compare view
Updates requests from 2.27.1 to 2.33.0
Release notes
Sourced from requests's releases.
v2.33.0
2.33.0 (2026-03-25)
Announcements
- 📣 Requests is adding inline types. If you have a typed code base that uses Requests, please take a look at #7271. Give it a try, and report any gaps or feedback you may have in the issue. 📣
Security
- CVE-2026-25645
requests.utils.extract_zipped_pathsnow extracts contents to a non-deterministic location to prevent malicious file replacement. This does not affect default usage of Requests, only applications calling the utility function directly.Improvements
- Migrated to a PEP 517 build system using setuptools. (#7012)
Bugfixes
- Fixed an issue where an empty netrc entry could cause malformed authentication to be applied to Requests on Python 3.11+. (#7205)
Deprecations
- Dropped support for Python 3.9 following its end of support. (#7196)
Documentation
- Various typo fixes and doc improvements.
New Contributors
@M0d3v1made their first contribution in psf/requests#6865@aminvakilmade their first contribution in psf/requests#7220@E8Pricemade their first contribution in psf/requests#6960@mitre88made their first contribution in psf/requests#7244@magsenmade their first contribution in psf/requests#6553@Rohan5commitmade their first contribution in psf/requests#7227Full Changelog: https://github.com/psf/requests/blob/main/HISTORY.md#2330-2026-03-25
v2.32.5
2.32.5 (2025-08-18)
Bugfixes
- The SSLContext caching feature originally introduced in 2.32.0 has created a new class of issues in Requests that have had negative impact across a number of use cases. The Requests team has decided to revert this feature as long term maintenance of it is proving to be unsustainable in its current iteration.
Deprecations
- Added support for Python 3.14.
- Dropped support for Python 3.8 following its end of support.
v2.32.4
2.32.4 (2025-06-10)
... (truncated)
Changelog
Sourced from requests's changelog.
2.33.0 (2026-03-25)
Announcements
- 📣 Requests is adding inline types. If you have a typed code base that uses Requests, please take a look at #7271. Give it a try, and report any gaps or feedback you may have in the issue. 📣
Security
- CVE-2026-25645
requests.utils.extract_zipped_pathsnow extracts contents to a non-deterministic location to prevent malicious file replacement. This does not affect default usage of Requests, only applications calling the utility function directly.Improvements
- Migrated to a PEP 517 build system using setuptools. (#7012)
Bugfixes
- Fixed an issue where an empty netrc entry could cause malformed authentication to be applied to Requests on Python 3.11+. (#7205)
Deprecations
- Dropped support for Python 3.9 following its end of support. (#7196)
Documentation
- Various typo fixes and doc improvements.
2.32.5 (2025-08-18)
Bugfixes
- The SSLContext caching feature originally introduced in 2.32.0 has created a new class of issues in Requests that have had negative impact across a number of use cases. The Requests team has decided to revert this feature as long term maintenance of it is proving to be unsustainable in its current iteration.
Deprecations
- Added support for Python 3.14.
- Dropped support for Python 3.8 following its end of support.
2.32.4 (2025-06-10)
Security
- CVE-2024-47081 Fixed an issue where a maliciously crafted URL and trusted environment will retrieve credentials for the wrong hostname/machine from a netrc file.
... (truncated)
Commits
bc04dfdv2.33.066d21cbMerge commit from fork8b9bc8fMove badges to top of README (#7293)e331a28Remove unused extraction call (#7292)753fd08docs: fix FAQ grammar in httplib2 example774a0b8docs(socks): same block as other sections9c72a41Bump github/codeql-action from 4.33.0 to 4.34.1ebf7190Bump github/codeql-action from 4.32.0 to 4.33.00e4ae38docs: exclude Response.is_permanent_redirect from API docs (#7244)d568f47docs: clarify Quickstart POST example (#6960)- Additional commits viewable in compare view
Updates werkzeug from 3.0.3 to 3.1.6
Release notes
Sourced from werkzeug's releases.
3.1.6
This is the Werkzeug 3.1.6 security fix release, which fixes a security issue but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Werkzeug/3.1.6/ Changes: https://werkzeug.palletsprojects.com/page/changes/#version-3-1-6
safe_joinon Windows does not allow special devices names in multi-segment paths. GHSA-29vq-49wr-vm6x3.1.5
This is the Werkzeug 3.1.5 security fix release, which fixes security issues and bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Werkzeug/3.1.5/ Changes: https://werkzeug.palletsprojects.com/page/changes/#version-3-1-5 Milestone: https://github.com/pallets/werkzeug/milestone/43?closed=1
safe_joinon Windows does not allow more special device names, regardless of extension or surrounding spaces. GHSA-87hc-h4r5-73f7- The multipart form parser handles a
\r\nsequence at a chunk boundary. This fixes the previous attempt, which caused incorrect content lengths. #3065 #3077- Fix
AttributeErrorwhen initializingDebuggedApplicationwithpin_security=False. #30753.1.4
This is the Werkzeug 3.1.4 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Werkzeug/3.1.4/ Changes: https://werkzeug.palletsprojects.com/page/changes/#version-3-1-4 Milestone: https://github.com/pallets/werkzeug/milestone/42?closed=1
safe_joinon Windows does not allow special device names. This prevents reading from these when usingsend_from_directory.secure_filenamealready prevented writing to these. ghsa-hgf8-39gv-g3f2- The debugger pin fails after 10 attempts instead of 11. #3020
- The multipart form parser handles a
\r\nsequence at a chunk boundary. #3065- Improve CPU usage during Watchdog reloader. #3054
Request.jsonannotation is more accurate. #3067- Traceback rendering handles when the line number is beyond the available source lines. #3044
HTTPException.get_responseannotation and doc better conveys the distinction between WSGI and sans-IO responses. #30563.1.3
This is the Werkzeug 3.1.3 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes vs 3.1.0.
PyPI: https://pypi.org/project/Werkzeug/3.1.3/ Changes: https://werkzeug.palletsprojects.com/en/stable/changes/#version-3-1-3 Milestone: https://github.com/pallets/werkzeug/milestone/41?closed=1
- Initial data passed to
MultiDictand similar interfaces only acceptslist,tuple, orsetwhen passing multiple values. It had been changed to accept anyCollection, but this matched types that should be treated as single values, such asbytes. #2994- When the
Hostheader is not set andRequest.hostfalls back to the WSGISERVER_NAMEvalue, if that value is an IPv6 address it is wrapped in[]to match theHostheader. #29933.1.2
This is the Werkzeug 3.1.2 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes vs 3.1.0.
PyPI: https://pypi.org/project/Werkzeug/3.1.2/ Changes: https://werkzeug.palletsprojects.com/en/stable/changes/#version-3-1-2
... (truncated)
Changelog
Sourced from werkzeug's changelog.
Version 3.1.6
Released 2026-02-19
safe_joinon Windows does not allow special devices names in multi-segment paths. :ghsa:29vq-49wr-vm6xResponse.make_conditionalsets theAccept-Rangesheader even if it is not a satisfiable range request. :issue:3108Version 3.1.5
Released 2026-01-08
safe_joinon Windows does not allow more special device names, regardless of extension or surrounding spaces. :ghsa:87hc-h4r5-73f7- The multipart form parser handles a
\r\nsequence at a chunk boundary. This fixes the previous attempt, which caused incorrect content lengths. :issue:3065:issue:3077- Fix
AttributeErrorwhen initializingDebuggedApplicationwithpin_security=False. :issue:3075Version 3.1.4
Released 2025-11-28
safe_joinon Windows does not allow special device names. This prevents reading from these when usingsend_from_directory.secure_filenamealready prevented writing to these. :ghsa:hgf8-39gv-g3f2- The debugger pin fails after 10 attempts instead of 11. :pr:
3020- The multipart form parser handles a
\r\nsequence at a chunk boundary. :issue:3065- Improve CPU usage during Watchdog reloader. :issue:
3054Request.jsonannotation is more accurate. :issue:3067- Traceback rendering handles when the line number is beyond the available source lines. :issue:
3044HTTPException.get_responseannotation and doc better conveys the distinction between WSGI and sans-IO responses. :issue:3056Version 3.1.3
Released 2024-11-08
- Initial data passed to
MultiDictand similar interfaces only accepts
... (truncated)
Commits
04da1b5release version 3.1.6f407712Merge commit from forkf54fe98safe_join prevents Windows special device names in multi-segment pathsd005985start version 3.1.68565c2cdocument rule priority (#3102)3febc7edocument rule priority2525b82remove state machine docs4abfbd5rewrite build docstring (#3097)161c18brewrite build docstring86e11c2release version 3.1.5 (#3085)- Additional commits viewable in compare view
Updates flask from 2.2.5 to 3.1.3
Release notes
Sourced from flask's releases.
3.1.3
This is the Flask 3.1.3 security fix release, which fixes a security issue but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Flask/3.1.3/ Changes: https://flask.palletsprojects.com/page/changes/#version-3-1-3
- The session is marked as accessed for operations that only access the keys but not the values, such as
inandlen. GHSA-68rp-wp8r-47263.1.2
This is the Flask 3.1.2 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Flask/3.1.2/ Changes: https://flask.palletsprojects.com/page/changes/#version-3-1-2 Milestone: https://github.com/pallets/flask/milestone/38?closed=1
stream_with_contextdoes not fail inside async views. #5774- When using
follow_redirectsin the test client, the final state ofsessionis correct. #5786- Relax type hint for passing bytes IO to
send_file. #57763.1.1
This is the Flask 3.1.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Flask/3.1.1/ Changes: https://flask.palletsprojects.com/en/stable/changes/#version-3-1-1 Milestone https://github.com/pallets/flask/milestone/36?closed=1
- Fix signing key selection order when key rotation is enabled via
SECRET_KEY_FALLBACKS. GHSA-4grg-w6v8-c28g- Fix type hint for
cli_runner.invoke. #5645flask --helploads the app and plugins first to make sure all commands are shown. #5673- Mark sans-io base class as being able to handle views that return
AsyncIterable. This is not accurate for Flask, but makes typing easier for Quart. #56593.1.0
This is the Flask 3.1.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecations, or introduce potentially breaking changes. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.
PyPI: https://pypi.org/project/Flask/3.1.0/ Changes: https://flask.palletsprojects.com/en/stable/changes/#version-3-1-0 Milestone: https://github.com/pallets/flask/milestone/33?closed=1
- Drop support for Python 3.8. #5623
- Update minimum dependency versions to latest feature releases. Werkzeug >= 3.1, ItsDangerous >= 2.2, Blinker >= 1.9. #5624, #5633
- Provide a configuration option to control automatic option responses. #5496
Flask.open_resource/open_instance_resourceandBlueprint.open_resourcetake anencodingparameter to use when opening in text mode. It defaults toutf-8. #5504Request.max_content_lengthcan be customized per-request instead of only through theMAX_CONTENT_LENGTHconfig. AddedMAX_FORM_MEMORY_SIZEandMAX_FORM_PARTSconfig. Added documentation about resource limits to the security page. #5625- Add support for the
Partitionedcookie attribute (CHIPS), with theSESSION_COOKIE_PARTITIONEDconfig. #5472-e pathtakes precedence over default.envand.flaskenvfiles.load_dotenvloads default files in addition to a path unlessload_defaults=Falseis passed. #5628- Support key rotation with the
SECRET_KEY_FALLBACKSconfig, a list of old secret keys that can still be used for unsigning. Extensions will need to add support. #5621- Fix how setting
host_matching=Trueorsubdomain_matching=Falseinteracts withSERVER_NAME. SettingSERVER_NAMEno longer restricts requests to only that domain. #5553Request.trusted_hostsis checked during routing, and can be set through theTRUSTED_HOSTSconfig. #56363.0.3
... (truncated)
Changelog
Sourced from flask's changelog.
Version 3.1.3
Released 2026-02-18
- The session is marked as accessed for operations that only access the keys but not the values, such as
inandlen. :ghsa:68rp-wp8r-4726Version 3.1.2
Released 2025-08-19
stream_with_contextdoes not fail inside async views. :issue:5774- When using
follow_redirectsin the test client, the final state ofsessionis correct. :issue:5786- Relax type hint for passing bytes IO to
send_file. :issue:5776Version 3.1.1
Released 2025-05-13
- Fix signing key selection order when key rotation is enabled via
SECRET_KEY_FALLBACKS. :ghsa:4grg-w6v8-c28g- Fix type hint for
cli_runner.invoke. :issue:5645flask --helploads the app and plugins first to make sure all commands are shown. :issue:5673- Mark sans-io base class as being able to handle views that return
AsyncIterable. This is not accurate for Flask, but makes typing easier for Quart. :pr:5659Version 3.1.0
Released 2024-11-13
- Drop support for Python 3.8. :pr:
5623- Update minimum dependency versions to latest feature releases. Werkzeug >= 3.1, ItsDangerous >= 2.2, Blinker >= 1.9. :pr:
5624,5633- Provide a configuration option to control automatic option responses. :pr:
5496Flask.open_resource/open_instance_resourceandBlueprint.open_resourcetake anencodingparameter to use when opening in text mode. It defaults toutf-8. :issue:5504Request.max_content_lengthcan be customized per-request instead of only through theMAX_CONTENT_LENGTHconfig. Added
... (truncated)
Commits
22d9247release version 3.1.3089cb86Merge commit from forkc17f379request context tracks session access27be933start version 3.1.34e652d3Abort if the instance folder cannot be created (#5903)3d03098Abort if the instance folder cannot be created407eb76document using gevent for async (#5900)ac5664ddocument using gevent for async4f79d5bIncrease required flit_core version to 3.11 (Package Dependencies
Security Advisories
Flask uses fallback key instead of current signing key
Requests vulnerable to .netrc credentials leak via malicious URLs
Werkzeug safe_join() allows Windows special device names
nbconvert has an uncontrolled search path that leads to unauthorized code execution on Windows
Werkzeug safe_join() allows Windows special device names with compound extensions
Flask session does not add `Vary: Cookie` header when accessed in some ways
Werkzeug safe_join() allows Windows special device names
Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function
Technical Details
| ID: | 15125127 |
| UUID: | 4144077079 |
| Node ID: | PR_kwDOOK9uiM7Nuhf9 |
| Host: | GitHub |
| Repository: | Reality2byte/python-docs-samples |