Bump werkzeug from 3.0.6 to 3.1.3
Bumps werkzeug from 3.0.6 to 3.1.3.
Release notes
Sourced from werkzeug's releases.
3.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 Milestone: https://github.com/pallets/werkzeug/milestone/40?closed=1
- Improve type annotation for
TypeConversionDict.getto allow thetypeparameter to be a callable. #2988Headersdoes not inherit fromMutableMapping, as it is does not exactly match that interface. #29893.1.1
This is the Werkzeug 3.1.1 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.1/ Changes: https://werkzeug.palletsprojects.com/en/stable/changes/#version-3-1-1 Milestone: https://github.com/pallets/werkzeug/milestone/38?closed=1
- Fix an issue that caused
str(Request.headers)to always appear empty. #29853.1.0
This is the Werkzeug 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/Werkzeug/3.1.0/ Changes: https://werkzeug.palletsprojects.com/en/stable/changes/#version-3-1-0 Milestone: https://github.com/pallets/werkzeug/milestone/34?closed=1
- Drop support for Python 3.8. #2966
- Remove previously deprecated code. #2967
Request.max_form_memory_sizedefaults to 500kB instead of unlimited. Non-file form fields over this size will cause aRequestEntityTooLargeerror. #2964OrderedMultiDictandImmutableOrderedMultiDictare deprecated. UseMultiDictandImmutableMultiDictinstead. #2968- Behavior of properties on
request.cache_controlandresponse.cache_controlhas been significantly adjusted.
- Dict values are always
str | None. Setting properties will convert the value to a string. Setting a property toFalseis equivalent to setting it toNone. Getting typed properties will returnNoneif conversion raisesValueError, rather than the string. #2980max_ageisNoneif present without a value, rather than-1. #2980no_cacheis a boolean for requests, it isTrueinstead of"*"when present. It remains a string for responses. #2980max_staleisTrueif present without a value, rather than"*". #2980no_transformis a boolean. Previously it was mistakenly alwaysNone. #2881min_freshisNoneif present without a value, rather than"*". #2881privateisTrueif present without a value, rather than"*". #2980- Added the
must_understandproperty. #2881- Added the
stale_while_revalidate, andstale_if_errorproperties. #2948
... (truncated)
Changelog
Sourced from werkzeug's changelog.
Version 3.1.3
Released 2024-11-08
- 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. :issue: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. :issue:2993Version 3.1.2
Released 2024-11-04
- Improve type annotation for
TypeConversionDict.getto allow thetypeparameter to be a callable. :issue:2988Headersdoes not inherit fromMutableMapping, as it is does not exactly match that interface. :issue:2989Version 3.1.1
Released 2024-11-01
- Fix an issue that caused
str(Request.headers)to always appear empty. :issue:2985Version 3.1.0
Released 2024-10-31
Drop support for Python 3.8. :pr:
2966Remove previously deprecated code. :pr:
2967
Request.max_form_memory_sizedefaults to 500kB instead of unlimited. Non-file form fields over this size will cause aRequestEntityTooLargeerror. :issue:2964
OrderedMultiDictandImmutableOrderedMultiDictare deprecated. UseMultiDictandImmutableMultiDictinstead. :issue:2968Behavior of properties on
request.cache_controlandresponse.cache_controlhas been significantly adjusted.
- Dict values are always
str | None. Setting properties will convert
... (truncated)
Commits
6389612release version 3.1.3ba15683wrap IPv6 SERVER_NAME in [] (#2997)d99f72dwrap IPv6 SERVER_NAME in []ea93b54restrict containers accepted by multi (#2995)598bb1drestrict containers accepted by multi1a1728estart version 3.1.34fd7073release version 3.1.2 (#2992)4764684release version 3.1.21803db6Headers is not MutableMapping (#2991)ac87bf8Headers is not MutableMapping- 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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)