diff CHANGES.txt @ 353:a7491f835cb0

Changelog and minimal docu for `None` and `Empty` filters
author Franz Glasner <f.glasner@feldmann-mg.com>
date Thu, 24 Jun 2021 19:39:20 +0200
parents d7daec119383
children bd28fb4565e1
line wrap: on
line diff
--- a/CHANGES.txt	Thu Jun 24 19:26:53 2021 +0200
+++ b/CHANGES.txt	Thu Jun 24 19:39:20 2021 +0200
@@ -18,6 +18,12 @@
 - **[feature]**
   New filter function :py:func:`urlquote_plus`
 
+- **[feature]**
+  New filter functions :py:func:`None` and :py:func:`Empty`. They are
+  useful in variable interpolation context where they suppress possible
+  lookup errors (aka :py:exception:`KeyError`) and instead return with
+  :py:obj:`None` or an empty string.
+
 
 0.14 (2021-05-10)
 ~~~~~~~~~~~~~~~~~