Path to this page:
Subject: CVS commit: pkgsrc/www/py-werkzeug
From: Adam Ciarcinski
Date: 2022-08-05 13:44:30
Message id: 20220805114430.C2D2FFB1A@cvs.NetBSD.org
Log Message:
py-werkzeug: updated to 2.2.1
Version 2.2.1
-------------
- Fix router so that ``/path/`` will match a rule ``/path`` if strict
slashes mode is disabled for the rule.
- Fix router so that partial part matches are not allowed
i.e. ``/2df`` does not match ``/<int>``.
- Fix router static part weighting, so that simpler routes are matched
before more complex ones.
- Restore ``ValidationError`` to be importable from
``werkzeug.routing``.
Version 2.2.0
-------------
- Deprecated ``get_script_name``, ``get_query_string``,
``peek_path_info``, ``pop_path_info``, and
``extract_path_info``.
- Remove previously deprecated code.
- Add MarkupSafe as a dependency and use it to escape values when
rendering HTML.
- Added the ``werkzeug.debug.preserve_context`` mechanism for
restoring context-local data for a request when running code in the
debug console.
- Fix compatibility with Python 3.11 by ensuring that ``end_lineno``
and ``end_col_offset`` are present on AST nodes.
- Add a new faster matching router based on a state
machine.
- Names within options headers are always converted to lowercase. This
matches :rfc:`6266` that the case is not relevant.
- ``AnyConverter`` validates the value passed for it when building
URLs.
- The debugger shows enhanced error locations in tracebacks in Python
3.11.
- Added Sans-IO ``is_resource_modified`` and ``parse_cookie`` functions
based on WSGI versions.
- Added Sans-IO ``get_content_length`` function.
- Don't assume a mimetype for test responses.
- Type checking ``FileStorage`` accepts ``os.PathLike``.
Files: