Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
236 commits
Select commit Hold shift + click to select a range
194b891
refactor: Set up bounderies for the v2
mhevery Dec 23, 2023
2f0ed7c
WIP: basic test setup
mhevery Dec 26, 2023
82d89a0
WIP: basic test setup
mhevery Dec 26, 2023
e720175
WIP: starting on vnode serializer
mhevery Dec 27, 2023
55a51c0
WIP: vNodeData ser/deser working
mhevery Dec 28, 2023
cc6eeb3
WIP: tests working
mhevery Dec 28, 2023
f181ab8
WIP: tests working
mhevery Dec 28, 2023
7e69490
WIP: attributes working
mhevery Dec 29, 2023
00cdd6f
WIP: text node lazy inflation
mhevery Dec 29, 2023
5129b23
WIP: basic root serialization
mhevery Dec 29, 2023
0d6caa0
WIP: service worker
mhevery Dec 29, 2023
03b8fc0
WIP: implemented most easy serializers
mhevery Dec 30, 2023
e2a2550
WIP: moved serialization/deserialization into same shared file
mhevery Dec 30, 2023
ed46feb
WIP: serialize DOM references
mhevery Dec 30, 2023
7c6669e
WIP: add FormData serializer
mhevery Dec 31, 2023
8c425a6
WIP: JSX serializer
mhevery Dec 31, 2023
6c0ae9b
WIP: tag nesting
mhevery Jan 2, 2024
fe77dac
WIP: basic component redering
mhevery Jan 6, 2024
7089cd7
WIP: move files into core
mhevery Jan 6, 2024
5246c66
WIP: basic signals are working
mhevery Jan 8, 2024
4a23f16
WIP: vnode differ
mhevery Jan 10, 2024
a7962ca
WIP: Refactored vNode for materialization
mhevery Jan 12, 2024
6dbc04d
WIP: more vDOM diffing
mhevery Jan 13, 2024
1f436c5
WIP: basic rendering
mhevery Jan 15, 2024
261e568
WIP: Slot projection for SSR
mhevery Jan 16, 2024
5801ef1
WIP: Slot projection for SSR
mhevery Jan 16, 2024
40fc047
WIP: basir render() bootstrap
mhevery Jan 19, 2024
09f7f38
WIP: all v2 tests passing
mhevery Jan 23, 2024
9b068a7
Merge remote-tracking branch 'upstream/main' into build/v2
mhevery Jan 23, 2024
67a37ea
Merge branch 'main' into build/v2
wmertens Jan 25, 2024
325e85a
WIP: cleanup
mhevery Jan 23, 2024
d83c36d
WIP: projection
mhevery Jan 25, 2024
adc76da
WIP: projection tests passing
mhevery Jan 26, 2024
3393003
WIP: added projection use case
mhevery Jan 26, 2024
0a4b581
WIP: Add README
mhevery Jan 26, 2024
a4a9623
chore: type improvements
wmertens Jan 25, 2024
a91a002
chore: projection test case for nested default content
wmertens Jan 26, 2024
812fa28
WIP: Add README
mhevery Jan 26, 2024
2da17e3
WIP: Add README
mhevery Jan 26, 2024
d51bde5
WIP: async task
mhevery Jan 27, 2024
7b51fbe
WIP: added scheduler
mhevery Feb 2, 2024
1e6c392
Merge branch 'main' into build/v2
wmertens Feb 3, 2024
00ea958
chore: handle type errors
wmertens Feb 3, 2024
9ecde05
WIP: unified scheduling
mhevery Feb 4, 2024
3a87c78
WIP: cleanup
mhevery Feb 6, 2024
b0f5b98
refactor(core): Give proper names to subscriptions
mhevery Feb 7, 2024
77906af
WIP: Derived signals
mhevery Feb 7, 2024
366ae56
WIP: derived signals across components
mhevery Feb 8, 2024
dec61e4
WIP: Store serialization
mhevery Feb 10, 2024
bef168f
WIP: add use on tests
mhevery Feb 10, 2024
f6cd48d
WIP: added JSX serialization tests
mhevery Feb 10, 2024
8804594
WIP: moved serialization into shared folder
mhevery Feb 10, 2024
8c17a41
WIP: Handle promises in serialized data and output
mhevery Feb 13, 2024
c310639
refactor(use-computed): fix useComputed$ impl for v2 (#5843)
Varixo Feb 13, 2024
c6d2e67
WIP: have SSR setPlatform
mhevery Feb 13, 2024
002a858
refactor: dedupe syncWalkJSX
wmertens Feb 11, 2024
3ecb1d8
chore: promise+tasks test
wmertens Feb 13, 2024
752c524
refactor(use-visible-task): useVisibleTask$ for v2 (#5845)
Varixo Feb 13, 2024
307a186
Merge remote-tracking branch 'origin/main' into build/v2
wmertens Feb 13, 2024
0253ab5
test(use-visible-task): add more use visible task tests (#5851)
Varixo Feb 19, 2024
1852a3e
WIP: basic resource working
mhevery Feb 21, 2024
64ade5b
chore: add around tutorial link to v2 README.unit.tsx (#5877)
maiieul Feb 23, 2024
304b3e7
chore: lint++
wmertens Feb 26, 2024
7474c02
Merge remote-tracking branch 'origin/main' into build/v2
wmertens Feb 26, 2024
90964f8
chore: fix test
wmertens Feb 26, 2024
2b8b61c
fix: isStringifiable null
wmertens Feb 26, 2024
f49d391
Merge remote-tracking branch 'origin/main' into build/v2
wmertens Feb 27, 2024
6d0592b
feat(v2): Uint8Array serialization
wmertens Feb 27, 2024
3ab5e12
test(v2): add Parent Child test case (#5906)
gioboa Feb 29, 2024
6886cd8
test(v2): add possible improvements tests (#5898)
gioboa Mar 1, 2024
43c89c1
test(v2): add useStore failing case (#5922)
gioboa Mar 2, 2024
dee0db5
test(vnode-data): tests for vnode data refids (#5919)
Varixo Mar 2, 2024
c0edbd3
test(use-styles-scoped): add use styles scoped impl and tests for v2 …
Varixo Mar 3, 2024
6e5f049
test(use-store): add set interval test for 5597 issue (#5924)
Varixo Mar 3, 2024
6a91f13
test(v2): add conditional rendering tests (#5925)
Varixo Mar 3, 2024
e8309a6
feat(core): Resource working
mhevery Mar 3, 2024
435f467
test: change promises test for visible task (#5931)
Varixo Mar 4, 2024
820aa6f
refactor(qwik): remove styles from vNode to align SSR and CSR
mhevery Mar 4, 2024
1fc61ee
test: change descriptions (#5950)
gioboa Mar 5, 2024
248b2a6
test(v2): add ClassList tests (#5943)
gioboa Mar 5, 2024
6573b93
test(v2): add test for #5662 issue (#5959)
gioboa Mar 5, 2024
a140fe7
feat(v2): null handling (#5964)
Varixo Mar 6, 2024
f170190
core: v2 move journal from before to after vnode
mhevery Mar 7, 2024
b329896
test(v2): add test for 5782 issue (#5945)
Varixo Mar 7, 2024
44c0360
test(v2): add test and fixes for #5647 (#5981)
Varixo Mar 8, 2024
ebcc58d
test(v2): test for issue #5782 (#5971)
Varixo Mar 9, 2024
9815dcd
Merge remote-tracking branch 'origin/main' into build/v2
wmertens Mar 9, 2024
36d1d1e
test(v2): test for issue #5017 (#5987)
Varixo Mar 10, 2024
6aa30b0
test(v2): test for issue #4332 (#5988)
Varixo Mar 10, 2024
3eaadc3
test(v2): test for issue #4038 (#5989)
Varixo Mar 10, 2024
af5e735
test(v2): add tests for render___() API
mhevery Mar 10, 2024
84ec8cb
feat(v2): add render and snapshot timing (#5990)
Varixo Mar 10, 2024
b9074c5
feat(v2): add build base option (#5991)
Varixo Mar 10, 2024
1abdbd2
feat(v2): add more renderToString2 tests (#5993)
Varixo Mar 11, 2024
9ab3499
feat(v2): prefetch strategy option and partial snapshot result (#5997)
Varixo Mar 12, 2024
35d864e
feat(v2): static mode impl (#6002)
Varixo Mar 13, 2024
c0c94f7
feat(v2): add emit qwik loader (#6003)
Varixo Mar 13, 2024
c54069c
feat(v2): qwik events impl (#6008)
Varixo Mar 13, 2024
21957e3
test(v2): qwik funcs and debug tests (#6014)
Varixo Mar 14, 2024
34aa8e6
chore(v2): lint; cleanup tests (#6009)
mhevery Mar 14, 2024
e379d24
feat(v2): add import eslint rules (#6019)
Varixo Mar 15, 2024
c161bfd
V2 clean up (#6020)
mhevery Mar 15, 2024
e7b406e
feat(v2): handle style body wrapper and qwik loader top position (#6023)
Varixo Mar 17, 2024
1de6550
feat(v2): streaming option (#6015)
Varixo Mar 18, 2024
62eaec4
feat(v2): handle self closing elements (#6027)
Varixo Mar 18, 2024
35e43d6
feat(v2): support immutable props from optimizer
mhevery Mar 18, 2024
cc3ab47
Merge remote-tracking branch 'origin/main' into build/v2
wmertens Mar 19, 2024
22f44dd
test(v2): progress towards e2e tests running
mhevery Mar 20, 2024
48a37ce
feat(v2): support locale from containerAttributes (#6035)
Varixo Mar 20, 2024
0753c49
fix(v2): fix svg, math and thead tag nesting (#6036)
Varixo Mar 20, 2024
d9a89af
test(v2): instructions for running e2e tests
mhevery Mar 20, 2024
fa3fd89
test(v2): add more prejection tests
mhevery Mar 21, 2024
cc9d833
fix(v2): fix derived signals serialization
mhevery Mar 21, 2024
6fe59b8
Merge remote-tracking branch 'origin/main' into build/v2
wmertens Mar 22, 2024
1c3b54c
test(v2): add svg tests (#6042)
Varixo Mar 24, 2024
9b8c88e
Merge remote-tracking branch 'origin/main' into build/v2
wmertens Mar 25, 2024
963d5a8
test(v2): test for #2688 issue (#6037)
Varixo Mar 25, 2024
9015882
chore(v2): use optimzer in unit tests
wmertens Mar 19, 2024
773929e
fix(v2): optimizer test fixes (#6046)
wmertens Mar 26, 2024
2f545b6
refactor(v2): varProps and constProps and PropsProxy (#6054)
wmertens Mar 26, 2024
9b61314
fix(v2): fix build; fix some tests
mhevery Mar 27, 2024
6ea7260
chore: upgrade typescript + fixups
wmertens Mar 27, 2024
438af2b
fix(v2): fix more tests
mhevery Mar 27, 2024
74c0d3a
test(v2): more test cleanup after merge
mhevery Mar 28, 2024
37e6b68
test(v2): fix integration tests (#6064)
Varixo Mar 28, 2024
8404f02
test(v2): toMatchDOM matcher (#6066)
Varixo Mar 28, 2024
3d59179
test(v2): make tests pass
mhevery Mar 26, 2024
1311450
test(v2): re-enable skipped tests
mhevery Mar 29, 2024
9b76d31
refactor(v2): VNode materialization causes VNode references in data t…
mhevery Mar 30, 2024
22c6966
fix(v2): fix infinity loop with empty text (#6072)
Varixo Mar 30, 2024
1e82b65
test(v2): change #4038 test (#6074)
Varixo Mar 30, 2024
e004eb0
fix(v2): take projection into account when releasing subscriptions.
mhevery Mar 30, 2024
dddb5c7
fix(v2): fix boolean and number attributes (#6077)
Varixo Mar 31, 2024
e00808a
test(v2): ensure vNodes are removed bofer insert
mhevery Mar 31, 2024
a64bd5a
test(v2): Run slot e2e test under vitest
mhevery Mar 31, 2024
5844360
test(v2): migrate tests to describe.each (#6080)
Varixo Apr 1, 2024
faf8447
test(v2): fix component keys
mhevery Apr 1, 2024
80d7525
fix(v2): special handling of input attributes
mhevery Apr 1, 2024
87f0b9e
test(v2): attribute e2e tests working
mhevery Apr 2, 2024
1048908
feat(v2): useId implemention
Varixo Apr 10, 2024
ae94e2a
fix(v2): handling events (#6105)
Varixo Apr 11, 2024
766126e
test(v2): add test for rendering text node between nodes (#6117)
Varixo Apr 13, 2024
8168ed6
feat(v2): implement dangerouslySetInnerHTML (#6026)
gioboa Apr 14, 2024
d2c33d3
feat(v2): ref impl (#6086)
Varixo Apr 14, 2024
663c5ff
fix(v2): styles scoped id fixes (#6126)
Varixo Apr 21, 2024
d2a999d
test(v2): Add test for running cleanup inside projection
mhevery Apr 22, 2024
2005d4c
feat(v2): q:template in CSR mode (#6144)
Varixo Apr 23, 2024
d0d08ea
test(v2): add #1945 test (#6149)
Varixo Apr 23, 2024
2714024
fix(v2): prevent e2e from crashing (#6152)
mhevery Apr 24, 2024
881ad00
fix(v2): cleanup unclaimed projections wrapped in components (#6154)
Varixo Apr 24, 2024
107f1e4
fix(v2): multiple QRLs on event (#6155)
Varixo Apr 24, 2024
7e833f8
fix(v2): correct handling of async code loading with use-computed (#6…
mhevery Apr 25, 2024
9f27975
fix(v2): prevent rejected promisses from crashing server (#6158)
mhevery Apr 25, 2024
45a2a5a
chore: merge origin/main into build/v2
wmertens Apr 25, 2024
362bb3e
chore: fixups after merge
wmertens Apr 25, 2024
faf3a02
V2 e2e (#6160)
mhevery Apr 26, 2024
8351c5a
fix(v2): lexial scope e2e test fixes (#6163)
Varixo Apr 26, 2024
00b3e93
fix(v2): skip object field serialization with noSerialize (#6165)
Varixo Apr 27, 2024
4b27e72
Build/v2 lexical scope e2e fixes (#6167)
mhevery Apr 27, 2024
d200475
fix(v2): visible task e2e tests fixes (#6168)
Varixo Apr 27, 2024
758996c
fix(v2): don't crash on rendering MDX (#6169)
mhevery Apr 27, 2024
464c05c
fix(v2): fix advonce next sibling with retrieve keys (#6173)
mhevery Apr 28, 2024
1af71d7
fix(v2): ref e2e tests fixes (#6174)
Varixo Apr 28, 2024
4d8001e
fix(optimizer): correctly emit fixed children (#6186)
wmertens Apr 30, 2024
89b8dd8
fix(v2): add test for deconstructing arguments (#6196)
mhevery May 1, 2024
4404c88
chore(optimizer): add testcases, fix indentation
wmertens May 1, 2024
06edb18
fix: build
wmertens May 1, 2024
c6f1f43
Merge branch 'v2-merge-main' into build/v2
wmertens May 1, 2024
aba6f68
Merge remote-tracking branch 'origin/main' into build/v2
wmertens May 1, 2024
80d2181
fix(api): generate qwik api docs again
wmertens May 1, 2024
0ce434d
fix(v2): component rerender with the same key and different props (#6…
Varixo May 3, 2024
8f94d5b
perf(optimizer): use wrapProp whenever possible (#6199)
wmertens May 3, 2024
757ae60
lint
wmertens May 3, 2024
62f1eb8
fix(v2): change SignalWrapper to SignalDerived (#6214)
Varixo May 3, 2024
773b995
feat(v2): textarea value (#6215)
Varixo May 3, 2024
65475a6
chore: fix api missing references so the build doesn't fail
wmertens May 3, 2024
b86dc63
chore: pnpm fmt
wmertens May 3, 2024
370a536
feat(v2): SSRBlock and SSRStream implementation (#6181)
Varixo May 4, 2024
8ccac3e
fix(v2): handle DerivedSignal in useTask.track (#6221)
mhevery May 4, 2024
4ee5aa4
refactor: moved integration tests into their own folder (#6220)
shairez May 4, 2024
cd9c195
fix(v2): handle DerivedSignal in useTask.track (#6222)
mhevery May 4, 2024
4d206fa
E2e fix (#6224)
mhevery May 5, 2024
6582ce3
chore: pnpm deps, api.update, fix a test
wmertens May 4, 2024
06eea5e
chore(ci): refactor build
wmertens May 4, 2024
95ca8dc
fix(v2): fix regressed test due to change in optimizer
mhevery May 6, 2024
8564946
fix(v2): dissable v1 broken tests; make fully green
mhevery May 6, 2024
595ffb7
chore: nix flake update
wmertens May 6, 2024
48db603
perf(ci): better caching of builds
wmertens May 6, 2024
20ba201
fix(v2): incorrect qvnode-data encoding
mhevery May 6, 2024
468b66c
fix(ci): some build corrections
wmertens May 6, 2024
bf2be80
fix(v2): signals e2e tests fixes (#6279)
Varixo May 9, 2024
63a5e0a
Merge remote-tracking branch 'origin/main' into build/v2
wmertens May 9, 2024
914fd4d
feat(v2): sync qrl
Varixo May 18, 2024
2e096ac
fix lint
Varixo May 18, 2024
ab488c5
refactor(qrlToString): v2 SyncQRLInternal type (#6338)
PatrickJS May 19, 2024
202b990
fix(v2): properly insert/remove element with key (#6347)
mhevery May 21, 2024
2536bc0
fix(v2): correct projection cleanup (#6353)
mhevery May 22, 2024
49acac6
fix(v2): delete HTMLFragment (#6350)
Varixo May 22, 2024
4a4d58d
fix(v2): fix dangerouslySetInnerHTML in varProps (#6360)
Varixo May 23, 2024
6290a89
feat(v2): SkipRender impl (#6362)
Varixo May 23, 2024
d7b9880
fix(v2): fix double empty text node + initial qwik city fixes (#6378)
Varixo May 25, 2024
4e937f0
fix(v2): slot tests fixes (#6317)
Varixo May 25, 2024
d7ea2ed
chore(v2): make the pipeline green (#6391)
Varixo May 25, 2024
b6eb618
feat(v2): `processVNodeData` can now handle MFEs and foreign SSR cont…
mhevery May 26, 2024
e5ceda8
perf(ci): don't run e2e if unit tests fail
wmertens May 26, 2024
4567043
fix(vitest): correct config for excluding
wmertens May 26, 2024
96dbbbd
refactor(core): sort varProps + rename helpers
wmertens May 26, 2024
6d1ac07
fix(v2): useContext for html wrapper (#6405)
Varixo May 27, 2024
fb4b456
chore(v2): easier way of running e2e tests (#6407)
mhevery May 27, 2024
a971a3e
Merge remote-tracking branch 'origin/main' into build/v2 + adjustments
wmertens May 26, 2024
e54aa8d
fix prefetch unit tests
Varixo May 26, 2024
33608f9
fix(v2): text node inflation
mhevery May 28, 2024
8dcce14
feat(v2): SSRRaw implementation (#6416)
Varixo May 28, 2024
448c5a9
fix(v2): fix navigation scroll restore (#6417)
Varixo May 28, 2024
3feb2e6
feat(v2): render manifest injections (#6420)
Varixo May 29, 2024
b5a4169
fix(v2): svg with innerHTML content
Varixo Jun 1, 2024
ae82eda
test: fix locale e2e test (#6432)
shairez Jun 6, 2024
078621b
chore: merge main (#6457)
wmertens Jun 7, 2024
fbd644f
fix(v2): inline component rendering fixes (#6428)
Varixo Jun 12, 2024
c074770
fix(v2): fix setting store value with serialization constant at the s…
Varixo Jun 12, 2024
44034f7
fix(v2): docs build
Varixo Jun 15, 2024
6d5c545
fix(v2): slot toggle fixes (#6545)
Varixo Jun 15, 2024
eefc38b
docs(v2/ssr-container): add context to tag nesting property (#6552)
naorpeled Jun 15, 2024
164f103
fix(v2): fix streaming tests (#6553)
Varixo Jun 16, 2024
b94a6e8
fix(v2): fix toggle named projection (#6563)
Varixo Jun 18, 2024
f4b5b11
refactor(v2/ssr-container): rename ContainerElementFrame to ElementFr…
naorpeled Jun 23, 2024
aea1a33
fix(v2): resource e2e test fixes (#6454)
Varixo Jun 24, 2024
a223f6b
fix(v2): fix vnode separators (#6596)
Varixo Jun 25, 2024
7840f17
fix(v2): process only nodes with props separator (#6608)
Varixo Jun 25, 2024
6f3818b
fix(v2): render issue (#6610)
Varixo Jun 29, 2024
68d92f2
fix(v2): fix string deserialization with serialization constant (#6622)
Varixo Jun 30, 2024
a5f9276
fix(v2): fix the same task duplicates in serialized state (#6623)
Varixo Jul 1, 2024
eb1956e
fix: there is a bug when we change DEBUG into true (#6633)
JerryWu1234 Jul 3, 2024
4138bea
fix(v2): do not use tag nesting for production build (#6644)
Varixo Jul 4, 2024
b147210
fix: show a warning instead of an error for rerunning tasks on a diff…
dmitry-stepanenko Jul 4, 2024
d8ada7f
fix(v2): attribute setting and CSR event registration (#6649)
Varixo Jul 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 44 additions & 0 deletions .REFACTOR_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
1 << 0 | 001 | static listeners
1 << 1 | 002 | static subtree

## Slots

```typescript
const Parent = component$(() => {
return (
<Child>
Projection Content
<span q:slot="secondary">Secondary Content</span>
<span q:slot="other">Other Content</span>
</Child>
};
});

const Child = component$(() => {
return (
<div>
<Slot>Default Primary</Slot>
<Slot name="secondary">Default Secondary</Slot>
</div>
);
});
```

```html
<Fragment Parent>
<Fragment Child>
<div>
<Fragment Slot ptr:Child>
Projected Content
<template>Default Primary</template>
</Fragment>
<Fragment Slot ptr:Child>
<span q:slot="secondary">Secondary Content</span>
</Fragment>
</div>
</Fragment>
<template>
<span q:slot="other">Other Content</span>
</template>
</Fragment>
```
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
"label": "Serve",
"onAutoForward": "openPreview"
}
}
},
"postCreateCommand": "./.devcontainer/post-create.sh"
}
7 changes: 7 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.lg "log --oneline"
14 changes: 14 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# For all PRs
* @QwikDev/core-veterans

# For docs PRs
packages/docs @QwikDev/docs-team @QwikDev/qwik-team
contributing @QwikDev/docs-team @QwikDev/qwik-team
README.md @QwikDev/docs-team @QwikDev/qwik-team
CONTRIBUTING.md @QwikDev/docs-team @QwikDev/qwik-team
CODE_OF_CONDUCT.md @QwikDev/docs-team @QwikDev/qwik-team

# Protect the code owners file
.github/CODEOWNERS @mhevery @shairez


15 changes: 15 additions & 0 deletions .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Workaround to cancel workflow runs from forked repositories
name: Cancel
on:
workflow_run:
workflows: ['ci']
types:
- requested
jobs:
cancel:
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
if: github.event_name == 'pull_request'
with:
workflow_id: ${{ github.event.workflow.id }}
Loading