marko 4.24.2 → 4.24.5

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md ADDED
@@ -0,0 +1,2444 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
+
5
+ ### [4.24.5](https://github.com/marko-js/marko/compare/v4.24.4...v4.24.5) (2022-07-14)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * ignoreUnrecognizedTags attr tags under control flow ([8e0aaf2](https://github.com/marko-js/marko/commit/8e0aaf227d4e192e3c02b494995f1f2682c4cbc3))
11
+
12
+ ### [4.24.4](https://github.com/marko-js/marko/compare/v4.24.3...v4.24.4) (2022-03-22)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * prevent bubbling non bubbling events ([#1781](https://github.com/marko-js/marko/issues/1781)) ([7230c76](https://github.com/marko-js/marko/commit/7230c76892ed2c346cdb161208dea70741a6b6b0))
18
+
19
+ ### [4.24.3](https://github.com/marko-js/marko/compare/v4.24.2...v4.24.3) (2022-03-08)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * performance hit in development mode because continually parsing stack trace ([#1777](https://github.com/marko-js/marko/issues/1777)) ([40d6599](https://github.com/marko-js/marko/commit/40d659979370900c18503a3dc6dab807f52c154d))
25
+
26
+ ### [4.24.2](https://github.com/marko-js/marko/compare/v4.24.1...v4.24.2) (2021-10-22)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * m4 npm publish dist tag ([478d772](https://github.com/marko-js/marko/commit/478d7720b281893ba16913b8292e96195f86a007))
32
+
33
+ ### [4.24.1](https://github.com/marko-js/marko/compare/v4.24.0...v4.24.1) (2021-10-22)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * regression with identical tag name & taglib deduping ([3da701c](https://github.com/marko-js/marko/commit/3da701c0f101ae064c943faf0a908b674992b845))
39
+ * upgrade htmljs parser ([18a41fb](https://github.com/marko-js/marko/commit/18a41fb96bdbc851480856bd6342d822d367866b))
40
+
41
+ ## [4.24.0](https://github.com/marko-js/marko/compare/v4.23.17...v4.24.0) (2021-10-11)
42
+
43
+
44
+ ### Features
45
+
46
+ * upgrade htmljs-parser ([31cc60c](https://github.com/marko-js/marko/commit/31cc60c6ad5e2f6b34382de79874afd1fa5e32ac))
47
+
48
+ ### [4.23.17](https://github.com/marko-js/marko/compare/v4.23.16...v4.23.17) (2021-08-11)
49
+
50
+
51
+ ### Bug Fixes
52
+
53
+ * remove file rename hack when writing files to disk ([22ae52f](https://github.com/marko-js/marko/commit/22ae52ff7c215b4a7f6ea1690e496be457abb039))
54
+
55
+ ### [4.23.16](https://github.com/marko-js/marko/compare/v4.23.15...v4.23.16) (2021-03-29)
56
+
57
+
58
+ ### Bug Fixes
59
+
60
+ * dynamic attr tags followed by html element ([49c6b0d](https://github.com/marko-js/marko/commit/49c6b0ddb435b34316f164e8d1b8ff26f3cc46cb))
61
+
62
+ ### [4.23.15](https://github.com/marko-js/marko/compare/v4.23.14...v4.23.15) (2021-03-08)
63
+
64
+
65
+ ### Bug Fixes
66
+
67
+ * **marko:** issue with delegating events from text nodes ([fadde17](https://github.com/marko-js/marko/commit/fadde17db1234b7d3b915fa0895af12bf70196b5))
68
+ * release command ([3b29aff](https://github.com/marko-js/marko/commit/3b29aff94ea4745cc3b8a71a8720d65e11ab2957))
69
+
70
+ ### [4.23.14](https://github.com/marko-js/marko/compare/v4.23.13...v4.23.14) (2021-02-18)
71
+
72
+
73
+ ### Bug Fixes
74
+
75
+ * improve windows support for taglib finder ([5b8ee7c](https://github.com/marko-js/marko/commit/5b8ee7c7d27c055d3fe9c2c7f5666bb547ea987f))
76
+
77
+ ### [4.23.13](https://github.com/marko-js/marko/compare/v4.23.12...v4.23.13) (2021-02-11)
78
+
79
+
80
+ ### Bug Fixes
81
+
82
+ * prevent potential race condition while tag scanning ([103eb85](https://github.com/marko-js/marko/commit/103eb85bc58c5b0898bdb75793a4413b05c168bb))
83
+
84
+ ### [4.23.12](https://github.com/marko-js/marko/compare/v4.23.11...v4.23.12) (2021-01-14)
85
+
86
+
87
+ ### Bug Fixes
88
+
89
+ * issue with using flags before defined ([8740f93](https://github.com/marko-js/marko/commit/8740f937c613dbbbfb34694db608adf5800a70ad))
90
+
91
+ ### [4.23.11](https://github.com/marko-js/marko/compare/v4.23.10...v4.23.11) (2021-01-13)
92
+
93
+
94
+ ### Bug Fixes
95
+
96
+ * issue with only renderBody being serialized ([4db3c18](https://github.com/marko-js/marko/commit/4db3c1835aea610088e1a6efb67f521bc884d966))
97
+
98
+ ### [4.23.10](https://github.com/marko-js/marko/compare/v4.23.9...v4.23.10) (2020-12-08)
99
+
100
+
101
+ ### Bug Fixes
102
+
103
+ * properly handle default renderBody with dynamic attribute tags ([451ce98](https://github.com/marko-js/marko/commit/451ce98d81cfccee01d6ce468d3b02ced90daebb))
104
+
105
+ ### [4.23.9](https://github.com/marko-js/marko/compare/v4.23.8...v4.23.9) (2020-10-13)
106
+
107
+
108
+ ### Bug Fixes
109
+
110
+ * regression with no-update-body with no renderBody ([5bd753b](https://github.com/marko-js/marko/commit/5bd753b3798315a62ac6a0b44e1a2cffa7797adc))
111
+
112
+ ### [4.23.8](https://github.com/marko-js/marko/compare/v4.23.7...v4.23.8) (2020-10-09)
113
+
114
+
115
+ ### Bug Fixes
116
+
117
+ * no longer use fragments for preserved native els ([c167cfa](https://github.com/marko-js/marko/commit/c167cfa1ab0d9d6db3aecc264fd830d804456f25))
118
+
119
+ ### [4.23.7](https://github.com/marko-js/marko/compare/v4.23.6...v4.23.7) (2020-10-02)
120
+
121
+
122
+ ### Bug Fixes
123
+
124
+ * prevent adding new global for legacy runtime ([0ec1497](https://github.com/marko-js/marko/commit/0ec1497bbbbc5430188c12d5ad37d3d0b04aafe1))
125
+
126
+ ### [4.23.6](https://github.com/marko-js/marko/compare/v4.23.5...v4.23.6) (2020-10-02)
127
+
128
+
129
+ ### Bug Fixes
130
+
131
+ * regression serializing empty component data with custom runtimeid ([d589737](https://github.com/marko-js/marko/commit/d5897375e4b95d587c307612050f8e0d8144e996))
132
+
133
+ ### [4.23.5](https://github.com/marko-js/marko/compare/v4.23.4...v4.23.5) (2020-09-28)
134
+
135
+ ### [4.23.4](https://github.com/marko-js/marko/compare/v4.23.3...v4.23.4) (2020-09-17)
136
+
137
+ ### [4.23.3](https://github.com/marko-js/marko/compare/v4.23.2...v4.23.3) (2020-09-15)
138
+
139
+
140
+ ### Bug Fixes
141
+
142
+ * duplicate export 'registerOptimizer' ([#1601](https://github.com/marko-js/marko/issues/1601)) ([ac20e50](https://github.com/marko-js/marko/commit/ac20e5040f71d35901ecce1e847d41a8ce53145e))
143
+ * prevent loading complain module in prod for legacy helpers ([e394ff0](https://github.com/marko-js/marko/commit/e394ff089bc56aafad4f6e73ba97b3a7fd4a63b8))
144
+
145
+ ### [4.23.2](https://github.com/marko-js/marko/compare/v4.23.1...v4.23.2) (2020-08-26)
146
+
147
+
148
+ ### Bug Fixes
149
+
150
+ * regression with manual component init with custom runtimeid ([f08a60a](https://github.com/marko-js/marko/commit/f08a60a3f64ab53fa387575a7658990c145c0fdd))
151
+
152
+ ### [4.23.1](https://github.com/marko-js/marko/compare/v4.23.0...v4.23.1) (2020-08-26)
153
+
154
+
155
+ ### Bug Fixes
156
+
157
+ * typo with aria-describedby autocomplete ([cd12a3a](https://github.com/marko-js/marko/commit/cd12a3a68873c9ce72a3d94d861fe2f48b6a2228))
158
+
159
+ ## [4.23.0](https://github.com/marko-js/marko/compare/v4.22.8...v4.23.0) (2020-08-25)
160
+
161
+
162
+ ### Features
163
+
164
+ * switch to espree from esprima ([#1596](https://github.com/marko-js/marko/issues/1596)) ([8c318cc](https://github.com/marko-js/marko/commit/8c318cc6f29f645026a97375cd5cbba53908a354))
165
+
166
+ ### [4.22.8](https://github.com/marko-js/marko/compare/v4.22.7...v4.22.8) (2020-08-20)
167
+
168
+
169
+ ### Bug Fixes
170
+
171
+ * issue with hydrating body-only content ([7837185](https://github.com/marko-js/marko/commit/7837185073b3ccd203267d5e853e03d2b8d72e7a))
172
+
173
+ ### [4.22.7](https://github.com/marko-js/marko/compare/v4.22.6...v4.22.7) (2020-08-13)
174
+
175
+ ### [4.22.6](https://github.com/marko-js/marko/compare/v4.22.5...v4.22.6) (2020-08-10)
176
+
177
+
178
+ ### Bug Fixes
179
+
180
+ * set default value for textarea when created ([#1593](https://github.com/marko-js/marko/issues/1593)) ([1efae18](https://github.com/marko-js/marko/commit/1efae18402df3a236410794fc3d4f6a2076d1d64))
181
+
182
+ ### [4.22.5](https://github.com/marko-js/marko/compare/v4.22.4...v4.22.5) (2020-08-07)
183
+
184
+
185
+ ### Bug Fixes
186
+
187
+ * add support for nested tag long hand properties ([#1592](https://github.com/marko-js/marko/issues/1592)) ([8f595fd](https://github.com/marko-js/marko/commit/8f595fd493d4462f8cc2b103d8ea77e04616edea))
188
+
189
+ ### [4.22.4](https://github.com/marko-js/marko/compare/v4.22.3...v4.22.4) (2020-08-04)
190
+
191
+ ### [4.22.3](https://github.com/marko-js/marko/compare/v4.22.1...v4.22.3) (2020-07-31)
192
+
193
+
194
+ ### Bug Fixes
195
+
196
+ * allow <await> in sync mode ([#1589](https://github.com/marko-js/marko/issues/1589)) ([2c50419](https://github.com/marko-js/marko/commit/2c50419117ea67fd64b61e10f8ad5e216d1ca16c))
197
+ * diffing dynamic attributes with mismatched keys ([#1587](https://github.com/marko-js/marko/issues/1587)) ([3832cfe](https://github.com/marko-js/marko/commit/3832cfea72efadb1bfcf9de7a83ba8b1fddf14f4))
198
+ * doc paths ([f5a4721](https://github.com/marko-js/marko/commit/f5a472133dbf7cc2b909bc9bb8ca24285d6ee08e))
199
+
200
+ ### [4.22.2](https://github.com/marko-js/marko/compare/v4.22.1...v4.22.2) (2020-07-28)
201
+
202
+
203
+ ### Bug Fixes
204
+
205
+ * diffing dynamic attributes with mismatched keys ([#1587](https://github.com/marko-js/marko/issues/1587)) ([3832cfe](https://github.com/marko-js/marko/commit/3832cfea72efadb1bfcf9de7a83ba8b1fddf14f4))
206
+ * doc paths ([f5a4721](https://github.com/marko-js/marko/commit/f5a472133dbf7cc2b909bc9bb8ca24285d6ee08e))
207
+
208
+ ### [4.22.1](https://github.com/marko-js/marko/compare/v4.22.0...v4.22.1) (2020-07-21)
209
+
210
+
211
+ ### Bug Fixes
212
+
213
+ * issue with hydrating no-update-if content ([#1581](https://github.com/marko-js/marko/issues/1581)) ([82b500e](https://github.com/marko-js/marko/commit/82b500e95b35af47565ace5e16e2812fc3b0353c))
214
+
215
+ ## [4.22.0](https://github.com/marko-js/marko/compare/v4.21.10...v4.22.0) (2020-06-22)
216
+
217
+
218
+ ### Features
219
+
220
+ * add new import dynamic tag syntax to migrations ([#1562](https://github.com/marko-js/marko/issues/1562)) ([755ffd6](https://github.com/marko-js/marko/commit/755ffd6e15bfdf1769eae64946c40651e6d729a9))
221
+
222
+
223
+ ### Bug Fixes
224
+
225
+ * issue with optional arguments for legacy macro migration ([#1577](https://github.com/marko-js/marko/issues/1577)) ([df556df](https://github.com/marko-js/marko/commit/df556df106c473a78fb5c10c02089754835929da))
226
+
227
+ ### [4.21.10](https://github.com/marko-js/marko/compare/v4.21.9...v4.21.10) (2020-05-20)
228
+
229
+
230
+ ### Bug Fixes
231
+
232
+ * nextTick timing regression ([#1573](https://github.com/marko-js/marko/issues/1573)) ([65ecb6f](https://github.com/marko-js/marko/commit/65ecb6fa334c5bf533a1de54d7820f89dbf2081a))
233
+
234
+ ### [4.21.9](https://github.com/marko-js/marko/compare/v4.21.8...v4.21.9) (2020-05-12)
235
+
236
+ ### [4.21.8](https://github.com/marko-js/marko/compare/v4.21.7...v4.21.8) (2020-05-07)
237
+
238
+
239
+ ### Bug Fixes
240
+
241
+ * support empty w-config ([#1570](https://github.com/marko-js/marko/issues/1570)) ([b62ff6a](https://github.com/marko-js/marko/commit/b62ff6a3ba1565ecfde5b8114682e3ac6d753903))
242
+
243
+ ### [4.21.7](https://github.com/marko-js/marko/compare/v4.21.6...v4.21.7) (2020-05-04)
244
+
245
+
246
+ ### Bug Fixes
247
+
248
+ * components not always initializing inside client-reorder await ([#1566](https://github.com/marko-js/marko/issues/1566)) ([28b3b7f](https://github.com/marko-js/marko/commit/28b3b7f728b9aa42e035e00b37e811dbcce1c79a))
249
+
250
+ ### [4.21.6](https://github.com/marko-js/marko/compare/v4.21.5...v4.21.6) (2020-04-30)
251
+
252
+
253
+ ### Bug Fixes
254
+
255
+ * issue with data-marko attributes under 'no-update' with <await> ([#1564](https://github.com/marko-js/marko/issues/1564)) ([211a8a3](https://github.com/marko-js/marko/commit/211a8a334b58af035347cb4f91f4e6a625c35d82))
256
+
257
+ ### [4.21.5](https://github.com/marko-js/marko/compare/v4.21.4...v4.21.5) (2020-04-24)
258
+
259
+
260
+ ### Bug Fixes
261
+
262
+ * regression with unquoted attribute with trailing slash ([#1561](https://github.com/marko-js/marko/issues/1561)) ([5c26b9b](https://github.com/marko-js/marko/commit/5c26b9b3ec6f5e8847ffe43e99f7593da806932a))
263
+
264
+ ### [4.21.4](https://github.com/marko-js/marko/compare/v4.21.3...v4.21.4) (2020-04-24)
265
+
266
+ ### [4.21.3](https://github.com/marko-js/marko/compare/v4.21.2...v4.21.3) (2020-04-24)
267
+
268
+
269
+ ### Bug Fixes
270
+
271
+ * allow legacy widgets to update after being destroyed ([#1560](https://github.com/marko-js/marko/issues/1560)) ([5bb800e](https://github.com/marko-js/marko/commit/5bb800e088455a03ccd951c9fcc582da062b499c))
272
+
273
+ ### [4.21.2](https://github.com/marko-js/marko/compare/v4.21.1...v4.21.2) (2020-04-23)
274
+
275
+
276
+ ### Bug Fixes
277
+
278
+ * split components under preserved root resetting ___isPreserved ([#1559](https://github.com/marko-js/marko/issues/1559)) ([03bb099](https://github.com/marko-js/marko/commit/03bb0991c571b182949d79ee0c42aee92f867f25))
279
+
280
+ ### [4.21.1](https://github.com/marko-js/marko/compare/v4.21.0...v4.21.1) (2020-04-21)
281
+
282
+
283
+ ### Bug Fixes
284
+
285
+ * **legacy dependencies:** relative path should begin with ./ ([#1558](https://github.com/marko-js/marko/issues/1558)) ([a01b644](https://github.com/marko-js/marko/commit/a01b644b8f3511777f9bda8d93f4ae93e5745b02))
286
+
287
+ ## [4.21.0](https://github.com/marko-js/marko/compare/v4.20.2...v4.21.0) (2020-04-21)
288
+
289
+
290
+ ### Features
291
+
292
+ * short hand syntax for component imports ([#1552](https://github.com/marko-js/marko/issues/1552)) ([b5453cc](https://github.com/marko-js/marko/commit/b5453cce8bbc3b96a406bf0cbd926ee7123d158a))
293
+
294
+ ### [4.20.2](https://github.com/marko-js/marko/compare/v4.20.1...v4.20.2) (2020-04-21)
295
+
296
+
297
+ ### Bug Fixes
298
+
299
+ * prevent lasso 2 from inlining full system paths ([#1555](https://github.com/marko-js/marko/issues/1555)) ([50750b4](https://github.com/marko-js/marko/commit/50750b4b9ec61210081e318175a5e8a746fe2069))
300
+ * switch safe renderer to use nextTick for errors ([#1554](https://github.com/marko-js/marko/issues/1554)) ([6ea9fe3](https://github.com/marko-js/marko/commit/6ea9fe330b499f9fdb125eaf0f25f2ee1553ef4e))
301
+
302
+ ### [4.20.1](https://github.com/marko-js/marko/compare/v4.20.0...v4.20.1) (2020-04-15)
303
+
304
+
305
+ ### Bug Fixes
306
+
307
+ * improve micro task helper ([76e2ab9](https://github.com/marko-js/marko/commit/76e2ab910dcdec1af750ca40bc287d147ec82e3f))
308
+
309
+ ## [4.20.0](https://github.com/marko-js/marko/compare/v4.19.13...v4.20.0) (2020-04-10)
310
+
311
+
312
+ ### Features
313
+
314
+ * improve serialization across multiple writes ([#1542](https://github.com/marko-js/marko/issues/1542)) ([81c4da7](https://github.com/marko-js/marko/commit/81c4da75c8e272d6b2d145e225078695c931dfd3))
315
+
316
+
317
+ ### Bug Fixes
318
+
319
+ * don't modify proto.init when creating a widget ([#1544](https://github.com/marko-js/marko/issues/1544)) ([f694a6b](https://github.com/marko-js/marko/commit/f694a6bee2ffd7d39ed651649e248499804144ff))
320
+ * improve a few small things legacy compatibility ([#1545](https://github.com/marko-js/marko/issues/1545)) ([72e716e](https://github.com/marko-js/marko/commit/72e716e42e264e8ee3c88220e0ebd96bcc1430f7))
321
+
322
+ ### [4.19.13](https://github.com/marko-js/marko/compare/v4.19.12...v4.19.13) (2020-04-08)
323
+
324
+
325
+ ### Bug Fixes
326
+
327
+ * add devmode warning for removing fragment markers ([#1541](https://github.com/marko-js/marko/issues/1541)) ([1c3852f](https://github.com/marko-js/marko/commit/1c3852f2c7938a689c249b6d59b6280becda216e))
328
+
329
+ ### [4.19.12](https://github.com/marko-js/marko/compare/v4.19.11...v4.19.12) (2020-04-07)
330
+
331
+
332
+ ### Bug Fixes
333
+
334
+ * implement missing methods for void-writer ([#1540](https://github.com/marko-js/marko/issues/1540)) ([2806066](https://github.com/marko-js/marko/commit/28060669a421837cec19f35f307f35c0ef636b0e))
335
+
336
+ ### [4.19.11](https://github.com/marko-js/marko/compare/v4.19.10...v4.19.11) (2020-04-06)
337
+
338
+ ### [4.19.10](https://github.com/marko-js/marko/compare/v4.19.9...v4.19.10) (2020-04-03)
339
+
340
+
341
+ ### Bug Fixes
342
+
343
+ * regression with nullish values in partial string attribute values ([#1537](https://github.com/marko-js/marko/issues/1537)) ([a469e02](https://github.com/marko-js/marko/commit/a469e020cc60089bae73bf1a311a8e6919bc0ce0))
344
+
345
+ ### [4.19.9](https://github.com/marko-js/marko/compare/v4.19.8...v4.19.9) (2020-03-30)
346
+
347
+ ### [4.19.8](https://github.com/marko-js/marko/compare/v4.19.7...v4.19.8) (2020-03-16)
348
+
349
+
350
+ ### Bug Fixes
351
+
352
+ * improve legacy compatibility with getWidgetForEl api ([#1533](https://github.com/marko-js/marko/issues/1533)) ([d5e3a27](https://github.com/marko-js/marko/commit/d5e3a272ae3c02ad48860d5ccddd8a6e2bcba3c9))
353
+
354
+ ### [4.19.7](https://github.com/marko-js/marko/compare/v4.19.6...v4.19.7) (2020-03-13)
355
+
356
+
357
+ ### Bug Fixes
358
+
359
+ * prevent issue with range loop iterating in reverse ([#1531](https://github.com/marko-js/marko/issues/1531)) ([cd6459d](https://github.com/marko-js/marko/commit/cd6459dc8d057de0eb88040c81dcf034ae7ca5ad))
360
+
361
+ ### [4.19.6](https://github.com/marko-js/marko/compare/v4.19.5...v4.19.6) (2020-03-13)
362
+
363
+
364
+ ### Bug Fixes
365
+
366
+ * spread attrs for native tag preserves case ([#1530](https://github.com/marko-js/marko/issues/1530)) ([f972707](https://github.com/marko-js/marko/commit/f97270746e7580d0d38e3a2a43e585721a256baf))
367
+
368
+ ### [4.19.5](https://github.com/marko-js/marko/compare/v4.19.4...v4.19.5) (2020-03-10)
369
+
370
+
371
+ ### Bug Fixes
372
+
373
+ * issue with keys under ssr no-update root ([#1527](https://github.com/marko-js/marko/issues/1527)) ([fd03031](https://github.com/marko-js/marko/commit/fd03031c47881bf5dd7b311dd1fec843c98a1c06))
374
+ * return raw state for legacy widgets ([#1526](https://github.com/marko-js/marko/issues/1526)) ([6905521](https://github.com/marko-js/marko/commit/6905521c875a1ecc18d7afbdfd0ef53df31831c5))
375
+
376
+ ### [4.19.4](https://github.com/marko-js/marko/compare/v4.19.3...v4.19.4) (2020-03-09)
377
+
378
+
379
+ ### Bug Fixes
380
+
381
+ * don't serialize component boundary keys if the owner isn't hydrated ([#1525](https://github.com/marko-js/marko/issues/1525)) ([9bf16b8](https://github.com/marko-js/marko/commit/9bf16b81f46abda06e42cbbd9341dd023fdcadc0))
382
+
383
+ ### [4.19.3](https://github.com/marko-js/marko/compare/v4.19.2...v4.19.3) (2020-03-05)
384
+
385
+
386
+ ### Bug Fixes
387
+
388
+ * add 'get' API for marko-widgets compat ([#1524](https://github.com/marko-js/marko/issues/1524)) ([095459f](https://github.com/marko-js/marko/commit/095459f43947b8f4be380286bd1f720109a3d86a))
389
+ * improve support for legacy widget for range ([#1523](https://github.com/marko-js/marko/issues/1523)) ([ca4afb9](https://github.com/marko-js/marko/commit/ca4afb98165a063b0b5f85255235b87f332ddf92))
390
+
391
+ ### [4.19.2](https://github.com/marko-js/marko/compare/v4.19.1...v4.19.2) (2020-03-04)
392
+
393
+
394
+ ### Bug Fixes
395
+
396
+ * don't serialize input for stateful widgets ([#1522](https://github.com/marko-js/marko/issues/1522)) ([3a14f62](https://github.com/marko-js/marko/commit/3a14f629688645d11b11678bd149a77cadfe745e))
397
+
398
+ ### [4.19.1](https://github.com/marko-js/marko/compare/v4.19.0...v4.19.1) (2020-02-28)
399
+
400
+
401
+ ### Bug Fixes
402
+
403
+ * support monkey patching lifecycle methods for legacy widgets ([#1521](https://github.com/marko-js/marko/issues/1521)) ([3056bd1](https://github.com/marko-js/marko/commit/3056bd11a63e2bf36d44657dc8d2ccf2381cfc92))
404
+
405
+ ## [4.19.0](https://github.com/marko-js/marko/compare/v4.18.51...v4.19.0) (2020-02-27)
406
+
407
+
408
+ ### Features
409
+
410
+ * all vnodes have owner components ([#1517](https://github.com/marko-js/marko/issues/1517)) ([cb42609](https://github.com/marko-js/marko/commit/cb426099ea83638f5feba85562ba7b56083dac4c))
411
+
412
+ ### [4.18.51](https://github.com/marko-js/marko/compare/v4.18.50...v4.18.51) (2020-02-26)
413
+
414
+
415
+ ### Bug Fixes
416
+
417
+ * always include nested contexts when serializing ([#1515](https://github.com/marko-js/marko/issues/1515)) ([c4f28e4](https://github.com/marko-js/marko/commit/c4f28e433cee13f206736c85431975e62b8ceed2))
418
+
419
+ ### [4.18.50](https://github.com/marko-js/marko/compare/v4.18.48...v4.18.50) (2020-02-26)
420
+
421
+ ### Bug Fixes
422
+
423
+ - non standard template literals filter out null & undefined ([#1514](https://github.com/marko-js/marko/issues/1514)) ([d5fa202](https://github.com/marko-js/marko/commit/d5fa20267b0b0bfc5c835ebdda1c6cb61955c9c7))
424
+
425
+ ### [4.18.49](https://github.com/marko-js/marko/compare/v4.18.48...v4.18.49) (2020-02-26)
426
+
427
+ ### 4.18.48
428
+
429
+ - Fixes a regression from [#1499](https://github.com/marko-js/marko/pull/1499) which caused `<${dynamic}>` tags with body content to not have their events registered. [#1507](https://github.com/marko-js/marko/pull/1507)
430
+ - Fixes issue with `getEl` being used on a keyed `<${dynamic}>` tag. [#1507](https://github.com/marko-js/marko/pull/1507)
431
+ - Fixes registering event handlers added to a `<${dynamic}>` tag that renders a native element under a split component. [#1507](https://github.com/marko-js/marko/pull/1507)
432
+
433
+ ### 4.18.47
434
+
435
+ - Deprecate implicit JSON.stringify for attributes, attr toString fix. [#1505](https://github.com/marko-js/marko/pull/1505)
436
+ - Remove data-widget, add warning for non-split, non-stateful widgets. [#1503](https://github.com/marko-js/marko/pull/1503)
437
+ - Flushing improvements. [#1502](https://github.com/marko-js/marko/pull/1502)
438
+
439
+ ### 4.18.46
440
+
441
+ - Fixed issue with `<init-components>` being rendered under nested async outs. [#1500](https://github.com/marko-js/marko/pull/1500)
442
+
443
+ ### 4.18.45
444
+
445
+ - Fixed dynamic tags to add data-marko-key for split components [#1499](https://github.com/marko-js/marko/pull/1499)
446
+ - Fixed dynamic tags properly render self-closing tags on the server [#1499](https://github.com/marko-js/marko/pull/1499)
447
+
448
+ ### 4.18.44
449
+
450
+ - Fix issue with diffing SSR'd `no-update` section. [#1498](https://github.com/marko-js/marko/pull/1498)
451
+
452
+ ### 4.18.43
453
+
454
+ - No longer serialize input for split legacy widgets. [#1497](https://github.com/marko-js/marko/pull/1497)
455
+
456
+ ### 4.18.42
457
+
458
+ - Fix regression for unkeyed elements with toggled spread attributes [#1496](https://github.com/marko-js/marko/pull/1496)
459
+ - Fix regression with body-only-if migration for legacy renderers [#1495](https://github.com/marko-js/marko/pull/1495)
460
+
461
+ ### 4.18.41
462
+
463
+ - Improve support for conditional `w-bind`. [#1494](https://github.com/marko-js/marko/pull/1494)
464
+ - No longer delete `onBeforeDestroy` and `onBeforeUpdate` from legacy widget prototypes. [#1494](https://github.com/marko-js/marko/pull/1494)
465
+ - Fix regression with registering event handlers for SSR content under a `no-update`. [#1493](https://github.com/marko-js/marko/pull/1493)
466
+
467
+ ### 4.18.40
468
+
469
+ - Fix issue with the `ignoreUnrecognizedTags` compiler option with `<@attribute>` tags inside of a `<${dynamic}>` tag. [#1491](https://github.com/marko-js/marko/pull/1491)
470
+ - Improve support for legacy widgets by allowing for custom `init` method on prototype. [#1490](https://github.com/marko-js/marko/pull/1490)
471
+ - Removes some unused properties that were serialized with legacy widgets [#1489](https://github.com/marko-js/marko/pull/1489)
472
+ - Improves consistency with `...spread` attributes onto native tags. [#1488](https://github.com/marko-js/marko/pull/1488)
473
+ - Now turns `camelCase` properties into `dash-cash`
474
+ - Now omits `renderBody` properties.
475
+ - Improves `this.el` warning for legacy widgets. [#1487](https://github.com/marko-js/marko/pull/1487)
476
+ - Fixes an issue with nested `no-update`'s around components not initializing properly. [#1486](https://github.com/marko-js/marko/pull/1486)
477
+
478
+ ### 4.18.39
479
+
480
+ - Support overriding the 'ready' method in legacy widgets. [#1484](https://github.com/marko-js/marko/pull/1484)
481
+
482
+ ### 4.18.38
483
+
484
+ - Fix regression with ssr'd components under 'no-update' not initializing. [#1483](https://github.com/marko-js/marko/pull/1483)
485
+
486
+ ### 4.18.37
487
+
488
+ - Fix regression with no-update-body on textarea tags. [#1482](https://github.com/marko-js/marko/pull/1482)
489
+
490
+ ### 4.18.36
491
+
492
+ - Fix issue for legacy widget rerenders not preserving props. [#1481](https://github.com/marko-js/marko/pull/1481)
493
+ - `no-update` will now preserve elements rendered from the server side. [#1480](https://github.com/marko-js/marko/pull/1480)
494
+
495
+ ### 4.18.35
496
+
497
+ - Improve support for legacy split widgets. [#1477](https://github.com/marko-js/marko/pull/1477)
498
+
499
+ ### 4.18.34
500
+
501
+ - Improve legacy widgets assigning into state causing a replace instead of merge. [#1476](https://github.com/marko-js/marko/pull/1476)
502
+
503
+ ### 4.18.33
504
+
505
+ - Fix event name case normalization for legacy components with `w-on`. [#1475](https://github.com/marko-js/marko/pull/1475)
506
+
507
+ ### 4.18.32
508
+
509
+ - Return the component id if no key is passed to getElId/elId. [#1474](https://github.com/marko-js/marko/pull/1474)
510
+ - Support having nullish keys in the legacy (v3) renderer. [#1473](https://github.com/marko-js/marko/pull/1473)
511
+
512
+ ### 4.18.31
513
+
514
+ - Fix legacy render lifecycle order to match marko-widgets@6. [#1472](https://github.com/marko-js/marko/pull/1472)
515
+
516
+ ### 4.18.30
517
+
518
+ - Fix regression with browser remap for legacy widgets. [#1471](https://github.com/marko-js/marko/pull/1471)
519
+
520
+ ### 4.18.29
521
+
522
+ - Fixed regression which was causing getTemplateData to be serialized.
523
+ - Refactor helpers, fix circular deps, improve code splitting [#1468](https://github.com/marko-js/marko/pull/1468)
524
+ - Remove unused deps, update package-lock [#1469](https://github.com/marko-js/marko/pull/1469)
525
+ - Fixed typo in example output [#1463](https://github.com/marko-js/marko/pull/1463)
526
+
527
+ ### 4.18.28
528
+
529
+ - Allow support for `<state>` tag and calling `setState` on null state [#1460](https://github.com/marko-js/marko/pull/1460)
530
+
531
+ ### 4.18.27
532
+
533
+ - Allow empty `<@catch>` in `<await>` [#1456](https://github.com/marko-js/marko/pull/1456)
534
+
535
+ ### 4.18.26
536
+
537
+ - Improve errors emitted from AsyncWriter
538
+
539
+ ### 4.18.25
540
+
541
+ - Better async stack traces in dev [#1453](https://github.com/marko-js/marko/pull/1453)
542
+
543
+ ### 4.18.24
544
+
545
+ - Remove circular dep for dom weakmaps. [#1449](https://github.com/marko-js/marko/pull/1449)
546
+ - Fix invalid deprecation message for core-tags on windows. [#1448](https://github.com/marko-js/marko/pull/1448)
547
+
548
+ ### 4.18.23
549
+
550
+ - Allow `<macro>` nested under `<if>`. [#1445](https://github.com/marko-js/marko/pull/1445)
551
+
552
+ ### 4.18.22
553
+
554
+ - Improve legacy compatibilty layer by exposing `widgetProps` on the `data` object. [#1443](https://github.com/marko-js/marko/pull/1443)
555
+ - Improve getComponentByEl lookup to prefer owner components. [#1444](https://github.com/marko-js/marko/pull/1444)
556
+
557
+ ### 4.18.21
558
+
559
+ - Fix issue where duplicated attributes were not being included properly in compiled templates. [#1442](https://github.com/marko-js/marko/pull/1442)
560
+
561
+ ### 4.18.20
562
+
563
+ - Fix initialization edge-case for top-level async components. [#1441](https://github.com/marko-js/marko/pull/1441)
564
+
565
+ ### 4.18.19
566
+
567
+ - Deprecate `$global.widgetIdPrefix` (should use `$global.componentIdPrefix` instead). [#1439](https://github.com/marko-js/marko/pull/1439)
568
+ - Improve support for rollup by removing usage of `require.resolve`. [#1440](https://github.com/marko-js/marko/pull/1440)
569
+ - Update minimum version of htmljs-parser to bring in patch release for parsing css calc values.
570
+
571
+ ### 4.18.18
572
+
573
+ - Adds a missing method used by part of the legacy compatibility layer.
574
+
575
+ ### 4.18.17
576
+
577
+ - Fix issue with async out of order components initializing in the wrong order [#1436](https://github.com/marko-js/marko/pull/1436)
578
+ - Improvements to the legacy compatibility layer [#1437](https://github.com/marko-js/marko/pull/1437)
579
+
580
+ ### 4.18.16
581
+
582
+ - Fix top-level components throwing error on hydrate [#1428](https://github.com/marko-js/marko/pull/1428)
583
+ - Ensure scripts only have one text node as a child [#1429](https://github.com/marko-js/marko/pull/1429)
584
+
585
+ ### 4.18.15
586
+
587
+ - Improve support for conditional comments spanning multiple comments. [#1427](https://github.com/marko-js/marko/pull/1427)
588
+ - Add a check for loading precompiled templates. [#1426](https://github.com/marko-js/marko/pull/1426)
589
+
590
+ ### 4.18.14
591
+
592
+ - Improve support for running multiple versions of Marko on the page. [#1418](https://github.com/marko-js/marko/pull/1418)
593
+ - Add migration for `component.elId` when used in a place where `:scoped` is recommended. [#1413](https://github.com/marko-js/marko/pull/1413)
594
+ - Fix issue where static regexps in the template would output differently than dynamic ones. [#1412](https://github.com/marko-js/marko/pull/1412)
595
+ - Improve `marko.json` definitions for core/html tags [#1411](https://github.com/marko-js/marko/pull/1411)
596
+
597
+ ### 4.18.13
598
+
599
+ - Improve support for consuming v3 components via webpack. [#1410](https://github.com/marko-js/marko/pull/1410)
600
+
601
+ ### 4.18.12
602
+
603
+ - Improve autocompletion for core tags. [#1405](https://github.com/marko-js/marko/pull/1405)
604
+ - Fix issue when using `getComponentForEl` with split components. [#1400](https://github.com/marko-js/marko/pull/1400)
605
+
606
+ ### 4.18.11
607
+
608
+ - Fix server-rendered conditional widgets in the compatibility layer. [#1395](https://github.com/marko-js/marko/pull/1395)
609
+ - Deprecate the partial dynamic tag. [#1397](https://github.com/marko-js/marko/pull/1397)
610
+
611
+ ### 4.18.10
612
+
613
+ - Improve migration for `getInitialState` with legacy widgets. [#1385](https://github.com/marko-js/marko/pull/1385)
614
+
615
+ ### 4.18.9
616
+
617
+ - Legacy compat fixes [#1383](https://github.com/marko-js/marko/pull/1383)
618
+ - Temporary fix to ensure `getComponents` doesn't return `null` entries - these should really be removed from the `lookup` instead
619
+ - Use a `for...in` loop to extend the `BaseComponent` (doesn't support getters properly) to maintain the same behavior as `marko-widgets`
620
+ - Ensure that the original `input` for a widget is what gets serialized, not the result of `getTemplateData` (which is called again when hydrating)
621
+
622
+ ### 4.18.8
623
+
624
+ - Fixes an issue where `require("marko/components").getComponentForEl` could return undefined when a component exists, or the wrong component, when nested fragments are present. [#1382](https://github.com/marko-js/marko/pull/1382)
625
+
626
+ ### 4.18.7
627
+
628
+ - Fixes a regression from 4.18.6 that could cause some body content to be omitted from the output [#1380](https://github.com/marko-js/marko/pull/1380)
629
+ - Adds deprecated string dynamic attributes to the vdom runtime for improved legacy compatibility [#1378](https://github.com/marko-js/marko/pull/1378)
630
+
631
+ ### 4.18.6
632
+
633
+ - Migration does not add `id:scoped` when migrating a repeated `w-id` [#1377](https://github.com/marko-js/marko/pull/1377)
634
+ - Fixes an issue diffing the selected option within an optgroup [#1376](https://github.com/marko-js/marko/pull/1376)
635
+ - Fixes component tracking for client-reorder [#1375](https://github.com/marko-js/marko/pull/1375)
636
+ - Improve the migration for legacy `<for>` syntax [#1374](https://github.com/marko-js/marko/pull/1374)
637
+ - Add migration for named classes in the template [#1372](https://github.com/marko-js/marko/pull/1372)
638
+
639
+ ### 4.18.5
640
+
641
+ - Fix issue with invoke tag migration when a inline control flow is used [#1366](https://github.com/marko-js/marko/pull/1366)
642
+
643
+ ### 4.18.4
644
+
645
+ - Lazily evaluate attributes for dynamic tags [#1365](https://github.com/marko-js/marko/pull/1365)
646
+
647
+ ### 4.18.3
648
+
649
+ - Fix `registerTaglib`: use correct function call [#1363](https://github.com/marko-js/marko/pull/1363)
650
+ - Fix tryonline: correct paths and no `taglibImports` [#1360](https://github.com/marko-js/marko/pull/1360)
651
+ - Migration fix: [#1364](https://github.com/marko-js/marko/pull/1364)
652
+ - Migration improvement: deprecation warnings that are automatically migratable now have a `MIGRATION` heading [#1364](https://github.com/marko-js/marko/pull/1364) (also included test improvements)
653
+ - Migration improvement: remove empty `<layout-put>` tags [#1355](https://github.com/marko-js/marko/pull/1355)
654
+
655
+ ### 4.18.2
656
+
657
+ - Fixes an issue where fragments could remove nodes from their siblings [#1359](https://github.com/marko-js/marko/pull/1359)
658
+
659
+ ### 4.18.1
660
+
661
+ - Fixes a regression with `body-only-if` and a legacy control flow attribute [#1356](https://github.com/marko-js/marko/pull/1356)
662
+
663
+ ### 4.18.0
664
+
665
+ - Added dynamic tags to act like body-only-if. If dynamic tags are null then the outer tag will not be rendered. However, the body will be rendered. Deprecated body-only-if [#1332](https://github.com/marko-js/marko/pull/1332)
666
+
667
+ ## 4.17.x
668
+
669
+ ### 4.17.5
670
+
671
+ - Fix issue where setting the `value` attribute of a textarea to `false` caused the string `"false"` to be used in the vdom. [#1348](https://github.com/marko-js/marko/issues/1348)
672
+
673
+ ### 4.17.4
674
+
675
+ - Updates htmljs-parser to fix an issue with comments inside inline scriptlets.
676
+ - Fix some issues with for loop auto keying. [#1346](https://github.com/marko-js/marko/issues/1346)
677
+ - Fix error when using a non string as a key (now logs a deprecation). [#1344](https://github.com/marko-js/marko/issues/1344)
678
+
679
+ ### 4.17.3
680
+
681
+ - Fix issue were `getEls` would not work with repeated keys for split components. [#1343](https://github.com/marko-js/marko/issues/1343)
682
+
683
+ ### 4.17.2
684
+
685
+ - Fix regression with namespaces in nested fragments. [#1340](https://github.com/marko-js/marko/issues/1340)
686
+
687
+ ### 4.17.1
688
+
689
+ - Allow emitting events while the parent is mounting. [#1336](https://github.com/marko-js/marko/issues/1336)
690
+ - Fix issue where `component.el` and `component.getEl` could return a marker node. [#1339](https://github.com/marko-js/marko/issues/1339)
691
+
692
+ ### 4.17.0
693
+
694
+ - Element namespaces are now calculated at runtime, fixes some edge cases with the dynamic tag. [#1333](https://github.com/marko-js/marko/issues/1333)
695
+
696
+ ## 4.16.x
697
+
698
+ ### 4.16.15
699
+
700
+ - Fix an issue where nodes may be preserved if another node with the same key was rendered as preserved. [#1334](https://github.com/marko-js/marko/issues/1334)
701
+ - Improve the `ignoreUnrecognizedTags` compiler option to ignored nested `@tags` on unrecognized tags (removes the need for the `escapeAtTags` option). [#1335](https://github.com/marko-js/marko/issues/1335)
702
+
703
+ ### 4.16.14
704
+
705
+ - Prevent treating macro usage with parameters as a component. [#1326](https://github.com/marko-js/marko/issues/1326)
706
+
707
+ ### 4.16.13
708
+
709
+ - Fixes a regression with printing nested unary expressions (eg typeof). [#1323](https://github.com/marko-js/marko/issues/1323)
710
+
711
+ ### 4.16.12
712
+
713
+ - fix destorying a component that has already removed some top-level nodes [#1321](https://github.com/marko-js/marko/issues/1321)
714
+ - fix components runtime path after refactor released in 4.16.11 [#1322](https://github.com/marko-js/marko/issues/1322)
715
+
716
+ ### 4.16.11
717
+
718
+ - Fixes a regression (syntax) in IE 11 introduced in 4.16.10
719
+
720
+ ### 4.16.10
721
+
722
+ - Hydrating components now consistently render from the top down. [#1317](https://github.com/marko-js/marko/issues/1317)
723
+
724
+ ### 4.16.9
725
+
726
+ - Fixes an issue where legacy widgets could loose a reference to their parent components. [#1311](https://github.com/marko-js/marko/issues/1311)
727
+
728
+ ### 4.16.8
729
+
730
+ - Fixes an issue with hot-reload. [#1282](https://github.com/marko-js/marko/issues/1282)
731
+ - If the require hook is enabled, all templates loaded by marko will now use the require hook, including hot-reloaded templates and tags loaded from compiled templates. [#1310](https://github.com/marko-js/marko/pull/1310)
732
+
733
+ ### 4.16.7
734
+
735
+ - Improve parsing of tag arguments (allows for `<${input.renderBody}(...spread)/>`). [#1308](https://github.com/marko-js/marko/pull/1308)
736
+
737
+ ### 4.16.6
738
+
739
+ - Fix issue with hydrating legacy Marko 3 widgets from the server. [#1306](https://github.com/marko-js/marko/pull/1306)
740
+
741
+ ### 4.16.5
742
+
743
+ - Fix regression with legacy dynamic attributes when a string without whitespace is used. [#1304](https://github.com/marko-js/marko/pull/1304)
744
+ - The `disabled` property on buttons is now properly synced with the template. [#1303](https://github.com/marko-js/marko/pull/1303)
745
+
746
+ ### 4.16.4
747
+
748
+ - Fix regression with migrating legacy `<macro>` syntax with a magic `renderBody` variable. [#1300](https://github.com/marko-js/marko/pull/1300)
749
+
750
+ ### 4.16.3
751
+
752
+ - Fix issue with migrating `<var>` and `<assign>` with `widget` properties. [#1298](https://github.com/marko-js/marko/pull/1298)
753
+
754
+ ### 4.16.2
755
+
756
+ - Fix issue with nested fragments (often as dynamic tags) that were adjacent in the DOM not hydrating properly. [#1294](https://github.com/marko-js/marko/pull/1294)
757
+ - Remove redundant portion of keys for `<macro>` tags within `<for>` loops. [#1295](https://github.com/marko-js/marko/pull/1295)
758
+
759
+ ### 4.16.1
760
+
761
+ - Fix regression for `:no-update` on dynamic tag html attributes. [#1292](https://github.com/marko-js/marko/pull/1292)
762
+
763
+ ### 4.16.0
764
+
765
+ - Add `<marko deprecated-no-create-or-input-for-top-level-hydrate />` option to revert to pre `4.9.0` hydrate behavior. [#1289](https://github.com/marko-js/marko/pull/1289)
766
+
767
+ ## 4.15.x
768
+
769
+ ### 4.15.6
770
+
771
+ - Fix regression in older browsers caused by using `string.startsWith` in the runtime code.
772
+
773
+ ### 4.15.5
774
+
775
+ - Allow syntax that Marko does not understand (but esprima does) to pass through in the arguments syntax. [#1286](https://github.com/marko-js/marko/pull/1286)
776
+ - Fix issue with `<title>` inside of an `<svg>` using the wrong namespace. [#1284](https://github.com/marko-js/marko/pull/1284)
777
+
778
+ ### 4.15.4
779
+
780
+ - Forward errors from `<await client-reorder>` to the parent out to prevent potential unhandled rejections. [#1275](https://github.com/marko-js/marko/pull/1275)
781
+
782
+ ### 4.15.3
783
+
784
+ - Fix false positive deprecation message for legacy nested tag syntax. [#1271](https://github.com/marko-js/marko/pull/1271)
785
+
786
+ ### 4.15.2
787
+
788
+ - Improve the webpack server-bundling experience by guarding a legacy (lasso-specific) api that uses a dynamic require and causes a warning to be emitted. [#1267](https://github.com/marko-js/marko/pull/1267)
789
+
790
+ ### 4.15.1
791
+
792
+ - Improve support for using raw functions as event handlers by not outputing `data-marko` content for components that will rerender in the browser. [#1262](https://github.com/marko-js/marko/pull/1262)
793
+
794
+ ### 4.15.0
795
+
796
+ The most notable change here is to the `<for>`, `<macro>` and `<await>` core tags. These tags previously each relied on custom syntax to implement an API that was not possible to do in userland when they were introduced. Generic solutions for these problems has arrived in the form of [attribute tags](https://markojs.com/docs/syntax#attribute-tag) and [tag parameters](https://markojs.com/docs/syntax#parameters).
797
+
798
+ With these new features in place and currently available in userland we set out to normalize these existing tags, hopefully making the learning process for Marko a little easier, and also promoting the use of these new features. We've also spent time formalizing some best practices, and highlighting this new syntax in the documentation on the [markojs.com](https://markojs.com) website.
799
+
800
+ The existing syntax will continue to be supported until Marko 5 and will currently log a deprecation warning. For these deprecations and most others you can automatically migrate existing code using the [marko migrate](https://github.com/marko-js/cli/blob/master/packages/migrate/README.md) cli tool.
801
+
802
+ - Updated documentation with guides and changes to syntax/core tags. [#1260](https://github.com/marko-js/marko/pull/1260)
803
+ - Modernize the [`<for>` tag](https://markojs.com/docs/core-tags#for). [#1238](https://github.com/marko-js/marko/pull/1238)
804
+ - Modernize the [`<await>` tag](https://markojs.com/docs/core-tags#await). [#1244](https://github.com/marko-js/marko/pull/1244)
805
+ - Modernize the [`<macro>` tag](https://markojs.com/docs/core-tags#macro). [#1227](https://github.com/marko-js/marko/pull/1227)
806
+ - Deprecated legacy top level imports (jquery/ready) and compiler option tags (recommended to use marko.json instead). [#1258](https://github.com/marko-js/marko/pull/1258)
807
+ - Modern arguments support for the dynamic tag. [#1259](https://github.com/marko-js/marko/pull/1259)
808
+ - Improves parsing inside of the `<html-comment>` tag to support the same style of content as actual html comments. [#1261](https://github.com/marko-js/marko/pull/1261)
809
+ - Ignore only whitespace content inside of concise mode tags (including `class` and `style`) which would previously error. [#1256](https://github.com/marko-js/marko/pull/1256)
810
+ - Fixes a regression with passing a string literal as a `${dynamic}` attribute and add a deprecation warning. [#1257](https://github.com/marko-js/marko/pull/1257)
811
+
812
+ ## 4.14.x
813
+
814
+ ### 4.14.25
815
+
816
+ - Fix regression with non standard template literals (`"stuff ${placeholder}"`) that have escaped content such as newlines [#1254](https://github.com/marko-js/marko/pull/1254)
817
+
818
+ ### 4.14.24
819
+
820
+ - Fix regression in `<await>` that caused flushing to not occur in all cases [#1252](https://github.com/marko-js/marko/pull/1252)
821
+
822
+ ### 4.14.23
823
+
824
+ - Fix warning that `"marko"` was using deprecated features. [#1250](https://github.com/marko-js/marko/pull/1250)
825
+ - Improve code optimization for conditional `@nested` tags. [#1249](https://github.com/marko-js/marko/pull/1249)
826
+
827
+ ### 4.14.22
828
+
829
+ - Fix issue with `no-update` not moving preserved items [#1247](https://github.com/marko-js/marko/pull/1247).
830
+ - Fix regression with include tag migration where `<include(data())>` has side effects. [#1246](https://github.com/marko-js/marko/pull/1246)
831
+ - Treat importing tags the same as using them in the template (uses `load` api instead of `require` when configured). [#1245](https://github.com/marko-js/marko/pull/1245)
832
+ - Gracefully handle async client-reorder when nodes are missing during hydrate. [#1243](https://github.com/marko-js/marko/pull/1243)
833
+
834
+ ### 4.14.21
835
+
836
+ - Update `htmljs-parser` to improve parsing regexes [htmljs-parser #61](https://github.com/marko-js/htmljs-parser/pull/61)
837
+
838
+ ### 4.14.20
839
+
840
+ - Add new `<tag|params|>` support and migrator for old syntax/flag [#1236](https://github.com/marko-js/marko/pull/1236)
841
+ - Remove unneeded deprecation warning when using `component` within a template [#1235](https://github.com/marko-js/marko/pull/1235)
842
+
843
+ ### 4.14.19
844
+
845
+ - Fixes walking into some AST nodes which was causing some migrations to not be as effective [#1233](https://github.com/marko-js/marko/pull/1233)
846
+
847
+ ### 4.14.18
848
+
849
+ - Fixes [#1230](https://github.com/marko-js/marko/issues/1230) - regression with include tag migration outputing invalid identifiers [#1231](https://github.com/marko-js/marko/pull/1231)
850
+ - Add migration for legacy nested tag syntax [#1129](https://github.com/marko-js/marko/pull/1129)
851
+
852
+ ### 4.14.17
853
+
854
+ - Fixes [#1219](https://github.com/marko-js/marko/issues/1219) - transitive widget getEl and events [#1225](https://github.com/marko-js/marko/pull/1225)
855
+ - Importing a marko template adds it to tags meta (fixes regression with `<include>` tag) [#1226](https://github.com/marko-js/marko/pull/1226)
856
+
857
+ ### 4.14.16
858
+
859
+ - Add migration for non-standard template literals. [#1224](https://github.com/marko-js/marko/pull/1224)
860
+ - Fix regression with dynamic attribute migration. [#1223](https://github.com/marko-js/marko/pull/1223)
861
+
862
+ ### 4.14.15
863
+
864
+ - Improve migrating `widget` references to `component` in attributes. [#1220](https://github.com/marko-js/marko/pull/1220)
865
+
866
+ ### 4.14.14
867
+
868
+ - Fix regression with `eval`ing class names in debug mode. [#1218](https://github.com/marko-js/marko/pull/1218)
869
+
870
+ ### 4.14.13
871
+
872
+ - Support file name migrations with Marko migrate. [#1216](https://github.com/marko-js/marko/pull/1216)
873
+ - Skip `id:scoped` when migrating w-id for custom tags. [#1217](https://github.com/marko-js/marko/pull/1217)
874
+
875
+ ### 4.14.12
876
+
877
+ - Add migrator for `w-config` attribute. [#1214](https://github.com/marko-js/marko/pull/1214)
878
+ - Add migrator for and deprecate `unless` tag/directive. [#1210](https://github.com/marko-js/marko/pull/1210)
879
+
880
+ ### 4.14.11
881
+
882
+ - Fix regression with `w-body` tag. [#1213](https://github.com/marko-js/marko/pull/1213)
883
+
884
+ ### 4.14.10
885
+
886
+ - Add migrator for `ref` attribute. [#1207](https://github.com/marko-js/marko/pull/1207)
887
+ - Fix regression with `var` tag and `w-body/include` tags. [#1212](https://github.com/marko-js/marko/pull/1212)
888
+
889
+ ### 4.14.9
890
+
891
+ - Add migrator for layout tags and include tag/directive. [#1206](https://github.com/marko-js/marko/pull/1206) & [#1204](https://github.com/marko-js/marko/pull/1204)
892
+ - Add migrator for `<script template-helpers>` and `<script marko-init>`. [#1209](https://github.com/marko-js/marko/pull/1209)
893
+
894
+ ### 4.14.8
895
+
896
+ - Add migrator from w-body to dynamic tag. [#1199](https://github.com/marko-js/marko/pull/1199)
897
+ - Add migrator from dynamic attributes to spread attributes. [#1202](https://github.com/marko-js/marko/pull/1202)
898
+
899
+ ### 4.14.7
900
+
901
+ - Fix regression for `widget.elId` migration. [#1198](https://github.com/marko-js/marko/pull/1198)
902
+
903
+ ### 4.14.6
904
+
905
+ - Add a whitelist of files to publish to NPM. [#1197](https://github.com/marko-js/marko/pull/1197)
906
+
907
+ ### 4.14.5
908
+
909
+ - Add `getTemplateData` migrator. [#1195](https://github.com/marko-js/marko/pull/1195)
910
+ - Add migrators for most of the `w-*` attributes. [#1190](https://github.com/marko-js/marko/pull/1190)
911
+ - Add basic legacy widget migration. [#1192](https://github.com/marko-js/marko/pull/1192)
912
+
913
+ ### 4.14.4
914
+
915
+ - Fix regression with `setProps` on legacy compatibility layer. [#1193](https://github.com/marko-js/marko/pull/1193)
916
+
917
+ ### 4.14.3
918
+
919
+ - Move `w-on` compatibility to the migrate stage. [#1186](https://github.com/marko-js/marko/pull/1186)
920
+ - Legacy compatibility (v3) improvements. [#1189](https://github.com/marko-js/marko/pull/1189)
921
+ - Specially handle template literals in templates. [#1188](https://github.com/marko-js/marko/pull/1188)
922
+
923
+ ### 4.14.2
924
+
925
+ - Convert the `<async-fragment>` transformer into a migrator. [#1185](https://github.com/marko-js/marko/pull/1185)
926
+
927
+ ### 4.14.1
928
+
929
+ - Fix regression causing some parsed javascript nodes to be omitted from output. [#1184](https://github.com/marko-js/marko/pull/1184)
930
+
931
+ ### 4.14.0
932
+
933
+ - Add migration stage, deprecate rendering with `out`, deprecate control-flow directive as attributes. [#1180](https://github.com/marko-js/marko/pull/1180)
934
+ - parse = parseRaw + normalize [#1179](https://github.com/marko-js/marko/pull/1179)
935
+ - parse nonstandard string with placeholder to TemplateLiteral node, transpile template literals. [#1179](https://github.com/marko-js/marko/pull/1179)
936
+ - add new parse api
937
+
938
+ ## 4.13.x
939
+
940
+ ### 4.13.13
941
+
942
+ - Fix regression: parsing of `if` statements without braces (in scriptlets & otherwise). [#1175](https://github.com/marko-js/marko/pull/1175)
943
+ - Fix regression: `<var>` and `<assign>` tags with non-standard placeholders in normal string attributes. [#1176](https://github.com/marko-js/marko/pull/1176)
944
+
945
+ ### 4.13.12
946
+
947
+ - `<invoke>` tag translates to modern Marko scriptlet (or dynamic tag). [#1165](https://github.com/marko-js/marko/pull/1165)
948
+ - `<assign>` tag translates to modern Marko scriptlet. [#1158](https://github.com/marko-js/marko/pull/1158)
949
+ - Imperative rendering in scriptlets translates to modern Marko dynamic tag. [#1174](https://github.com/marko-js/marko/pull/1174)
950
+
951
+ ### 4.13.11
952
+
953
+ - Add spread attribute optimization, fix issue with spreading non objects. [#1171](https://github.com/marko-js/marko/pull/1171)
954
+ - Move `#` to the start of `:scoped` attributes (allows for `href:scoped="#name"`). [#1172](https://github.com/marko-js/marko/pull/1172)
955
+
956
+ ### 4.13.10
957
+
958
+ - Adds a hidden api used to make [@marko-tags/context](https://github.com/marko-js/tags/tree/master/tags/context) possible. [#1168](https://github.com/marko-js/marko/pull/1168)
959
+
960
+ ### 4.13.9
961
+
962
+ - Improve support for [arc]() by normalizing file system names with square brackets. [#1166](https://github.com/marko-js/marko/pull/1166)
963
+
964
+ ### 4.13.8
965
+
966
+ - Quick patch for `4.13.7` that removes a `let` assignment. [#1153](https://github.com/marko-js/marko/pull/1153)
967
+
968
+ ### 4.13.7
969
+
970
+ - Prevent treating components with tag params being treated as implicit components. [#1149](https://github.com/marko-js/marko/pull/1149)
971
+
972
+ ### 4.13.6
973
+
974
+ - Prevent mutating component input when using a single spread attribute with repeated @tags. [#1142](https://github.com/marko-js/marko/pull/1142)
975
+ - Fix for include tag hydration when transcluded. [#1143](https://github.com/marko-js/marko/pull/1143)
976
+
977
+ ### 4.13.5
978
+
979
+ - Add additional reference to fragment nodes which resolves an issue with IE. [#1130](https://github.com/marko-js/marko/pull/1130)
980
+
981
+ ### 4.13.4
982
+
983
+ - Remove Object.assign calls in the browser. [#1120](https://github.com/marko-js/marko/pull/1120)
984
+
985
+ ### 4.13.3
986
+
987
+ - Propagate errors to express automatically with the `res.marko` api. [#1119](https://github.com/marko-js/marko/pull/1119)
988
+ - Support multi line import statments. [#1118](https://github.com/marko-js/marko/pull/1118)
989
+
990
+ ### 4.13.2
991
+
992
+ - Allow discovering tags where the template name matches the directory name [#1117](https://github.com/marko-js/marko/pull/1117):
993
+
994
+ ```
995
+ components/
996
+ tag-name/
997
+ tag-name.marko
998
+ tag-name.style.css
999
+ ```
1000
+
1001
+ ### 4.13.1
1002
+
1003
+ - Remove es2015 features from runtime. [#1115](https://github.com/marko-js/marko/pull/1115)
1004
+
1005
+ ### 4.13.0
1006
+
1007
+ #### PR #1094
1008
+
1009
+ **Introducing HTMLFragment**
1010
+
1011
+ - Updates the diffing algorithm to use an HTMLFragment node as an abstraction rather than keeping track of startNode and endNode all throughout the diffing algorithm.
1012
+ - Uses the HTMLFragment for the `<${dynamic}>` tag and `<include>` tags to preserve server-rendered content for which the `renderBody` is not available in the browser.
1013
+
1014
+ **Changes to keys**
1015
+
1016
+ - Component ids are based on the resulting parent tree (not the owner tree). This means we cannot rely on the ids in the global lookup, so component key/refs are now also stored on the component instance.
1017
+ - Autokeyed elements are now stored on the parent rather than the owner. User assigned key/refs are still stored on the owner component. Because of this, user assigned keys are now prefixed to differentiate them from autokeys. This also has the benefit that assigning numeric keys can no longer conflict with the autokeys.
1018
+ - Static node trees are now only auto assigned a key for the top-level node (instead of all nodes). This is because:
1019
+ - When updating, only the top-level node is considered.
1020
+ - When static nodes are hoisted out of the render method, they are not associated with the owner component
1021
+
1022
+ **Changes to Hydration**
1023
+
1024
+ - Server comment starting markers now have the component's key serialized so the component can be attached to its owner
1025
+ - Server comment markers no longer have the id on the closing marker, it is stack based.
1026
+ - Normalize differences between hydration and client-rendering, so post mount the DOM looks the same regardless of whether a component was server or client rendered.
1027
+
1028
+ ## 4.12.x
1029
+
1030
+ ### 4.12.4
1031
+
1032
+ - Don't render invalid attribute names on the server [#1103](https://github.com/marko-js/marko/pull/1103)
1033
+
1034
+ ### 4.12.3
1035
+
1036
+ - Removes extra parentheses in output javascript for expressions that Marko does not understand.
1037
+
1038
+ ### 4.12.2
1039
+
1040
+ - Fixes automatic keying of elements/components in `for()` attribute loops
1041
+
1042
+ ### 4.12.1
1043
+
1044
+ - Fix #1022 - transcluded keys don't match, stateful component not preserved [#1086](https://github.com/marko-js/marko/pull/1086)
1045
+
1046
+ ### 4.12.0
1047
+
1048
+ - Tag params [#1076](https://github.com/marko-js/marko/pull/1076)
1049
+ - Style arrays [#1082](https://github.com/marko-js/marko/pull/1082)
1050
+ - Fix #1075 - cannot compile dynamic tag at root with user key [#1081](https://github.com/marko-js/marko/pull/1081)
1051
+ - Fix #1078 - mutating spread attributes [#1080](https://github.com/marko-js/marko/pull/1080)
1052
+
1053
+ ## 4.11.x
1054
+
1055
+ ### 4.11.5
1056
+
1057
+ - Add fallback location for compile-time deprecation warnings
1058
+
1059
+ ### 4.11.4
1060
+
1061
+ - Fixes an issue with scoped attributes automatically setting keys in a problematic way [#1069](https://github.com/marko-js/marko/pull/1069)
1062
+ - Fixes #1059 and #1052 - `Cannot read property 'nextSibling' of null`
1063
+
1064
+ ### 4.11.3
1065
+
1066
+ - Fixes #952
1067
+ - Fixes automatic keying of elements/components in `<for>` loops
1068
+
1069
+ ### 4.11.2
1070
+
1071
+ - Fixes another regression in the `<${dynamic}>` tag where `dashed-case` attributes were being converted to `camelCase` when rendering html elements.
1072
+
1073
+ ### 4.11.1
1074
+
1075
+ - Fixes a regression in `<${dynamic}>` tags for object/array class/style attributes:
1076
+ ```marko
1077
+ $ const style = { color:'blue' };
1078
+ <${tagName} style=style/>
1079
+ ```
1080
+ - Allows dynamic attributes defined using `...spread` to include object/array class/style [#933](https://github.com/marko-js/marko/pull/933):
1081
+ ```marko
1082
+ $ const attrs = { style:{ color:'blue' } };
1083
+ <tag ...attrs/>
1084
+ ```
1085
+ - Fixes issue where object/array class/style attributes could not be used with `...spread` [#1007](https://github.com/marko-js/marko/pull/1007):
1086
+ ```marko
1087
+ $ const attrs = {};
1088
+ <tag class=["oops"] ...attrs/>
1089
+ ```
1090
+
1091
+ ### 4.11.0
1092
+
1093
+ - Implement #880: `<${dynamic}>` tag
1094
+ - `<include>` should be considered deprecated. Formal deprecation warning to come.
1095
+
1096
+ ## 4.10.x
1097
+
1098
+ ### 4.10.1
1099
+
1100
+ - Fix issue with calling `require('marko/components').init(components)` multiple times.
1101
+
1102
+ ### 4.10.0
1103
+
1104
+ - Fix #1049 Fix documentation urls on the website.
1105
+
1106
+ ## 4.9.x
1107
+
1108
+ ### 4.9.7
1109
+
1110
+ - Fix #1038 Legacy compatibility dirty check returning false positives.
1111
+
1112
+ ### 4.9.6
1113
+
1114
+ - Fix #1008 Spread attribute now supports functions (`..attrs()`) [#1029](https://github.com/marko-js/marko/pull/1029)
1115
+
1116
+ ### 4.9.5
1117
+
1118
+ - Fix `onBeforeUpdate` timing for legacy component layer [#1027](https://github.com/marko-js/marko/pull/1027)
1119
+
1120
+ ### 4.9.4
1121
+
1122
+ - Fix breaking older browsers with es6 object shorthand notation [bc0e91d5](https://github.com/marko-js/marko/commit/bc0e91d517d7b8de484c745a5734f15347ed0d26)
1123
+
1124
+ ### 4.9.3
1125
+
1126
+ - Fix import-var compilation when there are no explicit attributes [#1002](https://github.com/marko-js/marko/pull/1002)
1127
+
1128
+ ### 4.9.2
1129
+
1130
+ - Fixes collisions with multiple Marko runtimes on the same page. [#1019](https://github.com/marko-js/marko/pull/1019)
1131
+ - Switch to using prettier and eslint. [#1016](https://github.com/marko-js/marko/pull/1016)
1132
+
1133
+ ### 4.9.1
1134
+
1135
+ - Fixes an issue with keyed elements not getting properly removed. [#1013](https://github.com/marko-js/marko/pull/1013)
1136
+
1137
+ ### 4.9.0
1138
+
1139
+ - Fixes related to hydration, split components, and the legacy compatibility layer [#1010](https://github.com/marko-js/marko/pull/1010)
1140
+
1141
+ - Fix paths for vdom dependencies [#1011](https://github.com/marko-js/marko/pull/1011)
1142
+
1143
+ ## 4.8.x
1144
+
1145
+ ### 4.8.0
1146
+
1147
+ - Add `once-[event]` directive [#990](https://github.com/marko-js/marko/pull/990)
1148
+
1149
+ - Improve testing setup [#989](https://github.com/marko-js/marko/pull/989)
1150
+
1151
+ ## 4.7.x
1152
+
1153
+ ### 4.7.5
1154
+
1155
+ - Update docs for advanced attribute definition [#968](https://github.com/marko-js/marko/pull/968)
1156
+
1157
+ - Improve error message for async rendering [#958](https://github.com/marko-js/marko/pull/958)
1158
+
1159
+ ### 4.7.4
1160
+
1161
+ - Make jQuery optional for legacy components [#951](https://github.com/marko-js/marko/pull/951)
1162
+
1163
+ ### 4.7.3
1164
+
1165
+ - Prevent onRender running on the server for legacy widgets
1166
+
1167
+ ### 4.7.2
1168
+
1169
+ - Fixes [#946](https://github.com/marko-js/marko/issues/946) - don't put legacy init code in a separate lasso bundle
1170
+
1171
+ - Fixes allowing conditionally binding to different roots in a legacy widget [#944](https://github.com/marko-js/marko/pull/944)
1172
+
1173
+ ### 4.7.1
1174
+
1175
+ - Fix issue with multiple top level elements being removed twice. [#940](https://github.com/marko-js/marko/pull/940)
1176
+
1177
+ ### 4.7.0
1178
+
1179
+ - Add jQuery legacy compatibility layer support [#937](https://github.com/marko-js/marko/pull/937)
1180
+
1181
+ - Reorganize Marko tests [#934](https://github.com/marko-js/marko/pull/934)
1182
+
1183
+ - Switch to using jsdom in test suite [#935](https://github.com/marko-js/marko/pull/935)
1184
+
1185
+ - Decouple component hydration from Lasso [#929](https://github.com/marko-js/marko/pull/929)
1186
+
1187
+ ## 4.6.x
1188
+
1189
+ ### 4.6.0
1190
+
1191
+ - Fixes [#914](https://github.com/marko-js/marko/issues/914) and [#920](https://github.com/marko-js/marko/issues/920) -
1192
+ Resolves top-level component bugs
1193
+
1194
+ - Setup `marko.load()` to prefer precompiled templates from [marko-cli](https://github.com/marko-js/marko-cli)
1195
+
1196
+ - Various compiler changes to improve [marko-migrate](https://github.com/marko-js/marko-migrate)
1197
+
1198
+ - Fixes [#916](https://github.com/marko-js/marko/pull/916) - Add Marko debug mode.
1199
+ Adds babel plugin to remove and statically evaluate 'MARKO_DEBUG' literals for
1200
+ adding deprecation warnings and hints for the runtime without a performance
1201
+ penalty for production builds.
1202
+
1203
+ ## 4.5.x
1204
+
1205
+ ### 4.5.6
1206
+
1207
+ - Fixes [#909](https://github.com/marko-js/marko/issues/909) - Fix condition preventing bubbling DOM events from properly being attached to a component.
1208
+
1209
+ ### 4.5.5
1210
+
1211
+ - Add 10 Awesome Marko Features article to documentation
1212
+
1213
+ ### 4.5.4
1214
+
1215
+ - Fixes [#904](https://github.com/marko-js/marko/issues/904) - The loop status variable is not compiling when the equal sign is padded in spacing
1216
+
1217
+ ### 4.5.3
1218
+
1219
+ - Fixes [#903](https://github.com/marko-js/marko/issues/903) - Special unicode chars (\u2028 and \u2029) need to be escaped if within script tag
1220
+
1221
+ ### 4.5.2
1222
+
1223
+ - Fixes [#899](https://github.com/marko-js/marko/issues/899) - Keyed element could be incorrectly removed after DOM diffing/patching in case of HTML element mismatch for elements with the same key. [PR #900](https://github.com/marko-js/marko/pull/900)
1224
+
1225
+ ### 4.5.1
1226
+
1227
+ - Fixes [#893](https://github.com/marko-js/marko/issues/893) - Keyed element could be incorrectly removed after DOM diffing/patching in case of HTML element mismatch for elements with the same key. [PR #894](https://github.com/marko-js/marko/pull/894) by [@westtrade](https://github.com/westtrade)
1228
+
1229
+ ### 4.5.0
1230
+
1231
+ Summary of changes across all beta releases for the `4.5.0` release:
1232
+
1233
+ - Fixes [#886](https://github.com/marko-js/marko/issues/886) - Write component initialization code when async out and all of its nested async outs finish
1234
+ - Fixes [#854](https://github.com/marko-js/marko/issues/854) - Make every .marko file a UI component ([PR #855](https://github.com/marko-js/marko/pull/855))
1235
+ - Added support for the `:scoped` modifier on attributes and deprecated `:key`:
1236
+
1237
+ ```marko
1238
+ <label for:scoped="name">Name</label>
1239
+ <input id:scoped="name" value="Frank"/>
1240
+ ```
1241
+
1242
+ - Fixes [#817](https://github.com/marko-js/marko/issues/817) - Support dynamic root elements
1243
+ - Marko no longer attaches `id` attributes to elements for purposes of keyed matching
1244
+ - Keyed elements are maintained in an internal, per-component lookup
1245
+ - Keys are now assigned to all custom tags and HTML elements at compile-time to improve reliability and performance of DOM diffing
1246
+ - Optimized internal bookkeeping required during rendering a UI component tree (no more UI component stack)
1247
+ - DOM diffing/patching changes:
1248
+ - Significant performance improvements
1249
+ - morphdom is now UI component-aware
1250
+
1251
+ ### 4.5.0-beta.3
1252
+
1253
+ - Fixes [#854](https://github.com/marko-js/marko/issues/854) - Make every .marko file a UI component ([PR #855](https://github.com/marko-js/marko/pull/855))
1254
+
1255
+ ### 4.5.0-beta.2
1256
+
1257
+ - Add ids for any key when component.elId/getElId is used as an attribute value
1258
+ - Use indexOf instead of includes to support Node 4
1259
+ - [docs] Fixes [#841](https://github.com/marko-js/marko/issues/841) - `docs/components.md` refers to deprecated "data" variable [#842](https://github.com/marko-js/marko/pull/842)
1260
+
1261
+ ### 4.5.0-beta.1
1262
+
1263
+ - Add back (legacy) support for component.elId + key in template
1264
+ - Fixes [#837](https://github.com/marko-js/marko/issues/837) - Update esprima to the latest to support async/await and ES2017 inside of components. ([PR #839](https://github.com/marko-js/marko/pull/839))
1265
+ - Fixes key/scope for attributes that have dashes in the name
1266
+
1267
+ ### 4.5.0-beta.0
1268
+
1269
+ - Fixes [#817](https://github.com/marko-js/marko/issues/817) - Support dynamic root elements
1270
+ - Marko no longer attaches `id` attributes to elements for purposes of keyed matching
1271
+ - Keyed elements are maintained in an internal, per-component lookup
1272
+ - Keys are now assigned to all custom tags and HTML elements at compile-time to improve reliability and performance of DOM diffing
1273
+ - Optimized internal bookkeeping required during rendering a UI component tree (no more UI component stack)
1274
+ - DOM diffing/patching changes:
1275
+ - Significant performance improvements
1276
+ - morphdom is now UI component-aware
1277
+
1278
+ ## 4.4.x
1279
+
1280
+ ### 4.4.28
1281
+
1282
+ - fix undefined reference error in Component.js
1283
+ - Increase mocha timeout to avoid CI build's failing [#821](https://github.com/marko-js/marko/pull/821)
1284
+
1285
+ ### 4.4.27
1286
+
1287
+ - Add ability to update globals by setting new input.
1288
+ - [docs] Remove unneeded command from installation docs
1289
+ - [docs] Update installing.md
1290
+
1291
+ ### 4.4.26
1292
+
1293
+ - Add better interop for importing modules with default exports [#803](https://github.com/marko-js/marko/pull/803)
1294
+
1295
+ ### 4.4.25
1296
+
1297
+ - Fixes #778 - Fix Marko compiler generating incorrect path for requires on Windows.
1298
+
1299
+ ### 4.4.24
1300
+
1301
+ - [docs] Update installing.md
1302
+
1303
+ ### 4.4.23
1304
+
1305
+ - Fixes #796 - Fix events for event targets that are SVGElementInstance types in IE11.
1306
+ - Used shortcut for escapeAtTags;
1307
+ - Added `escapeAtTags` options in order to render `<@tags>` as they are;
1308
+ - simplify a condition judgement in components-jquery
1309
+ - Fixes #790 - Class tag should not allow nested body content.
1310
+ - Update `compile/index.js` test description
1311
+ - Update handleRootNodes.js [#747](https://github.com/marko-js/marko/pull/747)
1312
+ - [docs] Fix reference to lifecycle section in docs.
1313
+
1314
+ ### 4.4.22
1315
+
1316
+ - Fixes #784 - Fix compiled preserve-attrs path.
1317
+ - [testing] Fix express tests [#779](https://github.com/marko-js/marko/pull/779)
1318
+ - [docs] Update webpack.md
1319
+
1320
+ ### 4.4.21
1321
+
1322
+ - Updated description in `package.json`
1323
+
1324
+ ### 4.4.20
1325
+
1326
+ - update bindComponentVar to use dynamic location
1327
+ - updating location of bindComponent helper
1328
+
1329
+ ### 4.4.19
1330
+
1331
+ - [testing] Fix key suffix test assertions.
1332
+ - Address key suffix feedback. Additional tests.
1333
+ - [morphdom] Removed bad and unhelpful optimization to avoid infinite loops
1334
+ - [morphdom] Ensure `onBeforeNodeDiscarded` is only called once by looking to see if the node is still attached.
1335
+ - [morphdom] Infinite loop fix in morphdom
1336
+ - Fixes #761 - component.elId() does not work on the server
1337
+ - Fixes #755 - Allow diffing of HTML, head, and body. [#756](https://github.com/marko-js/marko/pull/756)
1338
+ - [docs] Updated component docs
1339
+ - [docs] Use relative link for image
1340
+ - [testing] User default npm version for each Node.js version
1341
+
1342
+ ### 4.4.18
1343
+
1344
+ - Fixes #749 #690 - Do not rely on root node having an ID on rerender and properly handle style root nodes.
1345
+
1346
+ ### 4.4.17
1347
+
1348
+ - Put package (`browser.json`) deps before others and parent deps before child deps [#750](https://github.com/marko-js/marko/pull/750)
1349
+ - [docs] Fix typo in redux.md
1350
+ - [docs] Add redux document to structure.json
1351
+ - [docs] Add doc describing how to use Redux with Marko.
1352
+
1353
+ ### 4.4.16
1354
+
1355
+ - Fix duplicate body variable
1356
+
1357
+ ### 4.4.15
1358
+
1359
+ - Fixes #739 - Should not attempt to check instanceof of type Map if it does not exist in the browser.
1360
+ - Added build scripts
1361
+
1362
+ ### 4.4.14
1363
+
1364
+ - Fixes issue with renderToString not rendering text nodes
1365
+
1366
+ ### 4.4.13
1367
+
1368
+ - Fixes #721 - Add a Code of Conduct
1369
+ - Fixes #655 - Implement renderToString in the browser.
1370
+
1371
+ ### 4.4.12
1372
+
1373
+ - Fixes #695 - Always ignore unrecognized tags for XML files when using the compiler.
1374
+ - Fixes #705 - Throw error when the root HTML element is a component and has a dynamic id attribute.
1375
+ - [testing] Additional test for root node with dynamic id of a component with a component.js file.
1376
+
1377
+ ### 4.4.11
1378
+
1379
+ - Fixes #728 - Do not use module keyword because webpack compiles it to a custom object.
1380
+ - Fixes #719 - Support Express 4 and Express 5.
1381
+ - fixes #658 by removing empty style blocks [#715](https://github.com/marko-js/marko/pull/715)
1382
+ - fixes #688 - add reference to browser.json in meta dependencies
1383
+ - [docs] Fix broken link
1384
+ - [docs] Fix Marko syntax in docs causing compilation errors on the website.
1385
+ - [docs] Change pixels to percent in doc images.
1386
+ - [testing] Purge express cache so that express tests both use correct module versions.
1387
+
1388
+ ### 4.4.9
1389
+
1390
+ - Revert "Fixes #705 - Throw error when the root HTML element has a dynamic id …"
1391
+ - [testing] Only run Node 4, 6, & 8 in travis
1392
+
1393
+ ### 4.4.8
1394
+
1395
+ - [docs] Clean up why-is-marko-fast.md
1396
+ - [docs] Clean up marko-vs-react.md
1397
+
1398
+ ### 4.4.7
1399
+
1400
+ - Add silent option to browser-refresh and hot-reload
1401
+ - Check id attribute for Literal. Update error message to include error page.
1402
+ - Fixes #705 - Throw error when the root HTML element has a dynamic id attribute.
1403
+ - [docs] Clean up components.md
1404
+ - [docs] Fix typo in webpack.md
1405
+ - [testing] give extra time for test timing out in travis
1406
+ - [testing] run tests on node 8
1407
+ - [testing] ignore test-dist from coverage
1408
+
1409
+ ### 4.4.6
1410
+
1411
+ - Fixes #693 - [SSR] Improved handling of top-level UI components with renderBody func
1412
+ - Switching to using `prepublish` with npm@5
1413
+
1414
+ ### 4.4.3
1415
+
1416
+ - Use parent module to require express patch [#701](https://github.com/marko-js/marko/pull/701)
1417
+ - [docs] Reference app should point to "marko-lasso" because "ui-components-playground" does not contain lasso
1418
+ - [docs] Add articles section to docs.
1419
+
1420
+ ### 4.4.2
1421
+
1422
+ - Build fixes related to compiler
1423
+
1424
+ ### 4.4.0
1425
+
1426
+ - Improve no-update-if condition check
1427
+ - Compatibility improvements for Try Online
1428
+ - Code size reduction
1429
+ - Introduced src/ and dist/ folders for optimized production builds
1430
+ - Fixes #695 - Default to ignoring unrecognized tags for XML files.
1431
+
1432
+ ## 4.3.x
1433
+
1434
+ ### 4.3.1
1435
+
1436
+ - Add basic test for ensuring that res.marko returns a promise.
1437
+ - enable res.marko can catch a error safe
1438
+
1439
+ ### 4.3.0
1440
+
1441
+ - [compiler] Added more control over how attributes are targeted to props
1442
+ - Don't add root markers to tags that don't produce output
1443
+ - [docs] Added docs for Marko + Huncwot integration
1444
+ - [AST] Added `node.removeChildren()`
1445
+ - Extend marko globals with defaults
1446
+
1447
+ ### 4.3.0-beta.4
1448
+
1449
+ - Fixes #673 - Circular dependency is causing problems with Webpack
1450
+
1451
+ ### 4.3.0-beta.3
1452
+
1453
+ - Changes related to #670 - Globals must be serialized earlier to allow early mount of UI components in
1454
+ - [docs] Improved docs for SSR
1455
+
1456
+ ### 4.3.0-beta.2
1457
+
1458
+ - Fixes for #670 - Add support for serialized globals and retain globals on re-render
1459
+
1460
+ ## 4.2.x
1461
+
1462
+ ### 4.2.8
1463
+
1464
+ - Bug: Fixes [#661](https://github.com/marko-js/marko/issues/661) - Component initialization code may end up in the wrong place
1465
+ - Bug: Fixes [#668](https://github.com/marko-js/marko/issues/668) - Declarative event listeners are now allowed on the `<include>` tag
1466
+
1467
+ ### 4.2.7
1468
+
1469
+ - Bug: Fixes [#650](https://github.com/marko-js/marko/issues/650) - The tag "await" does not support attribute "unless"
1470
+ - Improvements to legacy state
1471
+
1472
+ ### 4.2.6
1473
+
1474
+ - Bug: Fixes [#654](https://github.com/marko-js/marko/issues/654) - Bug: components implementing a `key` attribute break in Marko v4
1475
+ - Improvements to legacy compatibility layer
1476
+
1477
+ ### 4.2.5
1478
+
1479
+ - Improved support for UI components implemented using native JavaScript class in a separate file
1480
+ - Improved how legacy layout tags are handled by Marko v4
1481
+
1482
+ ### 4.2.4
1483
+
1484
+ - Bug: Fixes [#653](https://github.com/marko-js/marko/issues/653) - Event handlers are no longer bound in edge case
1485
+
1486
+ ### 4.2.3
1487
+
1488
+ - Bug: Fixes [#649](https://github.com/marko-js/marko/issues/649) - New line always added to `textarea` and other elements for single line/delimited HTML blocks
1489
+
1490
+ ### 4.2.2
1491
+
1492
+ - Bug: Fixes [#648](https://github.com/marko-js/marko/issues/648) - Style attribute object and lengths not handled properly
1493
+
1494
+ ### 4.2.1
1495
+
1496
+ - Bug: Fixed [#644](https://github.com/marko-js/marko/issues/644) - Attribute not rendered by Marko is not preserved if component first rendered on the server
1497
+ - [Performance] Escaping is not needed for the `data-marko` attribute
1498
+
1499
+ ### 4.2.0
1500
+
1501
+ - Bug: Fixed [#629](https://github.com/marko-js/marko/issues/629) - VDOM: Rendering unescaped HTML produces non-functioning HTML input controls
1502
+ - Bug: Fixed [#634](https://github.com/marko-js/marko/issues/634) - writeInitComponentsCode is not a function
1503
+ - Enhancement: Added support to allow improved precompiling of templates
1504
+ - Enhancement: Fixed [#636](https://github.com/marko-js/marko/issues/636) - Add error when macro with duplicate name is found
1505
+ - Performance: Optimized diffing/patching to avoid indexing entire tree to find keyed elements
1506
+ - Performance: Optimized how event handlers are attached to VDOM nodes (separated from attributes)
1507
+
1508
+ ## 4.1.x
1509
+
1510
+ ### 4.1.3
1511
+
1512
+ - Bug: Fixed losing cursor position in Edge (see [morphdom PR #100](https://github.com/patrick-steele-idem/morphdom/pull/100) by [@zastavnitskiy](https://github.com/zastavnitskiy))
1513
+ - Bug: Ignore `xmlns` attributes when virtualizing real DOM nodes (needed when inserting an HTML string when rendering to a VDOM)
1514
+
1515
+ ### 4.1.2
1516
+
1517
+ - Bug: Fixed [#623](https://github.com/marko-js/marko/issues/623) - Uncaught TypeError: `toEl.$__hasAttribute` is not a function
1518
+ - Bug: Fixed [#619](https://github.com/marko-js/marko/issues/619) - Deprecated `constructor()` for UI component classes
1519
+
1520
+ ### 4.1.1
1521
+
1522
+ - Added `"use strict";` to restore Node.js compatibility for Node.js v4 and v5
1523
+
1524
+ ### 4.1.0
1525
+
1526
+ - Bug: Fixes [#611](https://github.com/marko-js/marko/issues/611) - Component IDs are not being assigned correctly when intermediate non-component is rendered
1527
+ - Performance: SVG namespaced elements are now resolved determined at compile-time
1528
+ - Performance: Merged in `morphdom` and optimized for Marko
1529
+ - Performance: Optimized diffing/patching of elements with only simple attributes in the following set: `class`, `id` and `style`
1530
+
1531
+ ## 4.0.x
1532
+
1533
+ ### 4.0.1
1534
+
1535
+ - Bug: Fixes [#612](https://github.com/marko-js/marko/issues/612) - Compile error when class method has empty `return`
1536
+ - Bug: Fixes [#604](https://github.com/marko-js/marko/issues/604) - `no-update` attributes error when first rendered on the server
1537
+ - Bug: Fixes [#608](https://github.com/marko-js/marko/issues/608) - Component losing `renderBody` input on a particular redraw
1538
+ - Enhancement: Fixes [#606](https://github.com/marko-js/marko/issues/606) - named single-file component doesn't work
1539
+
1540
+ ### 4.0.0
1541
+
1542
+ - Marko v4! [Release Announcement](https://medium.com/@mlrawlings/marko-4-0-is-here-837884c5f60d)
1543
+
1544
+ # 3.x
1545
+
1546
+ ## 3.13.x
1547
+
1548
+ ### 3.13.2
1549
+
1550
+ - Fixed [#478](TagLookup fails when merging taglibs) - TagLookup fails when merging taglibs
1551
+
1552
+ ### 3.13.1
1553
+
1554
+ - Fixes [#465](https://github.com/marko-js/marko/issues/465)
1555
+
1556
+ ### 3.13.0
1557
+
1558
+ ## 3.12.x
1559
+
1560
+ ### 3.12.0
1561
+
1562
+ - Added warnings for using render methods when you want string output ([Pull Request #450](https://github.com/marko-js/marko/pull/450) by [@mlrawlings](https://github.com/mlrawlings))
1563
+
1564
+ ## 3.11.x
1565
+
1566
+ ### 3.11.8
1567
+
1568
+ - Fixes [#382](https://github.com/marko-js/marko/issues/382) - Local variable for tag should have prefix or suffix to avoid conflict
1569
+
1570
+ ### 3.11.7
1571
+
1572
+ - Fixes [#381](https://github.com/marko-js/marko/issues/381) - `$global` broken when using `template.stream()`
1573
+
1574
+ ### 3.11.6
1575
+
1576
+ - Internal change: `AsyncWriter` → `AsyncStream`
1577
+
1578
+ ### 3.11.5
1579
+
1580
+ - (no changes)
1581
+
1582
+ ### 3.11.4
1583
+
1584
+ - Update to `async-writer@2`
1585
+
1586
+ ### 3.11.3
1587
+
1588
+ - Silently ignore errors when parsing tag definition code inlined in JavaScript
1589
+
1590
+ ### 3.11.2
1591
+
1592
+ - Fixed [#318](https://github.com/marko-js/marko/issues/318) - Use compiler options passed to require hook to configure marko globally
1593
+
1594
+ ```javascript
1595
+ require("marko/node-require").install({
1596
+ compilerOptions: {
1597
+ writeToDisk: false
1598
+ }
1599
+ });
1600
+ ```
1601
+
1602
+ ### 3.11.1
1603
+
1604
+ - Fixed [#370](https://github.com/marko-js/marko/issues/370) - HTML characters in loop separator string should not be escaped
1605
+
1606
+ ### 3.11.0
1607
+
1608
+ - Introduced the `<include-html(path)>` tag for including static HTML:
1609
+
1610
+ ```xml
1611
+ <include-html('./foo.html')>
1612
+ ```
1613
+
1614
+ ## 3.10.x
1615
+
1616
+ ### 3.10.1
1617
+
1618
+ - Fixed [#44](https://github.com/marko-js/marko/issues/44) - Webpack compatibility fixes. Also see [marko-loader](https://github.com/marko-js/marko-loader) (A marko loader for webpack)
1619
+
1620
+ ### 3.10.0
1621
+
1622
+ - Fixed [#357](https://github.com/marko-js/marko/issues/357) - Deprecate `empty`/`notEmpty` in Marko v3
1623
+
1624
+ ## 3.9.x
1625
+
1626
+ ### 3.9.4
1627
+
1628
+ - Fixed [#355](https://github.com/marko-js/marko/issues/355) - `status-var`/`separator` options not handled when looping over properties
1629
+ - Fixed [#354](https://github.com/marko-js/marko/issues/354) - regular expressions used in attribute values are not being handled correctly
1630
+ - Fixed [#353](https://github.com/marko-js/marko/issues/353) - `body-only-if` attribute does not work with custom tags (only HTML tags)
1631
+
1632
+ ### 3.9.3
1633
+
1634
+ - Upgraded to `raptor-util@^2`
1635
+
1636
+ ### 3.9.2
1637
+
1638
+ - Fixed [#327](https://github.com/marko-js/marko/issues/327) - alt attribute with empty string should be allowed ([Pull Request #350](https://github.com/marko-js/marko/pull/350) by [@mlrawlings](https://github.com/mlrawlings))
1639
+
1640
+ ### 3.9.1
1641
+
1642
+ - Fixed [#348](https://github.com/marko-js/marko/issues/348) - exclude all `*.orig` and other files from published npm package
1643
+
1644
+ ### 3.9.0
1645
+
1646
+ - Fixed [#231](https://github.com/marko-js/marko/issues/231) - Allow <assign count++>
1647
+ - Fixed [#345](https://github.com/marko-js/marko/issues/345) - Whitespace preservation now applies to all deeply nested text nodes
1648
+ - Fixed [#344](https://github.com/marko-js/marko/issues/344) - Introduced [defineRenderer](./docs/javascript-api.md#requiremarkodefinerenderer) for Marko
1649
+ - Docs: Added docs for excluding directories from taglib discovery ([@mlrawlings](https://github.com/mlrawlings))
1650
+ - Docs: Added docs for component autodiscovery ([@mlrawlings](https://github.com/mlrawlings))
1651
+ - Docs: Added docs for passing a data object to a custom tag
1652
+
1653
+ ## 3.8.x
1654
+
1655
+ ### 3.8.1
1656
+
1657
+ - Fixed [#342](https://github.com/marko-js/marko/issues/342) - `await:finish` event not emitted for async fragments with client reorder and that complete synchronously
1658
+
1659
+ ### 3.8.0
1660
+
1661
+ - Fixed [#329](https://github.com/marko-js/marko/issues/329) - Add autodiscover of components/ directory ([Pull Request #338](https://github.com/marko-js/marko/pull/338) by [@mlrawlings](https://github.com/mlrawlings))
1662
+
1663
+ ## 3.7.x
1664
+
1665
+ ### 3.7.4
1666
+
1667
+ - Fixed [#339](https://github.com/marko-js/marko/issues/339) - Tag transformers are not being applied to tags with a dynamic tag name (fixes [#146](https://github.com/marko-js/marko-components/issues/146) for Marko Components)
1668
+
1669
+ ### 3.7.3
1670
+
1671
+ - Fixed [#332](https://github.com/marko-js/marko/issues/332) and [#333](https://github.com/marko-js/marko/issues/333) - Correct values for `literalUndefined` and `literalFalse` in the Builder API [@bkuri](https://github.com/bkuri)
1672
+ - Fixed [#336](https://github.com/marko-js/marko/issues/336) - Upgraded to latest version of `minimatch`
1673
+
1674
+ ### 3.7.2
1675
+
1676
+ - Fixed [#328](https://github.com/marko-js/marko/issues/328) - Improve error reporting when taglib/tag definition fails to load
1677
+ - Additional change to disable escaping for dynamic `Text` nodes added to body of `<script>` tag to fix [issue #326](https://github.com/marko-js/marko/issues/326)
1678
+
1679
+ ### 3.7.1
1680
+
1681
+ - Improved escaping within the `<script>` tag to fix [issue #322](https://github.com/marko-js/marko/issues/322). Special HTML characters will no longer be escaped within the context of the `<script>` tag since browsers do not decode HTML entities within the `<script>` tag. Instead, only the ending `</script>` tag sequence is escaped using JavaScript string escaping sequences.
1682
+
1683
+ ### 3.7.0
1684
+
1685
+ - Made change to make configuration a true singleton shared across all instances of `marko` loaded at runtime ([commit](https://github.com/marko-js/marko/commit/cd797322adf80f2890015de7b8f62301c2921a0a))
1686
+
1687
+ ## 3.6.x
1688
+
1689
+ ### 3.6.2
1690
+
1691
+ - Improved support for hot reloading by automatically disabling `assumeUpToDate` if hot reload is enabled. ([Pull Request #320](https://github.com/marko-js/marko/pull/320) by [@ianvonholt](https://github.com/ianvonholt))
1692
+
1693
+ ### 3.6.1
1694
+
1695
+ - Fixed a bug that was causing transforms to be run on detached nodes. This was manifesting itself in the `<async-fragment>` to `<await>` transform if an `if()` attribute was present (or other core attributes that end up wrapping the tag it is defined on).
1696
+
1697
+ ### 3.6.0
1698
+
1699
+ - Introduced a new and simpler `<await>` tag that should be used instead of the now deprecated `<async-fragment>` tag (see deprecation details below) ([Pull Request #312](https://github.com/marko-js/marko/pull/312) by [@mlrawlings](https://github.com/mlrawlings))
1700
+
1701
+ #### Deprecations
1702
+
1703
+ - Deprecated the `<async-fragment var="<var>" data-provider=<data-provider>>` tag in favor of the `<await(<var> from <data-provider>)>` tag:
1704
+
1705
+ OLD:
1706
+
1707
+ ```xml
1708
+ <async-fragment var="userInfo" data-provider=data.userInfoPromise>
1709
+ Hello ${userInfo.name}!
1710
+ </async-fragment>
1711
+ ```
1712
+
1713
+ NEW:
1714
+
1715
+ ```xml
1716
+ <await(userInfo from data.userInfoPromise)>
1717
+ Hello ${userInfo.name}!
1718
+ </await>
1719
+ ```
1720
+
1721
+ The `<await>` tag supports all of the attributes of the previous `<async-fragment>` tag except for `var` and `data-provider`:
1722
+
1723
+ ```xml
1724
+ <await(userInfo from data.userInfoPromise) name="userInfo" timeout=10000 client-reorder>
1725
+ Hello ${userInfo.name}!
1726
+ </await>
1727
+ ```
1728
+
1729
+ Finally, the nested tags for providing content for the placeholder, error and timeout messages have been renamed accordingly:
1730
+
1731
+ ```xml
1732
+ <await(userInfo from data.userInfoPromise) client-reorder>
1733
+ <await-placeholder>
1734
+ This is alternate content while the async fragment is loading.
1735
+ </await-placeholder>
1736
+ <await-timeout>
1737
+ A timeout has occurred!
1738
+ </await-timeout>
1739
+ <await-error>
1740
+ A error has occurred!
1741
+ </await-error>
1742
+
1743
+ Hello ${userInfo.name}!
1744
+ </await>
1745
+ ```
1746
+
1747
+ ## 3.5.x
1748
+
1749
+ ### 3.5.1
1750
+
1751
+ - Fixes #316 - Autocomplete for tags is not updated when tag files updated despite clearing cache. This improves the [autocomplete-marko](https://github.com/marko-js/atom-autocomplete-marko) plugin for Atom.
1752
+ - Fixes #314 - Remove hyphens from include props
1753
+ - Deprecated:
1754
+ - Properties passed in using the `<include>` tag should not be access using hyphens.
1755
+
1756
+ For example, given the following template:
1757
+
1758
+ ```xml
1759
+ <include("./include-target.marko") first-name='Jane'/>
1760
+ ```
1761
+
1762
+ The `first-name` data should be accessed using the `firstName` property:
1763
+
1764
+ ```javascript
1765
+ var firstName = input.firstName;
1766
+ // NOT: var firstName = input['first-name'];
1767
+ ```
1768
+
1769
+ ### 3.5.0
1770
+
1771
+ - Added functionality to exclude specific directory or package from taglib finder ([Pull Request #309](https://github.com/marko-js/marko/pull/309) by [@oxala](https://github.com/oxala))
1772
+
1773
+ ## 3.4.x
1774
+
1775
+ ### 3.4.9
1776
+
1777
+ - Fixed [https://github.com/marko-js/marko/issues/307] - Marko concise syntax, with multiple class names ([Pull Request #308](https://github.com/marko-js/marko/pull/308) by [@mlrawlings](https://github.com/mlrawlings))
1778
+
1779
+ ### 3.4.8
1780
+
1781
+ - Added support for an "enum" attribute value
1782
+
1783
+ ### 3.4.7
1784
+
1785
+ - Async fragment improvements ([Pull Request #305](https://github.com/marko-js/marko/pull/305) by [@mlrawlings](https://github.com/mlrawlings))
1786
+ - Adds additional event info (finished/timedout) to the data emitted from <async-fragment> tags.
1787
+ - Ensures that renderBody() is not called again if the fragment has already finished (timed out).
1788
+ - Fixes `npm run test-async`
1789
+ - Removes a redundant `async-fragment` timeout related test
1790
+
1791
+ ### 3.4.6
1792
+
1793
+ - Updated autocomplete information
1794
+
1795
+ ### 3.4.5
1796
+
1797
+ - Fixes #304 - async-fragment-tag-transformer.js being loaded by PhantomJS
1798
+ - Updated taglibs with additional information to support tooling
1799
+ - Added [Michael Rawlings](https://github.com/mlrawlings) as a maintainer
1800
+
1801
+ ### 3.4.4
1802
+
1803
+ - Fixes #303 - `addStaticVar` is not generating unique variable names correctly
1804
+
1805
+ ### 3.4.3
1806
+
1807
+ - Improved validation for macros ([@mlrawlings](https://github.com/mlrawlings), [PR #300](https://github.com/marko-js/marko/pull/300))
1808
+ - Added code coverage reporting ([@mlrawlings](https://github.com/mlrawlings), [PR #301](https://github.com/marko-js/marko/pull/301))
1809
+
1810
+ ### 3.4.2
1811
+
1812
+ - Improved error reporting in cases when code generation fails ([@mlrawlings](https://github.com/mlrawlings))
1813
+
1814
+ ### 3.4.1
1815
+
1816
+ - Additional tweaks for #298 - Always emit correct events for async fragments
1817
+
1818
+ ### 3.4.0
1819
+
1820
+ - Fixes #298 - Always emit correct events for async fragments
1821
+ - Updated docs
1822
+
1823
+ ## 3.3.x
1824
+
1825
+ ### 3.3.0
1826
+
1827
+ - Include async fragment name in the `asyncFragmentFinish` events ([@kprakasam](https://github.com/kprakasam))
1828
+
1829
+ ## 3.2.x
1830
+
1831
+ ### 3.2.0
1832
+
1833
+ - Fixes #286 - Add res.marko(templateData) for use with Express ([@mlrawlings](https://github.com/mlrawlings))
1834
+
1835
+ ## 3.1.x
1836
+
1837
+ ### 3.1.9
1838
+
1839
+ - Fixes #288 - Provide API for discovering custom tags and attributes for autocomplete/tooling purposes
1840
+ - Documentation improvements
1841
+
1842
+ ### 3.1.8
1843
+
1844
+ - Fixes #280 - Switch from jsonminify to strip-json-comments
1845
+ - Updated docs for Koa and Hapi
1846
+ - Additional tests for Node.js v6
1847
+
1848
+ ### 3.1.7
1849
+
1850
+ - Fixes #274 - marko-compiler-options tag is not properly ended when using raw parsing (for prettyprint)
1851
+
1852
+ ### 3.1.6
1853
+
1854
+ - Fixes #268 - this.write is not a function for empty ArrayExpression
1855
+
1856
+ ### 3.1.5
1857
+
1858
+ - Fixes #262 - node-require module removes `.marko` extension from filenames in compiled code
1859
+
1860
+ ### 3.1.4
1861
+
1862
+ - Fixes #267 - Shorthand CSS class name cannot be combined with object/array class names
1863
+
1864
+ ### 3.1.3
1865
+
1866
+ - Fixed #266 - Hot reloading fails if original template is deleted
1867
+
1868
+ ### 3.1.2
1869
+
1870
+ - Fixed error reporting when using `compiler.parseRaw()`
1871
+ - Added test for #262
1872
+
1873
+ ### 3.1.1
1874
+
1875
+ - Improved whitespace removal for text nodes directly below the root
1876
+
1877
+ ### 3.1.0
1878
+
1879
+ - Fixes #254 - Allow preserve whitespace to be enabled at the global level
1880
+
1881
+ ## 3.0.x
1882
+
1883
+ ### 3.0.7
1884
+
1885
+ - Fixes #240 - Always trim start and end of template (even if preserveWhitespace is true)
1886
+ - Fixes #260 - Circular custom tags causes infinite recursion when writeToDisk is set to false
1887
+ - Minor internal cleanup
1888
+
1889
+ ### 3.0.6
1890
+
1891
+ - Don't wrap exception in `parseJavaScript` if error object was not created by Esprima
1892
+
1893
+ ### 3.0.5
1894
+
1895
+ - Fixes #257 - Placeholders don't render for out-of-order async fragments
1896
+
1897
+ ### 3.0.4
1898
+
1899
+ - Fixes #256 - Convert attributes to title case if no attributes are declared for a custom tag
1900
+ - Use `<noscript>` for out-of-order async fragment placeholders
1901
+
1902
+ ### 3.0.3
1903
+
1904
+ - Make renderSync behave if no context was supplied ([PR #250](https://github.com/marko-js/marko/pull/250) by [@jsumners](https://github.com/jsumners))
1905
+
1906
+ ### 3.0.2
1907
+
1908
+ - Store `tagDef` with `HtmlElement` node (needed for pretty printing)
1909
+
1910
+ ### 3.0.1
1911
+
1912
+ - Docs: Fixed minor issues in docs
1913
+ - Reintroduced support for the `MARKO_CLEAN` environment variable: `MARK_CLEAN=true node server.js`
1914
+
1915
+ ### 3.0.0
1916
+
1917
+ - See: [What's New in Marko v3](http://markojs.com/docs/marko/what-is-new-marko-v3/)
1918
+
1919
+ # 2.x
1920
+
1921
+ ## 2.8.x
1922
+
1923
+ ### 2.8.4
1924
+
1925
+ - Fixes circular dependency issue between runtime/index.js and hot-reload/index.js
1926
+
1927
+ ### 2.8.3
1928
+
1929
+ - Fixes circular dependency issue between runtime/index.js and hot-reload/index.js
1930
+
1931
+ ### 2.8.2
1932
+
1933
+ - Fixes #203 - Incorrect behavior when attrs is used on a standard HTML tag with a tag def
1934
+
1935
+ ### 2.8.1
1936
+
1937
+ - Fixes #202 - Pass along options to compiler when loading a template
1938
+
1939
+ ### 2.8.0
1940
+
1941
+ - Added support for automatically discovering taglibs from installed packages that are scoped. ([PR #183](https://github.com/marko-js/marko/pull/183) by [@tropperstyle](https://github.com/tropperstyle))
1942
+
1943
+ ### 2.8.3
1944
+
1945
+ - Fixes circular dependency issue between `hot-reload/index.js` and `runtime/index.js`
1946
+
1947
+ ## 2.7.x
1948
+
1949
+ ### 2.7.31
1950
+
1951
+ - Fixes #167 - Nested tags only work one level deep
1952
+
1953
+ ### 2.7.30
1954
+
1955
+ - docs: don't exclude docs in .npmignore
1956
+
1957
+ ### 2.7.29
1958
+
1959
+ - Fixes #161 - Nested tags with no body content are not handled correctly
1960
+
1961
+ ### 2.7.28
1962
+
1963
+ - Fixes #140 - Also de-dupe cached taglibs in finder
1964
+
1965
+ ### 2.7.27
1966
+
1967
+ - Make loading template from String template source easier:
1968
+
1969
+ ```javascript
1970
+ var template = marko.load(templatePath, "Hello $!{data.name}!");
1971
+ ```
1972
+
1973
+ _NOTE: Loading directly from source only works on the server_
1974
+
1975
+ See [Pull Request #153](https://github.com/marko-js/marko/pull/153)
1976
+
1977
+ ### 2.7.26
1978
+
1979
+ - Use shorter relative paths in error messages
1980
+
1981
+ ### 2.7.25
1982
+
1983
+ - Fixes #150 - Provide option to prevent writing compiled templates to disk. Example usage:
1984
+
1985
+ ```javascript
1986
+ require("marko/compiler").defaultOptions.writeToDisk = false;
1987
+ ```
1988
+
1989
+ NOTE: If you disable writing compiled templates to disk then it will be a little harder to debug errors in templates on the server since the stack trace will refer to a file that has not been written to disk.
1990
+
1991
+ For a more complete list of compiler options please see: http://markojs.com/docs/marko/javascript-api/#defaultoptions
1992
+
1993
+ ### 2.7.24
1994
+
1995
+ - Fixes #140 - De-dupe taglibs by module name
1996
+ - Documentation: Miscellaneous changes
1997
+
1998
+ ### 2.7.23
1999
+
2000
+ - Fixed a typo for `rendererFunc` `in helpers.js` (commit: 0205a47f04911f34ca4d458970d710f81a143987)
2001
+
2002
+ ### 2.7.22
2003
+
2004
+ - New language feature: [`unless` support added](http://markojs.com/docs/marko/language-guide/#unlesselse-ifelse)
2005
+
2006
+ ### 2.7.21
2007
+
2008
+ - Automatically enable hot-reload and browser-refresh if launched using [browser-refresh](https://github.com/patrick-steele-idem/browser-refresh)
2009
+
2010
+ ### 2.7.20
2011
+
2012
+ - Documentation: Miscellaneous changes
2013
+
2014
+ ### 2.7.19
2015
+
2016
+ - Fixes #137 - adds support for dynamic HTML tag names
2017
+
2018
+ ### 2.7.18
2019
+
2020
+ - Improvement: Better resolving of tag renderer
2021
+ - Compiler: Fix to make compiler work in the browser
2022
+
2023
+ ### 2.7.17
2024
+
2025
+ - Fixes #135 Allow "attrs" attribute on custom tags
2026
+
2027
+ ### 2.7.16
2028
+
2029
+ - Improved handling of imports
2030
+ - Better handling of loading taglibs with circular dependencies
2031
+
2032
+ ### 2.7.15
2033
+
2034
+ - Handle circular taglib imports
2035
+
2036
+ ### 2.7.14
2037
+
2038
+ - Fixes #131 - Recursively handle taglib imports
2039
+
2040
+ ### 2.7.13
2041
+
2042
+ - Added a `.npmignore` file
2043
+ - Fixed licensing header in source
2044
+ - Documentation: improved docs for input.renderBody()
2045
+ - Documentation: Miscellaneous changes
2046
+
2047
+ ### 2.7.12
2048
+
2049
+ - Fixes #122 Don't allow invalid attributes when using shorthand
2050
+ - Fixes #122 Typo in hasAttributes
2051
+ - Fixes #127 - Make sure all possible input files are accounted for when checking if a compiled template is up-to-date
2052
+ - Use `browser.json` files instead of `optimizer.json` files
2053
+ - Documentation: Improved docs for async taglib
2054
+ - Documentation: Added empty() and notEmpty() helpers to the readme
2055
+ - Added Martin Aberer as a maintainer
2056
+ - Documentation: Miscellaneous changes
2057
+
2058
+ ### 2.7.11
2059
+
2060
+ - New logo!
2061
+
2062
+ ### 2.7.10
2063
+
2064
+ - Fixes #118 Better error when parsing JSON file for tag
2065
+ - Testing: More test cases related to empty attributes
2066
+ - Documentation: Clarification for the Node.js require extension
2067
+ - Documentation: doc reference for `getLength()` of loop `status-var`
2068
+ - Documentation: Added reference to [sublime-marko](https://github.com/merwan7/sublime-marko) under the tools section.
2069
+
2070
+ ### 2.7.9
2071
+
2072
+ - Fixes #109 - Allow `compiler.createNode('div')`
2073
+ - Fixes #108 - Improve how the `MARKO_CLEAN` env variable is handled
2074
+
2075
+ ### 2.7.8
2076
+
2077
+ - Minor documentation changes
2078
+
2079
+ ### 2.7.7
2080
+
2081
+ - Allow `.html` extension for layouts (Fix for https://github.com/raptorjs/marko-layout/issues/2)
2082
+
2083
+ ### 2.7.6
2084
+
2085
+ - Make require('marko/node-require').install() a noop in the browser
2086
+
2087
+ ### 2.7.5
2088
+
2089
+ - Improvement: Allow `template-data` to be combined with other attributes on the `<include>` tag
2090
+ - Documentation: Fixes #98 - docs for `<include template-data="...">`
2091
+
2092
+ ### 2.7.4
2093
+
2094
+ - Fixes #96 - Allow relative, dynamic include paths
2095
+
2096
+ ### 2.7.3
2097
+
2098
+ - Internal change: Additional test cases added for using promises with async fragments
2099
+
2100
+ ### 2.7.2
2101
+
2102
+ - Fixes #73 - Prevent same taglib from being loaded multiple times
2103
+
2104
+ ### 2.7.1
2105
+
2106
+ - Fixes #88 - Assign global data to the correct out
2107
+
2108
+ ### 2.7.0
2109
+
2110
+ - Fixes [#27](https://github.com/raptorjs/marko/issues/27) - IE conditional comments (e.g., `<!--[if lt IE 9]><div><![endif]-->`) are automatically preserved. Previously, all HTML comments were stripped out when loading a template. For example:
2111
+ - Added support for `<compiler-options comments="preserve"/>` to enable comments to preserved in a template. For example:
2112
+
2113
+ ```xml
2114
+ <compiler-options comments="preserve"/>
2115
+ Hello
2116
+ <!--This comment should be preserved-->
2117
+ World
2118
+ ```
2119
+
2120
+ Output:
2121
+
2122
+ ```xml
2123
+ Hello
2124
+ <!--This comment should be preserved-->
2125
+ World
2126
+ ```
2127
+
2128
+ ## 2.6.x
2129
+
2130
+ ### 2.6.0
2131
+
2132
+ - Performance improvements
2133
+ - `'use strict';`
2134
+ - Optimized render code paths
2135
+ - Code cleanup
2136
+ - Compatibility fixes for Node.js 0.12
2137
+ - Bad: `fs.readFile(path, 'utf8')`
2138
+ - Good: `fs.readFile(path, {encoding: 'utf8'})`
2139
+
2140
+ ## 2.5.x
2141
+
2142
+ ### 2.5.0
2143
+
2144
+ - Fixes #78 - Custom Node.js require extension for Marko template files. Example usage:
2145
+
2146
+ ```javascript
2147
+ // Install the Node.js require extension in your application's main script (server-side only)
2148
+ require("marko/node-require").install();
2149
+
2150
+ // Now you can require `*.marko` files just like any other JavaScript module
2151
+ var template = require("./hello.marko");
2152
+ var html = template.renderSync({ name: "Frank" });
2153
+ ```
2154
+
2155
+ - Compiled templates now export a loaded Template instance. In the previous version of marko, compiled templates exported a function that could be used to create a loaded Template instance.
2156
+
2157
+ ## 2.4.x
2158
+
2159
+ ### 2.4.3
2160
+
2161
+ - Fixes edge case: More precise regular expression for decoding HTML entities
2162
+
2163
+ ### 2.4.2
2164
+
2165
+ - Internal: Fixes #75 Always assign the tag property to custom tag nodes
2166
+
2167
+ ### 2.4.1
2168
+
2169
+ - Improvement to allow taglibs to be imported from other taglibs ([commit](https://github.com/raptorjs/marko/commit/73e9a3420a1bac3e2c201d4dcadf21c0701b5222))
2170
+
2171
+ ### 2.4.0
2172
+
2173
+ - Added support for short-hand tags and attributes
2174
+
2175
+ Old `marko-taglib.json`:
2176
+
2177
+ ```json
2178
+ {
2179
+ "tags": {
2180
+ "my-hello": {
2181
+ "renderer": "./hello-renderer",
2182
+ "attributes": {
2183
+ "name": "string"
2184
+ }
2185
+ }
2186
+ }
2187
+ }
2188
+ ```
2189
+
2190
+ Short-hand `marko-taglib.json`:
2191
+
2192
+ ```json
2193
+ {
2194
+ "<my-hello>": {
2195
+ "renderer": "./hello-renderer",
2196
+ "@name": "string"
2197
+ }
2198
+ }
2199
+ ```
2200
+
2201
+ - Fixes #61 Simplify parent/child relationships
2202
+
2203
+ Marko now supports custom tags in the following format: `<parent_tag.nested_tag>`
2204
+
2205
+ Example usage:
2206
+
2207
+ ```html
2208
+ <ui-tabs orientation="horizontal">
2209
+ <ui-tabs.tab title="Home"> Content for Home </ui-tabs.tab>
2210
+ <ui-tabs.tab title="Profile"> Content for Profile </ui-tabs.tab>
2211
+ <ui-tabs.tab title="Messages"> Content for Messages </ui-tabs.tab>
2212
+ </ui-tabs>
2213
+ ```
2214
+
2215
+ **_ui-tabs/marko-tag.json_**
2216
+
2217
+ ```json
2218
+ {
2219
+ "@orientation": "string",
2220
+ "@tabs <tab>[]": {
2221
+ "@title": "string"
2222
+ }
2223
+ }
2224
+ ```
2225
+
2226
+ **_ui-tabs/renderer.js_**
2227
+
2228
+ ```javascript
2229
+ var template = require("marko").load(require.resolve("./template.marko"));
2230
+
2231
+ exports.renderer = function(input, out) {
2232
+ var tabs = input.tabs;
2233
+
2234
+ // Tabs will be in the following form:
2235
+ // [
2236
+ // {
2237
+ // title: 'Home',
2238
+ // renderBody: function(out) { ... }
2239
+ // },
2240
+ // {
2241
+ // title: 'Profile',
2242
+ // renderBody: function(out) { ... }
2243
+ // },
2244
+ // {
2245
+ // title: 'Messages',
2246
+ // renderBody: function(out) { ... }
2247
+ // }
2248
+ // ]
2249
+ console.log(tabs.length); // Output: 3
2250
+
2251
+ template.render(
2252
+ {
2253
+ tabs: tabs
2254
+ },
2255
+ out
2256
+ );
2257
+ };
2258
+ ```
2259
+
2260
+ **_ui-tabs/template.marko_**
2261
+
2262
+ ```html
2263
+ <div class="tabs">
2264
+ <ul class="nav nav-tabs">
2265
+ <li class="tab" for="tab in data.tabs">
2266
+ <a href="#${tab.title}"> ${tab.title} </a>
2267
+ </li>
2268
+ </ul>
2269
+ <div class="tab-content">
2270
+ <div class="tab-pane" for="tab in data.tabs">
2271
+ <invoke function="tab.renderBody(out)" />
2272
+ </div>
2273
+ </div>
2274
+ </div>
2275
+ ```
2276
+
2277
+ ## 2.3.x
2278
+
2279
+ ### 2.3.2
2280
+
2281
+ Fixes #66 - Allow circular dependencies when loading templates
2282
+
2283
+ ### 2.3.1
2284
+
2285
+ - Testing framework changes
2286
+ - Fixes #65 - Generated variable name is an empty string in some cases
2287
+
2288
+ ### 2.3.0
2289
+
2290
+ - Fixes #53 Merge c-input with attr props
2291
+
2292
+ ## 2.2.x
2293
+
2294
+ ### 2.2.2
2295
+
2296
+ Fixes #60 Don't replace special operators for body functions
2297
+
2298
+ ### 2.2.1
2299
+
2300
+ - Fixes #58 Added support for MARKO_CLEAN env variable (force recompile of all loaded templates). Example usage:
2301
+
2302
+ ```bash
2303
+ MARKO_CLEAN=true node run.js
2304
+ ```
2305
+
2306
+ - Code formatting: add spaces in var code
2307
+
2308
+ ### 2.2.0
2309
+
2310
+ - Fixes #51 Allow body content to be mapped to a String input property
2311
+ - Fixes #52 Remove JavaScript comments from JSON taglib files before parsing
2312
+
2313
+ ## 2.1.x
2314
+
2315
+ ### 2.1.6
2316
+
2317
+ - Fixes #50 Initialize the loader after the runtime is fully initialized
2318
+
2319
+ ### 2.1.5
2320
+
2321
+ - Fixes #50 Ensure that all instances of marko have hot-reload and browser-refresh enabled
2322
+
2323
+ ### 2.1.4
2324
+
2325
+ - Allowing complex var names (i.e. LHS) for the `<assign>` tag.
2326
+
2327
+ ### 2.1.3
2328
+
2329
+ - Minor change: Slight improvement to code to resolve tag handler
2330
+
2331
+ ### 2.1.2
2332
+
2333
+ - Minor change: Improve how renderer is resolved
2334
+
2335
+ ### 2.1.1
2336
+
2337
+ - Fixes #48 name in marko-tag.json should override default name given during discovery
2338
+
2339
+ ### 2.1.0
2340
+
2341
+ - Fixes #47 - Added support for "taglib-imports"
2342
+
2343
+ ## 2.0.x
2344
+
2345
+ ### 2.0.12
2346
+
2347
+ - Fixes #31 - Add support for providing prefix when scanning for tags
2348
+ - Allow "code" to be a function that lazily evaluates to a code string during code generation
2349
+
2350
+ ### 2.0.11
2351
+
2352
+ - Added method for custom node compilers to get access to the `escapeXml` function at runtime
2353
+
2354
+ ### 2.0.10
2355
+
2356
+ - Fixes #39 - Added missing return when using hot-reload
2357
+
2358
+ ### 2.0.9
2359
+
2360
+ - Fixed bad publish
2361
+
2362
+ ### 2.0.8
2363
+
2364
+ - Better merging of tags when loading and merging taglibs
2365
+
2366
+ ### 2.0.7
2367
+
2368
+ - Changes to avoid problems associated with the same taglib being found multiple times in the search path
2369
+
2370
+ ### 2.0.6
2371
+
2372
+ - `renderBody` function is only added if tag has children
2373
+
2374
+ ### 2.0.5
2375
+
2376
+ - Fixed #36 - Don't use `invokeBody()` in the cache taglib
2377
+
2378
+ ### 2.0.4
2379
+
2380
+ - :exclamation: Fixed #36 - Deprecated - When using `<include>` with body content, nested body content is now passed in as `String` property named `body`. Old behavior: nested content would be passed in as a `Function` property named `invokeBody` that would return the `String` value of the nested content. `invokeBody()` has been deprecated.
2381
+
2382
+ ### 2.0.3
2383
+
2384
+ - Fixed #36 - Don't use `invokeBody()` in test code and the HTML comments tag
2385
+
2386
+ ### 2.0.2
2387
+
2388
+ - :exclamation: Fixed #36 - Deprecated `input.invokeBody()` in favor of `input.renderBody(out)`
2389
+ - Fixed #37 - Duplicate input property for custom tag renderers
2390
+
2391
+ ### 2.0.1
2392
+
2393
+ - Fixed #35 - Added support for `<compiler-options>`. Example:
2394
+
2395
+ ```html
2396
+ <compiler-options whitespace="preserve" /> A B C
2397
+ ```
2398
+
2399
+ ### 2.0.0
2400
+
2401
+ - Dynamic attributes for scanned tags without a tag will have dashes removed by default.
2402
+ - :exclamation: When using `tags-dir` to discover tags that do not have a `marko-tag.json`, the previous behavior was to allow all attributes and to use the actual attribute name as the input property name. For example, when using `<hello first-name="John">`, first name would need to be read in as `input['first-name']`. This was changed such that the first name property should now be read in as `input.firstName` (dashes removed and converted to camel case)
2403
+ - Changes to allow UI component to be put into a single JS file:
2404
+ - Updated taglib directory scanner to use `index.js` if found. New search order:
2405
+ 1. `renderer.js` (use `renderer.js` if it exists)
2406
+ 2. `index.js` (use `index.js` if it exists and assume it exports a `renderer` or `render` property)
2407
+ 3. `template.marko` (use the template as the renderer if no `renderer.js` or `index.js`)
2408
+ - :exclamation: Changes to the taglib directory scanner could break existing code. Specifically, if a UI component directory had an `index.js` file and a `template.marko` file then in in `marko@<2` the `template.marko` file would have been selected as the renderer. In `marko@2.x`, the `index.js` will be selected as the tag renderer.
2409
+ - :exclamation: Removed support for mapping a tag renderer to a module with a `process` method
2410
+ - Removed sub-module `marko/renderer` that exports [raptor-renderer](https://github.com/raptorjs/raptor-renderer)
2411
+
2412
+ # 1.x
2413
+
2414
+ ## 1.6.x
2415
+
2416
+ ### 1.6.1
2417
+
2418
+ - Added back code to allow the new marko runtime to load templates compiled by an earlier compiler that used `module.exports`
2419
+
2420
+ ### 1.6.0
2421
+
2422
+ - Fixed #32. Switched from `module.exports = function create(__helpers) { ... }` to `exports.create = function(__helpers) { ... }` to avoid circular dependency problems
2423
+
2424
+ ## 1.5.x
2425
+
2426
+ ### 1.5.8
2427
+
2428
+ - Added support for adding "static" code to the top of a compiled template (helpful for initializing variables or running code once).
2429
+
2430
+ ### 1.5.7
2431
+
2432
+ - Added sub-module `marko/renderer` that exports [raptor-renderer](https://github.com/raptorjs/raptor-renderer)
2433
+
2434
+ ### 1.5.6
2435
+
2436
+ - Changes to avoid unoptimized code in V8
2437
+
2438
+ ### 1.5.5
2439
+
2440
+ - Handle case where template was loaded before hot-reload was enabled
2441
+
2442
+ ## 1.5.4
2443
+
2444
+ - Added support for `$global` in `renderSync`