diff --git a/src/werkzeug/exceptions.py b/src/werkzeug/exceptions.py index ddb621032..1cd999773 100644 --- a/src/werkzeug/exceptions.py +++ b/src/werkzeug/exceptions.py @@ -576,6 +576,8 @@ class MisdirectedRequest(HTTPException): Indicates that the request was directed to a server that is not able to produce a response. + + .. versionadded:: 3.1 """ code = 421 diff --git a/src/werkzeug/sansio/response.py b/src/werkzeug/sansio/response.py index 1c32b51de..9fed08625 100644 --- a/src/werkzeug/sansio/response.py +++ b/src/werkzeug/sansio/response.py @@ -223,6 +223,9 @@ def set_cookie( :param samesite: Limit the scope of the cookie to only be attached to requests that are "same-site". :param partitioned: If ``True``, the cookie will be partitioned. + + .. versionchanged:: 3.1 + The ``partitioned`` parameter was added. """ self.headers.add( "Set-Cookie", diff --git a/src/werkzeug/security.py b/src/werkzeug/security.py index a18381779..3f49ad1b4 100644 --- a/src/werkzeug/security.py +++ b/src/werkzeug/security.py @@ -92,6 +92,9 @@ def generate_password_hash( :param method: The key derivation function and parameters. :param salt_length: The number of characters to generate for the salt. + .. versionchanged:: 3.1 + The default iterations for pbkdf2 was increased to 1,000,000. + .. versionchanged:: 2.3 Scrypt support was added.