UNPKG

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