5469 Commits

Author SHA1 Message Date
github-actions[bot]
e90d7c9692
[ci] release (#2135)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@marko/babel-utils@6.4.0 @marko/compiler@5.35.0 @marko/translator-default@5.32.0 marko@5.33.0
2024-03-04 10:17:38 -07:00
Dylan Piercey
c62f827eba
Merge pull request #2004 from marko-js/merge-x
Merge x
2024-03-04 10:09:09 -07:00
dpiercey
27048199d6
chore: add changesets 2024-03-04 09:59:50 -07:00
Luke LaValva
db1ba3673a
fix: hydration in for loops (#2134)
* fix: hydration in for loops

---------

Co-authored-by: Michael Rawlings <mirawlings@ebay.com>
2024-03-04 08:41:18 -08:00
dpiercey
9ce5b2606b
fix: morphdom check added in merge 2024-03-04 09:26:00 -07:00
dpiercey
08ea90ce3e
Merge branch 'main' into merge-x 2024-03-04 09:08:50 -07:00
Michael Rawlings
e43782c09b fix: serialize owner scope when necessary (closures) 2024-03-04 09:04:56 -07:00
Michael Rawlings
e49dd46be9 fix: for resume markers & remove writePrependTo 2024-03-04 09:04:56 -07:00
Michael Rawlings
30b779cd73 fix: if resume markers 2024-03-04 09:04:56 -07:00
Michael Rawlings
2752327a9b fix: remove closure signals from grandparents & above 2024-03-04 09:04:56 -07:00
github-actions[bot]
63ebf88be9 [ci] release marko@5.32.15 2024-03-01 14:40:56 -07:00
dpiercey
f3004d7bad fix: issue with component custom events being null 2024-03-01 14:32:35 -07:00
dpiercey
461780e0d1 fix: event handler interop 2024-03-01 10:41:48 -07:00
dpiercey
69eb3146f1 fix: events across templates 2024-02-29 16:01:06 -07:00
Michael Rawlings
5c71b1f6a2 feat: serialize renderbody 2024-02-29 09:47:32 -07:00
Dylan Piercey
94de01ad64
chore: refactor compiler type build scripts to happen on install (#2128) 2024-02-29 08:23:25 -07:00
Dylan Piercey
a541ab394d
chore: fix ts processing js and test files (#2127) 2024-02-28 11:40:53 -07:00
Dylan Piercey
86a21ea7f0
Merge x main (#2125)
* fix: vdom hoisting id bug

* fix: diffing edge cases

* [ci] format

* [ci] release

* feat: add componentIdPrefix to await id (#2111)

* feat: add componentIdPrefix to await id

* chore: add changeset

* fix: update to also use runtimeId

* chore: change to patch

* [ci] release (#2112)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* feat: improve attr tag handling with scriptlets

* chore: update snapshots

* [ci] release

* fix: optimize and simplify preserved attr handling

* fix: refactor how special attributes are handled

* [ci] release

* fix: regression with attr tag and input merging

* [ci] release

* fix: split text node hydrate issue

* [ci] release

* fix: renderBody regression with attribute tags

* [ci] release

---------

Co-authored-by: DylanPiercey <DylanPiercey@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Luke LaValva <lukelavalva@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-27 13:37:20 -07:00
github-actions[bot]
c7da970d75 [ci] release marko@5.32.14 2024-02-27 12:15:20 -07:00
dpiercey
5bcc111a1c fix: renderBody regression with attribute tags 2024-02-27 12:12:38 -07:00
Luke LaValva
f46ec0d3fa
feat: ensure sections start and end with static nodes (#2114)
* feat: ensure sections start and end with static nodes

* chore: run tests

* fix: add define and attr tag

* refactor: move to enum instead of confusing boolean|null

* chore: update tests

* refactor: remove fragments

* chore: update interop tests

* refactor: simplify changes
2024-02-27 11:06:43 -08:00
dpiercey
859fabfdd5 refactor: improve repeatables and reference/reserve handling 2024-02-27 11:17:11 -07:00
github-actions[bot]
eefe453dbc [ci] release marko@5.32.13 2024-02-25 14:26:44 -07:00
dpiercey
ddf3b5ef32 fix: split text node hydrate issue 2024-02-25 14:23:40 -07:00
github-actions[bot]
022b495853 [ci] release @marko/translator-default@5.31.17 marko@5.32.12 2024-02-23 18:18:34 -07:00
dpiercey
ee2d9f9880 fix: regression with attr tag and input merging 2024-02-23 16:38:32 -07:00
github-actions[bot]
353f679172 [ci] release @marko/translator-default@5.31.16 marko@5.32.11 2024-02-23 12:20:51 -07:00
dpiercey
462992ee51 fix: refactor how special attributes are handled 2024-02-23 12:10:31 -07:00
dpiercey
64281b3602 fix: optimize and simplify preserved attr handling 2024-02-23 12:10:31 -07:00
github-actions[bot]
9dd7c75b5d [ci] release @marko/compiler@5.34.7 @marko/translator-default@5.31.15 marko@5.32.10 2024-02-22 15:20:08 -07:00
dpiercey
83cbd7d71f chore: update snapshots 2024-02-22 15:17:07 -07:00
dpiercey
a55fb06ec6 feat: improve attr tag handling with scriptlets 2024-02-22 15:17:07 -07:00
Ryan Turnquist
dfa617e478
feat: define tag (#2107)
* feat: define tag

* fix: define as dynamic tag on the server

* fix: update error message

* chore: remove tag tag
2024-02-20 11:12:49 -08:00
Ryan Turnquist
7e9cc61e12
Dedupe enums (#2106)
* fix: standardize enum plurality and casing

* fix: deduplicate shared enums into runtime
2024-02-20 09:31:43 -08:00
github-actions[bot]
5d74f75481
[ci] release (#2112)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
marko@5.32.9
2024-02-16 13:32:01 -08:00
Luke LaValva
022879da1a
feat: add componentIdPrefix to await id (#2111)
* feat: add componentIdPrefix to await id

* chore: add changeset

* fix: update to also use runtimeId

* chore: change to patch
2024-02-16 13:26:49 -08:00
github-actions[bot]
0c6b9bd569 [ci] release @marko/translator-default@5.31.14 marko@5.32.8 2024-02-15 16:15:43 -07:00
DylanPiercey
9648f0fb85 [ci] format 2024-02-15 16:12:25 -07:00
dpiercey
a87b69212f fix: diffing edge cases 2024-02-15 16:12:25 -07:00
dpiercey
9a18ced27b fix: vdom hoisting id bug 2024-02-15 16:12:25 -07:00
Ryan Turnquist
609fbbbfa4
fix: Import tags and tag resolution priority (#2105)
* fix: tag import resolution, native/custom/local priority

* chore: add test
2024-02-09 12:31:03 -08:00
dpiercey
4b2f878920 feat: switch to abort signal api for cleanup 2024-02-07 14:10:19 -07:00
Ryan Turnquist
9e71579b4d
fix: skip closures in inactive renderer branches (#2103) 2024-02-05 13:00:41 -08:00
dpiercey
b837670961 chore: update snapshots 2024-02-05 11:27:46 -07:00
dpiercey
12bc714871 chore: improve src/dist swapping 2024-02-05 11:27:46 -07:00
Luke LaValva
f525edfa06
fix: use unique identifers for scope name reserves (#2101) 2024-02-02 14:13:10 -08:00
Ryan Turnquist
b26cffb84f
feat: tag args (#2100)
* feat: support arguments on custom & dynamic tags

* fix: update tests, make iterop work

* fix: update test

* fix: simplify update top level api

* chore: add tag args assertion tests
2024-02-01 14:53:33 -08:00
Luke LaValva
4285209195
feat: allow destructure assignment to tag variable (#2099) 2024-02-01 13:43:07 -08:00
dpiercey
0186565276 chore: update deps and config 2024-01-31 11:22:09 -07:00
Luke LaValva
20921a8040
feat: native tag spread attributes (#2095) 2024-01-30 12:24:51 -08:00