5436 Commits

Author SHA1 Message Date
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
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
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
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
github-actions[bot]
8575d6051d [ci] release @marko/compiler@5.34.5 @marko/translator-default@5.31.12 marko@5.32.6 2024-01-11 14:31:27 -07:00
dpiercey
2976dfac56 fix: issue removing exports in stripTypes mode 2024-01-11 14:25:56 -07:00
Michael Rawlings
adb0b751e3 fix: signal value dirty check 2024-01-10 11:09:12 -05:00
Michael Rawlings
d7ff0e1cfe Merge branch 'main' into merge-x 2024-01-09 17:50:14 -05:00
github-actions[bot]
f0de5cb0d0 [ci] release @marko/babel-utils@6.3.5 @marko/compiler@5.34.4 @marko/translator-default@5.31.11 marko@5.32.5 2024-01-09 14:40:23 -07:00
dpiercey
c14d059159 chore: run build before trying to format code 2024-01-09 14:36:58 -07:00
dpiercey
69b3ff57c8 chore: reformat files 2024-01-09 14:31:31 -07:00
dpiercey
987854f33d chore: update all package deps 2024-01-09 14:31:31 -07:00
github-actions[bot]
efded7b8e4 [ci] release @marko/compiler@5.34.3 @marko/translator-default@5.31.10 marko@5.32.4 2024-01-09 10:02:45 -07:00
dpiercey
7528956e41 chore: optimize test runner by avoiding scanning babel config files 2024-01-09 09:42:51 -07:00
dpiercey
bf23c566fa chore: upgrade package lock 2024-01-09 09:42:51 -07:00
github-actions[bot]
b4f780de5f [ci] release marko@5.32.3 2023-12-14 14:33:06 -07:00
dpiercey
652b7aa160 fix: types 2023-12-14 14:29:53 -07:00
github-actions[bot]
1f59474a26 [ci] release @marko/compiler@5.34.2 @marko/translator-default@5.31.9 marko@5.32.2 2023-12-13 15:12:08 -07:00
dpiercey
977d690784 fix: pritning variable declarations 2023-12-13 15:08:04 -07:00
github-actions[bot]
f7767c4524 [ci] release marko@5.32.1 2023-12-12 09:49:45 -07:00
dpiercey
ea859a5479 fix: simplify Marko.NativeTags typings 2023-12-12 09:46:35 -07:00