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

master (unreleased)
-------------------

* Support using `in` operator to search in both arrays and objects,
  and it will throw an error for other data types.
  Fix [#659](https://github.com/mozilla/nunjucks/pull/659).
  Thanks <NAME> for report and test, Ouyang Yadong for fix.
  Merge of [#661](https://github.com/mozilla/nunjucks/pull/661).

* Add support for `{% set %}` block assignments as in jinja2. Thanks Daniele
  Rapagnani. Merge of [#656](https://github.com/mozilla/nunjucks/pull/656)

* Fix `{% set %}` scoping within macros.
  Fixes [#577](https://github.com/mozilla/nunjucks/issues/577) and
  the macro portion of [#561](https://github.com/mozilla/nunjucks/issues/561).
  Thanks Ouyang Yadong. Merge of [#653](https://github.com/mozilla/nunjucks/pull/653).

* Add support for named `endblock` (e.g. `{% endblock foo %}`). Thanks
  ricordisamoa. Merge of [#641](https://github.com/mozilla/nunjucks/pull/641).

* Fix `range` global with zero as stop-value. Thanks Thomas Hunkapiller. Merge
  of [#638](https://github.com/mozilla/nunjucks/pull/638).

* Fix a bug in urlize that collapsed whitespace. Thanks <NAME>. Merge of
  [#637](https://github.com/mozilla/nunjucks/pull/637).

* Add `sum` filter. Thanks <NAME>. Merge of
  [#629](https://github.com/mozilla/nunjucks/pull/629).

* Don't suppress errors inside {% if %} tags. Thanks <NAME> for
  report and test, Ouyang Yadong for fix. Merge of
  [#634](https://github.com/mozilla/nunjucks/pull/634).
<commit_msg>Update changelog for opts.dev fix.<commit_after>Changelog
=========

master (unreleased)
-------------------

* Fix handling of `dev` environment option, to get full tracebacks on errors
  (including nunjucks internals). Thanks <NAME> for the report.

* Support using `in` operator to search in both arrays and objects,
  and it will throw an error for other data types.
  Fix [#659](https://github.com/mozilla/nunjucks/pull/659).
  Thanks <NAME> for report and test, Ouy<NAME> for fix.
  Merge of [#661](https://github.com/mozilla/nunjucks/pull/661).

* Add support for `{% set %}` block assignments as in jinja2. Thanks Daniele
  Rapagnani. Merge of [#656](https://github.com/mozilla/nunjucks/pull/656)

* Fix `{% set %}` scoping within macros.
  Fixes [#577](https://github.com/mozilla/nunjucks/issues/577) and
  the macro portion of [#561](https://github.com/mozilla/nunjucks/issues/561).
  Thanks Ouyang Yadong. Merge of [#653](https://github.com/mozilla/nunjucks/pull/653).

* Add support for named `endblock` (e.g. `{% endblock foo %}`). Thanks
  ricordisamoa. Merge of [#641](https://github.com/mozilla/nunjucks/pull/641).

* Fix `range` global with zero as stop-value. Thanks <NAME>. Merge
  of [#638](https://github.com/mozilla/nunjucks/pull/638).

* Fix a bug in urlize that collapsed whitespace. Thanks <NAME>. Merge of
  [#637](https://github.com/mozilla/nunjucks/pull/637).

* Add `sum` filter. Thanks <NAME>. Merge of
  [#629](https://github.com/mozilla/nunjucks/pull/629).

* Don't suppress errors inside {% if %} tags. Thanks <NAME> for
  report and test, Ouyang Yadong for fix. Merge of
  [#634](https://github.com/mozilla/nunjucks/pull/634).

{'fraction_non_alphanumeric': 0.1662992125984252, 'fraction_numerical': 0.04220472440944882, 'mean_word_length': 3.7616191904047978, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 22, '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': '4170886', 'n_tokens_mistral': 1218, 'n_tokens_neox': 1075, 'n_words': 300}