| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| multiple.intoto.jsonl | 2024-10-31 | 14.9 kB | |
| werkzeug-3.1.0-py3-none-any.whl | 2024-10-31 | 224.4 kB | |
| werkzeug-3.1.0.tar.gz | 2024-10-31 | 806.4 kB | |
| 3.1.0 source code.tar.gz | 2024-10-31 | 821.5 kB | |
| 3.1.0 source code.zip | 2024-10-31 | 946.5 kB | |
| README.md | 2024-10-31 | 2.7 kB | |
| Totals: 6 Items | 2.8 MB | 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. [#2964]OrderedMultiDictandImmutableOrderedMultiDictare 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. #2980 max_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 - Type annotations more accurately reflect the values. #2881
- Dict values are always
- Support Cookie CHIPS (Partitioned Cookies). [#2797]
- Add 421
MisdirectedRequestHTTP exception. [#2850] - Increase default work factor for PBKDF2 to 1,000,000 iterations. [#2969]
- Inline annotations for
datastructures, removing stub files. [#2970] MultiDict.getlistcatchesTypeErrorin addition toValueErrorwhen doing type conversion. [#2976]- Implement
|and|=operators forMultiDict,Headers, andCallbackDict, and disallow|=on immutable types. [#2977]