Werkzeug v2.2.0 Release Notes
-
๐ Released 2022-07-23
- Deprecated
get_script_name
,get_query_string
,peek_path_info
,pop_path_info
, andextract_path_info
. :pr:2461
- ๐ Remove previously deprecated code. :pr:
2461
- Add MarkupSafe as a dependency and use it to escape values when
rendering HTML. :issue:
2419
- Added the
werkzeug.debug.preserve_context
mechanism for restoring context-local data for a request when running code in the debug console. :pr:2439
- Fix compatibility with Python 3.11 by ensuring that
end_lineno
andend_col_offset
are present on AST nodes. :issue:2425
- Add a new faster matching router based on a state
machine. :pr:
2433
- Fix branch leaf path masking branch paths when strict-slashes is
disabled. :issue:
1074
- Names within options headers are always converted to lowercase. This
matches :rfc:
6266
that the case is not relevant. :issue:2442
- ๐
AnyConverter
validates the value passed for it when building URLs. :issue:2388
- The debugger shows enhanced error locations in tracebacks in Python
3.11. :issue:
2407
- Added Sans-IO
is_resource_modified
andparse_cookie
functions based on WSGI versions. :issue:2408
- Added Sans-IO
get_content_length
function. :pr:2415
- โ
Don't assume a mimetype for test responses. :issue:
2450
- Type checking
FileStorage
acceptsos.PathLike
. :pr:2418
- Deprecated