1 | [0.11.2](https://github.com/paularmstrong/swig/tree/v0.11.2) / 2012-04-10
|
2 | -------------------------------------------------------------------------
|
3 |
|
4 | * **Fixed** Update support for underscore@1.3.3 [gh-70] [gh-71]
|
5 |
|
6 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.11.2/docs)
|
7 |
|
8 | [0.11.1](https://github.com/paularmstrong/swig/tree/v0.11.1) / 2012-04-01
|
9 | -------------------------------------------------------------------------
|
10 |
|
11 | * **Fixed** Duplicate (string) tokens were being removed when extending a base template. [gh-67]
|
12 |
|
13 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.11.1/docs)
|
14 |
|
15 | [0.11.0](https://github.com/paularmstrong/swig/tree/v0.11.0) / 2012-02-27
|
16 | -------------------------------------------------------------------------
|
17 |
|
18 | * **Added** Support for Windows style paths [gh-57]
|
19 | * **Added** `ignore missing` tokens to include tag
|
20 | * **Changed** include tag `with context` to only work if `context` is an object
|
21 | * **Changed** `autoescape` tag controls no longer 'yes' or 'no'. Use `true` and `false`
|
22 | * **Changed** parser is now passed into tags as an argument
|
23 | * **Changed** don't require passing context object when rendering template
|
24 | * **Fixed** dateformats `N` and `w` [gh-59]
|
25 | * **Fixed** number changing to string after add filter or set from variable [gh-53] [gh-58]
|
26 | * **Fixed** speed decrease caused by loop.cycle fixed
|
27 | * **Fixed** Ensure set tag bubbles through extends and blocks
|
28 |
|
29 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.11.0/docs)
|
30 |
|
31 | [0.10.0](https://github.com/paularmstrong/swig/tree/v0.10.0) / 2012-02-13
|
32 | -------------------------------------------------------------------------
|
33 |
|
34 | * **Added** loop.index0, loop.revindex, loop.revindex0, and loop.cycle [gh-48]
|
35 | * **Added** init config `extensions` for 3rd party extension access in custom tags [gh-44]
|
36 | * **Added** Whitespace Control [gh-46]
|
37 | * **Changed** The `empty` tag in `for` loops is now `else` [gh-49]
|
38 | * **Changed** `forloop` vars to `loop` closes [gh-47]
|
39 | * **Fixed** `include` tag's `with` and `only` args documentation [gh-50]
|
40 |
|
41 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.10.0/docs)
|
42 |
|
43 | [0.9.4](https://github.com/paularmstrong/swig/tree/v0.9.4) / 2012-02-07
|
44 | -----------------------------------------------------------------------
|
45 |
|
46 | * **Fixed** `parent` tag would not render when called within tags [gh-41]
|
47 | * **Fixed** Documentation for forloop.index & forloop.key [gh-42]
|
48 | * **Fixed** Errors when using `include` inside base template `block` tags [gh-43]
|
49 | * **Fixed** Allow `set` tag to set values to numbers [gh-45]
|
50 | * **Fixed** `set` tag for booleans using too many checks
|
51 |
|
52 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.9.4/docs)
|
53 |
|
54 | [0.9.3](https://github.com/paularmstrong/swig/tree/v0.9.3) / 2012-01-28
|
55 | -----------------------------------------------------------------------
|
56 |
|
57 | * **Fixed** Allow object and array values to be accessed via context variables [gh-40]
|
58 |
|
59 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.9.3/docs)
|
60 |
|
61 | [0.9.2](https://github.com/paularmstrong/swig/tree/v0.9.2) / 2012-01-23
|
62 | -----------------------------------------------------------------------
|
63 |
|
64 | * **Fixed** Correctly reset autoescape after closing an autoescape tag. [gh-39]
|
65 |
|
66 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.9.2/docs)
|
67 |
|
68 | [0.9.1](https://github.com/paularmstrong/swig/tree/v0.9.1) / 2012-01-18
|
69 | -----------------------------------------------------------------------
|
70 |
|
71 | * **Fixed** Allow multi-line tags and comments. [gh-30]
|
72 |
|
73 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.9.1/docs)
|
74 |
|
75 | [0.9.0](https://github.com/paularmstrong/swig/tree/v0.9.0) / 2011-12-30
|
76 | -----------------------------------------------------------------------
|
77 |
|
78 | * **Added** DateZ license to browser header, use link to underscore license.
|
79 | * **Added** Timezone support in `date` filter [gh-27].
|
80 | * **Added** New `raw` tag.
|
81 | * **Changed** Swig is no longer node 0.4 compatible.
|
82 | * **Fixed** Filter `date('f')` for 10am times.
|
83 | * **Fixed** Filter `date('r')` returns in UTC date format. This is more correct tospec RFC2822, per [php.net/date](http://php.net/date).
|
84 | * **Fixed** Filter `add` when adding numbers/numbers+strings together.
|
85 | * **Fixed** Tests for error messages that changed in node >0.6.0.
|
86 |
|
87 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.9.0/docs)
|
88 |
|
89 | [0.8.0](https://github.com/paularmstrong/swig/tree/v0.8.0) / 2011-11-04
|
90 | -----------------------------------------------------------------------
|
91 |
|
92 | * **Added** date filter formats `z`, `W`, `t`, `L`, `o`, `B`, and `c`.
|
93 | * **Added** New `filter` tag.
|
94 | * **Added** Node.js compatible 0.4.1 - 0.6.X
|
95 | * **Added** Allow setting cache globally or per-template.
|
96 | * **Changed** Removed `swig.render` and `swig.fromString`.
|
97 | * **Changed** `swig.fromFile` is now `swig.compileFile`.
|
98 | * **Changed** `swig.init()` will clear template cache.
|
99 | * **Changed** `swig.init()` is now optional for browser mode with no custom settings.
|
100 | * **Changed** Development dependencies are be more lenient.
|
101 | * **Fixed** Parser will properly preserver '\' escaping. [gh-24]
|
102 | * **Fixed** Rewrote tag argument parsing for proper space handling.
|
103 | * **Fixed** Rewrote filter argument parsing. [gh-23]
|
104 | * **Fixed** Allow pipe `|` characters in filter arguments. [gh-22]
|
105 |
|
106 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.8.0/docs)
|
107 |
|
108 | [0.7.0](https://github.com/paularmstrong/swig/tree/v0.7.0) / 2011-10-05
|
109 | -----------------------------------------------------------------------
|
110 |
|
111 | * **Added** `make browser` will build Swig for use in major browsers. [gh-3]
|
112 | * **Changed** Allow overriding `escape` filters. [gh-19]
|
113 |
|
114 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.7.0/docs)
|
115 |
|
116 | [0.6.1](https://github.com/paularmstrong/swig/tree/v0.6.1) / 2011-10-02
|
117 | -----------------------------------------------------------------------
|
118 |
|
119 | * **Fixed** chaining filters when the first takes a variable as an argument will not crash parsing.
|
120 |
|
121 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.6.1/docs)
|
122 |
|
123 | [0.6.0](https://github.com/paularmstrong/swig/tree/v0.6.0) / 2011-10-02
|
124 | -----------------------------------------------------------------------
|
125 |
|
126 | * **Added** `{% import foo as bar %}` tag for importing macros.
|
127 | * **Added** Allow escaping for js in escape filter and autoescape tag.
|
128 | * **Added** `raw` filter to force variable to not be escaped.
|
129 | * **Added** `escape` and `e` filters to force variable to be escaped.
|
130 | * **Added** Allow filters to accept any JS objects, arrays, strings, and context variables.
|
131 | * **Changed** `if`, `else`, and `else if` tags support all JS-valid if-syntaxes + extra operators.
|
132 | * **Fixed** `default` filter for undefined variables. closes gh-18
|
133 |
|
134 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.6.0/docs)
|
135 |
|
136 | [0.5.0](https://github.com/paularmstrong/swig/tree/v0.5.0) / 2011-09-27
|
137 | -----------------------------------------------------------------------
|
138 |
|
139 | * **Added** More error messaging in some edge cases.
|
140 | * **Added** Better error messaging including context and line numbers.
|
141 | * **Changed** Improved compile and render speeds.
|
142 | * **Changed** `include` tags accept context variables instead of just strings.
|
143 | * **Changed** Templates can be compiled and rendered from an absolute path outside of the template root.
|
144 | * **Fixed** Will not double escape output.
|
145 |
|
146 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.5.0/docs)
|
147 |
|
148 | [0.4.0](https://github.com/paularmstrong/swig/tree/v0.4.0) / 2011-09-24
|
149 | -----------------------------------------------------------------------
|
150 |
|
151 | * **Added** Macro support [docs](docs/tags.md)
|
152 | * **Changed** Removed requirement to manually specify `locals` for express support.
|
153 | * **Changed** Increased cache lookup speed by removing crypto dependency.
|
154 | * **Fixed** `length` filter returns length of objects (number of keys).
|
155 | * **Fixed** Filters return empty string unless they can apply to the given object.
|
156 | * **Fixed** Filters will attempt to apply to all values in an object or array.
|
157 |
|
158 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.4.0/docs)
|
159 |
|
160 | [0.3.0](https://github.com/paularmstrong/swig/tree/v0.3.0) / 2011-09-17
|
161 | -----------------------------------------------------------------------
|
162 |
|
163 | * **Added** Support for `{% set ... %}` tag.
|
164 |
|
165 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.3.0/docs)
|
166 |
|
167 | [0.2.3](https://github.com/paularmstrong/swig/tree/v0.2.3) / 2011-09-16
|
168 | -----------------------------------------------------------------------
|
169 |
|
170 | * **Fixed** Critical fix for negations in `if` blocks.
|
171 | * **Added** Support for `forloop.first` in `for` blocks.
|
172 | * **Added** Support for `forloop.last` in `for` blocks.
|
173 | * **Added** Support for `forloop.key` in `for` blocks.
|
174 | * **Added** Support for `{% empty %}` in `for` blocks.
|
175 |
|
176 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.2.3/docs)
|
177 |
|
178 | [0.2.2](https://github.com/paularmstrong/swig/tree/v0.2.2) / 2011-09-16
|
179 | -----------------------------------------------------------------------
|
180 |
|
181 | * **Added** Support for `else if ...` within `if` blocks.
|
182 |
|
183 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.2.2/docs)
|
184 |
|
185 | [0.2.1](https://github.com/paularmstrong/swig/tree/v0.2.1) / 2011-09-13
|
186 | -----------------------------------------------------------------------
|
187 |
|
188 | * **Added** Support for `else` within `if` blocks.
|
189 |
|
190 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.2.1/docs)
|
191 |
|
192 | [0.2.0](https://github.com/paularmstrong/swig/tree/v0.2.0) / 2011-09-11
|
193 | -----------------------------------------------------------------------
|
194 |
|
195 | * **Fixed** `if` statements allow filters applied to operands.
|
196 | * **Fixed** `for` loops allow filters applied to the object that will be iterated over.
|
197 |
|
198 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.2.0/docs)
|
199 |
|
200 | [0.1.9](https://github.com/paularmstrong/swig/tree/v0.1.9) / 2011-09-11
|
201 | -----------------------------------------------------------------------
|
202 |
|
203 | * **Added** `allowErrors` flag will allow errors to be thrown and bubbled up. Default to catch errors.
|
204 | * **Changed** Internal speed improvements.
|
205 |
|
206 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.1.9/docs)
|
207 |
|
208 | [0.1.8](https://github.com/paularmstrong/swig/tree/v0.1.8) / 2011-09-10
|
209 | -----------------------------------------------------------------------
|
210 |
|
211 | * **Added** `add`, `addslashes`, and `replace` filters.
|
212 | * **Changed** All tags that 'end' must use named ends like `endblock`, `endif`, `endfor`, etc...
|
213 |
|
214 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.1.8/docs)
|
215 |
|
216 | [0.1.7](https://github.com/paularmstrong/swig/tree/v0.1.7) / 2011-09-05
|
217 | -----------------------------------------------------------------------
|
218 |
|
219 | * **Added** this History document
|
220 | * **Fixed** date filter to zero-pad correctly during september when using 'm' format
|
221 |
|
222 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.1.7/docs)
|
223 |
|
224 | [0.1.6](https://github.com/paularmstrong/swig/tree/v0.1.6) / 2011-09-04
|
225 | -----------------------------------------------------------------------
|
226 |
|
227 | * **Fixed** Template inheritance blocks messing up.
|
228 |
|
229 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.1.6/docs)
|
230 |
|
231 | [0.1.5](https://github.com/paularmstrong/swig/tree/v0.1.5) / 2011-09-04
|
232 | -----------------------------------------------------------------------
|
233 |
|
234 | * **Added** `first`, `last`, and `uniq` filters
|
235 | * **Added** ability to specify custom filters
|
236 | * **Added** ability to specify custom tags
|
237 | * **Changed** slots removed -- implement using custom tags if desired
|
238 | * **Fixed** ability to do either dot- or bracket-notation or mixed in variables
|
239 | * **Fixed** internal parsing helpers
|
240 |
|
241 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.1.5/docs)
|
242 |
|
243 | [0.1.3](https://github.com/paularmstrong/swig/tree/v0.1.3) / 2011-09-01
|
244 | -----------------------------------------------------------------------
|
245 |
|
246 | * **Fixed** filter parser to work correctly with single-quoted params in filters.
|
247 |
|
248 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.1.3/docs)
|
249 |
|
250 | [0.1.2](https://github.com/paularmstrong/swig/tree/v0.1.2) / 2011-09-01
|
251 | -----------------------------------------------------------------------
|
252 |
|
253 | * Initial **swig** publish after forking from [node-t](https://github.com/skid/node-t)
|
254 |
|
255 | [Documentation](https://github.com/paularmstrong/swig/tree/v0.1.2/docs)
|