Skip to content

HTTPS clone URL

Subversion checkout URL

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