aboutsummaryrefslogtreecommitdiff
path: root/CHANGES.rst
AgeCommit message (Collapse)Author
2020-08-18Revert "Revert "Import external/python/jinja into master""IRIS YANG
This reverts commit 81aec74062b5c629b3408f7f3d18343ec0bbcab8. Reason for revert: It seems Jinja folder is empty. Revert the revert to add files back. Third-party review: ag/11821018 Change-Id: I4429a3b3448cdf2eb62ec388392a2a29fa3dbc21
2020-07-17Revert "Import external/python/jinja into master"IRIS YANG
This reverts commit e868444bb65b7ae2a025b1c8c7854a8c4f2f58c1. Reason for revert: Since build will failed. We might need to wait b/160731429 fixed and submit it again. Change-Id: I56449de779d11c13cdfe1243b9a9726f94e55b33
2020-06-22ignore trim_blocks using '+%}'Amy
2020-06-22imported templates can see the current globalsAmy
_get_default_module takes an optional context to indicate that the template is imported. If there are differences between the environment and rendered template globals, a new module is used for the imported template.
2020-04-13Merge branch '2.11.x'David Lord
2020-04-13fix changelog headerDavid Lord
2020-04-13release version 2.11.2David Lord
2020-04-13native only evals at end of renderDavid Lord
Co-authored-by: Martin Krizek <mkrizek@redhat.com>
2020-04-13Add tests for lstrip whitespace behavior fixPeter Dolak
Also did peformance tests for the previous fix and saw no measurable impact.
2020-03-30add changelog and cleanup for pep 451 supportDavid Lord
2020-03-30Merge branch '2.11.x'David Lord
2020-03-30namespace object works in async templatesBart Feenstra
2020-03-30Fix tokens line number calculation when whitespace stripping is usedAndrey Lisin
2020-03-30Merge branch '2.11.x'David Lord
2020-03-30changelog for reverting PackageLoader changesDavid Lord
2020-03-27AttributeError in undefined message doesn't cause RuntimeErrorDavid Lord
2020-02-28better PyObject_HEAD size calculationDavid Lord
fixes infinite loop on Python 3.6 32-bit
2020-02-27Merge branch '2.11.x'David Lord
2020-02-27use soft_str in do_wordcount, to trigger undefinedMatt Martz
2020-02-05fix formattingDavid Lord
2020-02-05fix formattingDavid Lord
2020-02-05remove deprecated codeDavid Lord
2020-02-05Merge branch '2.11.x'David Lord
2020-02-04add changelog and testDavid Lord
2020-01-30Merge branch '2.11.x'David Lord
2020-01-30add changelogDavid Lord
2020-01-27start version 3.0.0David Lord
2020-01-27release version 2.11.0David Lord
2020-01-26add python 3.8 classifier, clean up changelogDavid Lord
2020-01-26Revert "rename imports to jinja"David Lord
This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef.
2020-01-10rename imports to jinjaDavid Lord
2020-01-08TemplateSyntaxError can be pickledAndrew Rabert
2019-12-05handle Undefined in get/select_templateDavid Lord
2019-12-05PackageLoader understands namespace packagesDavid Lord
2019-12-03TemplateSyntaxError from included template has sourceDavid Lord
2019-12-03apply optimizer to all Expr nodesDavid Lord
2019-12-02add a node for derived context referencesDaniel Watkins
This allows extensions to access locals in the scope from which they were called.
2019-12-02rewrite traceback rewriting supportDavid Lord
Simplify the `jinja.debug` code. On Python >= 3.7, `tb_next` is directly assignable. On PyPy, use transparent proxies only if support is enabled. For cpython < 3.7, use ctypes to set `tb_next`. Rewrite the ctypes code to use `py_object` and `pythonapi.Py_IncRef`, which seems to avoid crashing on debug builds. On Python 3, a rewritten `TemplateSyntaxError` would retain the frames from the compiler functions for some reason. Clear these so the template source is the last thing in the traceback.
2019-11-20add test and changelog for constant comparison foldingDavid Lord
2019-11-20use 'callable' instead of typechecking to inject contextAdriano Scoditti
2019-11-07async templates await attribute accessDavid Lord
2019-11-01add break_on_hyphens parameter to wordwrap filterAlessandro -oggei- Ogier
2019-11-01reformat, doc, and test for wordwrapDavid Lord
2019-10-28compile writes utf8David Lord
2019-10-28creating a NativeTemplate creates a NativeEnvironmentDavid Lord
2019-10-24don't create a third queueDavid Lord
2019-10-24LRUCache.copy initializes queue methodsRyan Siemens
2019-10-23use "Jinja" instead of "Jinja2"David Lord
2019-10-22preserve quotes between nodes in native envDavid Lord
2019-10-21use fspath instead of strDavid Lord