43 Commits

Author SHA1 Message Date
Dylan Piercey
3c6c851563
Fix issue with invoke tag that has control flow (#1366) 2019-06-26 12:04:42 -07:00
Dylan Piercey
b1cdb37cc1
Fix issue with render call binding for dynamic tag migration (#1362) 2019-06-24 14:29:12 -07:00
Dylan Piercey
f11929e36c Remove empty layout-put tags (#1355) 2019-06-24 14:28:50 -07:00
Dylan Piercey
81612e52ee
Fix regression with body-only-if and control flow attribute (#1356) 2019-06-14 17:09:33 -07:00
Andrew Gliga
9a4630a9c7
Fixed relative path issue and added a better variable collision lookup 2019-06-06 12:02:17 -07:00
Andrew Gliga
3b4d8484fe
Fixed test failures and cleaned up code 2019-05-15 14:46:38 -07:00
Andrew Gliga
5981fc3ef0
Added body only if tests and migration path 2019-05-15 13:06:20 -07:00
Dylan Piercey
962673b8da Improve w-body migration (#1318) 2019-04-16 13:02:32 -07:00
Michael Rawlings
9cb22a97eb fix macro with injected renderBody migration (#1300) 2019-03-27 15:31:52 -07:00
Michael Rawlings
a5dfa884ee
fix widget.elId as <var>/<assign> attribute (#1298) 2019-03-20 15:10:22 -07:00
Dylan Piercey
cbf934d576
Prevent logging false positive deprecations for legacy nested tags (#1271) 2019-03-01 16:01:17 -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
f7698fb774
Fix regression with escaped sequences in non standard template literals (#1254) 2019-02-05 11:31:05 -08:00
Dylan Piercey
cf9525c671
Fix regression when migrating include tags with side effects. (#1246) 2019-01-29 13:55:54 -08:00
Dylan Piercey
a0192633e7 Add test for migrating legacy tag params (#1237) 2019-01-23 15:10:02 -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
b9a0a98364
Update @marko/migrate and migration tests (#1232) 2019-01-15 11:06:28 -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
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
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
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
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
Bhavin Patel
b26d2608c7 Migrate w-body attr in favor of using dynamic tags (#1199)
Add migrator for w-body.
2018-12-26 08:13:54 -07:00
Bhavin Patel
1f5f138504 Migrate legacy dynamic attr (#1202)
Add migrator from dynamic attributes to spread attributes.
2018-12-26 08:08:44 -07:00
Dylan Piercey
0cf4af2885
Fix widget el id migration (#1198) 2018-12-14 17:12:08 -08:00
Dylan Piercey
8bf8d3caa4
Add "getTemplateData" migration. (#1195) 2018-12-14 13:57:34 -08:00
Bhavin Patel
e7bfb039d8 Added migrators for w-* attrs & code restructure (#1190)
* Added migrator for w-id, w-for, w-preserve, w-preserve-attrs and widget-elId
2018-12-14 12:28:47 -08:00
Dylan Piercey
2db165d83a
Additional migration tests (#1194)
* Add migrate test for w-on

* Add migrate test for var tag

* Add migrate test for assign tag

* Add migrate test for invoke tag

* Add migrate test for control flow directives

* Add migrate test for imperative render calls

* Add migrate test for async-fragment tags
2018-12-14 10:36:28 -08:00
Dylan Piercey
21ce06f8ad
Optional migrations & basic w-bind migration (#1192)
* Setup optional migration support

* Add migration call for w-bind

* Add tests for optional migrations

* Add assertions based on migration prompts

* Skip migration tests on node 6

* Fix typo
2018-12-14 09:50:05 -08:00