Skip to content

Commit 9556755

Browse files
authored
Merge branch 'build/v2' into buildv2async
2 parents f2df870 + a7e0402 commit 9556755

File tree

77 files changed

+1881
-1455
lines changed

Some content is hidden

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

77 files changed

+1881
-1455
lines changed

.changeset/happy-banks-dream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@qwik.dev/core': minor
3+
---
4+
5+
FEAT: `bind:checked` and `bind:value` now also work through spread props, and they result in less code.

.github/workflows/bench.yml.disabled

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
optimizer: ${{ steps.filter.outputs.optimizer }}
1313

1414
steps:
15-
- uses: actions/checkout@v4.1.1
15+
- uses: actions/checkout@v5
1616
- uses: dorny/paths-filter@v2
1717
id: filter
1818
with:
@@ -26,7 +26,7 @@ jobs:
2626
if: ${{ needs.changes.outputs.optimizer == 'true' }}
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v4.1.1
29+
- uses: actions/checkout@v5
3030

3131
- name: Cache
3232
uses: actions/cache@v4

.github/workflows/ci.yml

Lines changed: 49 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
run: echo event_name=${{ github.event_name }}
7474

7575
- name: Checkout
76-
uses: actions/checkout@v4
76+
uses: actions/checkout@v5
7777

7878
- name: Set Dist Tag
7979
id: set_dist_tag
@@ -204,13 +204,13 @@ jobs:
204204
runs-on: ubuntu-latest
205205
steps:
206206
- name: Checkout
207-
uses: actions/checkout@v4
207+
uses: actions/checkout@v5
208208

209209
- uses: pnpm/action-setup@v4
210210
- name: Setup Node
211-
uses: actions/setup-node@v4
211+
uses: actions/setup-node@v5
212212
with:
213-
node-version: 20.x
213+
node-version: 24.x
214214
cache: 'pnpm'
215215
registry-url: https://registry.npmjs.org/
216216

@@ -258,8 +258,7 @@ jobs:
258258
- host: macos-latest
259259
target: aarch64-apple-darwin
260260

261-
# Note: 2025 image breaks rollup
262-
- host: windows-2022
261+
- host: windows-latest
263262
target: x86_64-pc-windows-msvc
264263

265264
name: Build optimizer ${{ matrix.settings.target }}
@@ -269,7 +268,7 @@ jobs:
269268

270269
steps:
271270
- name: Checkout
272-
uses: actions/checkout@v4
271+
uses: actions/checkout@v5
273272

274273
- name: Install Rust toolchain
275274
uses: actions-rust-lang/setup-rust-toolchain@v1
@@ -278,9 +277,9 @@ jobs:
278277

279278
- uses: pnpm/action-setup@v4
280279
- name: Setup Node
281-
uses: actions/setup-node@v4
280+
uses: actions/setup-node@v5
282281
with:
283-
node-version: 20.x
282+
node-version: 24.x
284283
cache: 'pnpm'
285284
registry-url: https://registry.npmjs.org/
286285

@@ -388,15 +387,15 @@ jobs:
388387

389388
- name: Checkout
390389
if: needs.changes.outputs.build-others == 'true'
391-
uses: actions/checkout@v4
390+
uses: actions/checkout@v5
392391

393392
- uses: pnpm/action-setup@v4
394393
if: needs.changes.outputs.build-others == 'true'
395394
- name: Setup Node
396395
if: needs.changes.outputs.build-others == 'true'
397-
uses: actions/setup-node@v4
396+
uses: actions/setup-node@v5
398397
with:
399-
node-version: 20.x
398+
node-version: 24.x
400399
cache: 'pnpm'
401400
registry-url: https://registry.npmjs.org/
402401

@@ -496,7 +495,7 @@ jobs:
496495
run: exit 1
497496

498497
- name: Checkout
499-
uses: actions/checkout@v4
498+
uses: actions/checkout@v5
500499

501500
- name: Download Build Artifacts
502501
uses: actions/download-artifact@v4
@@ -513,9 +512,9 @@ jobs:
513512
514513
- uses: pnpm/action-setup@v4
515514
- name: Setup Node
516-
uses: actions/setup-node@v4
515+
uses: actions/setup-node@v5
517516
with:
518-
node-version: 20.x
517+
node-version: 24.x
519518
cache: 'pnpm'
520519
registry-url: https://registry.npmjs.org/
521520

@@ -546,13 +545,13 @@ jobs:
546545
run: exit 1
547546

