UNPKG

3.62 kBMarkdownView Raw
1## 1.0.0 2018-01-13
2
3- feat: support macro bodyContext [!97](https://github.com/shepherdwind/velocity.js/pull/97)
4
5## 0.10.1 2017-11-10
6
7- fix: #set variable key not work [!91](https://github.com/shepherdwind/velocity.js/issues/92)
8
9## 0.10.0 2017-11-08
10
11- feat: support text version of logical operators [!90](https://github.com/shepherdwind/velocity.js/pull/90)
12
13## 0.9.6 2017-04-14
14
15- fix: keep newline after unparse block [!83](https://github.com/shepherdwind/velocity.js/pull/83)
16
17## 0.9.5 2017-04-07
18
19- fix: support foreach.hasnext when iterating objects [!81](https://github.com/shepherdwind/velocity.js/pull/81)
20
21## 0.9.4 2017-01-16
22
23- fix: #set bug with eval string [#79](https://github.com/shepherdwind/velocity.js/issues/79)
24
25## 0.9.3 2017-01-04
26
27- fix: #set false when in forEach statement [#77](https://github.com/shepherdwind/velocity.js/issues/77)
28
29## 0.9.1 2016-11-22
30
31- add typescript DefinitelyTyped index.d.ts
32
33## 0.9.0 2016-09-20
34
35- feat: support to throw errors in case null values are used [!71](https://github.com/shepherdwind/velocity.js/issues/71)
36- fix: support {end} [!70](https://github.com/shepherdwind/velocity.js/issues/71)
37
38## 0.8.5 2016-07-16
39
40- fix bug #foreach with nest empty foreach [!70](https://github.com/shepherdwind/velocity.js/pull/70)
41
42## 0.8.4 2016-07-04
43
44- fix bug when render `#foreach(${itemData} in ${defaultData})`, see
45[#69](https://github.com/shepherdwind/velocity.js/issues/69#issuecomment-230152986)
46
47## 0.8.3 2016-06-15
48
49- fix comment bug [#67](https://github.com/shepherdwind/velocity.js/pull/67)
50
51## 0.8.2 2016-05-28
52
53- nothing change, just update npm page readme
54
55## 0.8.0 2016-04-20
56
57- set bug fix [#63](https://github.com/shepherdwind/velocity.js/issues/63)
58
59### Break api change
60
61Before set value will set undefined node as plan object
62
63```
64#set($a = {}) #set($a.c.d = 1) $a.c.d
65```
66
67This will output `1` .
68
69But now, in 0.8.0 version, a.c will not set as {}, so output is `$a.c.d`.
70
71## 0.7.5
72
73- toString rewrite only when toString equal function { [native code]} [57](https://github.com/shepherdwind/velocity.js/pull/57)
74
75## 0.7.4
76
77- toString like org.apache.velocity when render [56](https://github.com/shepherdwind/velocity.js/pull/56)
78
79## 0.7.3
80
81- fix [53](https://github.com/shepherdwind/velocity.js/issues/52)
82- runt support [54](https://github.com/shepherdwind/velocity.js/pull/54)
83
84## 0.7.2
85
86- fix: merge [52](https://github.com/shepherdwind/velocity.js/pull/52)
87
88## 0.7.1
89
90- fix: merge [51](https://github.com/shepherdwind/velocity.js/pull/51)
91
92## 0.7.0
93
94- feat: merge [49](https://github.com/shepherdwind/velocity.js/pull/49) and [#50](https://github.com/shepherdwind/velocity.js/pull/50)
95
96## 0.6.2
97
98- feat: merge [47](https://github.com/shepherdwind/velocity.js/pull/47)
99
100## 0.6.1
101
102- feat: merge [46](https://github.com/shepherdwind/velocity.js/pull/46)
103
104## [0.6](https://github.com/shepherdwind/velocity.js/milestones/0.6)
105
106- change: remove Velocity.Parser, change to Velocity.parse [#43](https://github.com/shepherdwind/velocity.js/issues/43)
107- feat: add custom blocks support [#44](https://github.com/shepherdwind/velocity.js/issues/44)
108
109## 0.4
110
111### 0.4.11 / 2015-01-24
112
113- feat: self define macro context keep to origin object
114
115### 0.4.10 / 2015-01-08
116
117- fix: allow optional space after colon in map passed as parameter to macro
118 ([#38](https://github.com/shepherdwind/velocity.js/pull/38) by @jamescookie)
119
120### 0.4.9 / 2014-12-29
121
122- feature: support friendly error stack #35
123- chore: improve coverage
124
125### 0.4.8 / 2014-12-20
126
127- fix issue #32
128- Remove useless code: Helper
129- merge pull request #34
130
131### 0.4.7 / 2014-12-18
132
133- fix issue #32