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

3.x (unreleased)
----------------

* Allow explicitly setting `null` (aka `none`) as the value of a variable;
  don't ignore that value and look on up the frame stack or context. Fixes
  [#478](https://github.com/mozilla/nunjucks/issues/478). Thanks <NAME>
  Meyer for the report.

* Execute blocks in a child frame that can't write to its parent. This means
  that vars set inside blocks will not leak outside of the block, base
  templates can no longer see vars set in templates that inherit them, and
  `super()` can no longer set vars in its calling scope. Fixes the inheritance
  portion of [#561](https://github.com/mozilla/nunjucks/issues/561), which
  fully closes that issue. Thanks legutierr for the report.

* Prevent macros from seeing or affecting their calling scope. Merge of
  [#667](https://github.com/mozilla/nunjucks/pull/667).

* Prevent filter.escape from escaping SafeString. Thanks atian25. Merge of
  [#623](https://github.com/mozilla/nunjucks/pull/623).


2.x (unreleased)
----------------

* Allow block-set to wrap an inheritance block. Unreported; fixed as a side
  effect of the fix for [#576](https://github.com/mozilla/nunjucks/issues/576).

* Fix `filter` tag with non-trivial contents. Thanks <NAME> and <NAME> for report and investigation, <NAME> for failing tests. Fixes
  [#576](https://github.com/mozilla/nunjucks/issues/576).


2.4.0 (Mar 10 2016)
-------------------
<commit_msg>Update changelog.<commit_after>Changelog
=========

3.x (unreleased)
----------------

* Allow explicitly setting `null` (aka `none`) as the value of a variable;
  don't ignore that value and look on up the frame stack or context. Fixes
  [#478](https://github.com/mozilla/nunjucks/issues/478). Thanks <NAME> for the report.

* Execute blocks in a child frame that can't write to its parent. This means
  that vars set inside blocks will not leak outside of the block, base
  templates can no longer see vars set in templates that inherit them, and
  `super()` can no longer set vars in its calling scope. Fixes the inheritance
  portion of [#561](https://github.com/mozilla/nunjucks/issues/561), which
  fully closes that issue. Thanks legutierr for the report.

* Prevent macros from seeing or affecting their calling scope. Merge of
  [#667](https://github.com/mozilla/nunjucks/pull/667).

* Prevent filter.escape from escaping SafeString. Thanks atian25. Merge of
  [#623](https://github.com/mozilla/nunjucks/pull/623).


2.x (unreleased)
----------------

* Officially recommend the `.njk` extension. Thanks <NAME>. Merge of
  [#691](https://github.com/mozilla/nunjucks/pull/691).

* Allow block-set to wrap an inheritance block. Unreported; fixed as a side
  effect of the fix for [#576](https://github.com/mozilla/nunjucks/issues/576).

* Fix `filter` tag with non-trivial contents. Thanks <NAME> and Fabien
  Franzen for report and investigation, <NAME> for failing tests. Fixes
  [#576](https://github.com/mozilla/nunjucks/issues/576).


2.4.0 (Mar 10 2016)
-------------------

{'fraction_non_alphanumeric': 0.14168310322156477, 'fraction_numerical': 0.03418803418803419, 'mean_word_length': 3.42296511627907, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 13, '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': '1588105', 'n_tokens_mistral': 1013, 'n_tokens_neox': 898, 'n_words': 347}