Changelog for
python2-Jinja2-2.10-88.1.noarch.rpm :
* Tue Feb 19 2019 John Vandenberg
- Activate test suite- Add minimum build dependency to match runtime dependency
* Mon Dec 10 2018 Tomáš Chvátal - Fix fdupes call
* Tue Dec 04 2018 Matej Cepl - Remove superfluous devel dependency for noarch package
* Tue Mar 06 2018 aplanasAATTsuse.com- Allows Recommends and Suggest in Fedora
* Tue Feb 27 2018 aplanasAATTsuse.com- Recommends only for SUSE
* Thu Nov 09 2017 arunAATTgmx.de- specfile:
* CHANGES -> CHANGES.rst
* added README.rst to %doc section- update to version 2.10:
* 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 attribute assignment using the \"set\" tag. This can be used to carry data across scopes, e.g. from a loop body to code that comes after the loop.
* Added a \"trimmed\" modifier to \"{% trans %}\" to strip linebreaks and surrounding whitespace. Also added a new policy to enable this for all \"trans\" blocks.
* The \"random\" filter is no longer incorrectly constant folded and will produce a new random choice each time the template is rendered. (`#478`_)
* Added a \"unique\" filter. (`#469`_)
* Added \"min\" and \"max\" filters. (`#475`_)
* Added tests for all comparison operators: \"eq\", \"ne\", \"lt\", \"le\", \"gt\", \"ge\". (`#665`_)
* \"import\" statement cannot end with a trailing comma. (`#617`_, `#618`_)
* \"indent\" filter will not indent blank lines by default. (`#685`_)
* Add \"reverse\" argument for \"dictsort\" filter. (`#692`_)
* Add a \"NativeEnvironment\" that renders templates to native Python types instead of strings. (`#708`_)
* Added filter support to the block \"set\" tag. (`#489`_)
* \"tojson\" filter marks output as safe to match documented behavior. (`#718`_)
* Resolved a bug where getting debug locals for tracebacks could modify template context.
* Fixed a bug where having many \"{% elif ... %}\" blocks resulted in a \"too many levels of indentation\" error. These blocks now compile to native \"elif ..:\" instead of \"else: if ..:\" (`#759`_)
* Tue Apr 04 2017 jmatejekAATTsuse.com- update for singlespec- update to 2.9.6
* fixed custom context behavior in fast resolve mode
* Wed Mar 22 2017 dmuellerAATTsuse.com- fix requires
* Wed Mar 15 2017 michaelAATTstroeder.com- Update to 2.9.5 (see the changes in /usr/share/doc/packages/python-Jinja2/CHANGES)- updated source URL
* Thu Nov 19 2015 aplanasAATTsuse.com- Update to 2.8 - Added `target` parameter to urlize function. - Added support for `followsymlinks` to the file system loader. - The truncate filter now counts the length. - Added equalto filter that helps with select filters. - Changed cache keys to use absolute file names if available instead of load names. - Fixed loop length calculation for some iterators. - Changed how Jinja2 enforces strings to be native strings in Python 2 to work when people break their default encoding. - Added :func:`make_logging_undefined` which returns an undefined object that logs failures into a logger. - If unmarshalling of cached data fails the template will be reloaded now. - Implemented a block ``set`` tag. - Default cache size was incrased to 400 from a low 50. - Fixed ``is number`` test to accept long integers in all Python versions. - Changed ``is number`` to accept Decimal as a number. - Added a check for default arguments followed by non-default arguments. This change makes ``{% macro m(x, y=1, z) %}...{% endmacro %}`` a syntax error. The previous behavior for this code was broken anyway (resulting in the default value being applied to `y`). - Add ability to use custom subclasses of ``jinja2.compiler.CodeGenerator`` and ``jinja2.runtime.Context`` by adding two new attributes to the environment (`code_generator_class` and `context_class`) (pull request ``#404``). - added support for context/environment/evalctx decorator functions on the finalize callback of the environment. - escape query strings for urlencode properly. Previously slashes were not escaped in that place. - Add \'base\' parameter to \'int\' filter.- Tests are removed from the package (not distributed in the tar.gz)
* Wed Jul 22 2015 jengelhAATTinai.de- Use %python_version over %py_ver: better portability to RHEL