Skip to content

Conversation

@davidism
Copy link
Member

These uses showed a deprecation warning in 2.3, and are now removed for 3.0.

  • Bytes are no longer supported where strings are expected. The charset and errors parameters to various functions are removed, as are the attributes on Request and Response.
  • Remove our copy of urllib.parse from our urls module, in favor of using the built-in module directly.
  • Authorization and WWWAuthenticate are no longer dicts, although they retain some mapping behavior. Digest properties are no longer handled specially. http.parse_authorization_header and parse_www_authenticate_header are removed.
  • Various unused parameters to http header parsing functions are removed.
  • FormDataParser parse_functions and get_parse_func are removed. Invalid content type application/x-url-encoded is not supported.
  • generate_password_hash and check_password_hash no longer support basic hash+hmac methods. Only Scrypt and PBKDF2 are supported.
  • Test client no longer uses CookieJar.
  • wsgi.make_chunk_iter and make_line_iter are removed.

@davidism davidism added this to the 3.0.0 milestone Aug 14, 2023
@davidism davidism merged commit ea77ffd into main Aug 14, 2023
@davidism davidism deleted the remove-deprecated branch August 14, 2023 18:29
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants