5503 Commits

Author SHA1 Message Date
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
Luke LaValva
688982e757
$global hydration (#2093) 2024-01-29 15:03:29 -08:00
dpiercey
54575cf53a chore: upgrade husky, remove dot-json helper 2024-01-27 14:56:40 -07:00
dpiercey
91619a5741 chore: improve morphdom test perf 2024-01-27 14:56:40 -07:00
dpiercey
d2256e3115 chore: improve morphdom test perf 2024-01-27 14:56:40 -07:00
dpiercey
0b04f06f47 chore: update deps 2024-01-27 14:56:40 -07:00
Ryan Turnquist
ff9e40dd17
Top level api (#2090)
* feat: update template api for tags runtime

* chore: remove remaining context references

* feat: update template api for class runtime

* fix: throw error if tracker is used after cleanup

* fix: remove unused test
2024-01-25 17:34:09 -05:00
Luke LaValva
59e73eb5ac
refactor: move node deletion to end of translate phase when possible (#2088)
* refactor: move node deletion to end of translate phase when possible

* refactor: move _everything_ to end when possible
2024-01-23 12:55:20 -08:00
Luke LaValva
e2e3fbd20b
feat: remove context tags (#2087) 2024-01-22 13:55:38 -08:00
dpiercey
ea3d8f8a84
Merge branch 'main' into merge-x 2024-01-22 09:14:58 -07:00
github-actions[bot]
0814254c20 [ci] release @marko/compiler@5.34.6 @marko/translator-default@5.31.13 marko@5.32.7 2024-01-19 09:40:48 -07:00
dpiercey
d82b21e8f5 fix: improve compile error output 2024-01-19 09:37:07 -07:00
dpiercey
ace9e86138 fix: avoid using babels path.evaluate api 2024-01-18 09:14:32 -07:00
dpiercey
b3a97d5a0f chore: update references to renamed packages 2024-01-17 09:41:26 -07:00
dpiercey
49b67f37b0 chore: move tags api package folders 2024-01-17 09:41:26 -07:00
Michael Rawlings
e583c6b718 fix: event delegation of multiple events 2024-01-17 11:17:09 -05:00
dpiercey
5ec47eb969 refactor: optimize event delegation logic 2024-01-16 12:43:38 -07:00