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 deprecated code #1544

Merged
merged 7 commits into from
Nov 10, 2021
Merged

remove deprecated code #1544

merged 7 commits into from
Nov 10, 2021

Conversation

davidism
Copy link
Member

@davidism davidism commented Nov 10, 2021

  • WithExtension and AutoEscapeExtension are built-in.
  • contextfilter, evalcontextfilter, environmentfilter, contextfunction, evalcontextfunction, and environmentfunction have been replaced by pass_context, pass_eval_context, and pass_environment.
  • Remove old unicode_join runtime function. Very old compiled templates may need to be recompiled.
  • Context subclasses must override resolve_or_missing instead of resolve, legacy mode is removed.
  • unicode_urlencode renamed to url_quote.
  • Update Pallets-Sphinx-Themes to use new pass_context.

@davidism davidism added this to the 3.1.0 milestone Nov 10, 2021
@davidism davidism merged commit b285d0c into main Nov 10, 2021
@davidism davidism deleted the remove-deprecated-code branch November 10, 2021 19:14
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2021
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.

1 participant