UNPKG

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