4657 Commits

Author SHA1 Message Date
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
Michael Rawlings
02670c8693
feat: import compiler from marko-js/x
Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
Co-authored-by: Dylan Piercey <dpiercey@ebay.com>
Co-authored-by: Andrew Gliga <agliga@ebay.com>
2020-02-24 21:15:05 -08:00
Michael Rawlings
ea6736d085
feat: update apis/tests for new compiler
BREAKING CHANGE: api for compile-time tags has changed.
This affects tranformer/node-factory/code-generator tags.

Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
Co-authored-by: Dylan Piercey <dpiercey@ebay.com>
Co-authored-by: Andrew Gliga <agliga@ebay.com>
2020-02-24 19:20:23 -08:00
Michael Rawlings
c1630543fb
chore: delete deprecated apis/tests
BREAKING CHANGE: The following deprecated apis have been removed:
- Deprecated top-level entrypoints of the `marko` package
- The marko@3/marko-widgets@6 legacy compatibility layer
- Auto-migratable syntax and api changes to the core tags

Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
Co-authored-by: Dylan Piercey <dpiercey@ebay.com>
2020-02-24 19:18:10 -08:00
Michael Rawlings
f7ef29cc2e
chore: remove editorconfig and run prettier 2020-02-24 16:48:25 -08:00
Michael Rawlings
152c8b1696
chore: add commitlint & standard-version release script 2020-02-24 16:29:11 -08:00
Michael Rawlings
9c03189839
update snapshots that changed due to moved files 2020-02-24 16:29:11 -08:00
Michael Rawlings
2d5a2232f4
move files under packages/marko 2020-02-24 16:28:58 -08:00
Dylan Piercey
fe172b1464
4.18.48 v4.18.48 2020-02-21 15:27:37 -08:00
Dylan Piercey
f2f153f79a
Update changelog 2020-02-21 15:27:30 -08:00
Dylan Piercey
c12e99a143
Fix issues with dynamic tag related to events and split components (#1507) 2020-02-21 15:24:00 -08:00
Michael Rawlings
974ebce5ae
4.18.47 v4.18.47 2020-02-20 12:41:28 -08:00
Michael Rawlings
f9cbae23e2
Update changelog 2020-02-20 12:41:19 -08:00
Dylan Piercey
ede41ca315
Deprecate JSON.stringify for attributes and other attr string fixes (#1505) 2020-02-20 12:31:24 -08:00
Michael Rawlings
2acd19cb72
Prune input split widgets, Remove data-widget (#1503)
* prune input for split widgets

* remove data-widget attr in non test/dev environment

* add notice for stateful widgets that don't actually set state
2020-02-20 12:29:04 -08:00
Michael Rawlings
78da58e470
Flushing improvements (#1502)
* update test runner to show the points where we actually flush to the stream

* combine all component init code per flush

* debounce flushes by a tick

* use tick-based async helper to reduce test flakiness

* make client-reorder use the new out.script helper to combine scripts

* defer creating the typeArray/typeIndexes until writing the script

* update legacy getInitWidgetsCode to call getInitComponentsCode with the correct signature
2020-02-20 12:27:58 -08:00
Dylan Piercey
c0ba7496f9
4.18.46 v4.18.46 2020-02-13 13:06:47 -08:00
Dylan Piercey
49fea9ce63
Update changelog 2020-02-13 13:06:42 -08:00
Dylan Piercey
cd9142d6af
Fix issue with init-components inside nested awaits (#1500) 2020-02-13 13:04:15 -08:00
Andrew Gliga
36d596027e
4.18.45 v4.18.45 2020-02-12 13:36:43 -08:00
Andrew Gliga
a02f28dd55
Updated changelog 2020-02-12 13:36:31 -08:00
Andrew Gliga
0339255526
Changed dynamic tags to add data-marko-key and to selfclose properly (#1499) 2020-02-12 11:39:16 -08:00
Dylan Piercey
fc90708b29
4.18.44 v4.18.44 2020-02-10 14:58:39 -08:00
Dylan Piercey
d5d5230105
Update changelog 2020-02-10 14:58:34 -08:00
Dylan Piercey
aae3382a92
Always output no-update fragment on the server (#1498) 2020-02-10 14:56:38 -08:00
Dylan Piercey
8ebcea2033
4.18.43 v4.18.43 2020-02-10 12:45:04 -08:00
Dylan Piercey
a20404f05c
Update changelog 2020-02-10 12:44:30 -08:00
Dylan Piercey
192d3af668
Prevent serializing input for legacy split widgets (#1497) 2020-02-10 12:41:59 -08:00
Dylan Piercey
2063f2dde2
4.18.42 v4.18.42 2020-02-06 14:56:36 -08:00
Dylan Piercey
13461dce1d
Update changelog 2020-02-06 14:56:29 -08:00
Dylan Piercey
1147e9f710
Fix regression for unkeyed elements with toggled spread attributes (#1496) 2020-02-06 14:54:17 -08:00
Dylan Piercey
ea85f21091
Fix regression with body-only-if migration for legacy renderers (#1495) 2020-02-06 14:54:06 -08:00
Dylan Piercey
d2cb63dc85
4.18.41 v4.18.41 2020-02-06 10:31:52 -08:00
Dylan Piercey
26db7a87d9
Update changelog 2020-02-06 10:31:47 -08:00
Dylan Piercey
6dd8a0ef27
Improve support for conditional w-binds in legacy widgets (#1494)
* Improve support for conditional w-binds in legact widgets
2020-02-06 10:28:57 -08:00
Dylan Piercey
754ba9a20b
Fix issue with registering events under a 'no-update' when server rendered (#1493) 2020-02-06 10:23:23 -08:00
Dylan Piercey
81e2bb7830
4.18.40 v4.18.40 2020-02-04 15:31:31 -08:00
Dylan Piercey
2edb38e8d1
Update changelog 2020-02-04 15:29:17 -08:00