Skip to content

Commit ab7646c

Browse files
authored
Merge branch 'build/v2' into preload-reprio-waterfalls-repro
2 parents 07e8c74 + 28de164 commit ab7646c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1350
-564
lines changed

.changeset/lemon-dingos-dance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
'@builder.io/qwik': minor
2+
'@qwik.dev/core': minor
33
---
44

5-
BREAKING: (slightly) Qwik will no longer scan all modules at build start to detect Qwik modules. Instead, a runtime check is done to prevent duplicate core imports. If you get a runtime error, you need to fix your build settings so they don't externalize qwik-related libraries.
5+
BREAKING: (slightly) Qwik will no longer scan all modules at build start to detect Qwik modules (which should be bundled into your server code). Instead, a much faster build-time check is done, and Qwik will tell you if you need to update your `ssr.noExternal` settings in your Vite config.

.changeset/plain-eggs-clean.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@qwik.dev/core': patch
3+
---
4+
5+
fix: handling spread props on element node

.changeset/pre.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@
3434
"common-breads-wait",
3535
"cyan-bottles-speak",
3636
"cyan-walls-sing",
37+
"dark-eagles-tap",
3738
"dirty-lemons-shop",
3839
"dirty-lines-march",
40+
"easy-geese-watch",
3941
"eighty-ligers-wink",
4042
"eighty-points-argue",
4143
"every-badgers-bake",
@@ -47,6 +49,7 @@
4749
"five-shoes-deny",
4850
"flat-hounds-burn",
4951
"fluffy-poets-raise",
52+
"fluffy-times-hug",
5053
"forty-garlics-train",
5154
"fresh-rocks-exercise",
5255
"friendly-beers-heal",
@@ -63,17 +66,22 @@
6366
"heavy-seas-carry",
6467
"hip-hornets-cheer",
6568
"hip-points-kick",
69+
"honest-berries-knock",
6670
"honest-pears-sniff",
6771
"itchy-comics-develop",
6872
"kind-toes-glow",
6973
"large-houses-watch",
74+
"lazy-tigers-dig",
75+
"lemon-dingos-dance",
7076
"lemon-tools-bathe",
7177
"little-ways-deny",
7278
"long-shirts-thank",
7379
"loud-dolphins-relate",
80+
"many-forks-ring",
7481
"many-tips-win",
7582
"mean-dingos-hug",
7683
"mean-parents-buy",
84+
"mean-tires-cover",
7785
"nervous-terms-explode",
7886
"nine-otters-repeat",
7987
"ninety-crabs-lay",
@@ -84,6 +92,7 @@
8492
"olive-yaks-prove",
8593
"open-beds-grab",
8694
"orange-otters-attend",
95+
"plain-eggs-clean",
8796
"polite-sloths-visit",
8897
"pretty-trees-check",
8998
"proud-houses-fix",
@@ -103,13 +112,16 @@
103112
"shaggy-poems-return",
104113
"sharp-apples-relate",
105114
"short-suits-bet",
115+
"shy-shirts-glow",
106116
"shy-walls-shake",
117+
"silly-pans-wear",
107118
"silly-symbols-sleep",
108119
"six-games-float",
109120
"sixty-grapes-beam",
110121
"slick-clowns-relax",
111122
"slimy-weeks-hope",
112123
"smooth-cups-press",
124+
"social-lizards-clean",
113125
"soft-insects-see",
114126
"solid-olives-know",
115127
"some-birds-juggle",
@@ -125,16 +137,19 @@
125137
"tame-glasses-explain",
126138
"tasty-penguins-ring",
127139
"tasty-turkeys-stand",
140+
"ten-emus-jog",
128141
"thirty-carrots-stand",
129142
"thirty-ravens-draw",
130143
"tiny-berries-bow",
131144
"tiny-cows-pick",
132145
"tricky-meals-heal",
133146
"tricky-peaches-buy",
134147
"twenty-goats-flow",
148+
"twenty-lines-prove",
135149
"unlucky-dodos-grab",
136150
"unlucky-olives-knock",
137151
"warm-camels-remain",
152+
"warm-spoons-punch",
138153
"wet-bobcats-decide",
139154
"wicked-pets-chew",
140155
"wide-boats-pump",