548547
- name: Checkout
549-
uses: actions/checkout@v4
548+
uses: actions/checkout@v5
550549

551550
- uses: pnpm/action-setup@v4
552551
- name: Setup Node
553-
uses: actions/setup-node@v4
552+
uses: actions/setup-node@v5
554553
with:
555-
node-version: 20.x
554+
node-version: 24.x
556555
cache: 'pnpm'
557556
registry-url: https://registry.npmjs.org/
558557

@@ -610,13 +609,13 @@ jobs:
610609
run: exit 1
611610

612611
- name: Checkout
613-
uses: actions/checkout@v4
612+
uses: actions/checkout@v5
614613

615614
- uses: pnpm/action-setup@v4
616615
- name: Setup Node
617-
uses: actions/setup-node@v4
616+
uses: actions/setup-node@v5
618617
with:
619-
node-version: 20.x
618+
node-version: 24.x
620619
cache: 'pnpm'
621620
registry-url: https://registry.npmjs.org/
622621

@@ -666,21 +665,18 @@ jobs:
666665
# browser: firefox
667666
- host: macos-latest
668667
browser: webkit
669-
# flaky. Updating node version or sharp/sqlite3 related deps might help.
670-
# - host: windows-2022
671-
# browser: chromium
672668

673669
runs-on: ${{ matrix.settings.host }}
674670

675671
steps:
676672
- name: Checkout
677-
uses: actions/checkout@v4
673+
uses: actions/checkout@v5
678674

679675
- uses: pnpm/action-setup@v4
680676
- name: Setup Node
681-
uses: actions/setup-node@v4
677+
uses: actions/setup-node@v5
682678
with:
683-
node-version: 20.x
679+
node-version: 24.x
684680
cache: 'pnpm'
685681
registry-url: https://registry.npmjs.org/
686682

@@ -707,17 +703,6 @@ jobs:
707703
- name: Playwright E2E Tests
708704
run: pnpm run test.e2e.${{ matrix.settings.browser }} --timeout 60000 --retries 7 --workers 1
709705

710-
- name: Playwright E2E Integration Tests
711-
run: pnpm run test.e2e.integrations.${{ matrix.settings.browser }} --timeout 60000 --retries 7 --workers 1
712-
713-
- name: Playwright E2E Qwik React Tests
714-
run: pnpm run test.e2e.qwik-react.${{ matrix.settings.browser }} --timeout 60000 --retries 7 --workers 1
715-
716-
- name: Validate Create Qwik Cli
717-
if: matrix.settings.host != 'windows-2022'
718-
run: pnpm cli.validate
719-
720-
############ E2E CLI TEST ############
721706
test-cli-e2e:
722707
name: E2E CLI Tests
723708
if: always() && needs.changes.outputs.build-cli-e2e == 'true'
@@ -731,20 +716,23 @@ jobs:
731716
matrix:
732717
settings:
733718
- host: ubuntu-latest
719+
browser: chromium
734720
- host: macos-latest
735-
- host: windows-2022
721+
browser: webkit
722+
- host: windows-latest
723+
browser: chromium
736724

737725
runs-on: ${{ matrix.settings.host }}
738726

739727
steps:
740728
- name: Checkout
741-
uses: actions/checkout@v4
729+
uses: actions/checkout@v5
742730

743731
- uses: pnpm/action-setup@v4
744732
- name: Setup Node
745-
uses: actions/setup-node@v4
733+
uses: actions/setup-node@v5
746734
with:
747-
node-version: 20.x
735+
node-version: 24.x
748736
cache: 'pnpm'
749737
registry-url: https://registry.npmjs.org/
750738

