Skip to content

remove deprecated code#1544

Merged
davidism merged 7 commits intomainfrom
remove-deprecated-code
Nov 10, 2021
Merged

remove deprecated code#1544
davidism merged 7 commits intomainfrom
remove-deprecated-code

Conversation

@davidism
Copy link
Copy Markdown
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