Path to this page:
Subject: CVS commit: pkgsrc/www
From: Thomas Klausner
Date: 2024-11-01 01:35:12
Message id: 20241101003512.73106FC7E@cvs.NetBSD.org
Log Message:
py-werkzeug*: update to 3.1.0
Version 3.1.0
-------------
Released 2024-10-31
- Drop support for Python 3.8. :pr:`2966`
- Remove previously deprecated code. :pr:`2967`
- ``Request.max_form_memory_size`` defaults to 500kB instead of unlimited.
Non-file form fields over this size will cause a ``RequestEntityTooLarge``
error. :issue:`2964`
- ``OrderedMultiDict`` and ``ImmutableOrderedMultiDict`` are deprecated.
Use ``MultiDict`` and ``ImmutableMultiDict`` instead. :issue:`2968`
- Behavior of properties on ``request.cache_control`` and
``response.cache_control`` has been significantly adjusted.
- Dict values are always ``str | None``. Setting properties will convert
the value to a string. Setting a property to ``False`` is equivalent to
setting it to ``None``. Getting typed properties will return ``None`` if
conversion raises ``ValueError``, rather than the string. :issue:`2980`
- ``max_age`` is ``None`` if present without a value, rather than ``-1``.
:issue:`2980`
- ``no_cache`` is a boolean for requests, it is ``True`` instead of
``"*"`` when present. It remains a string for responses. \
:issue:`2980`
- ``max_stale`` is ``True`` if present without a value, rather
than ``"*"``. :issue:`2980`
- ``no_transform`` is a boolean. Previously it was mistakenly always
``None``. :issue:`2881`
- ``min_fresh`` is ``None`` if present without a value, rather than
``"*"``. :issue:`2881`
- ``private`` is ``True`` if present without a value, rather than \
``"*"``.
:issue:`2980`
- Added the ``must_understand`` property. :issue:`2881`
- Added the ``stale_while_revalidate``, and ``stale_if_error``
properties. :issue:`2948`
- Type annotations more accurately reflect the values. :issue:`2881`
- Support Cookie CHIPS (Partitioned Cookies). :issue:`2797`
- Add 421 ``MisdirectedRequest`` HTTP exception. :issue:`2850`
- Increase default work factor for PBKDF2 to 1,000,000 iterations.
:issue:`2969`
- Inline annotations for ``datastructures``, removing stub files.
:issue:`2970`
- ``MultiDict.getlist`` catches ``TypeError`` in addition to ``ValueError``
when doing type conversion. :issue:`2976`
- Implement ``|`` and ``|=`` operators for ``MultiDict``, ``Headers``, and
``CallbackDict``, and disallow ``|=`` on immutable types. :issue:`2977`
Version 3.0.6
-------------
Released 2024-10-25
- Fix how ``max_form_memory_size`` is applied when parsing large non-file
fields. :ghsa:`q34m-jh98-gwm2`
- ``safe_join`` catches certain paths on Windows that were not caught by
``ntpath.isabs`` on Python < 3.11. :ghsa:`f9vj-2wh5-fj8j`
Version 3.0.5
-------------
Released 2024-10-24
- The Watchdog reloader ignores file closed no write events. :issue:`2945`
- Logging works with client addresses containing an IPv6 scope :issue:`2952`
- Ignore invalid authorization parameters. :issue:`2955`
- Improve type annotation fore ``SharedDataMiddleware``. :issue:`2958`
- Compatibility with Python 3.13 when generating debugger pin and the current
UID does not have an associated name. :issue:`2957`
Files: