All Versions
52
Latest Version
Avg Release Cycle
29 days
Latest Release
3784 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v1.0.0-rc3 Changes
September 14, 2013- ๐ Fixed Allow bools in token parser by default. gh-321
- ๐ Fixed Allow variables as object values. gh-323
- ๐ Fixed Don't partially match logic words. gh-322
- ๐ Fixed Parent tag in parent's block with no local block edge case. gh-316
-
v1.0.0-rc2 Changes
September 06, 2013- ๐ Changed Function output from
variable
blocks are no longer auto-escaped. gh-309 - ๐ Fixed Allow nested macros to work when importing. gh-310
- ๐ Fixed swig.setDefaultTZOffset. gh-311
- ๐ Changed
set
tag assigns to the local context, allowing setting withinfor
loops, etc. gh-303 - ๐ Fixed Standardize variable undefined checking. gh-301
- ๐ Fixed Remove multiple redefinition of block-level tags in compiled templates.
- ๐ Fixed Performance issue with compile if no default locals are defined.
- ๐ Changed Function output from
-
v1.0.0-rc1 Changes
August 28, 2013- โ Added
include
tag now acceptsonly
(and is preferred, if possible). gh-240 - โ Added
swig.version
and-v
to cli - ๐ Changed Deprecated
raw
filter. Usesafe
. - ๐ Changed Allow
import
andmacro
tags to be outside of blocks. gh-299 - ๐ Changed Don't escape
macro
output. gh-297 - ๐ Changed (Custom) Filters can be marked as
safe
to disable auto-escaping. gh-294 - ๐ Fixed
{% for k,v ... %}
tag syntax assigned variables backwards. - ๐ Fixed Filters being applied to empty functions throwing errors. gh-296
- ๐ Fixed
include
paths on windows. gh-295
- โ Added
-
v1.0.0-pre3 Changes
August 20, 2013 -
v1.0.0-pre2 Changes
August 18, 2013- ๐ Changed Binary: Allow --method-name to be a shortcut for --wrap-start var setting.
- ๐ Changed Make reverse filter an alias for
sort(true)
. - โ Added Allow asyncronous
compileFile
andrenderFile
operations. gh-283 - โ Added Filter:
sort
. - โ Added Allow {% end[tag] tokens... %}. gh-278
- โ Added Built source map for minified browser source.
- โ Added Contextual support for object method calls. gh-275
- โ Added
parser.on('start'|'end'...
options. gh-274 - โ Added Allow object prototypal inheritance. gh-273
- ๐ Fixed Prevent circular extends. gh-282
- ๐ Fixed Throw an error if reserved word is used as var. gh-276
- ๐ Fixed Add filename to errors if possible. gh-280
- ๐ Fixed Filters work over arrays/objects if possible. gh-259
- ๐ Fixed Allow {% parent %} to work in middle parent templates. gh-277
- ๐ Fixed Allow newlines in tags/vars/comments. gh-272
-
v1.0.0-pre1 Changes
August 14, 2013- ๐ Changed Completely rewritting parsing engine supports many more syntaxes and is much easier to extend.
- ๐ Changed There is no more
swig.init
method. - ๐ Changed Custom filters can be added using
swig.addFilter
- ๐ Changed Custom tags can be added using
swig.addTag
- ๐ Changed Writing custom tags uses an entirely new, simplified format
- ๐ Changed Removed the underscore/lodash dependency
- ๐ Changed Template parsing has been completely rewritten
- ๐ Changed
swig.compileFile
returns a function that renders templates, not an object - ๐ Changed Express-compatible using
swig.renderFile
. - ๐ Changed
extends
,import
, andinclude
now reference files with relative paths from the current file (info). - ๐ Changed
extends
may no longer accept variables (info). - ๐ Changed
else if
tag is nowelseif
orelif
. - ๐ Changed Removed
only
argument frominclude
. - ๐ Changed allow
_
,$
to start var names in templates. - ๐ Changed Documentation is auto-generated from jsdoc comments in-files.
- โ Added Ability to set custom var/tag/comment controls (
{{
,}}
, etc, can be customized). - โ Added Variable/string concatenation gh-135.
- โ Added Binary application for
compile
,run
, andrender
(Lets you pre-compile templates into JS functions for client-side delivery). - ๐ Fixed Lots.
-
v0.14.0 Changes
June 08, 2013 -
v0.13.5 Changes
January 29, 2013- ๐ Fixed date filter output for 'O' when time-zone offset is negative gh-185
-
v0.13.4 Changes
December 19, 2012 -
v0.13.3 Changes
December 07, 2012