-
Notifications
You must be signed in to change notification settings - Fork 1.4k
refactor: v2 release #6903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
wmertens
wants to merge
1,596
commits into
main
Choose a base branch
from
build/v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+153,878
−89,256
Open
refactor: v2 release #6903
Changes from 250 commits
Commits
Show all changes
1596 commits
Select commit
Hold shift + click to select a range
bdba2fb
Merge pull request #7981 from QwikDev/v2-trim-vite-script-tag
wmertens 0581cba
fix: resuming app with non-qwik elements inside
Varixo c1fb82c
Merge pull request #7991 from QwikDev/v2-resuming-with-non-qwik-nodes
wmertens 381a859
feat(router): plain head exports merging order
wmertens e436baa
Merge pull request #7970 from QwikDev/v2-head-changes
wmertens a5c123a
Merge remote-tracking branch 'origin/build/v2' into v2-merge-main
wmertens ca2898a
Merge remote-tracking branch 'origin/main' into v2-merge-main
wmertens 658701c
fixup
wmertens 44f96a4
chore: make pnpm happy
wmertens e1bd82c
refactor(router): improve plugin retrieval logic in Vite adapter
JerryWu1234 412a0e3
refactor(router): unify plugin retrieval logic in Vite adapter and bu…
JerryWu1234 bd3925a
refactor(router): add double type assertion to avoid TypeScript stack…
JerryWu1234 fdc30ee
chore: fix some peer deps
wmertens 991cec0
fix(serdes): handle cyclic Store deser
wmertens d66866e
fix(vite): mark core+router as unique; better optimizeDeps discovery
wmertens 6bae2e0
fix(insights app): dev mode crash
wmertens a97dcf1
chore(ssg): print warning when exiting
wmertens ceaa368
fix(vite): better dev build error detection
wmertens c9fc8fe
chore: upgrade vite and vite-imagetools
wmertens fe448bf
chore(ci): update playwright, show serve output
wmertens 2b27088
refactor(router): improve plugin retrieval logic in Vite adapter (#8001)
JerryWu1234 a1d9864
fix: patch rollup getReport() for windows
Varixo 8882083
Merge branch 'QwikDev:build/v2' into build/v2
JerryWu1234 e63dbe6
fix(e2e): reduce flakiness
wmertens c2a7ef2
chore(e2e): remove e2e. prefixes
wmertens 168efd5
Merge pull request #7998 from QwikDev/v2-merge-main
wmertens a63315f
fix(wrapProp): correct flag read
wmertens 2ff3c24
Merge pull request #8004 from QwikDev/v2-fix-wrap
wmertens 232a303
refactor: improve readability in vite and rollup hooks (#7759)
thejackshelton fefa0a5
feat(serdes): dedupe bigint
wmertens 0f5d600
feat(serdes): dedupe qrls
wmertens 5e69f41
refactor(serdes): clean out index
wmertens 4189020
fix(serdes): dedupe root qrls
wmertens 467db63
perf(serdes): dedupe qrl chunk names
wmertens cbb05cb
Merge pull request #8012 from QwikDev/v2-serdes-dedupe
wmertens 1e93d3a
Version Packages (beta)
github-actions[bot] f0a4fbc
Update changelog for version 2.0.0-beta.11
wmertens d7daca3
Release 2.0.0-beta.11
wmertens e7db25d
fix: removed version from docs-e2e
shairez 2153e74
Merge pull request #8013 from QwikDev/pr-fix-v2-release
shairez 46f2062
Merge remote-tracking branch 'origin/main' into v2-merge-main
wmertens 85af918
feat(ssr): keep track of written size, expose write()
wmertens 0d1e8f3
fix(core): vnode skip for >= 8192
wmertens 783adea
fix(plugin): don't import node:fs in browser
wmertens 179a72c
fix(plugin): correctly detect qwik external deps
wmertens 4ed3049
docs: add missing optimizeDeps excludes
wmertens 0e1cce1
fix(repl): handle internal imports
wmertens cb8fd84
chore: pnpm dedupe
wmertens 3ed9cd0
Merge pull request #8019 from QwikDev/v2-fixes
wmertens 141d9e8
feat(core): inline qwikloader embeds at 30kB SSR
wmertens 99865e5
Merge remote-tracking branch 'origin/main' into v2-merge-main
wmertens 80f82f8
Merge remote-tracking branch 'origin/build/v2' into v2-merge-main
wmertens dd0db9b
chore: pnpm dedupe
wmertens b1d99a6
Merge pull request #8025 from QwikDev/v2-merge-main
wmertens 4794f2a
fix: adding and removing attributes on vnodes
Varixo 8f60e5d
Merge pull request #8030 from QwikDev/v2-fix-attributes-edge-cases
wmertens 0130756
fix(ci): wasmpack pnpm warning
wmertens 2ae18ad
feat(ssg): report more errors
wmertens 8844bc5
fix(router): don't add handlers to vite plugin
wmertens 759d040
chore: change route data and router config names
Varixo f7e57a0
chore(router): lint++
wmertens 7bfe7e7
chore: dep updates
wmertens 0f76bec
Merge pull request #7980 from QwikDev/v2-refactor-routerconfig
wmertens 7d809e7
fix: scheduling previously blocked chore
Varixo b6eebcd
fix: adding blocking chore multiple times
Varixo 44ea824
Merge pull request #8028 from QwikDev/v2-fix-unblocking-chores
wmertens d4de268
fix(ssr): inject qwikloader only where allowed
wmertens 52b0e2a
Merge pull request #8036 from QwikDev/v2-fix-ql-inline
wmertens a4039d6
perf: use replace children for truncating nodes
Varixo dddf66a
feat: faster nodes removing
Varixo ff61ff1
refactor: move or create keyed node
Varixo 4fc7667
perf: improve performance of new diff algorithm
Varixo 8049e6c
perf: remove unnecessary effects cleanups
Varixo 906698a
perf: create wrapped signal only once for vnode diff
Varixo b71f354
perf: create wrapped signal only once for attributes diff
Varixo 74c570c
fix: memory leak for reactive attributes
Varixo 2b748b4
Merge pull request #7997 from QwikDev/v2-next-perf-improv
wmertens 577d98a
fix(ssr): qvisible event handling
wmertens 52889ab
fixup
wmertens 27348d2
Merge pull request #8046 from QwikDev/v2-fix
wmertens b78ff23
perf(serdes): better weakref handling
wmertens 36beb3b
refactor(dev qrl): cleaner backchannel
wmertens a14794b
perf(core): faster untrack
wmertens 55d1b94
perf(core): better props handling in addUseOnEvent
wmertens d34684e
refactor: cleanup after perf changes
Varixo ff06b2f
Merge branch 'QwikDev:build/v2' into build/v2
JerryWu1234 ff3bb7a
refactor(jsx): PropsProxy now retains owner for editing props
wmertens e62a066
fix: reassign owner for component props
Varixo ad8403b
fix: build and update api files
Varixo de2da52
fix(ssr): do not emit null jsx props
wmertens 22a6cef
perf(vnode): initial props copy is append-only
wmertens 37ec032
refactor(jsx): PropsProxy in own file
wmertens 5ffe97c
feat: bind:* at runtime, supporting spread args
wmertens 239b8f7
Merge remote-tracking branch 'origin/main' into v2-merge-main
wmertens a280d5e
fix(repl): bad import from 3rd party
wmertens 647aad1
Merge pull request #8051 from QwikDev/v2-merge-main
wmertens 41f6a3d
Merge branch 'build/v2' into v2-bind-jsx
wmertens 6c77b41
fix(ci): move e2e tests around, disable windows for some
wmertens 129b16d
Merge pull request #7321 from QwikDev/v2-bind-jsx
wmertens 9d0ba09
Merge pull request #8049 from QwikDev/v2-perf-cleanup
wmertens 8e90706
perf: don't set non updatable node as non updatable again
Varixo 70c1609
perf: speed up vnode locating
Varixo 2fdd320
perf: read WrappedSignal value from DOM
Varixo da7264b
fix: fix serialize QRL for different container
Varixo a7e0402
Merge pull request #8055 from QwikDev/v2-ssr-perf
wmertens 74a52ec
fix(optimizer): do not move expressions across mutations
wmertens eccef5b
refactor(ssr): move writeFragmentAttrs to private method
wmertens 1759e36
fix(serdes): verify serialization
wmertens a5aa7ca
perf(serdes): simplify seen tracking
wmertens ad99cf7
perf(serdes): flatten rootrefs to backrefs
wmertens eeca967
refactor(serdes): readability
wmertens a523a35
perf(serdes): special case {}
wmertens 196cba2
perf(serdes): remove trailing nulls
wmertens 5dfa643
perf(serdes): backrefs through backrefs
wmertens 8d99ba5
fix: scheduling already running chore
Varixo 7efeb82
chore: move serialize-utils to serdes/
wmertens b3c297c
refactor: getRunningChore logic change
Varixo bc47aaa
fix: do not block run and resolve qrl chores
Varixo a33c454
fix(repl): workaround doc-idle vistask not working
wmertens 4e6d03f
fix(docs): COEP headers in preview
wmertens 2957b2a
chore: update monaco, remove stale overrides
wmertens 0c6a763
Merge pull request #8059 from QwikDev/v2-fix-repl
wmertens 21f1c44
fix: V2 checkExternals plugin throw for external libs
maiieul 0793bb4
chore: changeset
maiieul a437229
fix: library starter dev mode not booting up
maiieul 6bd438b
perf(serdes): we already have the old parent
wmertens f788200
perf(serdes): don't track small bigints
wmertens e1ab44a
Merge pull request #8062 from QwikDev/fix-v2-lib-components-rendering
wmertens cb16372
Merge pull request #8057 from QwikDev/v2-serdes-rootpath
wmertens a772f63
chore: review comments
maiieul 3167c1f
v2: make client outDir sane (#8064)
wmertens 83e08ea
feat(repl): long-lived SSR worker
wmertens 85bdc82
Merge pull request #8068 from QwikDev/v2-repl
wmertens 9b73179
fix(core): expose inlinedQrl via public API (#8069)
intellix ff31468
feat(router): output server$ errors to server log
wmertens 4107646
lint++
wmertens c4d3bd7
chore(router): head is sync so can be entirely wrapped in withLocale()
wmertens 7af2eff
refactor(build): build router in one step with vite
wmertens bdc690d
feat(core): use AsyncLocalStorage for locale
wmertens 69a43e9
refactor(router): make async request store a regular export
wmertens c5eada7
Merge pull request #7826 from JerryWu1234/buildv2async
wmertens 96514d3
fix: blocking slot parent and parent order
Varixo 8b99246
Merge pull request #8070 from QwikDev/v2-blocking-parent-order
Varixo 5c89ea1
Merge pull request #8063 from QwikDev/fix-v2-lib-starter-dev-mode-not…
wmertens 617a485
Merge branch 'QwikDev:build/v2' into build/v2
JerryWu1234 117116d
fix: reblocking chores in scheduler
Varixo 64b9cab
Merge pull request #8077 from QwikDev/v2-reblocking-chore
Varixo 6c57d30
Merge v1.17.1-alpha into v2-merge-main
wmertens fcd7e07
fixup
wmertens 47d71b2
refactor(docs): theme toggle
wmertens 1f668f3
lint
wmertens 1b275e1
Merge pull request #8082 from QwikDev/v2-merge-main
wmertens 91a92b1
fix: ssg build windows error
Varixo 3cb4eeb
chore: reenable windows e2e tests on CI
Varixo 354d1cf
chore: reenable react e2e tests on windows
Varixo d48c3d2
v2: filter tree walker to only traverse qwik nodes (#8076)
thejackshelton 9ae3584
chore(router): better error handling for SSG
wmertens dbd78f6
chore(v2): vitest 4 (#8084)
wmertens 42b9030
fix: ssg on windows
Varixo a2d0034
chore: increment timeout for adapters e2e
Varixo 1e5c740
fix: worker exit code, force terminate only after timeout
Varixo 822feb0
fix: ensure DOM is updated during long running tasks
Varixo b100ef5
Merge pull request #8071 from QwikDev/v2-fix-ssg-windows
wmertens 653b193
fix(core): placeholders with inline components
wmertens dfdc255
fix(repl): don't rebuild while resizing
wmertens 3944378
chore(core): ElementVNode has QElement
wmertens 4dfcb8e
refactor(core): don't use JSX handler props in JsxNode
wmertens b22daa2
refactor: use constant event names prefixes
Varixo 983d068
fix: correct event rendering and attaching
Varixo dbcccb2
fix: jsx event property handling
Varixo 97fd9fa
fix: some small issues
wmertens 66a3cc8
fix(jsx): sanity in event case handling
wmertens b108221
fix: registering use-on events
Varixo be7e6fb
fix: dispatch event on vnode
Varixo e50f10e
docs: document event kebabcase
wmertens 1e9e6c7
useOn: accept event names as-is
wmertens 77f228e
fix(core DOM): add selector targets for scoped events on new elements
wmertens 408c018
fix(qwikloader): listen on the case variations
wmertens 61208e1
fix(core): actual sane casing in events
wmertens 61bec49
Merge pull request #8060 from QwikDev/v2-fix-repl
wmertens 76fcd68
Version Packages (beta)
github-actions[bot] e3e6a78
chore: pnpm api.update
wmertens d25be24
fix(ssr): emit qwikloader only in body if html
wmertens 100cf87
Merge pull request #8091 from QwikDev/fix-inline
wmertens 2403f6a
fix: useId should genereate different id for ssr
Varixo 00149b5
Merge pull request #8094 from QwikDev/v2-fix-use-id-ssr
wmertens 4827d2e
Merge branch 'build/v2' into changeset-release/build/v2
wmertens 3de1bac
feat: add resolve method for async computed
Varixo e1ca73e
test: add eslint rule for resolving async computed
Varixo 5432199
feat: make async computed resolve return value
Varixo 65ae071
Merge pull request #8033 from QwikDev/changeset-release/build/v2
wmertens b14fe22
Merge pull request #7881 from QwikDev/v2-async-read-value
wmertens d0012c5
Merge pull request #8087 from QwikDev/v2-fix-apply-journal
wmertens 48711d0
fix(router): don't deduplicate server args
wmertens 2f50042
Merge pull request #8098 from QwikDev/fix-serverimBHsargs
wmertens b8b0046
Merge branch 'QwikDev:build/v2' into build/v2
JerryWu1234 22a9355
feat(docs): integrate @qwik.dev/devtools into documentation site
JerryWu1234 83db141
solve conflict
JerryWu1234 60cabc9
Merge pull request #8099 from JerryWu1234/integrate_qwik_devtool
wmertens 2a587f8
Merge remote-tracking branch 'origin/main' into v2-merge-main
wmertens e0f764c
fix(router): properly init state browser-side
wmertens 2807b3b
fix(docs): make Root non-reactive
wmertens c052a4c
refactor(router): make spa-init more compressible
wmertens e3cbdd7
fix(serdes): inflate store target, not store
wmertens 3eb3ca5
fix(docs): move reactive head to own component
wmertens bd53d10
fix: checking if object is serializable in dev mode
Varixo 3748a24
Merge pull request #8101 from QwikDev/v2-merge-main
wmertens df3236d
Merge pull request #8106 from QwikDev/v2-fix-verify-serializable
wmertens f85c71a
fix(core): getCaptured was returning an old reference
wmertens d16a3af
fix(optimizer): ignore null inlinedQrl
wmertens 5b18552
chore(core): document inlinedQrl
wmertens 3bb30c1
refactor(router): don't send qrl for server$ unless needed for scope
wmertens 6795710
Merge pull request #8109 from QwikDev/document-inlinedqrl
wmertens 5f1c26b
feat: support promises as attributes
Varixo 364937f
fix: diffing text node and virtual
Varixo 48c0d87
fix: diffing async computed and promise inside signal
Varixo a369eeb
chore: add changesets
Varixo 909a47c
fix: dont block qrl chores
Varixo 1912f77
Merge pull request #8119 from QwikDev/v2-dont-block-qrls
wmertens fad941d
fix(serdes): preload qrls work again
wmertens f74286c
Merge pull request #8121 from QwikDev/v2-fix-preload-qrls
wmertens 0bd2c88
perf(qrl): remove needless retryOnPromise
wmertens 3d5e723
qrl: test `this` binding
wmertens c32fc64
fix(serdes): actually import preload qrls on inflate
wmertens 06e6c5b
Merge pull request #8122 from QwikDev/v2-fix-preload-qrls
wmertens 2c85df4
fix: don't emit script before qwik style element
Varixo 6c97a5f
fix(asyncComputed): only throw once
wmertens 3454e15
chore: lint++
wmertens 349dcc6
Merge pull request #8123 from QwikDev/v2-fix-preload-qrls
wmertens 0b2db41
chore: remove noScriptHere counter
Varixo d433c68
Merge pull request #8124 from QwikDev/v2-fix-adding-script-before-style
wmertens e116efc
Merge pull request #8117 from QwikDev/v2-attribute-promises
wmertens 13c5cce
Version Packages (beta)
github-actions[bot] 310dbe3
Merge branch 'build/v2' into changeset-release/build/v2
wmertens cb19ff7
Merge pull request #8095 from QwikDev/changeset-release/build/v2
wmertens b367c15
outDir for qwikVite plugin now properly points to the manifest aswell
gnemanja 2d69c94
Changeset
gnemanja 2d950c1
pnpm fmt - Changes
gnemanja ff4cb6b
Removed uneccessary code
gnemanja 8c7943d
chore: pnpm dedupe
gnemanja ce12588
Merge pull request #8127 from gnemanja/v2-out-dir-fix
wmertens d8767fb
fix: serializing reused qrl
Varixo 338ac31
Merge pull request #8131 from QwikDev/v2-fix-serialize-capture-ref
wmertens 06ec88f
fix(types): inside a component the handlers are only QRLs
wmertens dd12f2f
refactor(types): fix exports, correct scopes etc
wmertens a303212
fix(core): qresume event + fix no-resume
wmertens b4b72b8
chore: pnpm api.update
wmertens beab2a0
fix(types): infer types through sync$
wmertens ab5c685
fix: correct @builder.io/qwik override to local
wmertens 89a07ff
Merge pull request #8134 from QwikDev/v2-types
wmertens File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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> | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': patch | ||
| --- | ||
|
|
||
| fix: reduced number of errors "Cannot serialize function" during serialization |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': patch | ||
| --- | ||
|
|
||
| fix: serialization of an array of refs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': patch | ||
| --- | ||
|
|
||
| fix: using ref inside useContext |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,19 +2,14 @@ | |
| "$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
| "changelog": ["./changelog-github-custom.cjs", { "repo": "QwikDev/qwik" }], | ||
| "commit": false, | ||
| "fixed": [["@builder.io/qwik", "@builder.io/qwik-city", "eslint-plugin-qwik", "create-qwik"]], | ||
| "fixed": [ | ||
| ["@qwik.dev/core", "@qwik.dev/router", "eslint-plugin-qwik", "create-qwik", "@qwik.dev/react"] | ||
| ], | ||
| "linked": [], | ||
| "access": "public", | ||
| "baseBranch": "upcoming", | ||
| "baseBranch": "build/v2", | ||
| "updateInternalDependencies": "minor", | ||
| "ignore": [ | ||
| "qwik-docs", | ||
| "@builder.io/qwik-labs", | ||
| "insights", | ||
| "@builder.io/qwik-react", | ||
| "@builder.io/qwik-worker", | ||
| "qwik-cli-e2e" | ||
| ], | ||
| "ignore": ["qwik-docs", "insights", "qwik-cli-e2e"], | ||
| "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { | ||
| "onlyUpdatePeerDependentsWhenOutOfRange": true | ||
| } | ||
|
|
||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': major | ||
| --- | ||
|
|
||
| BREAKING: remove HTML-related types. Use PropsOf instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': major | ||
| --- | ||
|
|
||
| 💥**BREAKING**: `useComputed` no longer allows Promise returns. (meaning it is strictly sync) Instead, use `useSignal` and `useTask` together to perform async signal updates |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': minor | ||
| --- | ||
|
|
||
| feat: new integration tests that are running with the optimizer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': patch | ||
| --- | ||
|
|
||
| FIX: types error when migrating to V2 with `moduleResulution: "node"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': minor | ||
| --- | ||
|
|
||
| feat: new simpler signals implementation with lazy useComputed$ execution, only when is needed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| --- | ||
| '@qwik.dev/core': major | ||
| --- | ||
|
|
||
| `qwik-labs` package has been removed in favor of experimental features. | ||
| So the "Insights" vite plugin and components have been moved to core as an experimental feature. | ||
|
|
||
| In order to use it, you need to - | ||
|
|
||
| **1)** add `insights` to the experimental array in `vite.config.ts`: | ||
|
|
||
| ```ts | ||
| qwikVite({ | ||
| experimental: ['insights'] | ||
| }), | ||
| ``` | ||
|
|
||
| **2)** Import and use the `qwikInsights` vite plugin from `@qwik.dev/core/insights/vite`: | ||
|
|
||
| ```ts | ||
| import { qwikInsights } from '@qwik.dev/core/insights/vite'; | ||
| ``` | ||
|
|
||
| **3)** import the `<Insights>` component from `@qwik.dev/core/insights` and use it in your `root.tsx` file: : | ||
|
|
||
| ```tsx title="root.tsx" | ||
| import { Insights } from '@qwik.dev/core/insights'; | ||
|
|
||
| // ...rest of root.tsx file | ||
|
|
||
| return ( | ||
| <Insights publicApiKey="..." postUrl="..." /> | ||
| /* ...qwik app */ | ||
| ); | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| { | ||
| "mode": "pre", | ||
| "tag": "alpha", | ||
| "initialVersions": { | ||
| "create-qwik": "2.0.0-0", | ||
| "qwik-docs": "0.0.1", | ||
| "eslint-plugin-qwik": "2.0.0-0", | ||
| "@qwik.dev/core": "2.0.0-0", | ||
| "@qwik.dev/router": "2.0.0-0", | ||
| "insights": "0.1.0", | ||
| "@qwik.dev/dom": "2.1.19", | ||
| "@qwik.dev/react": "2.0.0-0", | ||
| "supabase-auth-helpers-qwik": "0.0.3", | ||
| "qwik-cli-e2e": "0.0.0" | ||
| }, | ||
| "branch": "build/v2", | ||
| "changesets": [ | ||
| "brave-files-grin", | ||
| "calm-cycles-know", | ||
| "fast-baboons-itch", | ||
| "five-kangaroos-matter", | ||
| "fresh-rocks-exercise", | ||
| "hip-hornets-cheer", | ||
| "nine-otters-repeat", | ||
| "proud-pillows-try", | ||
| "rich-wasps-tease", | ||
| "rotten-weeks-tickle", | ||
| "sour-zebras-tell", | ||
| "sweet-socks-whisper", | ||
| "tricky-meals-heal", | ||
| "wild-cooks-pay" | ||
| ] | ||
| } |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': patch | ||
| --- | ||
|
|
||
| chore: more descriptive HTML streaming error message |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': major | ||
| --- | ||
|
|
||
| BREAKING: the Typescript exports were trimmed down to the bare minimum. If there are types you are missing, open an issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': patch | ||
| --- | ||
|
|
||
| fix: do not trigger effects if computed value is not changed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': minor | ||
| --- | ||
|
|
||
| feat: added the scheduler to sort chores execution and have more predictable behavior |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': minor | ||
| --- | ||
|
|
||
| feat: new faster serialization system |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/router': major | ||
| --- | ||
|
|
||
| Renamed "Qwik City" to "Qwik Router" and package to "@qwik.dev/router" |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@qwik.dev/core': minor | ||
| --- | ||
|
|
||
| feat: new CSR and SSR rendering written from scratch to speed up performance, improve code readability, and make the code easier to understand for new contributors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,5 +33,6 @@ | |
| "label": "Serve", | ||
| "onAutoForward": "openPreview" | ||
| } | ||
| } | ||
| }, | ||
| "postCreateCommand": "./.devcontainer/post-create.sh" | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 3 months ago
To fix the problem, you should add a
permissionsblock to the workflow or to the specific job. The best practice is to set the minimal permissions required for the workflow to function. In this case, the workflow uses thestyfle/cancel-workflow-action, which typically only needsactions: writepermission to cancel workflow runs. Therefore, you should add apermissionsblock withactions: writeat either the workflow root (to apply to all jobs) or at the job level (to apply only to thecanceljob). The change should be made in.github/workflows/cancel.yml, above thejobs:key (for workflow-level) or inside thecancel:job (for job-level). No additional imports or definitions are needed.