.changeset/ten-emus-jog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@qwik.dev/core': patch
3+
---
4+
5+
fix: resuming nested container in shadow root

.changeset/twelve-buckets-brake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@qwik.dev/core': patch
3+
---
4+
5+
fix: resuming shadow dom container with multiple root children

eslint.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ const ignores = [
4545
// packages with eslint.config.mjs
4646
'packages/qwik-labs',
4747
'packages/insights',
48-
'starters',
4948
// eslint.config.*
5049
'**/eslint.config.mjs',
5150
'**/eslint.config.js',

packages/create-qwik/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# create-qwik
22

3+
## 2.0.0-beta.9
4+
35
## 2.0.0-beta.8
46

57
## 2.0.0-beta.7

packages/create-qwik/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "create-qwik",
33
"description": "Interactive CLI for create Qwik projects and adding features.",
4-
"version": "2.0.0-beta.8",
4+
"version": "2.0.0-beta.9",
55
"author": "Qwik Team",
66
"bin": "./create-qwik.cjs",
77
"bugs": "https://github.com/QwikDev/qwik/issues",

packages/docs/src/routes/api/qwik/api.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2105,7 +2105,7 @@
21052105
}
21062106
],
21072107
"kind": "TypeAlias",
2108-
"content": "```typescript\nexport type SSRStreamChildren = AsyncGenerator<JSXChildren, void, any> | ((stream: StreamWriter) => Promise<void>) | (() => AsyncGenerator<JSXChildren, void, any>);\n```\n**References:** [JSXChildren](#jsxchildren)",
2108+
"content": "```typescript\nexport type SSRStreamChildren = AsyncGenerator<JSXChildren, void, any> | ((stream: SSRStreamWriter) => Promise<void>) | (() => AsyncGenerator<JSXChildren, void, any>);\n```\n**References:** [JSXChildren](#jsxchildren)<!-- -->, [SSRStreamWriter](#ssrstreamwriter)",
21092109
"editUrl": "https://github.com/QwikDev/qwik/tree/main/packages/qwik/src/core/shared/jsx/utils.public.ts",
21102110
"mdFile": "core.ssrstreamchildren.md"
21112111
},
@@ -2123,6 +2123,20 @@
21232123
"editUrl": "https://github.com/QwikDev/qwik/tree/main/packages/qwik/src/core/shared/jsx/utils.public.ts",
21242124
"mdFile": "core.ssrstreamprops.md"
21252125
},
2126+
{
2127+
"name": "SSRStreamWriter",
2128+
"id": "ssrstreamwriter",
2129+
"hierarchy": [
2130+
{
2131+
"name": "SSRStreamWriter",
2132+
"id": "ssrstreamwriter"
2133+
}
2134+
],
2135+
"kind": "Interface",
2136+
"content": "```typescript\nexport interface SSRStreamWriter \n```\n\n\n<table><thead><tr><th>\n\nMethod\n\n\n</th><th>\n\nDescription\n\n\n</th></tr></thead>\n<tbody><tr><td>\n\n[write(chunk)](#ssrstreamwriter-write)\n\n\n</td><td>\n\n\n</td></tr>\n</tbody></table>",
2137+
"editUrl": "https://github.com/QwikDev/qwik/tree/main/packages/qwik/src/core/shared/jsx/utils.public.ts",
2138+
"mdFile": "core.ssrstreamwriter.md"
2139+
},
21262140
{
21272141
"name": "SVGAttributes",
21282142
"id": "svgattributes",
@@ -2612,6 +2626,23 @@
26122626
"content": "Override the `getLocale` with `lang` within the `fn` execution.\n\n\n```typescript\nexport declare function withLocale<T>(locale: string, fn: () => T): T;\n```\n\n\n<table><thead><tr><th>\n\nParameter\n\n\n</th><th>\n\nType\n\n\n</th><th>\n\nDescription\n\n\n</th></tr></thead>\n<tbody><tr><td>\n\nlocale\n\n\n</td><td>\n\nstring\n\n\n</td><td>\n\n\n</td></tr>\n<tr><td>\n\nfn\n\n\n</td><td>\n\n() =&gt; T\n\n\n</td><td>\n\n\n</td></tr>\n</tbody></table>\n\n**Returns:**\n\nT",
26132627
"editUrl": "https://github.com/QwikDev/qwik/tree/main/packages/qwik/src/core/use/use-locale.ts",
26142628
"mdFile": "core.withlocale.md"
2629+
},
2630+
{
2631+
"name": "write",
2632+
"id": "ssrstreamwriter-write",
2633+
"hierarchy": [
2634+
{
2635+
"name": "SSRStreamWriter",
2636+
"id": "ssrstreamwriter-write"
2637+
},
2638+
{
2639+
"name": "write",
2640+
"id": "ssrstreamwriter-write"
2641+
}
2642+
],
2643+
"kind": "MethodSignature",
2644+
"content": "```typescript\nwrite(chunk: JSXOutput): void;\n```\n\n\n<table><thead><tr><th>\n\nParameter\n\n\n</th><th>\n\nType\n\n\n</th><th>\n\nDescription\n\n\n</th></tr></thead>\n<tbody><tr><td>\n\nchunk\n\n\n</td><td>\n\n[JSXOutput](#jsxoutput)\n\n\n</td><td>\n\n\n</td></tr>\n</tbody></table>\n\n**Returns:**\n\nvoid",
2645+
"mdFile": "core.ssrstreamwriter.write.md"
26152646
}
26162647
]
26172648
}

