Michael Rawlings
f3155e538c
add option to revert to old hydrate (pre 4.9) behavior ( #1289 )
2019-03-15 11:33:54 -07:00
Dylan Piercey
563786ea05
Fix startup regression in older browsers
2019-03-13 15:27:17 -07:00
Dylan Piercey
979c813190
Improve parsing of arguments ( #1286 )
...
* Improve parsing of arguments
2019-03-13 14:03:31 -07:00
Dylan Piercey
c96d181cd1
Fix issue with <title> namespace inside an svg ( #1284 )
2019-03-13 13:59:56 -07:00
Dylan Piercey
a85230075f
Forward error events from nested out of order async outs ( #1275 )
...
* Forward error events from nested out of order async outs
2019-03-05 14:52:06 -08:00
Dylan Piercey
cbf934d576
Prevent logging false positive deprecations for legacy nested tags ( #1271 )
2019-03-01 16:01:17 -08:00
Michael Rawlings
376ce66247
move legacy api into guarded block so it's not included in a server bundle ( #1267 )
...
Moves the legacy dependencies api (used by older versions of lasso-marko) into a block that's guarded by !process.env.BUNDLE. APIs inside this block use dynamic requires and are either intended for development or are legacy apis. This is needed so that webpack does not throw warnings or errors when building a bundle for node.
2019-02-20 16:23:55 -08:00
Dylan Piercey
95c515e66f
Fix function as event handler when server side rendering ( #1262 )
2019-02-15 15:49:08 -08:00
Dylan Piercey
933f70c67f
Update changelog
2019-02-14 16:47:01 -08:00
Michael Rawlings
d2a0de5a2e
fix <html-comment> tag ( #1261 )
2019-02-14 16:26:31 -08:00
Dylan Piercey
bfe194d8c9
Implement modern arguments support for dynamic tags ( #1259 )
2019-02-14 15:12:09 -08:00
Dylan Piercey
c7c32a900c
Deprecate some tags, and add notes for future deprecations ( #1258 )
2019-02-14 15:11:20 -08:00
Dylan Piercey
cdb60996d5
Fix regression with dynamic attributes as a string on server side ( #1257 )
2019-02-14 15:11:01 -08:00
Dylan Piercey
9e1577fff4
Migrate legacy macro syntax to tag params
2019-02-07 11:54:00 -08:00
Dylan Piercey
59ce9e8f07
Update <for> to use tag params and add migration ( #1238 )
2019-02-07 11:53:59 -08:00
Dylan Piercey
24753a7674
Upgrade <await> tag to use tag parameters and attribute tags. Add migration from old syntax. ( #1244 )
2019-02-07 11:50:49 -08:00
Dylan Piercey
681ba112cd
Remove unneeded hasRenderBody check ( #1255 )
2019-02-07 11:30:10 -08:00
Dylan Piercey
f7698fb774
Fix regression with escaped sequences in non standard template literals ( #1254 )
2019-02-05 11:31:05 -08:00
Spark Liu
cd0eb6997f
Fix #1251 - add flush before begin await
2019-02-02 12:13:08 -08:00
Dylan Piercey
6ed4e9dd7f
Improve optimization for nested tags wrapped in an if statement ( #1249 )
...
* Improve optimization for nested tags wrapped in an if statement with whitespace
2019-01-31 15:03:09 -08:00
Michael Rawlings
086d55af58
Client-reorder handle removed placeholder gracefully. ( #1243 )
2019-01-29 13:56:35 -08:00
Dylan Piercey
465ebee841
Treat importing tags the same as using the tag within the template. ( #1245 )
2019-01-29 13:56:18 -08:00
Dylan Piercey
cf9525c671
Fix regression when migrating include tags with side effects. ( #1246 )
2019-01-29 13:55:54 -08:00
Michael Rawlings
7fefb6b4b3
fix no-update when nodes don't match up during diff ( #1247 )
2019-01-29 13:55:35 -08:00
Michael Rawlings
2482427ef2
small changes to allow bundling the migrators with lasso (needed for try online) ( #1242 )
2019-01-23 15:31:29 -08:00
Dylan Piercey
0a1db5d8dc
Update marko.json for migrated tags ( #1239 )
2019-01-23 15:03:48 -08:00
Dylan Piercey
84427f81a9
No longer warn about migrating widget in template when component is used ( #1235 )
2019-01-17 13:27:38 -08:00
Michael Rawlings
75f1628d99
update to new htmljs-parser which supports pipe params, add flagged tag param migration ( #1236 )
...
* update to new htmljs-parser which supports pipe params, add flagged tag param migration
2019-01-17 13:26:59 -08:00
Dylan Piercey
1a268d8368
Fix walkers into some ast nodes ( #1233 )
...
Fix walking into some ast nodes
2019-01-15 11:08:34 -08:00
Dylan Piercey
a05d3c78fa
Add migrator for legacy nested tag syntax ( #1229 )
2019-01-14 10:54:04 -08:00
Dylan Piercey
0f5e40115a
Fix regression with the include tag migration outputting invalid identifiers for imports ( #1231 )
2019-01-14 10:53:52 -08:00
Michael Rawlings
d808906bd3
importing a marko template adds it to tags meta ( #1226 )
...
* importing a marko template adds it to tags meta
2019-01-10 13:12:41 -08:00
Michael Rawlings
b6443ea1f0
Fixes #1219 - transitive widget getEl and events ( #1225 )
2019-01-10 11:35:51 -08:00
Michael Rawlings
89368b0dab
fix dynamic attribute priority ( #1223 )
2019-01-07 12:22:34 -08:00
Dylan Piercey
c609ede7b8
Migrate non standard template literals ( #1224 )
2019-01-07 12:22:25 -08:00
Dylan Piercey
aef04be26d
Fix issue where dynamic tag migrations with imports would duplicate imports ( #1222 )
2019-01-04 15:04:20 -07:00
Dylan Piercey
2f00460e2c
Rename widget identifier when found in attributes ( #1220 )
2019-01-04 13:08:03 -08:00
Dylan Piercey
d700f3bb28
Fix debug mode eval class name ( #1218 )
2019-01-04 13:07:22 -07:00
Michael Rawlings
edd7d8e9b0
w-id migration key only for components ( #1217 )
...
* only add id:scoped for html/dynamic tags
2019-01-03 10:55:07 -07:00
Dylan Piercey
9684fdda39
Add file name migrations ( #1216 )
...
* Add file name migrations
2019-01-03 10:27:10 -07:00
Dylan Piercey
4d2242d9d7
Add migrator for w-config ( #1214 )
...
* Add mgirator for w-config
2018-12-28 13:55:45 -07:00
Dylan Piercey
390d21a547
Remove legacy invoke and ref code ( #1215 )
2018-12-28 13:54:49 -07:00
Bhavin Patel
714682edac
Migrate unless tag ( #1210 )
...
* migrator for unless tag
2018-12-28 13:54:27 -07:00
Dylan Piercey
cda14e87cf
Fix regression with w-body ( #1213 )
2018-12-28 10:59:55 -07:00
Dylan Piercey
ff31597a56
Fix migrator regressions and misc refactoring ( #1212 )
...
* Fixes control flow attributes on var tag.
* Fixes w-body to ensure that value exists.
* Ensures w-body and include properly enclose typeof expressions.
2018-12-28 10:14:33 -07:00
Bhavin Patel
d46ccb5a0f
Cleanup migrate code for w-id & w-preserve-attrs ( #1211 )
...
cleaned up code for w-id & w-preserve-attr
2018-12-28 09:57:07 -07:00
Bhavin Patel
f85768f2db
Migrate ref attribute ( #1207 )
...
Add migrator for ref attribute
2018-12-28 09:56:31 -07:00
Dylan Piercey
e1f60f20ca
Add migrations for marko-init and template-helpers directives ( #1209 )
2018-12-27 14:03:14 -07:00
Dylan Piercey
db5559cde1
Add migrator for include, layout-use and layout-placeholder tags ( #1204 )
...
Add migrator for include tag/directive
Add migrator for layout-placeholder tag
Add migrator for layout-use tag
2018-12-27 13:37:08 -07:00
Bhavin Patel
a8f20a0272
Added a migrator for <layout-put> ( #1206 )
...
Add migrator for layout-put tag
2018-12-27 13:16:27 -07:00