Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove previously deprecated code #2768

Merged
merged 8 commits into from Aug 14, 2023
Merged

remove previously deprecated code #2768

merged 8 commits into from Aug 14, 2023

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
11 checks passed
@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.

None yet

1 participant