Changelog¶
1.3 (2016-02-06)¶
Features:
Replaced loader.load_template with loader.TemplateLoader
All templates that need to load templates [extends, include, etc] MUST now have a loader passed to their Parser.
Fixes:
- Don’t resolve builtins via the context
1.2 (2015-05-16)¶
Syntax Changes
- Make
extends
andload
require string argument.
Optimisations
- Inline _iterable into __call__
- Changed escape_html and escape_js to lambdas
Fixes:
- Count line numbers from 1
- Set line numbers on all nodes returned from parse_node
1.1 (2015-04-28)¶
Features:
- Added _iterator() method
- Added {% super %} tag
- Added
static
,now
andurl
helpers to compat.django - Fixed Django engine wrapper, and renamed to dj
loader.load_template
now calls os.path.abspath on dirs
Fixes:
- Moved more code generation into Parser from kompiler.
- Removed debug flag
- Don’t look up ‘self’ through context
- Fixed non-trivial for source values
1.0 (2015-04-20)¶
Initial release.