UNPKG

8.5 kBMarkdownView Raw
1v0.9.4
2=====
3
4* Fix else if. Fix #91
5* Allow `@{ @(exp) }` again. Fixes #89
6
7v0.9.3
8=====
9
10* Track next non whitespace or newline character. fix #82
11
12v0.9.2
13=====
14
15* Allow two-letter tlds for email addresses. #80
16
17v0.9.1
18=====
19
20* Throw errors when attempting to close known void tags. #67
21
22v0.9.0
23=====
24
25* BREAKING: enforce closing tags. #77
26
27v0.8.8
28=====
29
30* Ensure html comments are closed properly. #77
31
32v0.8.7
33=====
34
35* Handle html comments. #70
36
37v0.8.6
38=====
39
40* Handle markup nodes that lose their content. #68
41
42v0.8.5
43=====
44
45* Ensure .name is present on node ctors. #73
46
47v0.8.4
48=====
49
50* dashes within tag names are ok. fix #71
51
52v0.8.2
53=====
54
55* remove deprecation warnings. apparently razor allows that. #59, #62
56
57v0.8.1
58======
59
60* Reinstate `__express`
61* Quoted attribute values containing a `=` were causing the current attribute to prematurely be closed when parsing.
62
63v0.8.0
64======
65
66* Complete rewrite of parser and compiler (codegen)
67* Restructure files to use CJS
68* Fix numerous "unfixable" bugs
69* Runtime is now `require('vash/runtime')`
70* No longer provide minified builds (assume consumer will)
71* Simplify build system to be npm-driven
72* [`debug`](https://github.com/visionmedia/debug) module used throughout lexer/parser/codegen
73* Completely new AST format
74* Markup parsing is now more strict, and vash knows about attributes, quotes, etc
75* Much more internally.
76
77v0.7.4-19 / 05-21-2013
78======================
79
80* `@` inside of string or comments within code block is now literal
81
82v0.7.0-35 / 04-30-2013
83========================
84
85* New build system using make
86* Revamped documentation
87
88v0.6.5-2648 / 04-11-2013
89========================
90
91* More strict open html tag regex
92
93v0.6.4-2631 / 04-08-2013
94========================
95
96* Fixed error reporting on windows
97* Better errors when using layouts
98
99v0.6.3-2484 / 03-04-2013
100========================
101
102* vQuery.maxSize defaults to 100000 for large templates
103
104v0.6.2-2482 / 03-04-2013
105========================
106
107* Improved backslash escaping in content
108* Improved escaped quote handling in content
109* `Buffer#indexOf`, `Buffer#lastIndexOf` can accept a regex
110* `vash.helpers.trim`
111* `html.options` within a template are the same options passed to the compiled template (`tpl(model, opts)`)
112* Improved handling of void/non-void HTML elements containing expressions
113* `vash(1)`: `--helpers` option loads a file of compiled helpers
114* Compiled helpers can begin with a newline
115* `vash.batch` is now `vash.compileBatch`. `batch` is still a valid alias for now.
116
117v0.6.0-2085 / 01-22-2013
118========================
119
120* Commitment to proper semver
121* `Buffer#push` no longer auto-concats for the sake of speed
122* vash(1) `--render` was misnamed
123* `vash.config.simple` allows for optimization of simple templates
124* `vash.batch` is now handled at compile time
125* `vash.compileHelper` allows for compiled helpers
126* `vash.install` can also accept object of key->tpl pairs
127* History.md
128
129v0.5.15-1896 / 01-02-2013
130=========================
131
132* Perf tests removed, see vash-benchgraph
133* `vash.batch` (not documented), `vash.install`, `vash.uninstall`, `vash.lookup`
134* Tpl cache is defined in runtime, not layout helpers
135
136v0.5.14-1803 / 12-31-2012
137=========================
138
139* Internal `Buffer` now uses prototypes. ~6x faster!
140
141v0.5.13-1800 / 12-18-2012
142=========================
143
144* Better AMD guard for runtime and vash.exports. #18
145* Runtime is tested separately now. test/vows/*
146* No reason to exclude CONTRIBUTING,src,etc from npm
147
148v0.5.12-1773 / 12-17-2012
149=========================
150
151* `vash.link` must exist in the runtime, not exports. #18
152* Fix CJS guard, #18
153
154v0.5.11-1767 / 12-04-2012
155=========================
156
157* Layouts only require 'views' in settings, path.join #17
158
159v0.5.10-1739 / 12-01-2012
160=========================
161
162* Fix "race condition" for deleting blockmarks, #16
163
164v0.5.9-1729 / 11-30-2012
165========================
166
167* Layouts use `extend` instead of ES3-reserved word `extends` (#9)
168* `vash.helpers` is now a prototype of class `vash.helpers.constructor`
169* Internal `Buffer` class
170* `vash.link`
171* vash(1) `--no-autolink`
172* `vash.Mark` class and API
173* tpl( model, fn|opts ) signature
174* Tpl runtime `option.context`
175* `onRenderEnd` callback
176* Layout helpers render immediately to "spider"
177
178v0.5.6-1545 / 11-09-2012
179========================
180
181* A period does not exit expression mode from within an expression. Fixes #10.
182* Mention playground in README
183* Layout blocks only allow for one definition callback
184* Compiler does string replacement instead of concatenation
185* Operators were being mistaken for HTML tags
186* Initial layout helpers tests
187* `vQuery` is exposed as `vash.vQuery`
188
189v0.5.4-1385 / 11-04-2012
190========================
191
192* `reportError` formatting fix for line numbers < 10
193* Email addresses are allowed within HTML attributes
194* `AT` and `AT_COLON` are no longer discarded by parser
195
196v0.5.4-1294 / 09-20-2012
197========================
198
199* Use path module for x-platform. v0.5.3-1294. Addresses #6
200* `build.js` is now `tasks` and drives tests
201* Test for file extension before appending. Addresses #6
202
203v0.5.3-1272 / 09-19-2012
204========================
205
206* Proper tests for `vash.config.favorText`
207
208v0.5.3-1255 / 09-19-2012
209========================
210
211* `@:` opens a markup block that is closed by `NEWLINE`
212* Parser now takes special care of delimiters when subparsing
213* Parser pays no special attention to {} in markup mode
214* `vash.helpers.reportError` is used within the compiler
215
216v0.5.2-1239 / 09-18-2012
217========================
218
219* CONTRIBUTING.md
220* vQuery.maxCheck dumps parse tree if infinite loop detected
221* `vash.config.debug` now defaults to `true`
222* `vash.config.client` is removed
223* vash(1) gets `--render` to immediately render the input template
224
225v0.5.2-1235 / 09-16-2012
226========================
227
228* View engine works in browser
229
230v0.5.2-1232 / 09-16-2012
231========================
232
233* Fixed quote escaping
234* Ship vash(1) via npm
235* Error reporting is moved to runtime
236
237v0.5.2-1182 / 09-14-2012
238========================
239
240* Jade-like extends/block/append/prepend/include layouts
241* `vash.config.favorText` documented
242* `vash.config.client` documented
243* vash(1) documented
244* @* should work in blocks too
245
246v0.5.1-1109 / 09-11-2012
247========================
248
249* Express 3 support
250* vash(1) command line utility
251* `vash.config.client` returns the unlinked compiled function
252* Empty brackets (`[]`) following an expression is markup
253* jshint headers
254
255v0.5.0-998 / 08-24-2012
256=======================
257
258* `favorText` is a compiler-only option and will favor interpreting input as markup instead of code
259* Standalone runtime
260* New build system: `vash-runtime-all.js` and `vash-runtime.js`
261* vQuery can flatten/reconstitute tokens
262* `vash.saveAT`, `vash.saveTextTag`
263
264v0.4.5-967 / 08-02-2012
265=======================
266
267* Addition of AUTHORS file
268* Initial helpers API (`vash.helpers` is accessible via `html` within template)
269* `vash.config.helpersName`
270* `vash.config.htmlEscape` allows escaping to be turned off, defaults to true
271* `vash.raw` becomes `html.raw` and is now performed at runtime.
272* `html.escape`
273* Compiled functions are now "linked" to create a local reference to Helpers
274
275v0.4.4-926 / 04-24-2012
276=======================
277
278* Explicit expression implicitly closes afterwards
279
280v0.4.3-915 / 04-23-2012
281=======================
282
283* Lexer tokens are freely defined within main vash closure
284* Greatly simplified lexer
285* Removed lots of extranous `vQuery` code
286* Explicit expressions can be indexed into: `@('what')[0]`
287* Whitespace ends a non-explicit expression
288
289v0.4.2-856 / 04-19-2012
290=======================
291
292* fix bug where ellipses caused infinite loops
293* max depth check on vQuery to prevent lockup during infinite loops
294
295v0.4.1-826 / 04-17-2012
296=======================
297
298* HTML escaping / `vash.raw`
299* `vash.config.debug`
300* `vash.vQuery` replaces VAST
301* `vash.config.debugParser`
302* `vash.config.debugCompiler`
303* Improved runtime error reporting (003bfcd)
304* Improved compile-time error reporting (5edfcfa)
305* Initial AMD Support
306
307v0.3.1-327 / 03-16-2012
308=======================
309
310* keywords can follow a closing brace
311
312v0.3.0-291 / 02-24-2012
313=======================
314
315* Anonymous functions
316* @()IDENTIFIER consumes IDENTIFIER as markup
317
318v0.2.2 / 08-16-2011
319===================
320
321* `vash.tpl` is now `vash.compile` as defacto standard
322* Rewrite of parser
323
324v0.2.1-241 / 08-16-2011
325=======================
326
327* Initial npm release
328* `useWith` defaults to false
329* Basic express2 support
330
331v0.0.1 / 07-03-2011
332===================
333
334* Project start
335
\No newline at end of file