4794 Commits

Author SHA1 Message Date
Dylan Piercey
b55041728d
fix(translator-default): optional params on for tag 2020-05-19 13:21:03 -07:00
Dylan Piercey
cfbb35c664
chore: publish v5.0.0-next.12 2020-05-19 12:14:41 -07:00
Dylan Piercey
254729063c
docs: remove browserify from docs, update editor docs, minor cleanup (#1568)
(cherry picked from commit f3c5b1351755f47973e3e2d0ef22c473e077d1f5)
2020-05-19 12:14:06 -07:00
Michael Rawlings
b00b72147d
docs: update bundler docs and recommend @marko/create
(cherry picked from commit 7fdbe2b36dff9c77a416917efdf8c07dad0208d2)
2020-05-19 12:13:56 -07:00
Dylan Piercey
da31ead179
fix: components not always initializing inside client-reorder await (#1566)
(cherry picked from commit 28b3b7f728b9aa42e035e00b37e811dbcce1c79a)
2020-05-19 12:12:31 -07:00
Dylan Piercey
0a227d0c7c
fix: data-marko attributes under 'no-update' with <await> (#1564)
(cherry picked from commit 211a8a334b58af035347cb4f91f4e6a625c35d82)
2020-05-19 12:11:47 -07:00
Dylan Piercey
370c7bcd89
chore: publish v5.0.0-next.11 2020-04-27 08:31:41 -07:00
Dylan Piercey
128b68aefc
fix: regression with unquoted attribute with trailing slash (#1561)
(cherry picked from commit 5c26b9b3ec6f5e8847ffe43e99f7593da806932a)
2020-04-27 08:30:59 -07:00
Michael Rawlings
dd9f7aca84
fix: split components under preserved root resetting ___isPreserved (#1559)
(cherry picked from commit 03bb0991c571b182949d79ee0c42aee92f867f25)
2020-04-27 08:27:10 -07:00
Dylan Piercey
e6a2c5394a
chore: publish v5.0.0-next.10 2020-04-23 08:28:32 -07:00
Dylan Piercey
28826265f8
perf: minify runtime comments, remove unnecessary attr quotes (#1557)
(cherry picked from commit 7a6f802a1b7fcd037c57237a7854cfe2952a4db8)
2020-04-23 08:27:30 -07:00
Denis Sikuler
a013d92c51
docs: fix a typo in custom tags page (#1556)
(cherry picked from commit 2002ff6c54e05506c426be4cdfc48e453738bd4d)
2020-04-23 08:21:56 -07:00
Dylan Piercey
900e7b1f1d
fix: switch safe renderer to use nextTick for errors (#1554)
(cherry picked from commit 6ea9fe330b499f9fdb125eaf0f25f2ee1553ef4e)
2020-04-23 08:21:38 -07:00
Dylan Piercey
86c4f01ab3
chore: publish v5.0.0-next.9 2020-04-16 14:57:52 -07:00
Dylan Piercey
47194054de
perf: optimize dynamic tag when types are statically known (#1550) 2020-04-16 14:56:14 -07:00
Dylan Piercey
21294511e9
fix: improve micro task helper
(cherry picked from commit 76e2ab910dcdec1af750ca40bc287d147ec82e3f)
2020-04-15 11:45:02 -07:00
Dylan Piercey
16beb60e45 chore: remove files no longer needed in Marko 5 2020-04-13 10:56:33 -07:00
Dylan Piercey
75fd1b018f perf: skip serializing instance props & state for non split components (#1546)
(cherry picked from commit 611341e1a63148d643318e81412b2158907ee8b2)
2020-04-13 10:56:33 -07:00
Tim Gates
9607664798 docs: Fix simple typo, recieved -> received (#1543)
There is a small typo in packages/marko/docs/body-content.md.

Should read `received` rather than `recieved`.

(cherry picked from commit 48cc3f9d37c04b1c1b66a61bb31098878a6e7256)
2020-04-13 10:56:33 -07:00
Michael Rawlings
d8783ee88f test: add failing test for hydration of preserved elements on mismatch (#1534)
Co-authored-by: Dylan Piercey <dpiercey@ebay.com>
(cherry picked from commit db56ff95f2554d0182669d62049326aee5093ca7)
2020-04-13 10:56:33 -07:00
Dylan Piercey
45e42dfd84 feat: improve serialization across multiple writes (#1542)
* feat: improve serialization across multiple writes

(cherry picked from commit 81c4da75c8e272d6b2d145e225078695c931dfd3)
2020-04-13 10:56:33 -07:00
Michael Rawlings
de27b4af4c fix: add devmode warning for removing fragment markers (#1541)
(cherry picked from commit 1c3852f2c7938a689c249b6d59b6280becda216e)
2020-04-13 10:56:33 -07:00
Dylan Piercey
b50f93c024 fix: implement missing methods for void-writer (#1540)
(cherry picked from commit 28060669a421837cec19f35f307f35c0ef636b0e)
2020-04-13 10:56:33 -07:00
Dylan Piercey
eb9e156116 perf: optimize serializing renderBody & legacy widgets (#1539)
(cherry picked from commit 5a74012945a761a004089158aec03d871415cc2a)
2020-04-13 10:56:33 -07:00
Dylan Piercey
792aa6a7b7 perf: optimize merge html attrs (#1538)
(cherry picked from commit 17f0335503d30c46ef4f44090d8931c7e6915470)
2020-04-13 10:56:33 -07:00
Dylan Piercey
144c352863 fix: regression with nullish values in partial string attribute values (#1537)
(cherry picked from commit a469e020cc60089bae73bf1a311a8e6919bc0ce0)
2020-04-13 10:56:33 -07:00
Dylan Piercey
1fed43e241 perf: misc improvements (#1535)
* perf: attr & escape helper optimization

* perf: optimize server component

* perf: dynamic tag perf improvements

* perf: prevent escaping json attrs, optimize nonce

* perf: legacy widget & dynamic tag key serialization improvement

* perf: prevent serializing component props for legacy components

* fix: auto key regexp for dynamic tag

* perf: prevent creating constructors for implicit components

(cherry picked from commit ff8224881a62d91b3e00f74791b5716804d6068a)
2020-04-13 10:56:33 -07:00
Dylan Piercey
6b3156f808 fix: spread attrs for native tag preserves case (#1530)
(cherry picked from commit f97270746e7580d0d38e3a2a43e585721a256baf)
2020-04-13 10:56:33 -07:00
Dylan Piercey
480bc77433 fix: issue with keys under ssr no-update root (#1527)
Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
(cherry picked from commit fd03031c47881bf5dd7b311dd1fec843c98a1c06)
2020-04-13 10:56:33 -07:00
Dylan Piercey
3f30b029ff
chore: publish v5.0.0-next.8 2020-03-17 13:41:02 -07:00
Dylan Piercey
bc0bc69b31
fix(translator-default): include full filename in meta.component 2020-03-17 13:40:48 -07:00
Dylan Piercey
a9775e5a41
chore: publish v5.0.0-next.7 2020-03-17 13:30:39 -07:00
Dylan Piercey
bd21c79449
fix(translator-default): set meta component for inline component 2020-03-17 13:30:23 -07:00
Dylan Piercey
84f794db9c
chore: publish v5.0.0-next.6 2020-03-16 08:32:06 -07:00
Dylan Piercey
2eac2572be
fix: make Marko a peerDependency 2020-03-16 08:30:43 -07:00
Michael Rawlings
ab3d2a7b0b
fix: don't serialize component boundary keys if the owner isn't hydrated (#1525)
(cherry picked from commit 9bf16b81f46abda06e42cbbd9341dd023fdcadc0)
2020-03-09 14:23:29 -07:00
Dylan Piercey
1dc413b83d
chore(marko): remove VComment node which is no longer used (#1519) 2020-02-27 14:59:37 -08:00
Michael Rawlings
585b2f1de7
feat: all vnodes have owner components (#1517)
(cherry picked from commit cb426099ea83638f5feba85562ba7b56083dac4c)
2020-02-27 13:39:20 -08:00
Dylan Piercey
93b754c5c3
chore: publish v5.0.0-next.5 2020-02-26 15:07:57 -08:00
Dylan Piercey
84aa30ee6d
fix: always include nested contexts when serializing (#1515)
(cherry picked from commit c4f28e433cee13f206736c85431975e62b8ceed2)
2020-02-26 14:18:00 -08:00
Michael Rawlings
c00a02c446
fix: set preserve false under new rerender roots (#1513)
fix: use non-global context

cherry picked from commit 2adfd77b706a2ce3c23acd7cb8f36e9e0a6afae6
2020-02-26 12:32:18 -08:00
Dylan Piercey
894e259733
chore: publish v5.0.0-next.4 2020-02-25 13:24:40 -08:00
Dylan Piercey
f4a39e91ca
fix: improve node locations in sourcemaps (#1512) 2020-02-25 13:18:17 -08:00
Dylan Piercey
d1351a33de
chore: publish v5.0.0-next.3 2020-02-25 11:26:49 -08:00
Dylan Piercey
eb7441f787
fix: only use minprops on runtime code (#1511)
* fix: only use minprops on runtime code
2020-02-25 11:24:12 -08:00
Michael Rawlings
01a6411e4b
chore: publish v5.0.0-next.2 2020-02-25 09:55:14 -08:00
Michael Rawlings
5b394be908
fix: publish hooks (again) 2020-02-25 09:51:13 -08:00
Michael Rawlings
7e305f0d2c
chore: publish v5.0.0-next.1 2020-02-25 09:30:40 -08:00
Michael Rawlings
2dc090165c
fix: publish hooks (maybe) 2020-02-25 09:29:49 -08:00
Michael Rawlings
e6996fd212
chore: publish prerelease 2020-02-25 09:09:53 -08:00