639 Commits

Author SHA1 Message Date
Michael Rawlings
06955be05e
update htmljs-parser - fixes regex parsing 2019-01-22 15:14:41 -08:00
Dylan Piercey
0fe65c822c
4.14.20 2019-01-17 13:30:17 -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
f2a158d577
4.14.19 2019-01-15 11:10:52 -08:00
Dylan Piercey
b9a0a98364
Update @marko/migrate and migration tests (#1232) 2019-01-15 11:06:28 -08:00
Dylan Piercey
910ab1dfc1
4.14.18 2019-01-14 10:56:55 -08:00
Michael Rawlings
1f2f03e8aa
4.14.17 2019-01-10 13:18:59 -08:00
Dylan Piercey
f74f1a6557
4.14.16 2019-01-07 12:25:55 -08:00
Dylan Piercey
2da98377f3
4.14.15 2019-01-04 14:47:11 -07:00
Dylan Piercey
ddd93e6154
4.14.14 2019-01-04 13:08:56 -07:00
Dylan Piercey
61af6af640
4.14.13 2019-01-03 10:58:40 -07:00
Dylan Piercey
9684fdda39
Add file name migrations (#1216)
* Add file name migrations
2019-01-03 10:27:10 -07:00
Dylan Piercey
02ab713957
4.14.12 2018-12-28 13:59:11 -07:00
Dylan Piercey
43b85beb55
4.14.11 2018-12-28 11:02:03 -07:00
Dylan Piercey
5755f05e11
4.14.10 2018-12-28 10:16:58 -07:00
Dylan Piercey
c800617277
4.14.9 2018-12-27 14:27:18 -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
Dylan Piercey
6e87805d29
4.14.8 2018-12-26 08:19:40 -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
Dylan Piercey
8e6fb14fcc
4.14.7 2018-12-14 17:14:14 -08:00
Dylan Piercey
00ae73e7ad
4.14.6 2018-12-14 15:23:14 -08:00
Dylan Piercey
0fdc5a2f3d Whitelist files published to npm (#1197) 2018-12-14 15:20:53 -08:00
Dylan Piercey
f37c9094ab
4.14.5 2018-12-14 14:04:10 -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
Dylan Piercey
c6c9122ca8
4.14.4 2018-12-13 10:04:32 -08:00
Michael Rawlings
15015cb727
4.14.3 2018-12-11 14:04:55 -08:00
Dylan Piercey
a52b5c6cbe
4.14.2 2018-12-07 10:10:41 -08:00
Dylan Piercey
35fdbe7abb
4.14.1 2018-12-06 12:56:55 -08:00
Michael Rawlings
4ae3672633
4.14.0 2018-12-03 15:56:07 -08:00
Michael Rawlings
1eb2842d23 use TemplateLiteral node 2018-12-03 12:28:56 -08:00
Michael Rawlings
3de7badc27
4.13.13 2018-11-27 12:14:19 -08:00
Dylan Piercey
997b6aab65
4.13.12 2018-11-26 10:54:14 -08:00
Dylan Piercey
4578da9daa
4.13.11 2018-11-21 13:16:03 -08:00
Dylan Piercey
df26873203
4.13.10 2018-11-15 11:07:20 -08:00
Dylan Piercey
b17ed0d150
4.13.9 2018-11-12 14:16:36 -08:00
Michael Rawlings
ac7aa93f32
4.13.8 2018-10-09 10:23:29 -07:00
Dylan Piercey
fcf277d6d9
4.13.7 2018-10-03 13:23:08 -07:00
Dylan Piercey
3bbe40e0a0
4.13.6 2018-10-02 13:56:34 -07:00
Michael Rawlings
2d3ff47410
4.13.5 2018-09-14 15:10:13 -07:00
Michael Rawlings
12a8b4d06b
Fix component dom insert (#1129) 2018-09-14 13:25:39 -07:00
Dylan Piercey
4ec94426eb
4.13.4 2018-08-30 15:31:50 -07:00
Dylan Piercey
dc9142bcd9
4.13.3 2018-08-29 10:39:45 -07:00
Michael Rawlings
3b21f907fa
4.13.2 2018-08-28 16:49:32 -07:00
Dylan Piercey
ccbb86d4b9
4.13.1 2018-08-28 13:41:51 -07:00
Michael Rawlings
7595742acd
4.13.0 2018-08-27 12:20:08 -07:00
Michael Rawlings
df79fcc5f0
Diffing/Keying fixes (#1094)
* 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.

* 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.

* 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.

* Static node trees are now only auto assigned a key for the top-level node (instead of all nodes).

* Server comment starting markers now have the component's key serialized so the component can be attached to its owner

* Server comment markers no longer have the id on the closing marker, it is stack based.

* 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.

* fix matching up fragments when hydrating by taking components and normalized text nodes into account

* remove wrapping divs in test, should no longer be needed.  address hydration issue with alternate fragment matching approach.

* add fragment to dom if there's a parentNode even if no startNode

* add test for mismatched hydration

* don't detach components before moving

* use fragments to preserve renderBody content

* use ___finishFragment as the incomplete fragment marker

* ensure fragments get destroyed properly and dom node key sequences don't continue from previous renders

* use parent/owner terminology in more places, component ids are now parent scoped, key/ref components are attached to their owner for both client + server render, server comment boundaries include the owner and the key in addition to the fully scoped component id, autokeyed dom nodes are attached to their parent, hydration now uses a stack: ids in ending comment nodes not needed, hydration checks to see if a component has been initialized and will attach keys directly to the owner if so

* add mutation guards for text/comment nodes, add mutation guard for input value

* make component-pages test better represent streaming hydration, fix html/head/body hydration in a better/more generic way

* add test for async rendered keyrefs

* add test for repeated mult-level transclusion

* 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 (with @) to differentiate them from autokeys. This also has the benefit that assigning numeric keys can no longer conflict with the autokeys.

* add re-rendering the intermediate container to one of the new tests
2018-08-27 11:46:47 -07:00
Dylan Piercey
e9b08cb41e
4.12.5 2018-08-17 15:07:36 -07:00
Michael Rawlings
4745dcf3a3
4.12.4 2018-08-02 12:08:59 -07:00
Dylan Piercey
97253639e1
4.12.3 2018-07-26 10:41:49 -07:00
Michael Rawlings
d3c9b8d919
4.12.2 2018-07-19 16:47:46 -07:00