packages/docs/src/routes/api/qwik/index.mdx

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4500,11 +4500,11 @@ SSRStreamBlock: FunctionComponent<{
45004500
```typescript
45014501
export type SSRStreamChildren =
45024502
| AsyncGenerator<JSXChildren, void, any>
4503-
| ((stream: StreamWriter) => Promise<void>)
4503+
| ((stream: SSRStreamWriter) => Promise<void>)
45044504
| (() => AsyncGenerator<JSXChildren, void, any>);
45054505
```
45064506
4507-
**References:** [JSXChildren](#jsxchildren)
4507+
**References:** [JSXChildren](#jsxchildren), [SSRStreamWriter](#ssrstreamwriter)
45084508
45094509
[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik/src/core/shared/jsx/utils.public.ts)
45104510
@@ -4520,6 +4520,32 @@ export type SSRStreamProps = {
45204520
45214521
[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik/src/core/shared/jsx/utils.public.ts)
45224522
4523+
## SSRStreamWriter
4524+
4525+
```typescript
4526+
export interface SSRStreamWriter
4527+
```
4528+
4529+
<table><thead><tr><th>
4530+
4531+
Method
4532+
4533+
</th><th>
4534+
4535+
Description
4536+
4537+
</th></tr></thead>
4538+
<tbody><tr><td>
4539+
4540+
[write(chunk)](#ssrstreamwriter-write)
4541+
4542+
</td><td>
4543+
4544+
</td></tr>
4545+
</tbody></table>
4546+
4547+
[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik/src/core/shared/jsx/utils.public.ts)
4548+
45234549
## SVGAttributes
45244550
45254551
The TS types don't include the SVG attributes so we have to define them ourselves
@@ -9919,3 +9945,39 @@ fn
99199945
T
99209946
99219947
[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik/src/core/use/use-locale.ts)
9948+
9949+
## write
9950+
9951+
```typescript
9952+
write(chunk: JSXOutput): void;
9953+
```
9954+
9955+
<table><thead><tr><th>
9956+
9957+
Parameter
9958+
9959+
</th><th>
9960+
9961+
Type
9962+
9963+
</th><th>
9964+
9965+
Description
9966+
9967+
</th></tr></thead>
9968+
<tbody><tr><td>
9969+
9970+
chunk
9971+
9972+
</td><td>
9973+
9974+
[JSXOutput](#jsxoutput)
9975+
9976+
</td><td>
9977+
9978+
</td></tr>
9979+
</tbody></table>
9980+
9981+
**Returns:**
9982+
9983+
void

0 commit comments

Comments
 (0)