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