All Versions
44
Latest Version
Avg Release Cycle
86 days
Latest Release
1359 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v1.2.0 Changes
February 04, 2015 -
v1.1.0 Changes
September 30, 2014๐ User visible changes:
- ๐ Fix a bug in urlize that would remove periods
- custom tag syntax (like {% and %}) was made Environment-specific internally. Previously they were global even though you set them through the Environment.
- โ Remove aggressive optimization that only emitted loop variables when uses. It introduced several bugs and didn't really improve perf.
- ๐ Support the regular expression syntax like /foo/g.
- The replace filter can take a regex as the first argument
- The call tag was implemented
- for tags can now take an else clause
- The cycler object now exposes the current item as the current property
- โก๏ธ The chokidar library was updated and should fix various issues
Dev changes:
- โ Test coverage now available via istanbul. Will automatically display after running tests.
-
v1.0.7 Changes
August 15, 2014๐ Mixed up a few things in the 1.0.6 release, so another small bump. This merges in one thing:
- The length filter will not throw an error is used on an undefined variable. It will return 0 if the variable is undefined.
-
v1.0.6 Changes
August 15, 2014- โ Added the addGlobal method to the Environment object
- import/extends/include now can take an arbitrary expression
- ๐ fix bugs in set
- ๐ improve express integration (allows rendering templates without an extension)
-
v1.0.5 Changes
May 01, 2014- โ Added support for browserify
- โ Added option to specify template output path when precompiling templates
- ๐ป Keep version comment in browser minified files
- Speed up SafeString implementation
- ๐ Handle null and non-matching cases for word count filter
- โ Added support for node-webkit
- ๐ Other various minor bugfixes
-
v1.0.4 Changes
April 04, 2014- ๐ The chokidar dependency moved repos, and though the git URL should have been forwarded some people were having issues. This fixed the repo and version.
๐ (v1.0.3 is skipped because it was published with a bad URL, quickly fixed with another version bump)
-
v1.0.2 Changes
March 25, 2014- ๐ Use chokidar for watching file changes. This should fix a lot of problems on OS X machines.
- Always use / in paths when precompiling templates
- ๐ Fix bug where async filters hang indefinitely inside if statements
- Extensions now can override autoescaping with an autoescape property
- ๐ Other various minor bugfixes
-
v1.0.1 Changes
December 16, 2013(no notes)
๐ We've reached 1.0! Better APIs, asynchronous control, and more (Oct 24, 2013)
- An asynchronous API is now available, and async filters, extensions, and loaders is supported. The async API is optional and if you don't do anything async (the default), nothing changes for you. You can read more about this here. (fixes #41)
- ๐ง Much simpler higher-level API for initiating/configuring nunjucks is available. Read more here.
- ๐ An official grunt plugin is available for precompiling templates: grunt-nunjucks
- ๐ป The browser files have been renamed. nunjucks.js is now the full library with compiler, and nunjucks-slim.js is the small version that only works with precompiled templates
- urlencode filter has been added
- ๐จ The express integration has been refactored and isn't a kludge anymore. Should avoid some bugs and be more future-proof;
- The order in which variables are lookup up in the context and frame lookup has been reversed. It will now look in the frame first, and then the context. This means that if a for loop introduces a new var, like {% for name in names %}, and if you have name in the context as well, it will properly reference name from the for loop inside the loop. (fixes #122 and #119)
-
v0.1.10 Changes
August 09, 2013(no notes)
-
v0.1.9 Changes
May 30, 2013(no notes)