UNPKG

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