<commit_before>Jinja Changelog
===============


Version 2.10.1
--------------

Released 2019-04-06

-   ``SandboxedEnvironment`` securely handles ``str.format_map`` in
    order to prevent code execution through untrusted format strings.
    The sandbox already handled ``str.format``.


Version 2.10
------------

released on November 8th 2017

- Added a new extension node called ``OverlayScope`` which can be used to
  create an unoptimized scope that will look up all variables from a
  derived context.
- Added an ``in`` test that works like the in operator.  This can be used
  in combination with ``reject`` and ``select``.
- Added ``previtem`` and ``nextitem`` to loop contexts, providing access to the
  previous/next item in the loop. If such an item does not exist, the value is
  undefined.
- Added ``changed(*values)`` to loop contexts, providing an easy way of
  checking whether a value has changed since the last iteration (or rather
  since the last call of the method)
- Added a ``namespace`` function that creates a special object which allows<commit_msg>Add python 3.7 deprecation warning fix to changelog<commit_after>Jinja Changelog
===============


Version 2.10.2
--------------

_Unreleased_

-  Fix Python 3.7 deprecation warnings.

Version 2.10.1
--------------

Released 2019-04-06

-   ``SandboxedEnvironment`` securely handles ``str.format_map`` in
    order to prevent code execution through untrusted format strings.
    The sandbox already handled ``str.format``.


Version 2.10
------------

released on November 8th 2017

- Added a new extension node called ``OverlayScope`` which can be used to
  create an unoptimized scope that will look up all variables from a
  derived context.
- Added an ``in`` test that works like the in operator.  This can be used
  in combination with ``reject`` and ``select``.
- Added ``previtem`` and ``nextitem`` to loop contexts, providing access to the
  previous/next item in the loop. If such an item does not exist, the value is
  undefined.
- Added ``changed(*values)`` to loop contexts, providing an easy way of
  checking whether a value has changed since the last iteration (or rather
  since the last call of the method)
- Added a ``namespace`` function that creates a special object which allows
{'fraction_non_alphanumeric': 0.11169744942832015, 'fraction_numerical': 0.021108179419525065, 'mean_word_length': 3.4783464566929134, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7335804', 'n_tokens_mistral': 651, 'n_tokens_neox': 587, 'n_words': 304}