Michael Rawlings
67bd66a108
remove circular dep for dom weakmaps ( #1449 )
2019-11-05 12:59:42 -08:00
Dylan Piercey
e6a80f1e95
Fix invalid deprecation message for core-tags on windows ( #1448 )
2019-11-05 12:59:30 -08:00
Michael Rawlings
18cb49b599
disable strict mode if a macro is not at the root ( #1445 )
2019-11-04 16:16:35 -08:00
Dylan Piercey
1b6b25bb54
Improve getComponentByEl lookup to prefer owner components ( #1444 )
2019-11-04 14:20:24 -08:00
Dylan Piercey
c53a1553a5
Rename private legacy widget props property for better legacy compat
2019-11-04 14:20:12 -08:00
Dylan Piercey
0092cda633
Fix issue with duplicated attributes being ommitted
2019-10-31 11:20:43 -07:00
Michael Rawlings
8c26a9f6a9
fix top-level async init ( #1441 )
2019-10-29 10:23:19 -07:00
Dylan Piercey
0b91cf9287
Remove require.resolve from dom-data for improved rollup support
2019-10-28 14:14:01 -07:00
Michael Rawlings
05a91aaadb
deprecate widget-id-prefix
2019-10-28 13:41:24 -07:00
Michael Rawlings
fd213122f5
add missing method used by legacy getInitWidgetsCode
2019-10-25 11:23:54 -07:00
Michael Rawlings
f5ebd6ef28
add legacy properties to RenderResult and add legacy getInitWidgetsCode ( #1437 )
2019-10-25 10:00:12 -07:00
Dylan Piercey
d6d0cdc084
Fix init order for out of order components ( #1436 )
2019-10-25 09:50:15 -07:00
Andrew Gliga
94418617ef
Deprecated all tests that will be deprecated in v5 ( #1430 )
2019-10-24 12:01:36 -07:00
Michael Rawlings
e4acb23739
scripts now always generate a single text child - even if they have placeholders ( #1429 )
2019-10-17 15:59:28 -07:00
Michael Rawlings
98d2702805
support components that contain <html>/<\!doctype> ( #1428 )
2019-10-17 15:58:31 -07:00
Dylan Piercey
c5f5870838
Improve conditional comment support ( #1427 )
2019-10-15 11:00:10 -07:00
Michael Rawlings
49a5b91d21
improve precompiled heuristic to check for banner comment ( #1426 )
...
* improve precompiled heuristic to check for banner comment
2019-10-15 10:50:21 -07:00
Dylan Piercey
6b9f14d924
Runtime ID configures window variables ( #1418 )
2019-09-18 16:38:09 -07:00
Taylor Hunt
f5e5b00fbe
Update html/marko.json ( #1411 )
...
* Remove deprecated features
* Remove <opt> element (probably was a mistake)
* Update attributes & values
* Add ARIA states & properties
* Spruce up autocomplete snippets
* Match open-tag-only casing from docs
2019-09-18 16:36:26 -07:00
Michael Rawlings
c6138ebb46
add migration for component.elId ( #1413 )
...
* add migration for component.elId
* remove hasImperativeComponentIds as this is now migrated
* improve migration
2019-09-18 16:34:27 -07:00
Michael Rawlings
e710d43192
fix regex attribute that's not static ( #1412 )
2019-09-18 16:34:15 -07:00
Dylan Piercey
77d60ea763
Improve webpack compatibility for legacy components. ( #1410 )
2019-08-30 16:08:18 -07:00
Dylan Piercey
c641cfd220
Improve autocompletion for core tags ( #1405 )
...
* Improve autocompletion for core tags
2019-08-26 12:21:23 -07:00
Michael Rawlings
0aba01bc86
fix getComponentForEl for split components ( #1400 )
2019-08-26 12:21:09 -07:00
Michael Rawlings
7cc1d0a341
fix server-rendered conditional widgets in the compatibility layer ( #1395 )
2019-08-08 16:59:59 -07:00
Dylan Piercey
ff3b58d714
Deprecate the partial dynamic tag ( #1397 )
2019-08-08 16:58:48 -07:00
Taylor Hunt
2557fc48ad
Update wiki URLs ( #1392 )
2019-08-05 10:28:16 -07:00
Dylan Piercey
7db4c49c37
Make legacy widget property configurable ( #1388 )
2019-07-26 17:06:36 -07:00
Michael Rawlings
81f341fe6d
Improve deprecation locations ( #1386 )
...
* improve deprecation locations for marko/jquery and marko/ready
* improve location of non-promise await deprecation
* improve taglib deprecation location and add var/vars deprecation
2019-07-19 15:06:46 -05:00
Dylan Piercey
f789907c7e
Add migration for legacy widget with getInitialState and no getTemplateData ( #1385 )
...
* Add migration for data = state
2019-07-15 13:30:26 -07:00
Michael Rawlings
839648f7e1
fix body-only-if transform for renderer tags ( #1384 )
2019-07-12 11:03:46 -07:00
Michael Rawlings
c5186d7483
rename isRerenderInBrowser to isHydrate
2019-07-11 14:03:22 -07:00
Michael Rawlings
4d84cffcfc
ensure that the original input for a widget is what gets serialized, not the result of getTemplateData
2019-07-11 14:03:22 -07:00
Michael Rawlings
88a28dce39
use a for-in loop to extend the BaseComponent (doesn't support getters properly) to maintain the same behavior as marko-widgets
2019-07-11 14:03:22 -07:00
Michael Rawlings
1f1af6d883
temporary fix to ensure getComponents doesn't return null entries - these should really be removed from the lookup instead
2019-07-11 14:03:22 -07:00
Dylan Piercey
fc5fb03c7d
Fix getComponentForEl with nested fragments (returns owner component) ( #1382 )
...
* Fix getComponentForEl with nested fragments (returns owner component)
2019-07-08 16:13:10 -07:00
Dylan Piercey
77d76aa2ab
Fix regression with container nodes ( #1380 )
2019-07-08 09:45:17 -07:00
Dylan Piercey
d92c43bebf
Improve errors for root only tags ( #1379 )
2019-07-08 09:39:29 -07:00
Dylan Piercey
ffe585359b
Add support for dynamic string attributes in vdom and add deprecation warning ( #1378 )
2019-07-08 09:39:19 -07:00
Michael Rawlings
b5217c269b
Merge pull request #1371 from marko-js/static-tag-root-error
...
Show error for invalid static tag position before transform stage
2019-07-03 13:08:56 -07:00
Michael Rawlings
c3444fbaff
Merge pull request #1372 from marko-js/migrate-top-level-named-class
...
Deprecate and add migrator for top level named classes
2019-07-03 13:08:32 -07:00
Michael Rawlings
c2fdcc40e1
Merge pull request #1374 from marko-js/control-flow-and-looping-fixes
...
Control flow and looping migration fixes
2019-07-03 13:07:14 -07:00
Michael Rawlings
10f99c7c8f
Merge pull request #1375 from marko-js/async-component-tracking-fix
...
Fix issue with tracking components for client-reorder await tags
2019-07-03 13:06:35 -07:00
Michael Rawlings
cf6ebd86b0
Merge pull request #1376 from marko-js/optgroup-support
...
Add optgroup support for controlled select elements
2019-07-03 13:05:48 -07:00
Michael Rawlings
a80ad077f1
no id:scoped for repeated w-id
2019-07-03 12:32:53 -07:00
Dylan Piercey
88cfde6e59
Show error for invalid static tag position before transform stage
2019-07-03 12:20:56 -07:00
Dylan Piercey
c4b64e216f
Improve condition readability
2019-07-03 11:51:27 -07:00
Dylan Piercey
1f367b6ab7
Add optgroup support for controlled select elements
2019-07-03 11:48:51 -07:00
Dylan Piercey
6e236c8f02
Fix issue with tracking components for client-reorder await tags
2019-07-03 10:14:28 -07:00
Dylan Piercey
e1a1d401ae
Control flow and looping migration fixes
2019-07-02 14:03:47 -07:00