@@ -760,9 +748,22 @@ jobs:
760748
mv artifact-create-qwik/* packages/create-qwik/dist/
761749
mkdir -p packages/eslint-plugin-qwik/dist/
762750
mv artifact-eslint-plugin-qwik/* packages/eslint-plugin-qwik/dist/
751+
mkdir -p packages/qwik-react/lib/
752+
mv artifact-qwikreact/lib/* packages/qwik-react/lib/
763753
764754
- run: pnpm install --frozen-lockfile
765755

756+
- name: Install Playwright
757+
run: npx playwright install ${{ matrix.settings.browser }} --with-deps
758+
759+
- name: Playwright E2E Integration Tests
760+
run: pnpm run test.e2e.integrations.${{ matrix.settings.browser }} --timeout 60000 --retries 7 --workers 1
761+
762+
- name: Playwright E2E Qwik React Tests
763+
# This just fails constantly on Windows due to weird segfaults
764+
if: matrix.settings.host != 'windows-latest'
765+
run: pnpm run test.e2e.qwik-react.${{ matrix.settings.browser }} --timeout 60000 --retries 7 --workers 1
766+
766767
- name: CLI E2E Tests
767768
run: pnpm run test.e2e.cli
768769

@@ -772,13 +773,13 @@ jobs:
772773
runs-on: ubuntu-latest
773774
steps:
774775
- name: Checkout
775-
uses: actions/checkout@v4
776+
uses: actions/checkout@v5
776777

777778
- uses: pnpm/action-setup@v4
778779
- name: Setup Node
779-
uses: actions/setup-node@v4
780+
uses: actions/setup-node@v5
780781
with:
781-
node-version: 20.x
782+
node-version: 24.x
782783
cache: 'pnpm'
783784
registry-url: https://registry.npmjs.org/
784785

@@ -856,13 +857,13 @@ jobs:
856857
path: cli-e2e-tests-completed.txt
857858

858859
- name: Checkout
859-
uses: actions/checkout@v4
860+
uses: actions/checkout@v5
860861

861862
- uses: pnpm/action-setup@v4
862863
- name: Setup Node
863-
uses: actions/setup-node@v4
864+
uses: actions/setup-node@v5
864865
with:
865-
node-version: 20.x
866+
node-version: 24.x
866867
cache: 'pnpm'
867868
registry-url: https://registry.npmjs.org/
868869

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
4444
- name: Checkout code
4545
if: ${{ steps.check-artifact.outputs.has-docs == 'true' }}
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v5
4747

4848
- name: Download docs artifact
4949
if: ${{ steps.check-artifact.outputs.has-docs == 'true' }}

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ resolver = "2"
1010

1111
[profile.release]
1212
debug = 0
13+
lto = true
14+
codegen-units = 1
15+
opt-level = "z"
16+
panic = "abort"
1317

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"@changesets/types": "6.1.0",
9696
"@clack/prompts": "0.11.0",
9797
"@eslint/js": "9.33.0",
98-
"@mdx-js/mdx": "3.1.0",
98+
"@mdx-js/mdx": "3.1.1",
9999
"@microsoft/api-documenter": "7.26.31",
100100
"@microsoft/api-extractor": "7.52.10",
101101
"@napi-rs/cli": "2.18.4",
@@ -125,16 +125,16 @@
125125
"cross-spawn": "7.0.6",
126126
"csstype": "3.1.3",
127127
"dotenv": "16.5.0",
128-
"esbuild": "0.25.9",
128+
"esbuild": "0.25.10",
129129
"eslint": "9.33.0",
130130
"eslint-plugin-import": "2.32.0",
131131
"eslint-plugin-no-only-tests": "3.3.0",
132132
"eslint-plugin-qwik": "workspace:*",
133-
"execa": "8.0.1",
133+
"execa": "9.6.0",
134134
"express": "4.20.0",
135-
"globals": "16.3.0",
135+
"globals": "16.4.0",
136136
"install": "0.13.0",
137-
"memfs": "4.38.2",
137+
"memfs": "4.49.0",
138138
"monaco-editor": "0.52.2",
139139
"mri": "1.2.0",
140140
"path-browserify": "1.0.1",

packages/docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@qwik.dev/partytown": "0.11.2",
2121
"@qwik.dev/react": "workspace:*",
2222
"@qwik.dev/router": "workspace:*",
23-
"@rolldown/browser": "1.0.0-beta.41",
23+
"@rolldown/browser": "1.0.0-beta.42",
2424
"@shikijs/colorized-brackets": "3.12.2",
2525
"@shikijs/langs": "3.12.2",
2626
"@shikijs/rehype": "3.12.2",
@@ -48,9 +48,9 @@
4848
"qwik-image": "0.0.16",
4949
"react": "19.1.1",
5050
"react-dom": "19.1.1",
51-
"shiki": "3.12.2",
51+
"shiki": "3.13.0",
5252
"snarkdown": "2.0.0",
53-
"tailwindcss": "4.1.12",
53+
"tailwindcss": "4.1.14",
5454
"terser": "5.44.0",
5555
"tsm": "2.3.0",
5656
"typescript": "5.9.3",

0 commit comments

Comments
 (0)