UNPKG

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