5589 Commits

Author SHA1 Message Date
Dylan Piercey
4fc38e8001 feat: expose ability to intercept taglib errors 2023-02-28 16:16:14 -07:00
github-actions[bot]
7ddbeb00f6 [ci] release @marko/compiler@5.24.0 2023-02-28 14:18:25 -07:00
Dylan Piercey
72cdc3e5b6 feat: expose default compiler config 2023-02-28 14:14:25 -07:00
github-actions[bot]
ef6b073976 [ci] release marko@5.22.9 2023-02-27 16:52:03 -07:00
Dylan Piercey
230523adf1 fix: issue with Marko.Component registered too late 2023-02-27 16:07:10 -07:00
github-actions[bot]
760fb1a6af
[ci] release (#1894)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
marko@5.22.8
2023-02-24 14:43:02 -05:00
Michael Rawlings
268d0c32eb chore: add changeset 2023-02-24 14:37:07 -05:00
Michael Rawlings
9f68641729 docs: TypeScript usage
Co-authored-by: Ryan Turnquist <rturnq@gmail.com>
Co-authored-by: Luke LaValva <lukelavalva@gmail.com>
2023-02-24 14:32:28 -05:00
github-actions[bot]
f1cb9dc595 [ci] release @marko/compiler@5.23.6 @marko/translator-default@5.22.6 marko@5.22.7 2023-02-24 12:01:33 -07:00
DylanPiercey
35f29b66da [ci] format 2023-02-24 11:55:00 -07:00
Dylan Piercey
c55ae937c4 chore: improve types 2023-02-24 11:55:00 -07:00
github-actions[bot]
8a3b5f29ab [ci] release marko@5.22.6 2023-02-22 10:13:02 -07:00
Dylan Piercey
768fa17cb6 fix: improve state types 2023-02-22 10:09:03 -07:00
github-actions[bot]
2239b143c2 [ci] release @marko/compiler@5.23.5 @marko/translator-default@5.22.5 marko@5.22.5 2023-02-17 16:15:30 -07:00
DylanPiercey
f19f1c61d2 [ci] format 2023-02-17 16:10:23 -07:00
Dylan Piercey
d110b0b5f6 chore: improve typescript support 2023-02-17 16:10:23 -07:00
github-actions[bot]
ae33e8779d [ci] release @marko/babel-utils@5.21.4 @marko/compiler@5.23.4 @marko/translator-default@5.22.4 marko@5.22.4 2023-02-10 20:44:18 -07:00
Dylan Piercey
d920e833df
fix: add missing type definition for taglib 2023-02-10 20:29:50 -07:00
Dylan Piercey
23e36a04b0
fix: ensure marko type definitions are exposed 2023-02-10 20:22:39 -07:00
github-actions[bot]
25f9744805 [ci] release @marko/compiler@5.23.3 @marko/translator-default@5.22.3 marko@5.22.3 2023-02-10 20:12:06 -07:00
Dylan Piercey
7504bdf042
fix: add missing compiler api types 2023-02-10 18:09:58 -07:00
Taylor Hunt
ee8303ca15 Overhaul Rollup docs
- Better sell why you might want to use this integration in the first place
- More examples
- Copyediting
2023-02-10 18:07:06 -07:00
Taylor Hunt
a8bf4df09d
Mention TLS record sizes & MIME sniffing (#1882)
Smaller record sizes can have massive TTFB improvements for clients, and `X-CTO: nosniff` is something sites should really be doing anyway for security reasons.
2023-02-10 18:05:33 -07:00
Dylan Piercey
f1efd707aa
feat: add taglib extensions and type definitions for typescript support (#1885)
* feat: add taglib extensions and type definitions for typescript support

* [ci] format

---------

Co-authored-by: DylanPiercey <DylanPiercey@users.noreply.github.com>
2023-02-10 15:58:52 -07:00
Luke LaValva
55a97b07ae
Remove skip_ from tests (#148)
* test: attr-escape

* test: attr-falsey

* test: attr-scoped

* test: attr-template-literal-escape

* test: basic-dynamic-native-tag

* test: basic-execution-order

* test: basic-layout

* test: basic-toggle-show

* test: batched-updates

* test: batched-updates-cleanup

* test: const-tag

* test: custom-tag-child-analyze

* test: custom-tag-parameters

* test: custom-tag-render-body

* test: custom-tag-template

* test: dynamic-event-handlers

* test: effect-tag

* test: entities

* test(remove): event-handlers [redundant and unhelpful]

* test: for-tag-siblings

* test: for-tag-with-state

* fix: !{undefined} is now empty string instead of space

* test: hello-dynamic

* test: html-entity

* test: if-tag

* test: import-tag-conflict

* test: import-destructure [rename, still skipping ssr and csr]

* test: let-tag

* test: lifecycle-tag

* test: lifecycle-tag-assignment

* test: lifecycle-tag-this

* test: native-tag-ref-effect

* test: placeholders

* test: toggle-first-child

* test: update-attr

* test: user-effect-cleanup

* test: return-tag [rename from yield-tag]

* fix(attrs): use comment node instead of empty string

* refactor(ts): add generics to `write`
2023-02-10 13:21:11 -05:00
Luke LaValva
54cbd7312d
fix(attrs): replace true with empty string (#146) 2023-02-06 18:56:05 -05:00
Michael Rawlings
afd168ba0d
feat: for tag resuming (#142) 2023-02-06 13:07:32 -05:00
Luke LaValva
700c1a6185
fix: change default to value for let and const tag (#144) 2023-02-06 13:07:20 -05:00
dependabot[bot]
43340a4ee7
chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#141)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-04 00:09:31 -05:00
Luke LaValva
2cfef7b89e
fix: replace empty text nodes with zero width joiners (#140) 2023-02-02 19:30:52 -05:00
Taylor Hunt
aaa1a91ccc
Renovate README (#1870)
See PR #1870 for deets
2023-02-01 15:45:21 -05:00
Luke LaValva
00e9076ca1
Dynamic tag hydration (#138) 2023-01-31 15:39:34 -05:00
Michael Rawlings
7ad567dc3b
fix: serialize intersections (#136) 2023-01-31 13:40:21 -05:00
Michael Rawlings
4f23d3c03a chore: bundle html runtime helpers used by translator (fix) 2023-01-26 17:44:33 -05:00
Michael Rawlings
5cd8fe6902 chore: bundle html runtime helpers used by translator 2023-01-26 17:33:08 -05:00
Michael Rawlings
c19cfb023b
feat: if hydration (#135) 2023-01-26 16:19:18 -05:00
Michael Rawlings
56e3c9a17d
fix: use staticNodeFragment by default, associate non-default fragments with renderers (#134) 2023-01-25 14:52:09 -05:00
Luke LaValva
c3061ad726
fix: event listeners are now active by default (#133) 2023-01-24 14:48:08 -05:00
dependabot[bot]
c382e00199
chore(deps): bump json5 from 1.0.1 to 1.0.2 (#117)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 13:28:30 -05:00
Luke LaValva
f84681e604
feat(dynamic-tag): add native tag (#132) 2023-01-24 13:28:11 -05:00
Michael Rawlings
d885825307
Debug info (#128) 2023-01-20 12:02:26 -05:00
Michael Rawlings
c05ef09e4d
refactor: remove walker.skip, reserve.size (#127) 2023-01-19 18:32:25 -05:00
Michael Rawlings
ea76ccd057
fix: text hydration (#126) 2023-01-18 13:21:44 -05:00
github-actions[bot]
ef20de41fd
[ci] release (#1881)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@marko/compiler@5.23.2 @marko/translator-default@5.22.2 marko@5.22.2
2023-01-18 09:12:32 -07:00
Dylan Piercey
c4cce33e8c
fix: ensure delimeter added when scripts merged across async writers (#1880) 2023-01-18 08:38:15 -07:00
Michael Rawlings
3a7c12d909
fix: attrs signal subscriber (#125) 2023-01-13 18:05:18 -05:00
Michael Rawlings
481636cd68
fix: don't unnecessarily hoist functions (#124) 2023-01-13 17:54:38 -05:00
Ryan Turnquist
07e4ca1a7e
Fixes lifecycle/effect (#123)
* fix: lifecycle methods access instance `this`

* fix: let assignments in effects

* fix: lifecycle test

* fix: assignments in lifecycle tag methods
2023-01-12 16:28:30 -05:00
Michael Rawlings
a6e00b8a07
fix: html (#122) 2023-01-11 15:21:43 -05:00
Luke LaValva
7da306e177
fix: assignment expressions (#120)
* fix: nested assignment expressions

* fix: postfix update expressions

* fix: returned assignments

* fix: reassignment expressions (+=, *=, etc.)
2023-01-11 13:59:41 -05:00